MarkDacek
1716eefa67
Delete stale bazel metrics files.
...
Bug: 286083726
Test: b build libcore:all && m nothing && ls out/bazel_metrics.pb
Change-Id: Ic9f7a4771eca7935896f9ec0095588467ffada32
2023-06-06 18:20:13 +00:00
Yu Liu
f64da7f95e
Merge "Allow cfi enabled modules in mixed build." am: d31098e6c2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2605807
Change-Id: Ib3baa054cd3b036386916846f88d9a7834a248a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-06 18:01:53 +00:00
Yu Liu
a485a121b2
Merge "Add the DCLA libs used by swcodec to the staging list" am: 95c78ef99f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2575411
Change-Id: Ie73c9fdbc7ba749fd422bc07158c4454dec24099
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-06 18:01:52 +00:00
Yi Kong
e1883bad2b
Merge "afdo: Remove -fprofile-sample-accurate flag" am: eb7f45ca9c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2616750
Change-Id: I00fce01adbf94d9e5a8c289f83f145ba585192cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-06 18:01:11 +00:00
Treehugger Robot
b52159286c
Merge "Use a less hacky way to detect if a module is Fuzzer enabled" am: 2976fa1185
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2614329
Change-Id: I82dec6d355d0b681a4f7ccacb91cfcf5f73cd529
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-06 18:01:00 +00:00
Yu Liu
d31098e6c2
Merge "Allow cfi enabled modules in mixed build."
2023-06-06 17:41:18 +00:00
Yu Liu
95c78ef99f
Merge "Add the DCLA libs used by swcodec to the staging list"
2023-06-06 17:41:18 +00:00
Yi Kong
eb7f45ca9c
Merge "afdo: Remove -fprofile-sample-accurate flag"
2023-06-06 17:18:31 +00:00
Treehugger Robot
2976fa1185
Merge "Use a less hacky way to detect if a module is Fuzzer enabled"
2023-06-06 17:13:20 +00:00
Sam Delmerico
c3df113402
update docs for apex_available_name
...
Bug: 285138555
Change-Id: Ib987ac7a4995e69cbdbfc77adbf8d2b835e15cc2
2023-06-06 12:14:23 -04:00
Sam Delmerico
743b4c5a9b
add variant_version to bp2build apex converter
...
Bug: 285138555
Test: b build //build/bazel/examples/... --config=android
Test: b test //build/bazel/tests/... --config=android
Change-Id: I7350930d48ccd13e96bdb4f994f47071a0dde70f
2023-06-06 12:09:28 -04:00
Sam Delmerico
e91698af9f
add apex_available_name to bp2build apex converter
...
Bug: 285138555
Test: b build //build/bazel/examples/... --config=android
Test: b test //build/bazel/tests/... --config=android
Change-Id: I11372cbc01b89d530a35f90375ca6fa87834edd2
2023-06-06 12:08:56 -04:00
Treehugger Robot
2262364484
Merge "Correct genrule path references" am: aefd27fce6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2613810
Change-Id: Iafffc881f37b66f2bbd14cc4de2e631c98777837
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-06 15:28:37 +00:00
Sam Delmerico
6d65a0fc3d
add variant_version property to apexBundle
...
This property allows modifying the variant version that is put into the
APEX manifest.
Bug: 285138555
Change-Id: I42b8c0ddad8822a0a329e99ec4ec62f8c3546ee9
2023-06-06 11:14:40 -04:00
Sam Delmerico
ca81653730
add apex_available_name property to apexBundle
...
This property allows developers to create multiple modules that provide
the same APEX implemenation with some differences. For example, an APEX
that targets the current SDK can be developed alongside an APEX that
targets a pre-S SDK. Common dependencies of these APEX modules can both
use the value of the apex_available_name property in their
apex_available lists and be packaged in either APEX module.
Bug: 285138555
Change-Id: Ia2cb027e2f19bd6d3d1c02e3d3742a0122a43c97
2023-06-06 11:14:36 -04:00
Treehugger Robot
aefd27fce6
Merge "Correct genrule path references"
2023-06-06 14:59:16 +00:00
Sorin Basca
23741cac4d
Add exports needed for Doclava
...
Bug: 270335653
Test: m doclava docs dist
Change-Id: Id46c877ddfd64b36f1ee96a7678076af69d91cdb
2023-06-06 09:43:53 +01:00
Yi Kong
febf8b9bdf
afdo: Remove -fprofile-sample-accurate flag
...
-fprofile-sample-accurate allows the compiler to de-optimize cold code
paths according to the profile. However we have a number of micro-
benchmarks that tests these paths and we often trigger regression
reports from those benchmarks.
Turning off the flag mitigates the issue at a cost of ~2MB increase in
system image size. But the more deterministic codegen could reduce the
differential OTA size.
Test: presubmit
Bug: 283235002
Change-Id: I1016f573f21a60223a97c64f5818f0e7e66e41e3
2023-06-06 08:27:47 +00:00
Treehugger Robot
a9371bff40
Merge "Use HINT_FROM_SOONG if ninja_log doesn't exist" am: 2a97e1dc90
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2609077
Change-Id: I9e6385e088afd8342a0a5b171a9b85a51039e9a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-06 03:04:05 +00:00
Treehugger Robot
2a97e1dc90
Merge "Use HINT_FROM_SOONG if ninja_log doesn't exist"
2023-06-06 02:17:11 +00:00
Yu Liu
95497dc89b
Allow cfi enabled modules in mixed build.
...
Bug: None
Test: Locally tested
Change-Id: I53c4ad8428cf05ceee3d73b4f97c2b9db2285c38
2023-06-05 17:10:14 -07:00
Spandan Das
cd4d085c3a
Remove modules from denylist
...
That were blocked on `stem` conversion
Bug: 240563612
Test: TH
Change-Id: Idc0f495683d98e00ae913664eb29c9d1133720ae
2023-06-06 00:07:40 +00:00
Spandan Das
5dba0ec98c
Update runpath for jni libs
...
To support stem, cc libraries will be generated in
<pacakge_name>/<label.name>. Update RUNPATH of java binaries so that it
can find its jni deps
Test: bp2build
Test: TH
Bug: 240563612
Change-Id: Ia2f70f0424a8526ee35856225c1a8cd1067a8570
2023-06-06 00:07:40 +00:00
Spandan Das
39ccf93c65
bp2build support for stem
...
By default, the artifacts generated by cc_binary and cc_library in Soong
track the module name. But Soong supports overidding this using the stem
property. e.g.
```
cc_library {
name: "foo.1.2",
stem: "foo",
}
```
will generate foo.so
This CL adds this property to bp2build
Test: bp2build unit tests
Bug: 240563612
Change-Id: I1dfed870d5bad450511b72c397d2355c01fa3b60
2023-06-06 00:07:37 +00:00
Yu Liu
7301fc8aeb
Add the DCLA libs used by swcodec to the staging list
...
Bug: 269342245
Test: run dcla_apex_comparison_test
Change-Id: I26bcbf6447b9216258c18c42e80f729e5651658a
2023-06-05 16:47:34 -07:00
Yu Liu
2c0b890bb2
Allowtlist some cc_test modules.
...
Bug: 284287101
Test: b test locally
Change-Id: I0ecd88def0f7f5e68cf48e9766575ec5dd82b7be
2023-06-05 16:40:59 -07:00
Treehugger Robot
223f42fb4c
Merge "Clean $OUT/ramdisk_16k dir during installclean" am: 331c7d77c4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2613793
Change-Id: I38f8398a40ea73290f40ce14f4f308c3a3e8c8a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-05 23:40:53 +00:00
Treehugger Robot
331c7d77c4
Merge "Clean $OUT/ramdisk_16k dir during installclean"
2023-06-05 23:30:13 +00:00
Steven Moreland
f4a9db7005
Merge "Remove SepolicySplit." am: 15a74066ea
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2610250
Change-Id: Ib0a33bbb8c5c6d9b861130e379107c5007f32d6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-05 23:19:09 +00:00
Mark Dacek
9bf607f113
Merge "Add bazel_metrics to py proto export." am: e01e7bc574
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2609229
Change-Id: I72b2e5847478ed7a2581cc4feb92a7832d2f8e4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-05 23:18:39 +00:00
Steven Moreland
15a74066ea
Merge "Remove SepolicySplit."
2023-06-05 23:08:24 +00:00
Mark Dacek
e01e7bc574
Merge "Add bazel_metrics to py proto export."
2023-06-05 23:00:21 +00:00
Yu Liu
5064756878
Merge "Add CFI flags to Compile Action" am: e0a7318331
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2611294
Change-Id: I52dc436ce5f93af2a9de08dd47a648fa5fbf2f06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-05 22:56:52 +00:00
Yu Liu
03454ac9a7
Merge "Update apex_comparison_test.sh to support CFI" am: 921292b1ed
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2598647
Change-Id: I86094ae5ffee34776ab6bd00be27a82196c37008
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-05 22:56:50 +00:00
Yu Liu
066f5c739d
Merge "CFI Bp2Build" am: 89575db9c6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2511677
Change-Id: I92d482be0c2e14dfc2e36dc4de25b1dfdb5e7c3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-05 22:56:48 +00:00
Spandan Das
69b4643bea
Merge changes from topics "xsd_config_bp2build_cc_rdeps", "xsd_config_bp2build_java_rdeps" am: 91a8820688
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2606500
Change-Id: Iecf725ad76a17535c9d42e496dda26e0c001fafb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-05 22:56:06 +00:00
Yu Liu
e0a7318331
Merge "Add CFI flags to Compile Action"
2023-06-05 22:47:52 +00:00
Yu Liu
921292b1ed
Merge "Update apex_comparison_test.sh to support CFI"
2023-06-05 22:47:52 +00:00
Yu Liu
89575db9c6
Merge "CFI Bp2Build"
2023-06-05 22:47:52 +00:00
Spandan Das
91a8820688
Merge changes from topics "xsd_config_bp2build_cc_rdeps", "xsd_config_bp2build_java_rdeps"
...
* changes:
bp2build for cc libraries that use xsd_config as gen srcs
bp2build for java libraries using xsd_config srcs
2023-06-05 22:23:37 +00:00
Treehugger Robot
5ac4eab01c
Merge "Allowlist gcert and prodcertstatus binaries" am: 300243ca3e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2615750
Change-Id: Ib80a1b70d2f81bf32f4776ed3a40451f8145f8b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-05 21:47:34 +00:00
Zi Wang
3b5baa4038
Merge "Remove truth-prebuilt and truth-host-prebuilt from denylist" am: e71945b791
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2613791
Change-Id: I787a787b0605c0a6524172d22d79321b42457e33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-05 21:47:24 +00:00
Jihoon Kang
91c839566e
Cleanup android.JavaApiLibraryName references
...
This change cleans up references to android.JavaApiLibraryName() so that
rdeps link against "android_*_stubs_current" instead of
"android_*_stubs_current.from-text".
Bug: 284995489
Test: m
Change-Id: Ibdf33b15981317c43e468dbc1657229d54bbd226
2023-06-05 21:45:01 +00:00
Jihoon Kang
67b6443258
Redefine core and core platform API surface java_library
...
Redefined core and core platform API surface java_library using the
product variable build_from_text_stub so that the correct static libs
are linked based on build configuration
Test: m --build-from-text-stub and verify no ninja path between "core.current.stubs" and "core.current.stubs.from-source"
Bug: 285410821
Change-Id: I26febc65697be6278624a504ffbb61be0953d798
2023-06-05 21:44:33 +00:00
Jihoon Kang
cbcad7c62f
Introduce product variable Build_from_text_stub
...
Build_from_text_stub can be used to specify static lib and exclude
static lib based on build configuration.
Bug: 285410821
Test: m
Change-Id: I083f32325c7b3ab5e88c4f5cb248c00f2094fb1e
2023-06-05 21:44:07 +00:00
Jihoon Kang
381c2fa27c
Introduce "Exclude_static_libs" property for Java modules
...
Exclude_static_libs property can be used to specify static libs that
should not be used to build the module. The list acts as filter for
static_libs.
Bug: 285410821
Test: go test ./java
Change-Id: Iee7f160ba88b5f64bdd265c30d47c9f51feb0f5e
2023-06-05 21:42:48 +00:00
Treehugger Robot
300243ca3e
Merge "Allowlist gcert and prodcertstatus binaries"
2023-06-05 21:21:37 +00:00
Zi Wang
e71945b791
Merge "Remove truth-prebuilt and truth-host-prebuilt from denylist"
2023-06-05 20:58:35 +00:00
Trevor Radcliffe
f1836e4728
Add CFI flags to Compile Action
...
Bug: 261733820
Test: Unit Tests
Change-Id: I7c7cb8ab07da2c66df5d69e1e4af3337e3b24e6d
2023-06-05 18:09:21 +00:00
Trevor Radcliffe
27669c0c9e
CFI Bp2Build
...
Bug: 261733820
Test: Unit Tests and manual verification
Change-Id: Ife1b33c58e3770177eab1b6168edbf7969418ad7
2023-06-05 18:08:07 +00:00