Commit Graph

6282 Commits

Author SHA1 Message Date
Colin Cross
9b472e038f Merge "Reland "Split the x86 host toolchain into glibc and musl variants"" am: dcbc76134d am: 632d3cf202 am: e9a7d0f732 am: a1047c8002
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1777148

Change-Id: I492f01a0695fb51be940fcedd51980a198356354
2021-07-26 20:06:06 +00:00
Colin Cross
3ee939464a Merge "Revert "Split the x86 host toolchain into glibc and musl variants"" am: c5647ca16e am: a199295f7a am: e4e1d6a9bc am: 49da6fcc8c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1777147

Change-Id: I400d4b0ddbe9d417cbec7cef4b275ca43cd772d7
2021-07-26 19:53:13 +00:00
Colin Cross
fa5eb6c6ac Merge changes Idbeb4819,Ifc02f9e5 am: 7628e933b6 am: 038ac4c9bc am: a45cf21495 am: 52da1b5b00
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1775369

Change-Id: I7e26085d7a20ed4bb65532a409b481abfc52bc71
2021-07-26 19:53:06 +00:00
Treehugger Robot
892e5a7b43 Merge "Remove default_shared_libs" am: 2231f8a21c am: 0cddfa441d am: fba8644b97 am: 6984f09427
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1775072

Change-Id: If511a29cc7529826e3c272fd7c9cb108166f3156
2021-07-26 19:52:51 +00:00
Colin Cross
e9a7d0f732 Merge "Reland "Split the x86 host toolchain into glibc and musl variants"" am: dcbc76134d am: 632d3cf202
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1777148

Change-Id: Icca632d52e633a77b26e960bf11cb448d05bbf64
2021-07-24 03:09:27 +00:00
Colin Cross
db4604c2af Add android.system.suspend-V1-ndk to VndkMustUseVendorVariantList
Test: manual
Change-Id: I1a759370e1f2676539baf93ee2e40e789557d676
2021-07-23 16:26:45 -07:00
Colin Cross
e4e1d6a9bc Merge "Revert "Split the x86 host toolchain into glibc and musl variants"" am: c5647ca16e am: a199295f7a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1777147

Change-Id: Ie502ec0d1e461c7809175d8a27078e92bb9b7e00
2021-07-23 23:00:47 +00:00
Colin Cross
a45cf21495 Merge changes Idbeb4819,Ifc02f9e5 am: 7628e933b6 am: 038ac4c9bc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1775369

Change-Id: Icb2f36d978b0aee2e883a510029a410d406d1ff3
2021-07-23 23:00:37 +00:00
Colin Cross
528d67e523 Reland "Split the x86 host toolchain into glibc and musl variants"
Split the x86 host toolchain into glibc and musl variants

Create new musl toolchains that are based on the existing glibc
toolchains, and add the necessary flags for musl compiles.

This relands Ifc02f9e5afa61ff758be98b0c962f3a4b53d0546 with changes
for I46672e3a096b6ea94ff4c10e1c31e8fd010a163c.

Bug: 190084016
Change-Id: Iaa9f7a50ff601155ecd73acc5701a2c226be66dc
Test: TestArchMutator
2021-07-23 22:25:36 +00:00
Colin Cross
c5647ca16e Merge "Revert "Split the x86 host toolchain into glibc and musl variants"" 2021-07-23 22:22:11 +00:00
Colin Cross
5d6904e1cf Revert "Split the x86 host toolchain into glibc and musl variants"
This reverts commit 4fb4ef2242.

Reason for revert: crossed with aosp/1775072

Change-Id: Ied922850b810d82627ba4f9ee42f672cfe286c91
2021-07-23 22:20:29 +00:00
Colin Cross
7628e933b6 Merge changes Idbeb4819,Ifc02f9e5
* changes:
  Add dynamic_list property
  Split the x86 host toolchain into glibc and musl variants
2021-07-23 22:08:19 +00:00
Treehugger Robot
fba8644b97 Merge "Remove default_shared_libs" am: 2231f8a21c am: 0cddfa441d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1775072

Change-Id: Id3f0baada1ba1fdb209fdd24569ecbbf3fe99722
2021-07-23 21:28:09 +00:00
Kalesh Singh
9c8a488a5d Merge "Update VndkMustUseVendorVariantList" am: 295ae69b04 am: 63f2974d3f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1774327

Change-Id: Icc603ae51b805371b1332b66b2ae7007c200767f
2021-07-23 21:25:41 +00:00
Treehugger Robot
2231f8a21c Merge "Remove default_shared_libs" 2021-07-23 21:18:51 +00:00
Kalesh Singh
32b0b9f9e4 Update VndkMustUseVendorVariantList
Add android.system.suspend-V1-ndk_platform

Bug: 170260236
Test: m
Change-Id: I93b84112e0fcdd3593ca196308338945376acc1a
(cherry picked from commit ada357aeb4)
2021-07-23 14:18:35 -07:00
Kalesh Singh
295ae69b04 Merge "Update VndkMustUseVendorVariantList" 2021-07-23 17:16:28 +00:00
Colin Cross
5942238966 Add dynamic_list property
Add a dynamic_list property that is similar to version_script but uses
a -Wl,--dynamic-list flag instead of -Wl,--version-script.

Bug: 190084016
Test: TestLibraryDynamicList
Change-Id: Idbeb4819ce4d92e50c4e9b27ec8f150d566d380a
2021-07-23 10:15:13 -07:00
Colin Cross
4fb4ef2242 Split the x86 host toolchain into glibc and musl variants
Create new musl toolchains that are based on the existing glibc
toolchains, and add the necessary flags for musl compiles.

Bug: 190084016
Test: TestArchMutator
Change-Id: Ifc02f9e5afa61ff758be98b0c962f3a4b53d0546
2021-07-23 08:57:17 -07:00
Christopher Parsons
a021498ff7 Merge "Remove bp2build deps mutator" am: 2f1102fe58 am: ba5164965a am: b46b416998 am: 2c7be1fba0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1774225

Change-Id: Id67ff29e29a4e7504996797935a2ab3a1918f70d
2021-07-23 15:55:31 +00:00
Colin Cross
f507a1ede1 Merge "Remove Fuchsia support from Soong" am: b8d69871a8 am: be588a31d1 am: 1dd4b94aa3 am: 50a026e420
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1774379

Change-Id: I953576fee130b436a2cadd9f404df88b78adad4b
2021-07-23 15:55:22 +00:00
Christopher Parsons
b46b416998 Merge "Remove bp2build deps mutator" am: 2f1102fe58 am: ba5164965a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1774225

Change-Id: Ief47750896b9ffca5ac375e841288e1b7da8cca0
2021-07-23 15:22:52 +00:00
Colin Cross
1dd4b94aa3 Merge "Remove Fuchsia support from Soong" am: b8d69871a8 am: be588a31d1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1774379

Change-Id: I9e0151ef36eb011f8c942469ca50eff0b781faf6
2021-07-23 15:22:42 +00:00
Christopher Parsons
2f1102fe58 Merge "Remove bp2build deps mutator" 2021-07-23 14:55:40 +00:00
Colin Cross
b8d69871a8 Merge "Remove Fuchsia support from Soong" 2021-07-23 14:54:49 +00:00
TreeHugger Robot
9090d35656 Merge changes from topic "remove_ndk_platform"
* changes:
  *-ndk.so libraries are added to VndkMustUseVendorVariantList
  Reland: Add more target-specific properties
2021-07-23 02:46:59 +00:00
Colin Cross
72de62be76 Merge "Replace android.BuildOs with Config.BuildOS" am: 78fd15f7d6 am: bf2f93f8e8 am: acf474e9bb am: 1b09267011
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1773108

Change-Id: I9c76a24d0118343007e282920fb23c8cc0b9b1f2
2021-07-23 01:21:00 +00:00
Colin Cross
acf474e9bb Merge "Replace android.BuildOs with Config.BuildOS" am: 78fd15f7d6 am: bf2f93f8e8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1773108

Change-Id: Ib6e5eea644f359c59e597943222d3f1f51b564d0
2021-07-23 00:39:59 +00:00
Colin Cross
78fd15f7d6 Merge "Replace android.BuildOs with Config.BuildOS" 2021-07-23 00:07:01 +00:00
Chris Parsons
5a34ffb350 Remove bp2build deps mutator
Refactor bp2build to retrieve modules directly by name, instead of via
DirectDeps. This functions properly as bp2build has no need for variant
information of the blueprint graph.

Test: USE_BAZEL_ANALYSIS=1 m fmtlib
Change-Id: Ief4b67bc56f24929871af772f3a742f07085bf8c
2021-07-22 18:09:34 -04:00
Treehugger Robot
ba8be19241 Merge "Apply system_shared_libs to all variants" am: 2e4c0eb90e am: 75c2ca900e am: 9b95e0bc13 am: 3e4ee6f0ef
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1765126

Change-Id: Ic06d97780b95f0cea9567d9e4a5f04cf21d4025b
2021-07-22 19:27:44 +00:00
Colin Cross
6b8f4253eb Remove default_shared_libs
system_shared_libs has been modified to have the same behavior as
the newly added default_shared_libs, remove default_shared_libs in
favor of system_shared_libs.

This reverts Ia2349d84c70e503916f90a5d2702e135248f73df and renames
the default_shared_libs property in cc_object (which never had
system_shared_libs) to system_shared_libs.

Bug: 193559105
Test: m checkbuild
Change-Id: I46672e3a096b6ea94ff4c10e1c31e8fd010a163c
2021-07-22 12:10:11 -07:00
Treehugger Robot
9b95e0bc13 Merge "Apply system_shared_libs to all variants" am: 2e4c0eb90e am: 75c2ca900e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1765126

Change-Id: Ie18e6bb3aa92e5ac73301d06cf4426564c19a95a
2021-07-22 19:00:12 +00:00
Treehugger Robot
2e4c0eb90e Merge "Apply system_shared_libs to all variants" 2021-07-22 17:44:32 +00:00
Kalesh Singh
ada357aeb4 Update VndkMustUseVendorVariantList
Add android.system.suspend-V1-ndk_platform

Bug: 170260236
Test: m
Change-Id: I93b84112e0fcdd3593ca196308338945376acc1a
2021-07-22 06:34:13 +00:00
Colin Cross
cb0ac95bde Remove Fuchsia support from Soong
Bug: 194215932
Test: m checkbuild
Change-Id: Id7d3964d9417f8b0938af9b168bb4c00cebe9390
2021-07-21 20:37:46 -07:00
Jiyong Park
b58719c156 *-ndk.so libraries are added to VndkMustUseVendorVariantList
We will replace the ndk_platform backend with the ndk backend. The
former hasn't been deleted yet because there already are references to
it. When the existing references are all replaced with the ndk backend,
we will remove the ndk_platform backend and the corresponding libraries
will be removed from this list.

Bug: 161456198
Test: m

Change-Id: I7c7aa1025a876e45fc4779378825d91098164e84
2021-07-22 03:07:31 +00:00
Kiyoung Kim
f2346fe0d2 Merge changes I3574d2a1,Ifb69fb3d am: 5d96f64d04 am: 6a7257a450 am: 52b6b4a768 am: fa0e44c485
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1771025

Change-Id: Ia2b124f82eb609a56ba2b8fc1923f23f77e99b81
2021-07-22 02:04:00 +00:00
Kiyoung Kim
52b6b4a768 Merge changes I3574d2a1,Ifb69fb3d am: 5d96f64d04 am: 6a7257a450
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1771025

Change-Id: I39bdfdbd3ffe8e9471b54480f557206ec93a3e26
2021-07-22 01:30:55 +00:00
Kiyoung Kim
5d96f64d04 Merge changes I3574d2a1,Ifb69fb3d
* changes:
  Update prebuilt_etc available for snapshot
  Separate snapshot definition
2021-07-22 00:57:39 +00:00
Liz Kammer
dc23a43323 Add deps for system_shared_libs for all axes am: 561923e10d am: 9919c2ea1a am: 5a084f028d am: 7d454b93ea
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1774005

Change-Id: Ie03b2765f5d9eaad18a914a5525de1558dcefbef
2021-07-21 19:20:20 +00:00
Liz Kammer
5a084f028d Add deps for system_shared_libs for all axes am: 561923e10d am: 9919c2ea1a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1774005

Change-Id: I8bb43e96a011495d530ef8cbee7cd5f868729600
2021-07-21 17:56:05 +00:00
Jiyong Park
bb14481408 Reland: Add more target-specific properties
Following properties are added:

* vendor.header_libs
* platform.cflags
* platform.header_libs
* platform.exclude_shared_libs

These are used in the *-ndk libraries generated from the aidl_interface
modules, so that we can build the platform variants of the libraries
just like the *-ndk_platform libraries. Eventually, we will remove the
*-ndk_platform libraries.

Bug: 161456198
Test: m
Change-Id: I126e272cd29eb1e03662c54bfa8bd64e704adc74
2021-07-21 16:00:08 +00:00
Liz Kammer
561923e10d Add deps for system_shared_libs for all axes
This is the same hack we have currently, but applying it to the various
axes to unblock a Soong/bionic refactoring CL.

Test: bp2build.sh
Change-Id: Ie068461201bb3c18b9f385026e96cca2c7fe6b97
2021-07-21 10:15:56 -04:00
Hsin-Yi Chen
bd52ec2eae Merge "Specify working directory and OUT_DIR to ABI tools" am: 1f019f945d am: 28bca125df am: 9ce14e7d03 am: 41378b5750
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1760699

Change-Id: Ibf7f78eb05a366c78515ea9df4706f8ac08f3f94
2021-07-21 08:12:12 +00:00
Hsin-Yi Chen
9ce14e7d03 Merge "Specify working directory and OUT_DIR to ABI tools" am: 1f019f945d am: 28bca125df
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1760699

Change-Id: I526b9a95e11e4e36ff80a9d9387240f979a0e3b3
2021-07-21 07:45:55 +00:00
Hsin-Yi Chen
1f019f945d Merge "Specify working directory and OUT_DIR to ABI tools" 2021-07-21 07:19:13 +00:00
Colin Cross
0c66bc615b Replace android.BuildOs with Config.BuildOS
Replace the android.BuildOs constant with Config.BuildOS so that it
can vary based on the product config.

Bug: 190084016
Test: all Soong tests
Change-Id: Ia67f872d8b2ab788747a22e3a9659dc21c9775cd
2021-07-20 12:46:48 -07:00
Kiyoung Kim
ae11c233b5 Update prebuilt_etc available for snapshot
Make prebuilt_etc module available for the snapshot. This change
includes implementing snapshot interface for the prebuilt_etc module so
it can be added to the snapshot from the fake snapshot, or when the
module is specified in the list.

Bug: 192430376
Test: m nothing passed
Test: Checked if the module is included in the snapshot properly
Change-Id: I3574d2a1b8f8f4e5f083f3913e8768f5088d0c46
2021-07-20 11:24:03 +09:00
Colin Cross
a9ae60d55e Merge "Remove clang indirection, affects command line ordering" am: ae86338676 am: eeec86e85e am: 9e7c62b79a am: c3747fd3ad
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1767414

Change-Id: Iae80001518bd646f32073238b314de62af220638
2021-07-19 22:42:36 +00:00