Commit Graph

44413 Commits

Author SHA1 Message Date
Jiyong Park
42a7f17aa1 Merge "Prohibit static executable in APEX" am: d8a3513155 am: 7986f564b6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1779746

Change-Id: Iefdcf93ceb0d0b9654afffe0c03be28af33a9eaf
2021-08-03 04:16:24 +00:00
Jiyong Park
7986f564b6 Merge "Prohibit static executable in APEX" am: d8a3513155
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1779746

Change-Id: I59bfe18a8a11fbc8f145bd3bef3bff41855ac5a9
2021-08-03 04:01:03 +00:00
Jiyong Park
d8a3513155 Merge "Prohibit static executable in APEX" 2021-08-03 03:48:01 +00:00
Sasha Smundak
a904093a23 Translate more Make builtin functions am: 16e0773e7f am: 218491da3a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1778588

Change-Id: Iac6162ea17b7b2d23fbf2fc4874bd355d477681a
2021-08-03 01:44:24 +00:00
Sasha Smundak
4c93fdbde6 Allow dynamically calculated inherit-product path am: 6609ba7664 am: d026b1caf2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1778587

Change-Id: I6f8a099522ea7133037e11b63ad2560157ce6fab
2021-08-03 01:44:20 +00:00
Sasha Smundak
218491da3a Translate more Make builtin functions am: 16e0773e7f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1778588

Change-Id: Icaaa317511860d61d5a586d0018aa94760051139
2021-08-03 01:30:59 +00:00
Sasha Smundak
d026b1caf2 Allow dynamically calculated inherit-product path am: 6609ba7664
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1778587

Change-Id: If5888089cfb8c7aa7078d3f201ed43e706b2b5ee
2021-08-03 01:30:57 +00:00
Sasha Smundak
16e0773e7f Translate more Make builtin functions
Adds support for abspath/firstword/dir/lastword/notdir functions

Bug: 194521362
Test: internal
Change-Id: I34dd6a81f21a4ef2f8f0a72bd80284ced8957b5c
2021-08-02 15:13:59 -07:00
Sasha Smundak
6609ba7664 Allow dynamically calculated inherit-product path
Bug: 193566316
Test: internal
Change-Id: Iaa7b68cf459f9a694ae9d37a32c9372cf8a8335a
2021-08-02 14:35:45 -07:00
Treehugger Robot
1d89e80529 Merge changes I43e61218,Iea36ecaa am: e083a05ad0 am: 3d9aaa82f2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1784828

Change-Id: Ic89d1d1c266c8f10e118f877e1e3ab56ccd5635d
2021-08-02 20:56:11 +00:00
Treehugger Robot
3d9aaa82f2 Merge changes I43e61218,Iea36ecaa am: e083a05ad0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1784828

Change-Id: Ib2ed6331616d2fa118d8591134bf624c9925266a
2021-08-02 20:37:47 +00:00
Treehugger Robot
e083a05ad0 Merge changes I43e61218,Iea36ecaa
* changes:
  Add an option to gather CPU profile.
  Allow $(filter ...) with arbitrary args if its result is compared to the empty string
2021-08-02 20:18:17 +00:00
Liz Kammer
30d5558a49 Merge "Set mixed builds use product-config based target" am: 93f51a3cff am: 460f522f79
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1778965

Change-Id: Id084be14766122dd970c2db91067a27128289626
2021-08-02 16:59:16 +00:00
Yuntao Xu
ac11e71333 Merge "remove target from every intermediate depFile" am: 1b05df5fd4 am: eb5bcf21ec
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1782649

Change-Id: I31f83639c6278e82f926e6fabf151966e43ba49a
2021-08-02 16:59:08 +00:00
Liz Kammer
460f522f79 Merge "Set mixed builds use product-config based target" am: 93f51a3cff
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1778965

Change-Id: I8ac7d712f534ffb0dfad25a03c1cc00639cf91fe
2021-08-02 16:42:00 +00:00
Yuntao Xu
eb5bcf21ec Merge "remove target from every intermediate depFile" am: 1b05df5fd4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1782649

Change-Id: I7def89e73fa35b8b6075435b3046f56f4671e3c9
2021-08-02 16:41:54 +00:00
Liz Kammer
93f51a3cff Merge "Set mixed builds use product-config based target" 2021-08-02 16:38:29 +00:00
Yuntao Xu
1b05df5fd4 Merge "remove target from every intermediate depFile" 2021-08-02 16:28:27 +00:00
Sasha Smundak
3880279a0c Add an option to gather CPU profile.
Bug: 172923994
Test: internal
Change-Id: I43e6121855e909eaca2204a811f12174fb8b6b5f
2021-08-01 14:46:56 -07:00
Sasha Smundak
0554d760fb Allow $(filter ...) with arbitrary args if its result is compared to the empty string
Bug: 172923994
Test: internal
Change-Id: Iea36ecaa8940cf4e495ad63125f10d733c3eb2ee
2021-08-01 14:41:03 -07:00
Dan Willemsen
2cb2b2319b Merge "Bump minimum MacOS version to 10.13" am: db45fb250d am: d7cacef34a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1780977

Change-Id: Ida12392b4751b64261ecdacd2edf1102e16672df
2021-07-30 18:35:48 +00:00
Justin Yun
df032badd8 Rewrite snapshot dependencies for vndk-ext am: 27b9572433 am: 1a45180fe7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1779758

Change-Id: I6413423b86eccb8d28cbfa1213806eb8c7147f7d
2021-07-30 18:35:34 +00:00
Yi-Yo Chiang
e2027b2526 Merge changes from topic "variational-required" am: d7b95f94a1 am: e3c9611b24
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1739833

Change-Id: I00420ba0a1409254125935e8c1a4c3610fa44536
2021-07-30 18:35:25 +00:00
Dan Willemsen
6fce28961d go.mod: Add indirect exclusions/redirections from golang-protobuf upgrade am: 54d2e21fa8 am: ea56c71d79
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1782247

Change-Id: I3f76730af17aa2a83b1c421be64eaf7755addec2
2021-07-30 18:35:17 +00:00
Dan Willemsen
ab1becc9ee Merge commit 'f42f01b49d3e3d28ef2b0ae8f90cacd6f2b36ce2' into stage-aosp-master am: bafb547656
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/15430191

Change-Id: I87c4c9b0237a8665101cfaeb157872657516ea3e
2021-07-30 18:35:08 +00:00
Dan Willemsen
d7cacef34a Merge "Bump minimum MacOS version to 10.13" am: db45fb250d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1780977

Change-Id: Ia9f9763792d724b18c0c553af8a812662b8312fa
2021-07-30 18:27:11 +00:00
Justin Yun
1a45180fe7 Rewrite snapshot dependencies for vndk-ext am: 27b9572433
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1779758

Change-Id: I00073cbd7a9a3345023825d149cef70d118529c8
2021-07-30 18:26:34 +00:00
Yi-Yo Chiang
e3c9611b24 Merge changes from topic "variational-required" am: d7b95f94a1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1739833

Change-Id: Iacab63f084236823bd32f678f20d3d1ced16bf3b
2021-07-30 18:26:28 +00:00
Dan Willemsen
ea56c71d79 go.mod: Add indirect exclusions/redirections from golang-protobuf upgrade am: 54d2e21fa8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1782247

Change-Id: Ibe4366e9de565e782d660fe5cb74e859aba39aa1
2021-07-30 18:26:15 +00:00
Dan Willemsen
db45fb250d Merge "Bump minimum MacOS version to 10.13" 2021-07-30 17:22:56 +00:00
Yuntao Xu
56cc658b93 remove target from every intermediate depFile
1. The current logic in the rsCppCmdLine only removes the target from the
first intermediated depFile, which is different from the logic in Make, see
https://source.corp.google.com/android/build/make/core/definitions.mk;l=1078
2. The expected logic, as that in Make, is to remove the target from every
intermediate depFile, if there are many, before the concatenation;
3. This bug would cause dependency cycle error, please check the bug number
below for more details;
4. The fix is to make sure the logic here is the same as that in Make.

Bug: 195036632
Test: m CtsRsCppTestCases with the converted Android.bp file (run more than
once to make sure no error occurs)
Test: manually checked the gen/rs/rs.stamp.d file to make sure there
is only one target on the top (the same as that built with the former
Android.mk file)
Test: TreeHugger

Change-Id: If79e3e5e7bc18a6fddcf56c0168daea93726afc6
2021-07-30 09:47:07 -07:00
Dan Willemsen
bafb547656 Merge commit 'f42f01b49d3e3d28ef2b0ae8f90cacd6f2b36ce2' into stage-aosp-master
Bug: 195110722
Change-Id: Ie24ce00856ecb1631d944741f2f0f9fe06f1cca5
2021-07-30 08:34:03 -07:00
Justin Yun
27b9572433 Rewrite snapshot dependencies for vndk-ext
VNDK-ext libraries have dependency on VNDK libraries. When building
against snapshots, the dependency must be rewritten with the
snapshots.

Bug: 194864314
Test: m nothing
Change-Id: I1244c6a6590e89b344ab39514bb5142d36b04268
2021-07-30 10:49:02 +00:00
Yi-Yo Chiang
d7b95f94a1 Merge changes from topic "variational-required"
* changes:
  cc/cc.go: Support per-image-variation "required"
  android/androidmk.go: Calls *RequiredModuleNames() to get required modules
2021-07-30 10:09:40 +00:00
Dan Willemsen
54d2e21fa8 go.mod: Add indirect exclusions/redirections from golang-protobuf upgrade
The golang-protobuf upgrade brought in new dependencies, which broke the
hermeticity of our go.mod redirections. Fix those up so they get
excluded or redirected to the locations in the tree.

Test: cd build/soong/cc; go test .
Change-Id: I012d11fad3b5509b213093e3c5889a27e641b868
2021-07-29 13:34:51 -07:00
Dan Willemsen
3dc4326ce7 Bump minimum MacOS version to 10.13
We've removed all of our buildbots running 10.10, and Android Studio
requires 10.14+, so our oldest users are now the 10.13 buildbots.

Bug: 191879468
Change-Id: Ie9fdb59f12bb672c5f2448cb558f54a2e10039fb
2021-07-29 12:18:29 -07:00
Dan Willemsen
f42f01b49d Merge "Upgrade to golang protobuf api v2" 2021-07-29 18:29:26 +00:00
Ivan Lozano
a9fb0d21f8 Merge "rust: Prevent manually defined lib link flags." am: c4dae8eb27 am: bf59435993
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1778836

Change-Id: Id371dab4d524c2d9d33a3df0b2480b57d63dff24
2021-07-29 17:42:30 +00:00
Ivan Lozano
bf59435993 Merge "rust: Prevent manually defined lib link flags." am: c4dae8eb27
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1778836

Change-Id: Iecdc62ac6306f27cd6ed5b7b314a50cdaef787b6
2021-07-29 17:20:44 +00:00
Ivan Lozano
c4dae8eb27 Merge "rust: Prevent manually defined lib link flags." 2021-07-29 17:06:09 +00:00
satayev
c3c6b6b666 Merge "Rename UpdatableSystemServerJars to ApexSystemServerJars." am: 0d8c497535 am: 59eb1584f6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1779990

Change-Id: I31b7d16d1f66b08f74469c0593ba3b6c11191c52
2021-07-29 11:56:03 +00:00
satayev
59eb1584f6 Merge "Rename UpdatableSystemServerJars to ApexSystemServerJars." am: 0d8c497535
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1779990

Change-Id: I2c75a33e54bf0eaee619e6cd6fee80eab71c11ce
2021-07-29 11:40:50 +00:00
satayev
0d8c497535 Merge "Rename UpdatableSystemServerJars to ApexSystemServerJars." 2021-07-29 11:23:43 +00:00
Kiyoung Kim
bd6aab9e09 Merge "Create new module type 'snapshot_etc'" am: 754b9cce24 am: c2da7caea5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1775266

Change-Id: I2845e4cbf7064abef6243d747377a443c8c6fb2c
2021-07-29 01:46:39 +00:00
Jingwen Chen
fad8382357 Merge "Add tzdata packages to bp2build allowlist." am: 2181be3a25 am: a60ff22cf4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1779761

Change-Id: I164d2517e6b5f5e50463589acbe0237e91f123bb
2021-07-29 01:46:24 +00:00
Kiyoung Kim
c2da7caea5 Merge "Create new module type 'snapshot_etc'" am: 754b9cce24
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1775266

Change-Id: I54b77bfa1712a6de19d7ddb010c7996b61c2d7fa
2021-07-29 01:28:47 +00:00
Jingwen Chen
a60ff22cf4 Merge "Add tzdata packages to bp2build allowlist." am: 2181be3a25
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1779761

Change-Id: Ic6a11b29e9c889262a7319b08ce91bb5ab8247ca
2021-07-29 01:28:38 +00:00
Kiyoung Kim
754b9cce24 Merge "Create new module type 'snapshot_etc'" 2021-07-29 01:27:11 +00:00
Jingwen Chen
2181be3a25 Merge "Add tzdata packages to bp2build allowlist." 2021-07-29 01:04:43 +00:00
Treehugger Robot
88558e6f14 Merge "Added a flag to the rustdoc invocation" am: 58fd4c43ea am: f33614f354
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1781013

Change-Id: I6c90e6dfd923ee42a297b090dbb967dafa9cc401
2021-07-28 21:06:00 +00:00