Commit graph

59584 commits

Author SHA1 Message Date
Alix Espino
d94e297b14 Merge "deletion of clang_cflags & clang_asflags from Soong" am: 68eeffbc40 am: cd346e6757 am: 4479c0fd9d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2154033

Change-Id: I0d2c5eb5a9e0f181268e9d74370e20f14fc8ace4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 18:00:37 +00:00
Alix Espino
4479c0fd9d Merge "deletion of clang_cflags & clang_asflags from Soong" am: 68eeffbc40 am: cd346e6757
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2154033

Change-Id: I226c9b8bbc20a5487112be9b378ce82ab320f6cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 17:18:55 +00:00
Alix Espino
cd346e6757 Merge "deletion of clang_cflags & clang_asflags from Soong" am: 68eeffbc40
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2154033

Change-Id: I2259a420a0bd89197d8cb3a7ff6befabb9d4f110
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 15:40:15 +00:00
Sam Delmerico
bdbf431271 Merge "add jacocoagent by default to Java modules" am: 43c0eb17ae am: 7fd3c3b1f9 am: ea13cbadd0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2208216

Change-Id: I08c25391c6acc1bda9fac90527026c33488016fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 15:29:00 +00:00
Alix Espino
fc0fba7e20 Merge changes I82d3a384,I3b03f0a3 am: c0cca3f4e1 am: 1016dedeaa am: af8abbfc8b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2137954

Change-Id: Ib70d1a0c07286934b8b0ff84d0f9974507ff13d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 15:28:43 +00:00
Alix Espino
68eeffbc40 Merge "deletion of clang_cflags & clang_asflags from Soong" 2022-09-12 15:11:20 +00:00
Sam Delmerico
ea13cbadd0 Merge "add jacocoagent by default to Java modules" am: 43c0eb17ae am: 7fd3c3b1f9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2208216

Change-Id: I76bfac4bf1c9848190e47e7a0e3163a00185ba45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 15:01:46 +00:00
Alix Espino
af8abbfc8b Merge changes I82d3a384,I3b03f0a3 am: c0cca3f4e1 am: 1016dedeaa
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2137954

Change-Id: I7cfad92c4713ec18e2022aa8f74374eaa63df687
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 15:01:36 +00:00
Sam Delmerico
7fd3c3b1f9 Merge "add jacocoagent by default to Java modules" am: 43c0eb17ae
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2208216

Change-Id: Iac446378ae141ed6712f77a70b138ad730403586
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 14:03:47 +00:00
Alix Espino
1016dedeaa Merge changes I82d3a384,I3b03f0a3 am: c0cca3f4e1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2137954

Change-Id: I23fbffd830593ccbf06a6ff68cfaeee7b2ba814d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 14:03:36 +00:00
Sam Delmerico
43c0eb17ae Merge "add jacocoagent by default to Java modules" 2022-09-12 13:32:09 +00:00
Alix Espino
c0cca3f4e1 Merge changes I82d3a384,I3b03f0a3
* changes:
  product_variables srcs in prebuilt_etc
  refactoring build_conversion.go to remove panic
2022-09-12 13:31:46 +00:00
Jingwen Chen
7253e69b44 Merge "Allowlist more modules under the adb package." am: 3c0c2db93a am: 052901988c am: 8f8ac0edaf
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2213297

Change-Id: I6af630963d93f34b9fca546b5f06a746d9fdfda2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 06:16:30 +00:00
Jingwen Chen
8f8ac0edaf Merge "Allowlist more modules under the adb package." am: 3c0c2db93a am: 052901988c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2213297

Change-Id: I03e8165daeaa21eb03806ec806b51a24e4be2125
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 05:49:34 +00:00
Jingwen Chen
052901988c Merge "Allowlist more modules under the adb package." am: 3c0c2db93a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2213297

Change-Id: I37bd46e1f711633c2dd72c4d51d2e2adb6d52e62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-12 05:20:12 +00:00
Jingwen Chen
3c0c2db93a Merge "Allowlist more modules under the adb package." 2022-09-12 04:52:20 +00:00
Treehugger Robot
05fab6c96a Merge "Don't close file descriptors when starting python program" am: 797aa42e28 am: 27db0b2761 am: 21fb4c5a78
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2213921

Change-Id: I25da4d3f1c9dfce16b776b383d038a92e9cb3182
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-10 02:30:09 +00:00
Treehugger Robot
21fb4c5a78 Merge "Don't close file descriptors when starting python program" am: 797aa42e28 am: 27db0b2761
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2213921

Change-Id: I517201856d35e73f5092ff7a01a7d0a000b65b78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-10 02:00:04 +00:00
Treehugger Robot
27db0b2761 Merge "Don't close file descriptors when starting python program" am: 797aa42e28
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2213921

Change-Id: I01423e38f681ff09b82a713f9b56767e1d6a331c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-10 01:30:34 +00:00
Treehugger Robot
aec6e25503 Merge "[memtag-stack] work around stack limit in lld" am: c4fe27e907 am: dbb097bb74 am: b57956075f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2213117

Change-Id: If21049f3b3a0cf27a98a76b7ebc62010e12e4a0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-10 01:05:14 +00:00
Treehugger Robot
797aa42e28 Merge "Don't close file descriptors when starting python program" 2022-09-10 00:54:48 +00:00
Treehugger Robot
b57956075f Merge "[memtag-stack] work around stack limit in lld" am: c4fe27e907 am: dbb097bb74
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2213117

Change-Id: Id3cb3b78413d5cac73c89058533f2924f359caf9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-10 00:37:04 +00:00
Treehugger Robot
dbb097bb74 Merge "[memtag-stack] work around stack limit in lld" am: c4fe27e907
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2213117

Change-Id: I08ccf0e9911658f9884ded4e921587d09926cb86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-10 00:06:52 +00:00
Vinh Tran
71294ef2bf Merge "Convert aidl.export_aidl_headers in cc library to Bazel" am: c3d86d6bf0 am: c5ceefce19 am: 06f5d7d697
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2198881

Change-Id: Ia6b188a042e12004247694ea527fbb02809e0b81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 23:55:31 +00:00
Treehugger Robot
c4fe27e907 Merge "[memtag-stack] work around stack limit in lld" 2022-09-09 23:38:06 +00:00
Vinh Tran
06f5d7d697 Merge "Convert aidl.export_aidl_headers in cc library to Bazel" am: c3d86d6bf0 am: c5ceefce19
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2198881

Change-Id: Ia5818ce02c0e36286b7fc4e42f60420f2b52a3b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 23:27:19 +00:00
Sam Delmerico
1b317b404d Merge "Revert "Revert "add bazel AIDL examples to bp2build""" am: df96fdd5b6 am: 8b7f702dad am: 7532d1cf36
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2199860

Change-Id: Iceca5201bd7a254c12145e4b93b67241c88f65bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 22:59:14 +00:00
Vinh Tran
c5ceefce19 Merge "Convert aidl.export_aidl_headers in cc library to Bazel" am: c3d86d6bf0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2198881

Change-Id: I1750e820bff268051138b1035bb055c7c24e2c9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 22:56:43 +00:00
Sam Delmerico
7532d1cf36 Merge "Revert "Revert "add bazel AIDL examples to bp2build""" am: df96fdd5b6 am: 8b7f702dad
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2199860

Change-Id: Ia316e8383cdf8ed2c8de3b7fcc8144b31635585f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 22:28:32 +00:00
Vinh Tran
c3d86d6bf0 Merge "Convert aidl.export_aidl_headers in cc library to Bazel" 2022-09-09 22:26:41 +00:00
Sam Delmerico
8b7f702dad Merge "Revert "Revert "add bazel AIDL examples to bp2build""" am: df96fdd5b6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2199860

Change-Id: I159208065a45d6e60cb8b7a36303aac19e160972
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 22:00:27 +00:00
Sam Delmerico
df96fdd5b6 Merge "Revert "Revert "add bazel AIDL examples to bp2build""" 2022-09-09 21:38:33 +00:00
Florian Mayer
f79b210ddf [memtag-stack] work around stack limit in lld
Change-Id: Iee4a5ba9f9789f684d78e232078e36898e0c16d9
2022-09-09 14:24:11 -07:00
Treehugger Robot
e85c397dd4 Merge "Fix gen_notice init to support arch and dist." am: 5aa5dc4121 am: a17300b55a am: 09872407b5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2212476

Change-Id: Ifa3b764ac3a3653d8e7be44063a3b544153ccf17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 21:03:57 +00:00
Chih-hung Hsieh
b1b44e6381 Merge "Prepare to build clang-r468909" am: 2c3bb705e0 am: f0e6d77f75 am: 7d05fbeb61
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2190384

Change-Id: I6564a9aa7ee6d36d4191bbbcd1379bb7e89925ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 21:03:47 +00:00
Alix
1879c68261 deletion of clang_cflags & clang_asflags from Soong
Clang_cflags and clang_asflags are depecrated.
Set up BUILD_BROKEN flags so partners can bypass errors
from using them

Bug: 226636335
Test: m nothing & treehugger
Change-Id: Ic1d90b72decc4c6c1f7e6dda95a2c56ab2c26d86
2022-09-09 21:03:34 +00:00
Alix
bbfd538326 product_variables srcs in prebuilt_etc
bp2build conversion handles product_variable srcs

bug: 228353067
Test: prebuilt_etc_conversion_test.go
Change-Id: I82d3a384ee14d4e981d502dd9eb824c87d5ae2c7
2022-09-09 20:52:09 +00:00
Sam Delmerico
1e3f78f866 add jacocoagent by default to Java modules
On coverage builds, R8 will fail to properly optimize and fail the build
if ignore_warnings: false, because jacoco injects dependencies on
jacocoagent classes, but the jacocoagent library is not part of the
classpath libraries passed in to R8 in its arguments.

Instead we can add jacocoagent as a libs dependency for these modules so
that it will get pulled into the r8 flags.

Bug: 243903417
Test: m
Change-Id: Icc24cc260b896fc800125a0318308d823ccf7a83
2022-09-09 16:50:38 -04:00
Treehugger Robot
09872407b5 Merge "Fix gen_notice init to support arch and dist." am: 5aa5dc4121 am: a17300b55a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2212476

Change-Id: Id948d67473f25bc8401235819110f3da1de8a80f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 20:35:31 +00:00
Chih-hung Hsieh
7d05fbeb61 Merge "Prepare to build clang-r468909" am: 2c3bb705e0 am: f0e6d77f75
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2190384

Change-Id: I12266e49c115125288584e1115474cbcbb581584
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 20:35:05 +00:00
Alix
94e2603ab7 refactoring build_conversion.go to remove panic
Returning errors throughout instead of calling panic()
Errors will be more useful for testing

Test: bp2build tests
Change-Id: I3b03f0a30e7a80878e91c7f0e2df5a94d9d6b780
2022-09-09 20:25:51 +00:00
Vinh Tran
fde57eb9d1 Convert aidl.export_aidl_headers in cc library to Bazel
Export/not aidl headers aren't fully properly functional until b/239311679 is fixed.

Test: go test
Bug: 243023967
Change-Id: I33ec9a591b4bc53aa0aa95d099159cb0a79c39cb
2022-09-09 16:02:51 -04:00
Treehugger Robot
a17300b55a Merge "Fix gen_notice init to support arch and dist." am: 5aa5dc4121
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2212476

Change-Id: Ia6bd7c412f38968d9530b0edbead4a7109786773
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 19:49:09 +00:00
Chih-hung Hsieh
f0e6d77f75 Merge "Prepare to build clang-r468909" am: 2c3bb705e0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2190384

Change-Id: I3b423ce8917c03128474d9659eae64c21a1364c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 19:48:49 +00:00
Treehugger Robot
5aa5dc4121 Merge "Fix gen_notice init to support arch and dist." 2022-09-09 19:34:06 +00:00
Chih-hung Hsieh
2c3bb705e0 Merge "Prepare to build clang-r468909" 2022-09-09 19:15:49 +00:00
Treehugger Robot
7816172fea Merge "Work around stack frame size for memtag-stack" am: 383e29bc12 am: e5fc44e7c8 am: 7264542611
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2212777

Change-Id: I5a04e01108905dd492f5bc657d109088e1cf3b98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 18:58:12 +00:00
Steven Moreland
050eb0acd5 Merge "FailIfNoMatchingErrors specify using regex" am: 7ae3a3c170 am: d2c7b8405f am: cc5250c2ab
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2198646

Change-Id: I047b78208c6cbea13f76433ecb0c09e80f9caf3b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 18:58:01 +00:00
Treehugger Robot
7264542611 Merge "Work around stack frame size for memtag-stack" am: 383e29bc12 am: e5fc44e7c8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2212777

Change-Id: I8c971d3c1473e93584f7066f651c97eb13db33b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 18:30:22 +00:00
Steven Moreland
cc5250c2ab Merge "FailIfNoMatchingErrors specify using regex" am: 7ae3a3c170 am: d2c7b8405f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2198646

Change-Id: I50471fb0f5b89c2ae92d304cb1bdca4b3a816838
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 18:29:44 +00:00