Commit graph

23569 commits

Author SHA1 Message Date
Treehugger Robot
d756fc76d1 Merge "Add BenchmarkProperties to cc_defaults" am: e6b5e9aa82 am: d922debd99
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353047

Change-Id: Ib727d19617af5e15289edcba4a3f54cc31eb19fd
2020-07-01 17:09:28 +00:00
Treehugger Robot
d922debd99 Merge "Add BenchmarkProperties to cc_defaults" am: e6b5e9aa82
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353047

Change-Id: I7182cf2dc9c83c7d740badc2c470d90d2b129e0d
2020-07-01 16:59:20 +00:00
Treehugger Robot
e6b5e9aa82 Merge "Add BenchmarkProperties to cc_defaults" 2020-07-01 16:46:11 +00:00
Colin Cross
28ec498840 Merge changes Ie33d2e05,Ie2b4509b,I5ac3a1f5 am: 8ec6261388 am: 342c28eb01
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353385

Change-Id: I7b1a5663e182fa7fcef159b2db4af36ce3fa5366
2020-07-01 16:09:56 +00:00
Colin Cross
342c28eb01 Merge changes Ie33d2e05,Ie2b4509b,I5ac3a1f5 am: 8ec6261388
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353385

Change-Id: Ia43082a9479e4a3379f9726f3a9ea8842c7b89eb
2020-07-01 15:54:45 +00:00
Colin Cross
8ec6261388 Merge changes Ie33d2e05,Ie2b4509b,I5ac3a1f5
* changes:
  Fix finder on symlinks pointing to directories
  Add Stat to finder/fs
  Move finder_test filesystem helper functions to fs/test.go
2020-07-01 15:42:22 +00:00
Treehugger Robot
8034eafbed Merge "Rename the Default* constants in java/config." am: 8f70db2b48 am: 98d8ee9bd8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353886

Change-Id: Ibf0533b6bd01244d30c5df89aa849a7f8da6f777
2020-07-01 15:25:53 +00:00
Treehugger Robot
98d8ee9bd8 Merge "Rename the Default* constants in java/config." am: 8f70db2b48
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353886

Change-Id: Ibcc651741aeff9bdfc783ed59a718e9c089ba769
2020-07-01 14:56:57 +00:00
Treehugger Robot
8f70db2b48 Merge "Rename the Default* constants in java/config." 2020-07-01 14:43:46 +00:00
Jooyung Han
47f4e1789e Merge "DO NOT MERGE apex: install flattened from apex_set" into rvc-dev am: f221e59429
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12034588

Change-Id: I3639fd081a4fc036365b09a9b0c2b640dc75b514
2020-07-01 14:16:57 +00:00
Jooyung Han
f45e20d635 DO NOT MERGE apex: install flattened from apex_set am: 2963716220
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12034588

Change-Id: I444402e4a1619a82f196ce8d4c7bcb12f36e96f9
2020-07-01 14:16:54 +00:00
Jooyung Han
f221e59429 Merge "DO NOT MERGE apex: install flattened from apex_set" into rvc-dev 2020-07-01 14:05:36 +00:00
Treehugger Robot
c4ef52f518 Merge "Prepare Soong for switch to stable core/platform API." am: 286d8f9972 am: d6bc08bdbd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353885

Change-Id: I8785b0cf32bb45c97878500f53754012a681da51
2020-07-01 12:21:39 +00:00
Treehugger Robot
d6bc08bdbd Merge "Prepare Soong for switch to stable core/platform API." am: 286d8f9972
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353885

Change-Id: I23afe384caa6bbf978075023455207c3097c5a49
2020-07-01 12:09:01 +00:00
Treehugger Robot
286d8f9972 Merge "Prepare Soong for switch to stable core/platform API." 2020-07-01 11:57:26 +00:00
Pete Gillin
0638dfcf94 Rename the Default* constants in java/config.
These values are used in two out of the many possible sdk_version
configurations, and therefore weren't really defaults in any
meaningful sense. Giving them more descriptive names makes the code
easier to follow.

Bug: 157640067
Test: m nothing
Change-Id: Icf38a9c0be2606ad0478929e1b40dfcee36cddef
2020-07-01 12:40:58 +01:00
Pete Gillin
40a0642385 Prepare Soong for switch to stable core/platform API.
This ensures that `m nothing` succeeds even if java/config/config.go
is changed to use `stable.core.platform.api.stubs` and
`stable-core-platform-api-stubs-system-modules` instead of the legacy
versions. (The change to stable cannot be made yet because real
targets depend on APIs only in legacy, but it is useful for the build
system to be ready for this change.)

Bug: 157640067
Test: m nothing (with and without local change mentioned above)
Change-Id: Id7562d8c592551fd0ed2b9849bcf6eb707c2a1d0
2020-07-01 11:31:30 +01:00
Nicolas Geoffray
245257db21 Merge "Add host exports for platform libraries used by ART host testing." am: 7462eda53e am: c88c02244c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353553

Change-Id: Iec4b8fceb24f43d443a4819344cfe31e844d6abf
2020-07-01 09:00:59 +00:00
Nicolas Geoffray
c88c02244c Merge "Add host exports for platform libraries used by ART host testing." am: 7462eda53e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353553

Change-Id: I690afacb604b29a473f31b213618d8c19a94a492
2020-07-01 08:43:52 +00:00
Nicolas Geoffray
7462eda53e Merge "Add host exports for platform libraries used by ART host testing." 2020-07-01 08:33:56 +00:00
Inseob Kim
9338e93cf7 Merge "Include shared lib in vendor snapshot if isVndkExt" into rvc-dev am: 4c845264a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12039614

Change-Id: I66fce942d2aef4bd5d65d723c8c02f867b3e80bb
2020-07-01 07:58:48 +00:00
Inseob Kim
4c845264a2 Merge "Include shared lib in vendor snapshot if isVndkExt" into rvc-dev 2020-07-01 07:48:51 +00:00
Treehugger Robot
f2d0ec2e7e Merge "Remove stale doc comment" am: ba2268fd60 am: 641d98af4c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353443

Change-Id: I112b673352bca005ef38c2b29d4f15487e1ec5c4
2020-07-01 05:34:16 +00:00
Chih-Hung Hsieh
b9a7da4aad Enable genrule modules for Rust host binaries am: 5c4e48956c am: fa9d1304b8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1312955

Change-Id: I334f08fc1f350af476c1ece1928878a9ee670899
2020-07-01 05:34:08 +00:00
Treehugger Robot
641d98af4c Merge "Remove stale doc comment" am: ba2268fd60
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1353443

Change-Id: I33e943e601d3f06961d66a530d08e9c702a32830
2020-07-01 05:21:17 +00:00
Chih-Hung Hsieh
fa9d1304b8 Enable genrule modules for Rust host binaries am: 5c4e48956c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1312955

Change-Id: I0d4f450d6d8285ca0b4825731f90efacdbcede37
2020-07-01 05:21:11 +00:00
Treehugger Robot
ba2268fd60 Merge "Remove stale doc comment" 2020-07-01 05:20:12 +00:00
Jaewoong Jung
e37779d23f Merge "Output apkcerts file for android_app_set." into rvc-dev am: d8f1b81e75
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12041704

Change-Id: I39f867293f232116148b0a0ced65754cf70465a5
2020-07-01 00:23:47 +00:00
Jaewoong Jung
d8f1b81e75 Merge "Output apkcerts file for android_app_set." into rvc-dev 2020-07-01 00:06:23 +00:00
Anton Hansson
62783652ac Merge "Propagate owner property for apex modules" into rvc-dev am: ff1531e13b
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12034797

Change-Id: I478d0442eee9e1eee74a853d51f21f797f2aeec0
2020-06-30 19:26:13 +00:00
Anton Hansson
ff1531e13b Merge "Propagate owner property for apex modules" into rvc-dev 2020-06-30 19:08:05 +00:00
Mitch Phillips
7df01cc05a Merge "[HWASan] Disable GlobalISel/FastISel w/ HWASan." into rvc-dev am: 13b85a4792
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/11959173

Change-Id: I986f605a95a5627c42ff6195138c65843f6938f5
2020-06-30 18:38:19 +00:00
Mitch Phillips
13b85a4792 Merge "[HWASan] Disable GlobalISel/FastISel w/ HWASan." into rvc-dev 2020-06-30 18:23:02 +00:00
Mitch Phillips
b1c574fd13 [HWASan] Disable GlobalISel/FastISel w/ HWASan.
Bug: 159343917
Test: See upstream testing at https://reviews.llvm.org/D82249
Change-Id: Ib644a857caa048d7fc3dd5e5f20553e0b4a47d43
2020-06-30 17:35:56 +00:00
Dan Willemsen
f2b480e6cd Remove stale doc comment
This warning is no longer necessary after https://android-review.googlesource.com/c/platform/build/soong/+/1235631

Bug: 160208353
Change-Id: I006272e8d4c3780d7e9f452013ca9d5db3c63613
Test: none
2020-06-30 17:27:07 +00:00
Chih-Hung Hsieh
5c4e48956c Enable genrule modules for Rust host binaries
* Add HostToolPath to use rust_binary_host modules as host tools.

Bug: 157666974
Test: make with local genrule examples
Change-Id: I9648313c0f0695d2e695f18ded4710350b2d6475
2020-06-30 10:23:49 -07:00
Colin Cross
4328765772 Add BenchmarkProperties to cc_defaults
Fixes: 135767253
Fixes: 142024316
Test: m checkbuild
Change-Id: Ifb0eb0a31fab105405a2d6dcfecb4c68b4602427
2020-06-30 17:19:17 +00:00
Thiébaud Weksteen
9eeb6bc7e4 Merge "Remove moduleContextImpl struct" am: 79e546f7df am: aeb32905b1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1348474

Change-Id: Ie2ed0fe9c0ba0f3a6985ef9daf9ebf5508e138bd
2020-06-30 17:10:58 +00:00
Jaewoong Jung
8bec026e3a Output apkcerts file for android_app_set.
Soong and Make have no ways to figure out what splits will be outputted
from a given android_app_set, so it's impossible for them to provide
full PACKAGES.$(LOCAL_MODULE).CERTIFICATE entries, which are required to
build a final apkcerts.txt. This change makes extract_apks produce
apkcerts.txt files for each input modules instead. The Make-side
counterpart of this change merges all local apkcerts.txt into a final
one.

Fixes: 160119159
Test: main_test.go
Test: m apkcerts-list
Change-Id: I321e80fd636a955213761f56a3ac64bfe7f7f7c0
2020-06-30 10:00:22 -07:00
Thiébaud Weksteen
aeb32905b1 Merge "Remove moduleContextImpl struct" am: 79e546f7df
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1348474

Change-Id: Ic22fa53c96f9538a0c8d029aae89ff824452d8c7
2020-06-30 16:57:44 +00:00
Thiébaud Weksteen
79e546f7df Merge "Remove moduleContextImpl struct" 2020-06-30 16:48:15 +00:00
Nicolas Geoffray
ba7887fd53 Add host exports for platform libraries used by ART host testing.
Test: build-mainline-modules.sh
Bug: 142935992
Change-Id: I81247b89b78426463faeb6b00212cd8901319b19
2020-06-30 15:02:51 +01:00
Anton Hansson
1ee62c03ba Propagate owner property for apex modules
Bug: 160165426
Test: lunch aosp_taimen && m nothing
Change-Id: I1d274ea376c58ff44d69ef5440c919b67079ae4a
2020-06-30 13:55:23 +00:00
Jooyung Han
2963716220 DO NOT MERGE apex: install flattened from apex_set
apex_set is a set of prebuilt apex files. To support GSI which installs
both flattened and unflattened APEXes when apex_set is used, we extract
the contents from the selected APEX file.

Bug: 159711661
Test: TARGET_PRODUCT=gsi_gms_arm64 m
      should install flattened apexes in /system/system_ext/apex
Change-Id: I0a51b9f4a4537d3230aaa3eece532664ea18bc7c
2020-06-30 12:13:28 +00:00
Paul Duffin
0921b4a59b Merge "Track the current java_sdk_library(_import) deps" am: cfc2df847c am: e0840cbb9b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1351594

Change-Id: Icf5e73d1986b0a5b04699d38853c23009c2e17c0
2020-06-30 11:31:11 +00:00
Paul Duffin
e0840cbb9b Merge "Track the current java_sdk_library(_import) deps" am: cfc2df847c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1351594

Change-Id: Ie3e291449dc0a2517656c56a3d4d3b76fb465d9c
2020-06-30 11:17:37 +00:00
Paul Duffin
c75303b0dd [automerger skipped] Merge "Apply hiddenapi encoding to java_sdk_library .impl" am: 452bf39014 am: 8cb6e650e9 -s ours
am skip reason: Change-Id I6c3016c35d0fcb1b95d4f9b37a307a69878f8e0a with SHA-1 c4422106a7 is in history

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1348768

Change-Id: I44dcc33e8f218d46405baded548dd4d2f8ce1fb3
2020-06-30 11:10:30 +00:00
Paul Duffin
cfc2df847c Merge "Track the current java_sdk_library(_import) deps" 2020-06-30 11:06:54 +00:00
Paul Duffin
8cb6e650e9 Merge "Apply hiddenapi encoding to java_sdk_library .impl" am: 452bf39014
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1348768

Change-Id: Ibf373f1a083e304b99b37f57a835f253daac1abf
2020-06-30 10:54:11 +00:00
Paul Duffin
452bf39014 Merge "Apply hiddenapi encoding to java_sdk_library .impl" 2020-06-30 10:41:42 +00:00