Treehugger Robot
61d7bc338f
Merge "cmdline property in bootimg can be customized for debuggable builds" am: 4b2435bc79
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1813356
Change-Id: Ia4491bfb3c16e139bf40bde090c2274efea73b35
2021-08-31 02:00:51 +00:00
Jiyong Park
16e77a9b30
cmdline property in bootimg can be customized for debuggable builds
...
This change adds product_variables.debuggable.cmdline so that the kernel
cmdline arguments can be augmented for the debuggable builds.
To support that the type of the property has changed to string array.
Bug: 181936135
Test: inspect build.ninja
Change-Id: I81b3ead5187ccb378efabb87d1d15fbdb59d8e2f
2021-08-31 08:32:44 +09:00
Xin Li
3eaa6bcecf
Merge sc-dev-plus-aosp-without-vendor@7634622
...
Merged-In: I10ff6a5df76852f0a22fe3ac22df764528f07423
Change-Id: I71f2397f425a46d346e49ac422d256d7e049c7a2
2021-08-14 06:30:56 +00:00
Yuntao Xu
402e9b08e1
Add Platform_sdk_version_or_codename variable
...
1. Added a new product variable Platform_sdk_version_or_codename;
2. This variable is used to support the logic in the Android.bp file
when either the Platform_sdk_version or the Platform_sdk_codename is
used.
Bug: 195986342
Test: m CtsThemeHostTestCases (the module where the product variable is
used)
Test: TreeHugger
Change-Id: I6b952ce47fd4adc280aa3c7ef4185487558af9bc
2021-08-11 12:33:37 -07:00
satayev
ad6cb082a4
Merge "Rename UpdatableBootJars to ApexBootJars." am: 4102c0cc47
am: adb9e9f752
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1773912
Change-Id: Iecc5f48620b2d4e5390ab9a081b2193924bd0dda
2021-07-26 18:29:56 +00:00
satayev
4102c0cc47
Merge "Rename UpdatableBootJars to ApexBootJars."
2021-07-26 17:59:36 +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
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
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
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
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
satayev
d604b210c4
Rename UpdatableBootJars to ApexBootJars.
...
Note that ART apex boot jars and core-icu4j are exceptions here as they
are not part of ApexBootJars. ART apex boot jars are defined in their
own variable, while core-icu4j is treated as a regular non-updatable
boot jar.
Bug: 191127295
Test: atest CtsClasspathsTestCases
Change-Id: I3cea3d82ef521655a1a5ffa8cae2258ab9d08bfc
2021-07-22 17:35:42 +01: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
Treehugger Robot
a5d5782e39
Merge "dexpreopt.config should be created even though unbundled image is built" am: 75d719fdd7
am: 1bc89a7af1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1730112
Change-Id: I4e91d1b293e84c69f032e148931357e2a050e10f
2021-07-15 09:28:40 +00:00
Jeongik Cha
4b073cd083
dexpreopt.config should be created even though unbundled image is built
...
Bug: 188179858
Test: compare dexpreopt_config.zip files from
1. TARGET_BUILD_UNBUNDLED_IMAGE=true m dexpreopt_config_zip
2. m dexpreopt_config_zip
(note that m clean should run between steps)
Change-Id: I36a6e8b10b9922cc5522accaf90af1aa05049a86
2021-07-15 09:57:49 +09:00
Treehugger Robot
1a02146ca9
Merge "Add libs to debuggable" am: 3b90bb9834
am: 3835adce04
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1744764
Change-Id: Id7c43d2e29aaba652016dd9cd7cbce47dcd2161c
2021-06-29 00:20:16 +00:00
Treehugger Robot
3b90bb9834
Merge "Add libs to debuggable"
2021-06-28 23:58:12 +00:00
Yifan Hong
8f323ae364
Add libs to debuggable
...
Test: pass
Bug: 190868302
Change-Id: Ia51d9bb97d2f413b515335534cd5a771da68ce4b
2021-06-28 15:39:55 -07:00
Liz Kammer
0425ac6016
Merge changes I4a5ea40c,I40ab16e3 am: 2f26595072
am: cc1961d51d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1726010
Change-Id: I4f1af9e641322edc52dd60206168e43c28d44d3e
2021-06-07 17:18:03 +00:00
Liz Kammer
6044fae776
Use maps in bazel *attribute types am: 9abd62d133
am: e90edc333c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1725151
Change-Id: I3d75f3405b099d21151334598a346f8c1c592e9b
2021-06-04 14:29:03 +00:00
Liz Kammer
47535c51fa
Handle excludes_{shared,static}_libs
...
Bug: 188497994
Test: bp2build.sh
Change-Id: I4a5ea40cbd804e8542fe33143e4926abc0c6164f
2021-06-04 10:15:36 -04:00
Liz Kammer
9abd62d133
Use maps in bazel *attribute types
...
This is to simplify the process of resolving label + exclude labels
across the various configuration axes we have and across the various
properties/modules that use this behavior.
Test: ci/bp2build.sh && ci/mixed_droid.sh
Change-Id: I8efae3e75ddb365384f5caaf5bb504a5206618d3
2021-06-03 17:37:56 -04:00
Rupert Shuttleworth
e33da475f9
Make GetTargetProperties() aware of more complex targets, like 'android_arm', instead of just 'android'. am: c194ffbcf3
am: 42b29a5b40
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1712089
Change-Id: I2a68455e55701c2251d61a0db6855c34879fea93
2021-05-26 05:13:18 +00:00
Rupert Shuttleworth
c194ffbcf3
Make GetTargetProperties() aware of more complex targets, like 'android_arm', instead of just 'android'.
...
Test: Added new unit test and updated existing tests.
Test: bazel build //bionic/... //external/... //frameworks/... //system/...
Test: ./build/bazel/scripts/run_presubmits.sh
Change-Id: I250d1964f5cf42b92ddb929379d35d8c844423f7
2021-05-25 19:40:16 -04:00
Treehugger Robot
5221b7664b
Merge "Handle arch/os-specific product variables" am: c1ae9243a4
am: 91743e86ce
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1700827
Change-Id: Id941cac62a9a64a9d224038583b73421b432881e
2021-05-25 06:59:32 +00:00
Liz Kammer
e3e4a5f2d8
Handle arch/os-specific product variables
...
Bug: 183595873
Test: go test bp2build tests
Change-Id: I36e93ae1eb2943555dd304d5bdf62d995e77b437
2021-05-24 14:32:38 -04:00
Liz Kammer
0805b722dd
Merge "Dump bazel product config in Soong" am: 50d601731b
am: 95f87cd34e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1708967
Change-Id: I80d35711694382fe880b093a09430c884a517a84
2021-05-20 14:22:21 +00:00
Liz Kammer
09f947d67e
Dump bazel product config in Soong
...
Bug: 187862880
Test: build/bazel/ci/bp2build.sh
Test: build/soong/tests/bp2build_bazel_test.sh
Change-Id: I24b09baad973e25bec4476e1ea4a7692b72b7d20
2021-05-19 17:38:56 -04:00
Treehugger Robot
2619faa441
Merge "Remove draft API support." am: 7548b1ad05
am: 0ccb169046
am: c1499a90e2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1674968
Change-Id: I281cb957b9214fdd9d90c6ec6e95c5c69a4f5c96
2021-04-16 00:27:22 +00:00
Dan Albert
d05ba00415
Remove draft API support.
...
This is unused and doesn't work with our current API review process
anyway (un-drafting an API won't be flagged for API council review).
Test: treehugger
Bug: None
Change-Id: I6d8fcc9885b82dac5ada7772d9e3fb9101524ece
2021-04-13 15:55:47 -07:00
Treehugger Robot
91081c2e7e
Merge "Add a variable that indicates build-time debugfs restrictions" am: 929cac7433
am: 7525eff709
am: c088c17a5a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1663602
Change-Id: Ia80487823714954da29859fd80cfa30b3ca55d6c
2021-04-09 01:30:32 +00:00
Hridya Valsaraju
5a5c7d58df
Add a variable that indicates build-time debugfs restrictions
...
This patch adds a variable to indicate to check if the target has the
flag PRODUCT_SET_DEBUGFS_RESTRICTIONS enabled.
Bug: 184381659
Test: make with/without PRODUCT_SET_DEBUGFS_RESTRICTIONS set
Change-Id: Ic14a3759b155ed4e16048d62fcd990f4ba7c906a
2021-04-02 16:45:24 -07:00
Liz Kammer
fc8bc62d2a
Merge "Handle product_variable asflag for cc_object." am: acacbc1166
am: 2cc845060d
am: 263bdc570c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1652787
Change-Id: I6f9fd6727fd3eb0a5fdf3b0ccd324fed24a05be6
2021-03-31 21:17:47 +00:00
Liz Kammer
acacbc1166
Merge "Handle product_variable asflag for cc_object."
2021-03-31 18:43:55 +00:00
Liz Kammer
a060c4521e
Handle product_variable asflag for cc_object.
...
cc_object crtbrand sets product_variable.platform_sdk_version.asflag
and will not compile correctly within mixed builds without it.
Only handles product_variables that expand product variables.
Bug: 181794963
Test: ~/aosp/build/bazel/scripts/milestone-2/demo.sh full
Change-Id: I293fcb18032aa51f63bb7b3de94abd6d1ec38180
2021-03-30 15:16:43 -04:00
Inseob Kim
9689b5c5ef
Merge "Add WithDexpreopt soong variable" am: eb120bd741
am: 3c4cb3e99b
am: df6015f661
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649336
Change-Id: I76b917412953b97966e93015542d34f9456a8526
2021-03-24 07:26:39 +00:00
Inseob Kim
7b85eeb41e
Add WithDexpreopt soong variable
...
Test: m selinux_policy on sc-arc
Change-Id: I9e8ba5746e4648a04fe4d8fbe5d3403ba06b5914
2021-03-23 20:52:24 +09:00
Inseob Kim
f0a758c0fe
Merge "Add sepolicy related variables" am: fc8e9c7f00
am: d76ad94973
am: 1d84157810
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1641780
Change-Id: I30fb991c3b01210debe5c5fcb88641029947ced3
2021-03-19 01:51:12 +00:00
Inseob Kim
fc8e9c7f00
Merge "Add sepolicy related variables"
2021-03-19 00:07:58 +00:00
Lukács T. Berki
4a581ea4ca
Merge "Fix writing soong.variables ." am: 828b1e99ec
am: 85787f8720
am: 8f35b4df58
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1641405
Change-Id: I1ef94c752459994c75248d9525fab6eadad87c40
2021-03-18 09:39:52 +00:00
Justin DeMartino
89bcfecf6a
Merge "Allow extending of the list of directories to be scanned for VSDK" am: dd1decf7f6
am: e7c7a5e8d6
am: 1bbe7b54ec
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1603623
Change-Id: I749bf59c09bc250e342953b4760695408aa8b513
2021-03-17 16:18:07 +00:00
Lukacs T. Berki
720b3964fe
Fix writing soong.variables .
...
ConfiguredJarList had a marshaler but no unmarshaler.
Bug: 182965747
Test: Presubmits.
Change-Id: Id03669f4a0a3d389063a4e4b11af6d6be63dbba3
2021-03-17 16:35:13 +01:00
Inseob Kim
67e5add194
Add sepolicy related variables
...
Bug: 33691272
Test: try building with SELINUX_IGNORE_NEVERALLOWS := true
Change-Id: Id2aa450740d412af7ac66f096fa2121957964cac
2021-03-17 18:39:03 +09:00
Justin DeMartino
383bfb392f
Allow extending of the list of directories to be scanned for VSDK
...
Bug: 180925851
Bug: 181564692
Test: m nothing, manually
Change-Id: Ifff95db4c9ec362322fecca08f7fd1a7b60755c0
2021-03-15 23:14:47 +00:00
Paul Duffin
a998e9806a
Merge "Add preparer for test with variables" am: 8c004c6c04
am: c371cbb33d
am: cc285a8253
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1626512
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I46946e1448cf6e83399e46c259e8fba9e6744817
2021-03-11 15:45:20 +00:00
Paul Duffin
e7a055c6a3
Add preparer for test with variables
...
Bug: 181070625
Test: m nothing
Change-Id: I101826d88e67c63a58007f20f8e24d574dd7c99b
2021-03-11 14:16:49 +00:00
Jasmine Chen
acace42647
variable: Add header_libs to product_variables.arc
...
Add header_libs to product_variables.arc struct, which is needed for
cc_library_headers.
Bug: 151048523
Test: Image builds.
Change-Id: I1e1af35fb2c3a55454c9b70acfa10abb5d65ef61
2021-03-05 04:34:32 +00:00
Jeongik Cha
cee5ba973d
Remove EnforceRROExemptedTargets
...
There is no more target relying on EnforceRROExemptedTargets
Bug: 150820813
Test: m
Change-Id: If50d22c0e4f99e8c50d6a30cb94a0c3a5646b6fa
2021-02-19 12:16:12 +09:00