Colin Cross
ae8600b507
Pass Config to NewTestContext instead of ctx.Register
...
Prepare for using Config when adding singletons by passing
Config to NewTestContext and NewContext instead of to ctx.Register.
This will enable a followup change to store SingletonMakeVarsProviders
registered on the Context in the Config, which is necessary to run
multiple tests in parallel without data races.
Test: all soong tests
Change-Id: Id229629a4e42ff4487d317241673837726c075fc
2020-11-12 10:07:49 -08:00
Anton Hansson
7e56a2d91f
Merge "Make apex modules support tagged dists" am: fabdd28fdb
am: afe209bdad
am: 2a54e56ef9
am: ccde16f88c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1496336
Change-Id: I4f1469853387e294c8f6bcc294137d6f9cb2b59e
2020-11-12 10:18:58 +00:00
Anton Hansson
ccde16f88c
Merge "Make apex modules support tagged dists" am: fabdd28fdb
am: afe209bdad
am: 2a54e56ef9
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1496336
Change-Id: I45c0bdfc3eb0b0fc7626b23ace632a70e3b3f57b
2020-11-12 09:48:21 +00:00
Anton Hansson
2a54e56ef9
Merge "Make apex modules support tagged dists" am: fabdd28fdb
am: afe209bdad
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1496336
Change-Id: If5928370895562efbb392a751978a716dcbb6418
2020-11-12 09:35:55 +00:00
Anton Hansson
82d502a7b2
Make apex modules support tagged dists
...
Bug: 172951145
Test: m dist my_dist_target (with patch in bug)
Change-Id: I0da4568a49ea48efbf864614a7e7c647f251a7ce
2020-11-11 12:34:20 +00:00
Cyril Lee
5fd737099b
Merge "Update apex/allowed_deps.txt"
2020-11-11 01:26:08 +00:00
Nikita Ioffe
ed2d774c41
DO NOT MERGE: update apex/allowed_deps.txt
...
Test: presubmit
Bug: 172824175
Change-Id: Iff22f74889c88b73a913425445e3b3e827a20377
2020-11-09 19:21:48 +00:00
Nikita Ioffe
aed3c6b7b7
Update apex/allowed_deps.txt
...
Test: presubmit
Bug: 172791253
Merged-In: I5f3d834687121ba967d1e3aeb301c87679b2078d
Change-Id: I46549088749604c42390bb27e59f61edd25149d6
2020-11-09 15:23:27 +00:00
Treehugger Robot
7597137eee
Merge "Define product_available property" am: 25b0780f37
am: 779adff9e6
am: a993a3cd22
am: 320e6bbd7b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1479576
Change-Id: I20c3031f1f62045c9da9c3aa1448c8ba91d17597
2020-11-09 06:53:44 +00:00
Treehugger Robot
320e6bbd7b
Merge "Define product_available property" am: 25b0780f37
am: 779adff9e6
am: a993a3cd22
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1479576
Change-Id: Ieead4fbac401a530368c072ccb48874bee6a2ab6
2020-11-09 06:21:48 +00:00
Nikita Ioffe
af3ca9be6b
Merge "Update apex/allowed_deps.txt" am: 3862cd509b
am: 0f6410aeae
am: 24b2833f50
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1489477
Change-Id: If16d91b2c8269a8b24bead949c4291ecb25d7e2d
2020-11-09 06:21:19 +00:00
Treehugger Robot
25b0780f37
Merge "Define product_available property"
2020-11-09 00:40:50 +00:00
Justin Yun
63e9ec70bb
Define product_available property
...
To make a module available to product variants, it must define
`product_available: true`. `vendor_available: true` will not create
product variants any more.
However, in this CL, we don't change the behavior of
`vendor_available` property. It still creates both variants. After we
update all Android.bp files that need to provide product variants
with `product_available: true`, we may upload the remaining patches.
Bug: 150902910
Test: lunch aosp_arm64-userdebug && m
Change-Id: I0fd5be7bbae2c45d5cab3c3c2ca49f53a9b6f975
2020-11-08 23:53:22 +00:00
Nikita Ioffe
3862cd509b
Merge "Update apex/allowed_deps.txt"
2020-11-06 12:46:39 +00:00
Nikita Ioffe
53db974559
Propagate min_sdk_version to apexer
...
This way it will be correctly set in the auto-generated
AndroidManifest.xml.
Bug: 171096530
Bug: 157078772
Test: m
Merged-In: I268f08ca5dd17fa9d6763ad70cc9a3f83891a8d6
Change-Id: I8c2cf076f6353f977e8c532d2c8013bf4ebadc36
2020-11-05 22:55:37 +00:00
Nikita Ioffe
77e1d4b4e5
Update apex/allowed_deps.txt
...
Bug: 171330443
Bug: 171668006
Test: build/soong/scripts/update-apex-allowed-deps.sh
Change-Id: I5f3d834687121ba967d1e3aeb301c87679b2078d
Merged-In: I5f3d834687121ba967d1e3aeb301c87679b2078d
2020-11-05 21:46:26 +00:00
Nikita Ioffe
ae29cb45f2
Update apex/allowed_deps.txt
...
Test: build/soong/scripts/update-apex-allowed-deps.sh
Bug: 172564863
Merged-In: I5faa49deae62b1a612f88938555f55a586b8175f
Change-Id: I73b5510254dee638955609695a96d465267507f2
2020-11-05 15:56:56 +00:00
Nikita Ioffe
403ece5b20
Merge changes from topic "apex-allowed-deps" am: a6d18b6830
am: 256d717359
am: ed95de2470
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1486216
Change-Id: Icc74b5920639984343481cf69819ecdf04a944cf
2020-11-05 14:39:47 +00:00
Nikita Ioffe
051f7664d2
Update apex/allowed_deps.txt am: 3b834bf347
am: e9ab014f6e
am: 977cebfc68
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1486244
Change-Id: I7a7f6e39bca445d99a6f74f3db0ac68a403f4977
2020-11-05 14:39:44 +00:00
Ytai Ben-tsvi
fb92f98c4a
Merge "Add av-types-aidl to media apex"
2020-11-04 21:03:38 +00:00
Artur Satayev
ed667a8345
Add PHONY for apex-allowed-deps check.
...
Bug: 149622332
Test: m apex-allowed-deps-check
Change-Id: I5848779b4ad04dd4c95e2667f7f62dd2949ac95e
Merged-In: I5848779b4ad04dd4c95e2667f7f62dd2949ac95e
(cherry picked from commit 01aa11e833
)
2020-11-04 20:50:03 +00:00
Nikita Ioffe
c4e79a340a
Merge "Add car-ui-lib-overlayable to apex allowed_deps" into rvc-qpr-dev-plus-aosp
2020-11-04 20:29:08 +00:00
Martin Stjernholm
172335226d
Merge "Move hardcoded apex_available's for ART modules into ART blueprints." am: af3bf0dd5d
am: 122554224f
am: ecd389fb6d
am: f22fa777aa
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1480084
Change-Id: I8a198ee23ae054f4ac42f3179db98e0f86a887aa
2020-11-04 18:41:38 +00:00
Nikita Ioffe
3b834bf347
Update apex/allowed_deps.txt
...
Test: build/soong/scripts/update-apex-allowed-deps.sh
Change-Id: Iad138bdb439e3ebc7a145dec7875b8bb5756d755
2020-11-04 17:12:27 +00:00
Martin Stjernholm
af3bf0dd5d
Merge "Move hardcoded apex_available's for ART modules into ART blueprints."
2020-11-04 16:28:26 +00:00
Saeid Farivar Asanjan
e21fd34bf2
Add car-ui-lib-overlayable to apex allowed_deps
...
Bug: 168062639
Test: manual
Change-Id: If31714ad0ab00af65e6f880fb8f7224e2c46d0a3
Merged-In: If31714ad0ab00af65e6f880fb8f7224e2c46d0a3
(cherry picked from commit 0b94aab5ef
)
2020-11-04 16:14:35 +00:00
Ytai Ben-Tsvi
00b172f63b
Add av-types-aidl to media apex
...
This AIDL module was created as part of refactoring of some of
frameworks/av headers.
Test: Compiles
Change-Id: I7c2a2b1906ec088389ba6a7ae595bc077d2d9228
2020-11-03 16:21:12 -08:00
Slava Shklyaev
af7e511921
Add new neuralnetworks targets to apex/allowed_deps.txt
...
Generated with build/soong/scripts/update-apex-allowed-deps.sh
Bug: 160669906
Test: m
Change-Id: Ifd056230dd352fe3fa1c462d1e090aef5bbeb09d
Merged-In: Ifd056230dd352fe3fa1c462d1e090aef5bbeb09d
(cherry picked from commit 7f0c05539f
)
2020-11-03 17:40:01 +00:00
Steven Moreland
9efbd038a7
Update VNDK version for common graphics HALs.
...
We are adding things to them, and in order for core libraries like libui
to use them, the newer versions need to be in the VNDK.
Bug: 170435409
Test: build
Change-Id: I97f26b78758f2eed128fc46db03b5f6ba3f2245f
Merged-In: I97f26b78758f2eed128fc46db03b5f6ba3f2245f
(cherry picked from commit 25281087a9
)
2020-11-03 17:35:43 +00:00
Nikita Ioffe
f9b945196b
Manually update apex/allowed_deps.txt
...
This is one in a series of cls to make sure that
build/soong/scripts/update-apex-allowed-deps.sh is a no-op on cleanly
checked out aosp/master.
This cl is an intersection of the following:
ag/I9f98361aa248b82cb58527a5cd59e6d17c3e8723,
ag/I19ba5900ddff84948cfa29e48e31cd609e61dbdb,
build/soon/apex/allowed_deps.txt in aosp/master
Test: presubmit
Merged-In: I9f98361aa248b82cb58527a5cd59e6d17c3e8723
Change-Id: I19d58582de85e1ae1ef1c2b997d568235ca17710
2020-11-03 17:30:31 +00:00
Nikita Ioffe
b7d0925ef0
Update apex/allowed_deps.txt
...
Bug: 171330443
Bug: 171668006
Test: build/soong/scripts/update-apex-allowed-deps.sh
Change-Id: I5f3d834687121ba967d1e3aeb301c87679b2078d
Merged-In: I5f3d834687121ba967d1e3aeb301c87679b2078d
2020-11-03 17:11:30 +00:00
Tony Mak
989a1de5de
Update allowed_deps.txt by running the script
...
Bug: 170298047
Test: m com.android.extservices
Merged-In: I6d88174ada8164236e83cbaeb3fdcccdca819999
Change-Id: I6d88174ada8164236e83cbaeb3fdcccdca819999
2020-11-03 12:09:01 +00:00
TreeHugger Robot
12d27e4252
Merge "Update allowed_deps.txt by running the script"
2020-11-03 10:40:24 +00:00
Treehugger Robot
0c3f3321b6
Merge changes I0289d866,Ie7363524 am: 20cf20ba1c
am: 8893247f77
am: 7270fbdea5
am: 81dfc43bd6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1471977
Change-Id: Idba8ce338e07fcc1f82222a95bb0f3806826a7e8
2020-11-02 23:18:00 +00:00
Treehugger Robot
7270fbdea5
Merge changes I0289d866,Ie7363524 am: 20cf20ba1c
am: 8893247f77
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1471977
Change-Id: I4499d55fdee8a5f6e1d3bf2cd1bc1c774ad38c57
2020-11-02 22:58:18 +00:00
Treehugger Robot
20cf20ba1c
Merge changes I0289d866,Ie7363524
...
* changes:
Move stubs related methods out of LinkableInterface
Don't create stubs variants of static libraries
2020-11-02 21:31:11 +00:00
Tony Mak
fdc6ed4496
Update allowed_deps.txt by running the script
...
Bug: 170298047
Test: m com.android.extservices
Change-Id: I6d88174ada8164236e83cbaeb3fdcccdca819999
2020-11-02 15:36:25 +00:00
Cyril Lee
ac896f78d6
Update apex/allowed_deps.txt
...
Import new intermediate-AndroidX Design Library from local Maven ZIP
Test: build/soong/scripts/update-apex-allowed-deps.sh
Change-Id: Id14e0543bbb982449062e449bb16ce3b1013f89a
2020-11-02 09:00:11 +00:00
Nikita Ioffe
c3fb10be29
Update apex/allowed_deps.txt
...
Bug: 171330443
Bug: 171668006
Test: build/soong/scripts/update-apex-allowed-deps.sh
Change-Id: I5f3d834687121ba967d1e3aeb301c87679b2078d
2020-10-31 22:42:37 +00:00
Martin Stjernholm
377d752a6b
Move hardcoded apex_available's for ART modules into ART blueprints.
...
Test: m droid
Bug: 133140750
Change-Id: I7280c7c61979d8f1aa3c849ff7079a5dd3ef216d
2020-10-30 02:17:23 +00:00
Nikita Ioffe
98c7f76643
Merge "Update apex/allowed_deps.txt" am: e3fbadcfee
am: 6b4de0a3a3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1479297
Change-Id: If04b53f8bf5da1233db637dd6f33b6362c121fe9
2020-10-29 22:37:44 +00:00
Colin Cross
a717db7304
Don't create stubs variants of static libraries
...
Statically linking stub implementations doesn't make sense, don't
create stubs variants of static libraries.
Bug: 170784825
Test: all soong tests
Change-Id: Ie73635244516edf6da884e3a7a275971a9bd7839
2020-10-29 14:17:37 -07:00
Nikita Ioffe
7f17421012
Update apex/allowed_deps.txt
...
Bug: 171330443
Bug: 171668006
Test: build/soong/scripts/update-apex-allowed-deps.sh
Change-Id: Id239ea9b31ce23f045f0db4027db33658ef3da14
Merged-In: Id239ea9b31ce23f045f0db4027db33658ef3da14
2020-10-29 15:35:01 +00:00
Nikita Ioffe
8d6ba89094
Update apex/allowed_deps.txt
...
Bug: 171330443
Bug: 171668006
Test: build/soong/scripts/update-apex-allowed-deps.sh
Change-Id: Id239ea9b31ce23f045f0db4027db33658ef3da14
2020-10-28 23:35:46 +00:00
Nikita Ioffe
e70d90a719
Merge "Update apex/allowed_deps.txt" am: 7a19ee30ba
am: 8c523ce0d7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1471777
Change-Id: I6e0810b718a1a3efad03ef7be46743829571bfc1
2020-10-28 13:32:47 +00:00
Nikita Ioffe
769f4a5c03
Update apex/allowed_deps.txt
...
Bug: 171330443
Test: build/soong/scripts/update-apex-allowed-deps.sh
Change-Id: Ic7ddd86cefc0c6a26de294b6e73b3e23d4791f5c
Merged-In: Ic7ddd86cefc0c6a26de294b6e73b3e23d4791f5c
2020-10-28 01:17:55 +00:00
Nikita Ioffe
ec62601d24
Update apex/allowed_deps.txt
...
Bug: 171330443
Test: build/soong/scripts/update-apex-allowed-deps.sh
Change-Id: Ic7ddd86cefc0c6a26de294b6e73b3e23d4791f5c
2020-10-27 22:22:39 +00:00
Paul Duffin
3b8b84973b
Cleanup usages of CreateConfiguredJarList am: e10dfa4e3d
am: d34168219d
am: f80f9004ea
am: 6eb013d805
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1471781
Change-Id: I4dcf51fa2fc7b661240943233dbf6312e8163bf3
2020-10-27 18:19:40 +00:00
Paul Duffin
f80f9004ea
Cleanup usages of CreateConfiguredJarList am: e10dfa4e3d
am: d34168219d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1471781
Change-Id: Iaf669a40406915c5798ade0a7d67996cc53ed3e7
2020-10-27 17:35:03 +00:00
Paul Duffin
7df37bee7f
Switch BootJars/UpdatableBootJars to ConfiguredJarList am: 69d1fb1e39
am: 769b1eab84
am: 3e29458b28
am: 0b34b8cdfb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1471779
Change-Id: I90e1bafedf0492e8299cad31e7b4a648c3cc3bfa
2020-10-27 17:29:01 +00:00