Commit Graph

49869 Commits

Author SHA1 Message Date
Bill Peckham a2f536f9fa Merge "Extract common.UnzipToDir, invoke that from merge_target_files.py" 2019-02-25 23:42:44 +00:00
Dan Willemsen 5d340e1552 Merge "Deprecate *.c[pp].arm"
am: fb8c9673e7

Change-Id: I45b1d106affd02ea2e9c77fd462d1d6e7269377f
2019-02-25 14:57:01 -08:00
Dan Willemsen fb8c9673e7 Merge "Deprecate *.c[pp].arm" 2019-02-25 21:28:31 +00:00
Nicolas Geoffray 605280d1dc Merge "Support for install multiple boot images."
am: 3b813d10bb

Change-Id: I86e2d5507616c9f91f2748b3238e851f3c56eb47
2019-02-24 05:46:37 -08:00
Nicolas Geoffray 3b813d10bb Merge "Support for install multiple boot images." 2019-02-24 13:37:01 +00:00
Paul Duffin 0854851f7e Merge "Remove usages of legacy-test and legacy-android-test" am: 8f948fe292
am: 44b8a17093

Change-Id: I34c39afae056a067e25abb87732a902baf9c35c9
2019-02-22 20:38:13 -08:00
Bill Peckham 108afbcde6 Merge "Convert common.RunAndWait method to raise an exception on subprocess failure." am: dd4e2e59aa
am: ecd47a1991

Change-Id: Ie0609d3e09dcc060bb98b9b67d70a7128e6da420
2019-02-22 20:37:30 -08:00
Anton Hansson a2d24017f3 Merge "Add support for *_CPU_VARIANT_RUNTIME flags" am: 4208c81ab9
am: bc732bf45b

Change-Id: If5adc4e9d24575bfadcdc30dacaa2a26afd34326
2019-02-22 20:36:47 -08:00
Orion Hodson 4a3b7fa166 Merge "Add libartpalette-system" am: 6997dbd6ca
am: 1cc983f9b2

Change-Id: Id747ea9e4853d2ad326a524e2a9144cdafaf226c
2019-02-22 20:36:00 -08:00
Anton Hansson 8fae47028f Merge "Move ART cpu properties to /vendor" am: b5312392a0
am: 768455a3d4

Change-Id: I7e149ab5fe1218bc9a90d26693ef72275be7b599
2019-02-22 20:35:16 -08:00
Anton Hansson 17a4def424 Merge "Add more BoardConfig variables to stash list" am: 299ffb7870
am: 56a0405ec6

Change-Id: I51ca88c3a5c665a3d48783d272fed24f41af23c6
2019-02-22 20:34:31 -08:00
Logan Chien e12bfc81b9 Merge "Refine lsdump_paths.txt dependencies" am: 7d35910451
am: a3146e8c0a

Change-Id: I91aceb743c7131206a39b11434c102d91bdd013a
2019-02-22 20:33:49 -08:00
Sasha Smundak dd3122dc48 Merge "Add a wrapper file for the vts_config module." am: f97ed91448
am: f097a2248c

Change-Id: I80b74bc7083a4dd4c3c0154636b9dec947f3a53d
2019-02-22 20:33:06 -08:00
Colin Cross 0ee78f3aa1 Merge "Get DEXPREOPT_BOOT_JARS_MODULES from Soong" am: 6128b1e8d6
am: 54ac6ed073

Change-Id: Iebdc7eabb9b5692832099c04ef84db9142912921
2019-02-22 20:31:28 -08:00
Tianjie Xu 061dfe08eb Merge "Dump a copy of metadata file for full OTA" am: df5978803d
am: 407c972bfa

Change-Id: I910f06f7dd01013b7b21cafab3d06e38514a5963
2019-02-22 20:30:41 -08:00
Colin Cross c4114d9641 Merge "Update calls to dexpreopt_gen" am: 0450863eca
am: 39fb391e8f

Change-Id: I6093e9e136d8215d12d25fd22cddb5cbe61d08b2
2019-02-22 20:29:19 -08:00
Xin Li 1cc579adef Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master 2019-02-23 00:39:21 +00:00
Paul Duffin 44b8a17093 Merge "Remove usages of legacy-test and legacy-android-test"
am: 8f948fe292

Change-Id: I31808af63cbb2ceaa86c7243581d01048f39d406
2019-02-22 12:16:29 -08:00
Treehugger Robot 8f948fe292 Merge "Remove usages of legacy-test and legacy-android-test" 2019-02-22 19:58:16 +00:00
Bill Peckham 8ff3fbdd08 Extract common.UnzipToDir, invoke that from merge_target_files.py
This change adds another utility function to common.py: UnzipToDir, which is
generally useful. Refactor merge_target_files.py to use it, and also refactor
other uses in common.py to use it.

Test: ota_from_target_files.py, validate_target_files.py, test_common.py
Bug: 124464492
Change-Id: Ia571070bceb7d3c8002304836bdf688485bf0dd9
2019-02-22 10:57:43 -08:00
Paul Duffin a0d31e733b Remove usages of legacy-test and legacy-android-test
Bug: 63127064
Test: TH
Change-Id: I2f71b8dab6a5303cae24e36d6519a4001af66063
2019-02-22 15:45:03 +00:00
Nicolas Geoffray 269bc741a5 Support for install multiple boot images.
Bug: 119800099
Test: m && /system/framework/arm/apex*.art files exist
Change-Id: I78023f1086446c2c44ff6b282993537b053c0588
2019-02-22 15:33:23 +00:00
Bill Peckham ecd47a1991 Merge "Convert common.RunAndWait method to raise an exception on subprocess failure."
am: dd4e2e59aa

Change-Id: I39d130ace39aefccdd55b7b2daa5e4da6325fd07
2019-02-22 06:42:41 -08:00
Bill Peckham dd4e2e59aa Merge "Convert common.RunAndWait method to raise an exception on subprocess failure." 2019-02-22 14:32:07 +00:00
Anton Hansson bc732bf45b Merge "Add support for *_CPU_VARIANT_RUNTIME flags"
am: 4208c81ab9

Change-Id: I6db4e1b734fe50bc09688b83b2cb6977cca53c37
2019-02-22 04:46:22 -08:00
Anton Hansson 4208c81ab9 Merge "Add support for *_CPU_VARIANT_RUNTIME flags" 2019-02-22 12:34:02 +00:00
Orion Hodson 1cc983f9b2 Merge "Add libartpalette-system"
am: 6997dbd6ca

Change-Id: I3b57a5f1f7f697b78201cd9e33961e4c4aebebcb
2019-02-22 04:26:59 -08:00
Anton Hansson 768455a3d4 Merge "Move ART cpu properties to /vendor"
am: b5312392a0

Change-Id: I935d82d29fed18ba92839555703ecdbcaccd3b1e
2019-02-22 04:26:17 -08:00
Treehugger Robot 6997dbd6ca Merge "Add libartpalette-system" 2019-02-22 12:16:22 +00:00
Anton Hansson b5312392a0 Merge "Move ART cpu properties to /vendor" 2019-02-22 12:14:49 +00:00
Anton Hansson 56a0405ec6 Merge "Add more BoardConfig variables to stash list"
am: 299ffb7870

Change-Id: I184a39af62e6e664dd67b4408a90b2b499703114
2019-02-22 02:27:37 -08:00
Anton Hansson 299ffb7870 Merge "Add more BoardConfig variables to stash list" 2019-02-22 10:21:07 +00:00
Logan Chien a3146e8c0a Merge "Refine lsdump_paths.txt dependencies"
am: 7d35910451

Change-Id: I9f32fdb8c23810483b68fa4b3e325308d8227a86
2019-02-22 01:18:35 -08:00
Logan Chien 7d35910451 Merge "Refine lsdump_paths.txt dependencies" 2019-02-22 09:08:03 +00:00
Bill Peckham 889b0c6b09 Convert common.RunAndWait method to raise an exception on subprocess failure.
Then refactor the code in merge_target_files.py to adapt to this semantic
change. This makes the code more consistent with existing releasetools code,
and it's easier to follow.

Test: Failure cases (verify exception), success cases (merged target generated)
Bug: 124521133
Change-Id: I56f04e360d8ff8ffcd6245359cdeb79f4565a9c4
2019-02-21 19:02:07 -08:00
Logan Chien 5f4e29b090 Refine lsdump_paths.txt dependencies
This commit moves $(LSDUMP_PATHS) from the prerequisite of
lsdump_paths.txt to the prerequisite of findlsdumps. This change makes
it possible to dump the list of lsdump files without actually building
all lsdump files.

Bug: 124829578
Test: make out/target/product/generic/lsdump_paths.txt
      # does not build the actual lsdump files
Test: make findlsdumps  # builds lsdump_paths.txt and all lsdump files
Change-Id: I924f1c0c61391e958521c376a061651f2a301adb
2019-02-22 10:55:44 +08:00
Dan Willemsen 46267cb4d8 Deprecate *.c[pp].arm
There never were too many users of this, and I've just converted the
last ones to Soong.

Test: diff build-aosp_arm.ninja
Test: treehugger
Change-Id: Ida6d486a62d0b521c1cd67f5f18c0ad0dbe957e3
2019-02-21 18:02:13 -08:00
Sasha Smundak f097a2248c Merge "Add a wrapper file for the vts_config module."
am: f97ed91448

Change-Id: I9f2dd6a9b78ad825c92aac99a38dc2f8fb03891e
2019-02-21 16:30:50 -08:00
Treehugger Robot f97ed91448 Merge "Add a wrapper file for the vts_config module." 2019-02-22 00:19:27 +00:00
Colin Cross 17ea341950 Use flags from Soong for d8 and r8
Use the flags provided by Soong when running d8 and r8.

Bug: 119270658
Test: m checkbuild
Change-Id: I9459ded386effc27c4c96f1e94f9ea2f8ed19319
2019-02-21 15:04:37 -08:00
Colin Cross 54ac6ed073 Merge "Get DEXPREOPT_BOOT_JARS_MODULES from Soong"
am: 6128b1e8d6

Change-Id: Ib4b879463f91750cdaf4a1a7f7ca75f4b841dfbc
2019-02-21 13:50:45 -08:00
Colin Cross 6128b1e8d6 Merge "Get DEXPREOPT_BOOT_JARS_MODULES from Soong" 2019-02-21 21:32:03 +00:00
Tianjie Xu 407c972bfa Merge "Dump a copy of metadata file for full OTA"
am: df5978803d

Change-Id: Iab5ccaad90927a88b9759357d8b8be1a7e0010ae
2019-02-21 10:34:54 -08:00
Tianjie Xu df5978803d Merge "Dump a copy of metadata file for full OTA" 2019-02-21 18:00:55 +00:00
Xin Li 0e2ccf21c9 DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Bug: 120848293
Change-Id: Ic9e8ff5af22140dc6ef8ff87a09f9292f9d30dc5
2019-02-21 09:32:40 -08:00
Colin Cross 39fb391e8f Merge "Update calls to dexpreopt_gen"
am: 0450863eca

Change-Id: Ied274cfd1a5d84fca0670b371a5ec820d11e79af
2019-02-21 07:14:08 -08:00
Colin Cross 0450863eca Merge "Update calls to dexpreopt_gen" 2019-02-21 15:00:40 +00:00
Anton Hansson 71b7f7fbd0 Add support for *_CPU_VARIANT_RUNTIME flags
Specified in the BoardConfig, and default to the value of the non
_RUNTIME variants.

These flags do not modify build-time compilation, but get written to
system properties on /vendor and can be inspected at runtime to
run/compile code for the specified cpu.

Migrate the bionic and ART cpu variant flags to use the new variables,
but leave the ART preopting using the non-_RUNTIME variants.

Bug: 120773446
Test: boot downstream device specifying CPU_VARIANT_RUNTIME flags
Test: grep dalvik.vm vendor/default.prop
Change-Id: Idc81110172582f38f84cca87f2eff140c5b5f9ac
2019-02-21 14:32:13 +00:00
Anton Hansson 30851f2540 Move ART cpu properties to /vendor
System properties relating to the physical hardware belong
on the vendor partition. Move the ART-related cpu variant
sysprops there.

This also brings the ART sysprops in line with the equivalent
bionic sysprops.

Bug: 120773446
Test: make, boot
Test: grep dalvik.vm vendor/default.prop
Change-Id: I3f843a7070dd0d9148737e040fe87d6461977d09
2019-02-21 14:13:44 +00:00
Anton Hansson 70222b21ee Add more BoardConfig variables to stash list
I would like to centralize/standardize the BoardConfig
variable sanity checking in a file similar to product_config.mk,
but for now just add a few more standard BoardConfig
variables to the .KATI_READONLY list.

Also fix the inconsistent indentation in this file.

Test: make
Change-Id: I2a878b95ffc07e3f5bc4eb4970775bdef347e094
2019-02-21 14:02:15 +00:00