Paul Duffin
245849abe6
Dist API specific core-for-system-modules am: bce9f08d02 am: 381f698843 am: 9474d1a187
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1873693
Change-Id: Ib930f158b2cd943a0ea2dab2408c5b2c310851fe
2021-11-01 16:56:35 +00:00
Paul Duffin
9474d1a187
Dist API specific core-for-system-modules am: bce9f08d02 am: 381f698843
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1873693
Change-Id: I51465180108017ffe8f492b909a53056a3807ac0
2021-11-01 16:44:12 +00:00
Paul Duffin
381f698843
Dist API specific core-for-system-modules am: bce9f08d02
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1873693
Change-Id: Ic4206df7453370b3073a4656843d1bfadafadf8b
2021-11-01 16:13:34 +00:00
Paul Duffin
bce9f08d02
Dist API specific core-for-system-modules
...
Previously, the dist only contained a core-for-system-modules.jar for
the public API. This change adds API specific directories containing a
core-for-system-modules.jar file for each of the following APIs:
* public
* module-lib
Bug: 204189791
Test: rm -fr out/dist
m sdk dist
find out/dist -name core-for-system-modules.jar
- outputted the following:
out/dist/core-for-system-modules.jar
out/dist/system-modules/module-lib/core-for-system-modules.jar
out/dist/system-modules/public/core-for-system-modules.jar
Change-Id: Id1845926e2085f70d58e9fc22e9c11cb3d62b919
2021-11-01 14:01:39 +00:00
Joe Onorato
6cc658af6b
Merge "Add support for java streaming proto" am: 22e973c539 am: a224d53694 am: c1ce0ed41c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1874416
Change-Id: Iebb924867b3600343832ab63ca47870194ee5f24
2021-11-01 00:52:10 +00:00
Joe Onorato
c1ce0ed41c
Merge "Add support for java streaming proto" am: 22e973c539 am: a224d53694
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1874416
Change-Id: I2898febfd2f709d07bef0b92b9f067ead51a3910
2021-11-01 00:40:40 +00:00
Joe Onorato
a224d53694
Merge "Add support for java streaming proto" am: 22e973c539
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1874416
Change-Id: I2b61650dee7adddcd3ce116a2dfd5b7ceb587ee4
2021-11-01 00:26:18 +00:00
Joe Onorato
22e973c539
Merge "Add support for java streaming proto"
2021-11-01 00:14:59 +00:00
Colin Cross
e097970ad8
Merge changes I04f2f558,Ie16a6264,I83a3be9f,Icb3eeef3 am: 91eaa6316a am: 19aa461cc0 am: 204c59ef91
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869551
Change-Id: I30301ab035b28f654b2510fbc28be4003a5ec346
2021-10-30 20:30:46 +00:00
Colin Cross
204c59ef91
Merge changes I04f2f558,Ie16a6264,I83a3be9f,Icb3eeef3 am: 91eaa6316a am: 19aa461cc0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869551
Change-Id: I512a0433e8517e7062fb9929e2f80d48ae23036b
2021-10-30 19:55:35 +00:00
Colin Cross
19aa461cc0
Merge changes I04f2f558,Ie16a6264,I83a3be9f,Icb3eeef3 am: 91eaa6316a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869551
Change-Id: Ida831ee9684ce97052443a012d5c4986c0d4399c
2021-10-30 19:37:28 +00:00
Colin Cross
91eaa6316a
Merge changes I04f2f558,Ie16a6264,I83a3be9f,Icb3eeef3
...
* changes:
Rename amod variable in AndroidMkEntries.fillInEntries to base
Make HostToolPath, HostJNIToolPath and sboxPathForToolRel use pathForInstall
Add PathForGoBinary
Remove PathForOutput from InstallPathToOnDevicePath
2021-10-30 19:19:53 +00:00
Colin Cross
a90c335bbe
Merge "Use --skip-config --soong-only instead of --skip-make" am: e7fc5a25c5 am: 814909b0f3 am: f9b1f0b3d0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875216
Change-Id: I16b442db90929cb1c2da3c3161b79803302400d1
2021-10-30 16:48:36 +00:00
Colin Cross
f9b1f0b3d0
Merge "Use --skip-config --soong-only instead of --skip-make" am: e7fc5a25c5 am: 814909b0f3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875216
Change-Id: I383e03d4fec215afdf5a4f344364d6eed3aa9a99
2021-10-30 16:30:53 +00:00
Colin Cross
814909b0f3
Merge "Use --skip-config --soong-only instead of --skip-make" am: e7fc5a25c5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875216
Change-Id: I3da344ae1c31d292b7e1ef446151893b723a88f5
2021-10-30 16:13:21 +00:00
Colin Cross
e7fc5a25c5
Merge "Use --skip-config --soong-only instead of --skip-make"
2021-10-30 15:56:22 +00:00
Colin Cross
b24afb8f67
Merge "Make installable arch-variant and static vs shared variant for cc modules" am: 4985224198 am: 5dc0ab4daa am: 385517b48d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1874552
Change-Id: I3569ce5bd3836806049d8f4b1abfac58d0438070
2021-10-30 05:42:33 +00:00
Colin Cross
385517b48d
Merge "Make installable arch-variant and static vs shared variant for cc modules" am: 4985224198 am: 5dc0ab4daa
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1874552
Change-Id: I7bdfd8ec00a798076d00a5b893bf54397a0e6e0f
2021-10-30 05:25:40 +00:00
Colin Cross
5dc0ab4daa
Merge "Make installable arch-variant and static vs shared variant for cc modules" am: 4985224198
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1874552
Change-Id: I076443da26723441f0534187d686cee2ed4b8a88
2021-10-30 05:13:17 +00:00
Colin Cross
4985224198
Merge "Make installable arch-variant and static vs shared variant for cc modules"
2021-10-30 04:56:22 +00:00
Chih-hung Hsieh
9b872ac262
Merge "Add -{checkbuild,tidy} targets only for modules in mm" am: 7b2239f648 am: 6ac43742fc am: 8044ebf38b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1858736
Change-Id: Ief9c7ed6f55e8b8528dd8874ddc41a90ea2551ea
2021-10-30 04:55:15 +00:00
Chih-hung Hsieh
8044ebf38b
Merge "Add -{checkbuild,tidy} targets only for modules in mm" am: 7b2239f648 am: 6ac43742fc
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1858736
Change-Id: I80f4d3794d8592c5ae918074d461ace8254bfcfe
2021-10-30 04:43:07 +00:00
Chih-hung Hsieh
6ac43742fc
Merge "Add -{checkbuild,tidy} targets only for modules in mm" am: 7b2239f648
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1858736
Change-Id: I9297a7c901e736676e0e03f1b56694b79d5fddbd
2021-10-30 04:14:10 +00:00
Chih-hung Hsieh
7b2239f648
Merge "Add -{checkbuild,tidy} targets only for modules in mm"
2021-10-30 03:57:06 +00:00
Chih-Hung Hsieh
a3d135b1af
Add -{checkbuild,tidy} targets only for modules in mm
...
Test: lunch aosp_coral-userdebug; WITH_TIDY=1
make 7-libgptutils.coral-checkbuild 7-libgptutils.coral-tidy
Test: only coral libgptutils in out/build-aosp_coral.ninja
Test: lunch aosp_arm64-eng; make has no *libgptutils* tagets
Test: no libgptutils in out/build-aosp_arm64.ninja
Test: lunch aosp_cf_arm64_phone-userdebug; make libskia-checkbuild
Test: lunch aosp_arm64-eng; WITH_TIDY=1 make tidy-soong
Bug: 202763874
Change-Id: I2d5a3fdc627d62e43c3f10e61b338a03c10440be
2021-10-29 18:02:27 -07:00
Treehugger Robot
4c549b825a
Merge "apex.custom_sign_tool property" am: cae893ae40 am: e18be41278 am: f11c7c9e18
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869522
Change-Id: I8a56843f67f6a10349d9c4971596979bf1b4ffd3
2021-10-30 00:30:32 +00:00
Treehugger Robot
f11c7c9e18
Merge "apex.custom_sign_tool property" am: cae893ae40 am: e18be41278
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869522
Change-Id: I191fcd8a85296f208f0dbbb151c93bc09f8be7a6
2021-10-30 00:13:05 +00:00
Treehugger Robot
e18be41278
Merge "apex.custom_sign_tool property" am: cae893ae40
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869522
Change-Id: I9d94371728b68252e0056a9574fe7d0791c7ae68
2021-10-29 23:56:00 +00:00
Treehugger Robot
cae893ae40
Merge "apex.custom_sign_tool property"
2021-10-29 23:39:26 +00:00
Colin Cross
f1f763a981
Rename amod variable in AndroidMkEntries.fillInEntries to base
...
AndroidMkEntries.fillInEntries calls its android.ModuleBase amod,
despite also handling an android.Module. Rename amod to base to
match other locations, and add a new amod for the android.Module.
This will simplify the next patch that needs to access the
android.Module.
Bug: 204136549
Test: m checkbuild
Change-Id: I04f2f558959def22e8b3f5b8c534b8d655b06a4e
2021-10-29 16:34:55 -07:00
Colin Cross
34d60c9281
Use --skip-config --soong-only instead of --skip-make
...
--skip-make is deprecated because of its odd behavior around the
out/.soong.kati_enabled file. Replace it with --skip-config --soong-only
instead, which will unambigiously skip running kati.
Bug: 204136549
Test: build/soong/tests/run_integration_tests.sh
Test: build/soong/scripts/build-mainline-modules.sh
Test: build/soong/scripts/build-ndk-prebuilts.sh
Change-Id: I629ee7542687aaafd68eea50346b0cf53eafe1ef
2021-10-29 16:34:55 -07:00
Colin Cross
790ef35d1e
Make HostToolPath, HostJNIToolPath and sboxPathForToolRel use pathForInstall
...
Use pathForInstall instead of PathForOutput for HostToolPath,
HostJNIToolPath and sboxPathForToolRel so that they internally produce
an InstallPath that can later support being converted to Make install
path.
Bug: 204136549
Test: m checkbuild
Change-Id: Ie16a62641d113873daeec4d1dd4261251bc0d0eb
2021-10-29 16:34:55 -07:00
Colin Cross
a44551fec6
Add PathForGoBinary
...
Add PathForGoBinary that uses pathForInstall to return the install
path of a GoBinaryTool. This will replace various places that used
PathForOutput to reconstruct a path to a Go tool, and will support
moving Go tools to the Make install directory outside of the
PathForOutput directory in a future patch.
Bug: 204136549
Test: m checkbuild
Change-Id: I83a3be9f5c621975540f5ed601a0b9e2611c98b9
2021-10-29 16:34:55 -07:00
Colin Cross
b1692a3468
Remove PathForOutput from InstallPathToOnDevicePath
...
The next patches will make more InstallPaths use the Make output
directory, which is not inside PathForOutput. Fix the assumption
that the InstallPath is relative to PathForOutput by storing
enough information in the InstallPath to find the on-device path
without PathForOutput.
Bug: 204136549
Test: soong tests
Change-Id: Icb3eeef3f1c72f773f333267f8a7dfc503feacb5
2021-10-29 16:34:55 -07:00
Colin Cross
1bc9412fb3
Make installable arch-variant and static vs shared variant for cc modules
...
libc's native_bridge shared variant needs to be installable: false,
make the installable property arch-variant and allow the static and
shared clauses to override it.
This relands I8e0eaed2169e89520b07bb0326bb97ac0b4a70ac with fixes to
allow only the shared variant to be marked installable: false.
Bug: 204136549
Test: m checkbuild
Change-Id: Ie579b5ba56ca21f4d9243088afd5078d8c122a68
2021-10-29 15:00:38 -07:00
Treehugger Robot
bdd85d034a
Merge "Revert "Do not build tests with ThinLTO"" am: a471535c72 am: 77f08017ab am: 038ce8bb1d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1874098
Change-Id: I2fd52243abf7a50fbe4cf527173195e9e93ee694
2021-10-29 20:30:53 +00:00
Paul Duffin
8daad8f988
Merge changes I88ee9709,If2ea3fde,I657fbcde,I585a8861 am: e8412c4e7a am: fed3551805 am: 2a27960bd6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1873694
Change-Id: I4b4bb783d5226a309fcdd9e2d2dc4a0c782b423f
2021-10-29 20:30:29 +00:00
Treehugger Robot
038ce8bb1d
Merge "Revert "Do not build tests with ThinLTO"" am: a471535c72 am: 77f08017ab
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1874098
Change-Id: Iecc95a11903c804c3454348967a9901cd366a6c0
2021-10-29 20:13:05 +00:00
Paul Duffin
2a27960bd6
Merge changes I88ee9709,If2ea3fde,I657fbcde,I585a8861 am: e8412c4e7a am: fed3551805
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1873694
Change-Id: If7edc3a99f09c61806f1e010f88aa06f18e004f6
2021-10-29 20:12:45 +00:00
Treehugger Robot
77f08017ab
Merge "Revert "Do not build tests with ThinLTO"" am: a471535c72
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1874098
Change-Id: If0c43fa11b2fe3b5e8f0b43860d0b99ade205309
2021-10-29 19:56:26 +00:00
Paul Duffin
fed3551805
Merge changes I88ee9709,If2ea3fde,I657fbcde,I585a8861 am: e8412c4e7a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1873694
Change-Id: Ib2b791e2fe8b8685f28c07f0ecd09cdd9a2fba1e
2021-10-29 19:55:58 +00:00
Treehugger Robot
a471535c72
Merge "Revert "Do not build tests with ThinLTO""
2021-10-29 19:48:30 +00:00
Paul Duffin
e8412c4e7a
Merge changes I88ee9709,If2ea3fde,I657fbcde,I585a8861
...
* changes:
Use toModule for all "standard" API surfaces
Run TestClasspath test cases with Always_use_prebuilt_sdks=true/false
Refactor TestClasspath to simplify follow up change
Add tests for prebuilts of all API surfaces
2021-10-29 19:41:33 +00:00
Colin Cross
9978e476d1
Merge "Revert "Make installable arch-variant for cc modules"" am: 972e7ba893 am: c6dd42f2ae am: b6289005da
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875314
Change-Id: I7e9f677f619414a71f3d8ff6629ada3f0896ca1e
2021-10-29 19:01:25 +00:00
Jiakai Zhang
ab317cfdc7
Merge "Add a build-time check for dexpreopting system server jars." am: 65947f6fc4 am: 4e5ffa8d5c am: c5ae770e62
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1840058
Change-Id: I2e3611aa377d3dfcef5922856e56d8d4eea1b6a3
2021-10-29 19:01:12 +00:00
Colin Cross
b6289005da
Merge "Revert "Make installable arch-variant for cc modules"" am: 972e7ba893 am: c6dd42f2ae
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875314
Change-Id: I3cbd2651039034ad699e014aa8a8c9949651f493
2021-10-29 18:43:13 +00:00
Jiakai Zhang
c5ae770e62
Merge "Add a build-time check for dexpreopting system server jars." am: 65947f6fc4 am: 4e5ffa8d5c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1840058
Change-Id: I21d31cd549ed63a70de4c3e634b1c8b25371bfb0
2021-10-29 18:43:00 +00:00
Colin Cross
c6dd42f2ae
Merge "Revert "Make installable arch-variant for cc modules"" am: 972e7ba893
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875314
Change-Id: I2ac1120f1a596759e7cf85f4580caa62b7191cba
2021-10-29 18:18:42 +00:00
Jiakai Zhang
4e5ffa8d5c
Merge "Add a build-time check for dexpreopting system server jars." am: 65947f6fc4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1840058
Change-Id: Ie4a934d49ede52be2a74724061d8f1af1534847d
2021-10-29 18:18:18 +00:00
Colin Cross
972e7ba893
Merge "Revert "Make installable arch-variant for cc modules""
2021-10-29 18:10:59 +00:00