Commit graph

62305 commits

Author SHA1 Message Date
Cole Faust
3bcf655735 Merge "Remove tzdata from staging allowlist." am: 328770db88
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2351442

Change-Id: I7193c32ea5a511c40f0f74bc21b5cde1623eeeaa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 00:48:40 +00:00
Cole Faust
328770db88 Merge "Remove tzdata from staging allowlist." 2022-12-15 00:15:55 +00:00
MarkDacek
421a4d6d28 Remove tzdata from staging allowlist.
This is redundant as it's already in prod.
Test: m nothing

Change-Id: I49f75ce9ed514b77df8089a90a0339a4ab3f1d0b
2022-12-14 16:26:30 +00:00
Treehugger Robot
139eb71b0e Merge "Pass -t epoch to jetifier" am: ccfe6022d4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2352010

Change-Id: I52e209f070fcf7d412373d0a57b894e606ca0454
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-14 16:21:26 +00:00
Sam Delmerico
6146002e59 Merge "add APEX transitive dependency validation" am: 5a67ad19da
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2325607

Change-Id: I7cade0d84d458093b1d38adf339819eed151fbd4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-14 16:20:37 +00:00
Treehugger Robot
ccfe6022d4 Merge "Pass -t epoch to jetifier" 2022-12-14 16:15:18 +00:00
Sam Delmerico
5a67ad19da Merge "add APEX transitive dependency validation" 2022-12-14 15:40:47 +00:00
Jingwen Chen
c1774e4023 Merge "Fix "--version_script" typo in doc." am: 90fff77810
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2280756

Change-Id: Ia398207b4fae413a2cf88f2f3bbf7b4741eaa92f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-14 13:10:36 +00:00
Jingwen Chen
90fff77810 Merge "Fix "--version_script" typo in doc." 2022-12-14 12:38:24 +00:00
Treehugger Robot
e2250c85fb Merge "Remove linkerconfig from bionic list." am: 1f9ca39a5a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2347950

Change-Id: I1118794688c9813ea9c4c4ee2859fe66241efe80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-14 07:34:38 +00:00
Treehugger Robot
1f9ca39a5a Merge "Remove linkerconfig from bionic list." 2022-12-14 07:16:13 +00:00
Treehugger Robot
0c8d0c782c Merge "Add arch variants for Intel Atom CPUs" am: 7853388422
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2301565

Change-Id: I55da0006eaf1f8f75cc4446670b6e74159278830
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-14 03:50:41 +00:00
Treehugger Robot
7853388422 Merge "Add arch variants for Intel Atom CPUs" 2022-12-14 03:32:13 +00:00
Colin Cross
db9f1af579 Pass -t epoch to jetifier
Pass -t epoch to jetifier to get reproducible output files from it.

Bug: 262448304
Test: builds
Change-Id: I65d42e5d556f27e15e6700363840857c1a25da74
2022-12-13 15:57:01 -08:00
Treehugger Robot
d289dc2881 Merge "Workaround bazel command too long" am: b3b43822f9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2351082

Change-Id: I294f4ca2b0bd7ba8250984a0aff3820900c1c6be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 23:32:59 +00:00
Treehugger Robot
b3b43822f9 Merge "Workaround bazel command too long" 2022-12-13 23:13:15 +00:00
Yabin Cui
ed0c0078da Merge "Update clang version to clang-r475365b" am: 4abd2ca5b4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2345559

Change-Id: I0d4e2635e547680bdb7e56041f1c7933d4fab47d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 22:14:59 +00:00
Yabin Cui
4abd2ca5b4 Merge "Update clang version to clang-r475365b" 2022-12-13 21:35:04 +00:00
Greg Kaiser
16cc1ef613 Merge "mk2rbc support for clear_var_list" am: 796469bb6f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2338791

Change-Id: I15f8edbab9280c56cf0f7f24e089760341d4ad8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 21:34:09 +00:00
Greg Kaiser
796469bb6f Merge "mk2rbc support for clear_var_list" 2022-12-13 20:50:00 +00:00
Colin Cross
d5c7ddb4df Workaround bazel command too long
Write long bazel commands returned by aquery to a shell script
before executing them to work around command line length limits.

Bug: 261536423
Test: USE_HOST_MUSL=true build/bazel/ci/mixed_libc.sh
Change-Id: Id98a07800df82d1538e6b16b733488a1b9943bf3
2022-12-13 12:40:03 -08:00
Colin Cross
560d8eef62 Merge "Add external/musl to the bp2build allowlists" am: 7a9803cbde
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2337364

Change-Id: I26e8d7777a7efdfc020aee67be74db368cd9643e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 20:17:22 +00:00
Treehugger Robot
c8d9d50240 Merge "Streamline AndroidMk generation" am: 16d87f33a2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2334437

Change-Id: I60500a8b42c107f857758262a3709553dce875fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 20:16:52 +00:00
Colin Cross
7a9803cbde Merge "Add external/musl to the bp2build allowlists" 2022-12-13 20:00:55 +00:00
Treehugger Robot
16d87f33a2 Merge "Streamline AndroidMk generation" 2022-12-13 19:39:20 +00:00
Sam Delmerico
eddd3c0ba4 add APEX transitive dependency validation
Bug: 218419109
Test: b build //packages/modules/adb/apex:com.android.adbd
Change-Id: I93b0c99d6521e419e52c63271646448f6d708c22
2022-12-13 14:32:19 -05:00
Paul Duffin
f6352966e4 Merge "Allow building against prerelease prebuilt APEXes" am: f0efd5da1a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2346323

Change-Id: I399a32fd56bc0603c29629560081bfd4993494eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 17:09:29 +00:00
Treehugger Robot
370d5fded1 Merge changes from topics "bp2build_cc_object_dynamic_deps", "bp2build_cc_prebuilt_object" am: 6441a125cf
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2337365

Change-Id: I28d8f8b95f31199d5ffa93bd86878cb0235010cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 17:09:13 +00:00
Colin Cross
08abfa88eb Add bp2build support for cc_prebuilt_object am: c5075e917e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2337363

Change-Id: Icef1065fd50d62537ec6b504d1c2909d11424c3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 17:09:09 +00:00
Paul Duffin
f0efd5da1a Merge "Allow building against prerelease prebuilt APEXes" 2022-12-13 16:28:07 +00:00
Treehugger Robot
6441a125cf Merge changes from topics "bp2build_cc_object_dynamic_deps", "bp2build_cc_prebuilt_object"
* changes:
  Add support for headers from dependencies to bazel cc_object
  Add bp2build support for cc_prebuilt_object
2022-12-13 16:25:58 +00:00
Usta (Tsering) Shrestha
c9f1b9ed7b Merge "scan and run test_ methods" am: b545f49f06
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2334105

Change-Id: I8cb331e711d37271565e1dc9031dc4aed81ac1d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 15:57:16 +00:00
Paul Duffin
67baf05e0b Merge "Make apex_set support ":<apex>" syntax to access the apex file" am: cb4438ff19
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2346322

Change-Id: I735bfc90635a916326a59118b9a4904ab5d5be7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 15:55:50 +00:00
Usta (Tsering) Shrestha
b545f49f06 Merge "scan and run test_ methods" 2022-12-13 15:46:08 +00:00
Paul Duffin
cb4438ff19 Merge "Make apex_set support ":<apex>" syntax to access the apex file" 2022-12-13 15:04:35 +00:00
Jooyung Han
bff7335056 Remove linkerconfig from bionic list.
Note that the list is used to install symlinks to com.android.runtime
and also install "bootstrap" copy in subdir.

We don't need bootstrap/linkerconfig since linker itself provides a
default config for those early processes.

This removes both symlink and bootstrap copy from /system.

Bug: 260982509
Bug: 262330207
Test: MicrodroidAppTest
Test: vm run-microdroid
Change-Id: I7c62db96bd3acc91214340d4beed9b561ff6663f
2022-12-13 18:29:44 +09:00
Jingwen Chen
b582e61a31 Fix "--version_script" typo in doc.
The linker flag is --version-script.

Change-Id: I3bc66e848cc27ca6eebc004c662152faef6f8076
Test: N/A
Bug: 257226023
2022-12-13 06:53:08 +00:00
Treehugger Robot
6967303346 Merge changes I80af8ace,I04130648 am: d3dfb89934
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2338790

Change-Id: Idc24c38d8ac46a6673e4b0f4e5a8128d0880a882
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 05:13:25 +00:00
Treehugger Robot
d3dfb89934 Merge changes I80af8ace,I04130648
* changes:
  Add to-lower/to-upper
  Add support for and/or in mk2rbc
2022-12-13 04:52:04 +00:00
Cole Faust
5a3449f11c mk2rbc support for clear_var_list
Bug: 262303006
Test: Manually (Added usage to aosp_arm64 and ran rbc_dashboard.py on it)
Change-Id: I3cba8f1d69ba4f42b4bc125f0a1131c1d33f7efb
2022-12-12 19:02:42 -08:00
Cole Faust
2dee63d9a8 Add to-lower/to-upper
Bug: 262303006
Test: go test
Change-Id: I80af8ace90556e58676adac4cb90d5d62c5b7b96
2022-12-12 18:18:15 -08:00
Cole Faust
d2daabfa02 Add support for and/or in mk2rbc
Bug: 262303006
Test: go test
Change-Id: I04130648084775c0828e95cd18a82e348c3f09eb
2022-12-12 18:17:37 -08:00
Sasha Smundak
dcb6129269 Streamline AndroidMk generation
Add AndroidMkEmitAssignList to emit a line to assign the items from
the given list of string arrays.

Test: treehugger
Change-Id: Id5acbef38ea4e91349bd2461f226db352d4b8123
2022-12-12 18:06:49 -08:00
Vinh Tran
935adc4b96 Merge changes from topic "afdo-in-cc-rules" am: 6916999cd0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2345763

Change-Id: I596412f69dddf282a0cece43634f9b315281717c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 01:05:14 +00:00
Vinh Tran
ef964943d1 Add check for handcrafted BUILD file in bp2build am: bc9c8b494c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2345783

Change-Id: Id8fc7fdebbb1f4918a7a26db40fb32e34caaaf08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 01:05:12 +00:00
Vinh Tran
cc7c9dabf5 Add bp2build conversion to reference to fdo_profile targets am: 99270ea3c3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2336164

Change-Id: Ie575acb9fd5d9949fdd9ed68dbba08fb09a47e80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 01:05:05 +00:00
Vinh Tran
6916999cd0 Merge changes from topic "afdo-in-cc-rules"
* changes:
  Change out path to android_target-opt in bazel integration tests
  Add check for handcrafted BUILD file in bp2build
  Add bp2build conversion to reference to fdo_profile targets
2022-12-13 00:12:03 +00:00
Treehugger Robot
a444989319 Merge "Add support for variant_prepend properties in bp2build for cc library" am: 331360e7d6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2336916

Change-Id: Ib564a9f65a4b930d0128915508878d2f7f765adf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-12 23:09:58 +00:00
Treehugger Robot
331360e7d6 Merge "Add support for variant_prepend properties in bp2build for cc library" 2022-12-12 22:46:33 +00:00
Paul Duffin
d4c2cbf552 Merge "Fix deapexer usage in prebuilt_apex/apex_set" am: a499dfdf95
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2345766

Change-Id: Idd2430824cbb537b5086b1f0e145aa29ad9198fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-12 21:55:42 +00:00