Commit Graph

11109 Commits

Author SHA1 Message Date
Nicolas Geoffray
b60ce369b3 Merge "Don't return null for an interface type." am: 56e0290551
am: 6a1ea2e8a3

Change-Id: If663d712cba23eaf572ec374c69ac14ecd11b9d9
2019-02-25 22:08:07 -08:00
Sasha Smundak
754b5a313d Merge "Handle LOCAL_MODULE_PATH assignment for android_test modules" am: 9ce7e58c04
am: f5d316b6ef

Change-Id: I600a6d432b03f5b323d7d958d5b9f860f54835b3
2019-02-25 21:57:49 -08:00
Nicolas Geoffray
63ab163d56 Merge "Support for install multiple boot images." am: d79df83b28
am: 5300094ca7

Change-Id: Id745e70fa04f7d8cf7a9d03d12355e3c058f9ac2
2019-02-25 20:10:23 -08:00
Xin Li
4e61f4264d [automerger skipped] Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master
am: 985fea9dae -s ours
am skip reason: subject contains skip directive

Change-Id: I687ac3f902c44cc0cd97db0e369ad29100063045
2019-02-25 17:15:03 -08:00
Xin Li
ec88357ac3 [automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
am: ced438cafc -s ours
am skip reason: subject contains skip directive

Change-Id: Ied71798e08fd3fce8c6bbf75de18095c4629fa2d
2019-02-25 16:10:22 -08:00
Jaewoong Jung
c7ab1704e3 Merge "Split up Soong build doc." am: e608a51b06
am: 1d61042690

Change-Id: I6edb3f5afab018a1be45c352572e6cd7a30ac99f
2019-02-25 08:09:45 -08:00
Nicolas Geoffray
6a1ea2e8a3 Merge "Don't return null for an interface type."
am: 56e0290551

Change-Id: Ic94068be61eb588b3695dc06e194a2599d3160ef
2019-02-24 13:50:04 -08:00
Nicolas Geoffray
56e0290551 Merge "Don't return null for an interface type." 2019-02-24 21:42:38 +00:00
Sasha Smundak
f5d316b6ef Merge "Handle LOCAL_MODULE_PATH assignment for android_test modules"
am: 9ce7e58c04

Change-Id: I93669ce47cc424f590d7dc16a635d21c34e44a18
2019-02-24 12:37:59 -08:00
Treehugger Robot
9ce7e58c04 Merge "Handle LOCAL_MODULE_PATH assignment for android_test modules" 2019-02-24 20:27:24 +00:00
Nicolas Geoffray
27c7cc6c32 Don't return null for an interface type.
Otherwise we get:
internal error: panic in GenerateBuildActions for singleton dex_bootjars
interface conversion: interface is nil, not android.WritablePath

Test: build/soong/scripts/build-ndk-prebuilts.sh
Change-Id: I9d8484994d1b5120f0187861a8acaf20e94827f6
2019-02-24 16:04:52 +00:00
Nicolas Geoffray
5300094ca7 Merge "Support for install multiple boot images."
am: d79df83b28

Change-Id: Ie74e3f4fb92618abace2852560361a912505b4c0
2019-02-24 05:46:48 -08:00
Nicolas Geoffray
d79df83b28 Merge "Support for install multiple boot images." 2019-02-24 13:37:01 +00:00
Alex Light
749642bacd Merge "Don't use stubs for host apexs" am: e91a078271
am: 0db86c9eef

Change-Id: I3cbabe5d00bc45051dbd08dae783070778dfbee7
2019-02-22 20:38:49 -08:00
Colin Cross
edc6b9c1e0 Pass DEXPREOPT_BOOT_JARS_MODULES to Make am: 9be4152c21
am: 2b34ef2fd3

Change-Id: Ia5985fc3015d47c9a4ac832fbe64113d2f28ee33
2019-02-22 20:32:01 -08:00
Colin Cross
d3a73010f9 Refactor dexpreopt_bootjars.go to prepare for multiple boot images am: 44df581457
am: ac405aa805

Change-Id: I9b2fc817fb13988f2954d6d74605572300b307fa
2019-02-22 20:31:37 -08:00
Colin Cross
d123cd7459 Make RuleBuilder methods take Paths am: 69f59a3327
am: fafab5c1ec

Change-Id: I3767d53ea5b8921614b1fbb208eadce3f08607b2
2019-02-22 20:29:33 -08:00
Xin Li
985fea9dae Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master 2019-02-23 00:39:18 +00:00
Sasha Smundak
f7ed0513e9 Handle LOCAL_MODULE_PATH assignment for android_test modules
Many Android.mk files for the CTS tests have
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
statement. This can be dropped during the conversion to blueprint
files.
Also, ignore the assignments to obsolete LOCAL_CTS_TEST_PACKAGE
variable.

Fixes: 125405331
Test: Internal tests, selectively run androidmk on Android.mk's in cts/
directory

Change-Id: I2ed88acd3c8837f96b84be6eb7c7b9b0b5405f57
2019-02-22 15:10:08 -08:00
Jaewoong Jung
1d61042690 Merge "Split up Soong build doc."
am: e608a51b06

Change-Id: I5dcea06ee792b1ad3e1c5d150d1547d463345f2f
2019-02-22 07:54:44 -08:00
Jaewoong Jung
e608a51b06 Merge "Split up Soong build doc." 2019-02-22 15:42:49 +00:00
Nicolas Geoffray
72892f1035 Support for install multiple boot images.
Bug: 119800099
Test: m && /system/framework/arm/apex*.art files exist
Change-Id: I8b708a0c495193e5455e03eaa575ce55a482a95d
2019-02-22 15:37:48 +00:00
Alex Light
0db86c9eef Merge "Don't use stubs for host apexs"
am: e91a078271

Change-Id: I91dfe079be11205b582a93fe167fc37865d6678b
2019-02-21 17:46:52 -08:00
Treehugger Robot
e91a078271 Merge "Don't use stubs for host apexs" 2019-02-22 01:31:38 +00:00
Alex Light
49ae3d9819 Don't use stubs for host apexs
Host apexs don't have a system-image associated with them so we need
to include all libraries, including those with stubs.

Test: ./art/test/testrunner/run_build_test_target.py -j50 art-linux-bionic-x64-zipapex
Bug: 125417922
Change-Id: Ie76e6a34e8be1057b29e2e005597c3e4b5fb1f9c
2019-02-21 14:02:46 -08:00
Colin Cross
2b34ef2fd3 Pass DEXPREOPT_BOOT_JARS_MODULES to Make
am: 9be4152c21

Change-Id: Iace5214d2c4f0fc505f67ec210e3df8a8829547e
2019-02-21 13:50:57 -08:00
Colin Cross
ac405aa805 Refactor dexpreopt_bootjars.go to prepare for multiple boot images
am: 44df581457

Change-Id: Ie0ad816e0f2940d6f2756097f208fe97d4ab3ae6
2019-02-21 12:06:29 -08:00
Xin Li
ced438cafc DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Bug: 120848293
Change-Id: Ie10bc45dbb1bbf96df17a89ecdf24b68da3ca6d5
2019-02-21 09:24:25 -08:00
Colin Cross
fafab5c1ec Make RuleBuilder methods take Paths
am: 69f59a3327

Change-Id: I89676441b13905d7e1111e850ed91dbf430edac4
2019-02-21 07:14:17 -08:00
Colin Cross
9be4152c21 Pass DEXPREOPT_BOOT_JARS_MODULES to Make
Make is not setting PreoptBootJars, pass the value computed in
Soong back to Make.

Test: m checkbuild
Change-Id: Ie3db926df9c5d6bf18db1003b95823c7566800a9
2019-02-20 22:06:30 -08:00
Colin Cross
44df581457 Refactor dexpreopt_bootjars.go to prepare for multiple boot images
Refactor dexpreopt_bootjars.go so that buildBootImage can be called
with a bootImageConfig to create rules to build the boot image in
preparation for building multiple boot images.

Test: m checkbuild
Change-Id: I7ba40a0988c8acbd6c1ee4e36f4bbb34fb4e2d24
2019-02-20 22:06:29 -08:00
Colin Cross
69f59a3327 Make RuleBuilder methods take Paths
There are no more Make paths being used in Soong now that
dexpreopting and hiddenapi are in Soong. Use the Path types
in the inputs to RuleBuilder, and fix all users of RuleBuilder.

This reapplies I886f803d9a3419a43b2cae412537645f94c5dfbf with
fixes to disable preopt for Soong-only builds when the global
dexpreopt.config doesn't exist.

Test: all soong tests
Test: m checkbuild
Change-Id: I4dae9ecd5de22f062f9478ec8f0747f099cf8190
2019-02-20 22:06:09 -08:00
Colin Cross
ec60a92074 Merge "Revert "Make RuleBuilder methods take Paths"" am: 501d7e594a
am: dc68f8826c

Change-Id: I6e74ddc0e0f776a10b24cda51532232857dc1407
2019-02-20 21:12:56 -08:00
Colin Cross
dc68f8826c Merge "Revert "Make RuleBuilder methods take Paths""
am: 501d7e594a

Change-Id: Ic43368c3d95a40a53ba1b4ca603106efa82a64c8
2019-02-20 21:08:41 -08:00
Colin Cross
501d7e594a Merge "Revert "Make RuleBuilder methods take Paths"" 2019-02-21 05:03:41 +00:00
Colin Cross
ab898dc4a4 Revert "Make RuleBuilder methods take Paths"
This reverts commit acdd694071.

Reason for revert: broke ndk build

Change-Id: I5655e48c15eb8f5f0267afdd853fbc25765b8623
2019-02-21 05:03:00 +00:00
Colin Cross
fc2da332e9 Merge "Make RuleBuilder methods take Paths" am: 4bb6764de9
am: 4ebb84d392

Change-Id: I2bc9e25f4749202a27ac4ca0bfb5131429466913
2019-02-20 20:18:37 -08:00
Colin Cross
4ebb84d392 Merge "Make RuleBuilder methods take Paths"
am: 4bb6764de9

Change-Id: I905a87bca40ab7ba696ce0b81003e0f5f97f1278
2019-02-20 20:14:31 -08:00
Colin Cross
4bb6764de9 Merge "Make RuleBuilder methods take Paths" 2019-02-21 04:06:18 +00:00
Jiyong Park
080f3699cf Merge "Install external deps of an APEX" am: 1455d47788
am: e9c5455e5b

Change-Id: I371c3fbdae62d1658d7453bd7bbbc0de4e4b930c
2019-02-20 16:38:53 -08:00
Colin Cross
d308a0223c Merge "Fix typo when multiple BootImageProfiles specified" am: 55f8c42a7b
am: 5a32244ce7

Change-Id: I7d6313fa31c349c2397779f1ec94ab4da7878ab8
2019-02-20 16:36:43 -08:00
Jiyong Park
e9c5455e5b Merge "Install external deps of an APEX"
am: 1455d47788

Change-Id: Icbf648ed744d4629d389154eda30aeccf4f0f751
2019-02-20 16:09:13 -08:00
Colin Cross
5a32244ce7 Merge "Fix typo when multiple BootImageProfiles specified"
am: 55f8c42a7b

Change-Id: I3a527e631140804b5689f6f1e4f30dcb2858d033
2019-02-20 16:07:27 -08:00
Treehugger Robot
1455d47788 Merge "Install external deps of an APEX" 2019-02-21 00:02:08 +00:00
Sasha Smundak
dd36b0ccf3 Merge "Implement vts_config module" am: e344fb5fb1
am: a4f4607862

Change-Id: I1799b2b1cb0a207f89750faaef1eb2dec2f13bdf
2019-02-20 15:45:08 -08:00
Jaewoong Jung
6c29688691 Split up Soong build doc.
Previously the build doc was a gigantic list of modules and properties,
which can be overwhelming to new users. This change breaks it up by
packages, so that it is easier to look up and feels more coherent.

Bug: 123521276
Test: m soong_docs
Change-Id: I1a1a331f4b4deb8782d698e9076098c5a27b9566
2019-02-20 15:43:06 -08:00
Treehugger Robot
55f8c42a7b Merge "Fix typo when multiple BootImageProfiles specified" 2019-02-20 23:23:54 +00:00
Sasha Smundak
a4f4607862 Merge "Implement vts_config module"
am: e344fb5fb1

Change-Id: Ie5a470212f047d899686b03cfbd89c01d97e8c30
2019-02-20 15:01:41 -08:00
Dan Willemsen
9f2a63692c Merge "Allow linking against SystemConfiguration framework on Mac" am: 11545323d2
am: f8aaa24575

Change-Id: I6098803167563d41dbdbf51f91f9b9b2ee71d567
2019-02-20 14:44:44 -08:00
Colin Cross
acdd694071 Make RuleBuilder methods take Paths
There are no more Make paths being used in Soong now that
dexpreopting and hiddenapi are in Soong. Use the Path types
in the inputs to RuleBuilder, and fix all users of RuleBuilder.

Test: all soong tests
Test: m checkbuild
Change-Id: I886f803d9a3419a43b2cae412537645f94c5dfbf
2019-02-20 14:23:37 -08:00