Commit Graph

52344 Commits

Author SHA1 Message Date
Tao Bao
28a11ef040 Merge "releasetools: Include retrofit info into package metadata." 2019-03-07 18:11:30 +00:00
Chong Zhang
4c1d7f8dba Move mediaswcodec process to apex
bug: 127499775
test:
- adb shell lshal debug android.hardware.media.c2@1.0::IComponentStore/software
check all software c2 codecs are still listed
- clean-built image shouldn't have mediaswcodec in /system/bin
- atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small

Change-Id: I649ba743b9fc82445e5f1e2ad44247e4a3392e4c
2019-03-07 10:03:19 -08:00
nelsonli
224e103308 Build System: Solve dependency problem for test
1. A test can add a runtime dependent test module by just setting
   LOCAL_REQUIRED_MODULES or LOCAL_TARGET_REQUIRED_MODULES. Then the dependent test
   module will be copied to testcase folder.
2. Do not install to $(TARGET_OUT_DATA) for testcase

BUG: 117224272

Test: 1. (a) vi cts/tests/tests/text/Android.mk
         (b) add LOCAL_REQUIRED_MODULES := CtsPrintTestCases
         (c) m -j CtsTextTestCases
         (d) Then, CtsPrintTestCases should also be built to testcase folder like below.
             ./target/product/generic_arm64/testcases/CtsPrintTestCases

Change-Id: I24ea3783486c54a05cfa9d3d0375b977afc230f8
2019-03-07 14:08:35 +08:00
Yifan Hong
158138cd68 Merge "Remove logical partitions from ab_partitions.txt in retrofit package." am: fa2e796ce2 am: 8c2ec2f061
am: e9923a31d9

Change-Id: Idc120e9ed67dad13518b1a7006ad6b3936e81478
2019-03-06 17:45:33 -08:00
Yifan Hong
e9923a31d9 Merge "Remove logical partitions from ab_partitions.txt in retrofit package." am: fa2e796ce2
am: 8c2ec2f061

Change-Id: I5b056a99046556179b6d6afd085b852b75269b58
2019-03-06 17:37:23 -08:00
Yifan Hong
8c2ec2f061 Merge "Remove logical partitions from ab_partitions.txt in retrofit package."
am: fa2e796ce2

Change-Id: I18cd55ca0fd440d0df97328695db425600ad1688
2019-03-06 17:29:07 -08:00
Treehugger Robot
fa2e796ce2 Merge "Remove logical partitions from ab_partitions.txt in retrofit package." 2019-03-07 01:06:42 +00:00
Tao Bao
393eeb4918 releasetools: Include retrofit info into package metadata.
Fixes: 126754990
Test: Generate retrofit and non-retrofit OTAs. Check the package
      metadata entry.
Test: python -m unittest test_ota_from_target_files
Change-Id: I076a013a6224a2ffea8e0b8581890b66f847f165
2019-03-06 16:19:11 -08:00
Dan Willemsen
b952b5e4c3 Build everything in PRODUCT_HOST_PACKAGES
This should only add extra host packages that were in
PRODUCT_HOST_PACKAGES and not PRODUCT_PACKAGES.

That shouldn't be very many things -- user builds will build a few more
host tools that used to be in PRODUCT_PACKAGES_DEBUG, etc.

Test: treehugger
Change-Id: I6768b76db74ea049de90eef326d1e314eb4ef848
Merged-In: I6768b76db74ea049de90eef326d1e314eb4ef848
2019-03-06 15:41:19 -08:00
Dan Willemsen
3d05a08a6f Reland "First pass at creating PRODUCT_HOST_PACKAGES"
Adds icu-data_host_runtime_apex to fix unbundled builds which pull it in
via PRODUCT_PACKAGES, but are missing packages that would pull it in via
PRODUCT_HOST_PACKAGES.

Test: build/soong/build_test.bash
Test: in ub-timezonedata-master; tapas TimeZoneData; m
Change-Id: I1583c7582b386c3e8478711cb1df340518d763c1
Merged-In: I1583c7582b386c3e8478711cb1df340518d763c1
2019-03-06 14:46:06 -08:00
Yifan Hong
b433eba6a6 Remove logical partitions from ab_partitions.txt in retrofit package.
For retrofit updates:
ab_partitions -= dynamic_partition_list
ab_partitions += super_block_devices

For example,
if super_block_devices == ["system", "vendor", "odm"] and
   dynamic_partition_list == ["system", "vendor", "product"],
product partition needs to be removed from ab_partitions.txt
otherwise brillo_update_payload will generate a payload with
product partition in it.

Test: retrofit update that adds a partition
Fixes: 127425410

Change-Id: Id79a410cee3c611ac50d27f14282916aea34f938
2019-03-06 13:35:20 -08:00
Dan Willemsen
51e3b38508 Build everything in PRODUCT_HOST_PACKAGES
This should only add extra host packages that were in
PRODUCT_HOST_PACKAGES and not PRODUCT_PACKAGES.

That shouldn't be very many things -- user builds will build a few more
host tools that used to be in PRODUCT_PACKAGES_DEBUG, etc.

Test: treehugger
Change-Id: I6768b76db74ea049de90eef326d1e314eb4ef848
2019-03-06 11:18:05 -08:00
Dan Willemsen
4a70a19f84 Reland "First pass at creating PRODUCT_HOST_PACKAGES"
Adds icu-data_host_runtime_apex to fix unbundled builds which pull it in
via PRODUCT_PACKAGES, but are missing packages that would pull it in via
PRODUCT_HOST_PACKAGES.

Test: build/soong/build_test.bash
Test: in ub-timezonedata-master; tapas TimeZoneData; m
Change-Id: I1583c7582b386c3e8478711cb1df340518d763c1
2019-03-04 18:03:14 -08:00
TreeHugger Robot
9d5ca5d86e Merge "Add Codec2 and BufferPool vndk modules" 2019-03-05 00:13:00 +00:00
Colin Cross
bdc8d57cc5 Merge "Update manifest merger to use binary" am: e34ff5ca5d am: 9c6a64ea64
am: 51fea3d3b4

Change-Id: I81ca88585ca6b073aab9ec23a74548723c0e4fac
2019-03-04 14:24:43 -08:00
Colin Cross
51fea3d3b4 Merge "Update manifest merger to use binary" am: e34ff5ca5d
am: 9c6a64ea64

Change-Id: I40bcbe199fd4837eededddfa03069015b536f04b
2019-03-04 14:20:35 -08:00
Colin Cross
9c6a64ea64 Merge "Update manifest merger to use binary"
am: e34ff5ca5d

Change-Id: I0e10784282edb4394c192ffe5b177023d5d72832
2019-03-04 14:13:27 -08:00
Colin Cross
e34ff5ca5d Merge "Update manifest merger to use binary" 2019-03-04 22:02:09 +00:00
Tao Bao
2173bc1cf2 Include charger.recovery for recovery.
It used to be installed to recovery with the rsync from normal root to
recovery root.

Bug: 114042635
Test: `m -j bootimage` with aosp_walleye-userdebug.
Change-Id: If3451f21018f271b1df83a31d4ece382e0dfebb9
2019-03-04 11:46:29 -08:00
Nicolas Geoffray
e7379ba071 Merge "Pass the --api-flags to appcompat explicitly." am: 53cfd9275b am: 40ccefa404
am: 05cee18432

Change-Id: I89ab19518261acaf22565fc608611231288b7a70
2019-03-04 06:31:55 -08:00
Nicolas Geoffray
05cee18432 Merge "Pass the --api-flags to appcompat explicitly." am: 53cfd9275b
am: 40ccefa404

Change-Id: I73e4cc646241347a2df188a1a610d9effcc673c9
2019-03-04 06:27:48 -08:00
Nicolas Geoffray
40ccefa404 Merge "Pass the --api-flags to appcompat explicitly."
am: 53cfd9275b

Change-Id: I1bb503a1140c6d3877280c6073710bd9b5ffb61a
2019-03-04 06:23:38 -08:00
Nicolas Geoffray
53cfd9275b Merge "Pass the --api-flags to appcompat explicitly." 2019-03-04 14:14:39 +00:00
Pawin Vongmasa
0eaaccb529 Add Codec2 and BufferPool vndk modules
Test: Builds

Bug: 112362730
Change-Id: I89ae0924a4d2f3ba0296eb30aae2f966cd9a30eb
2019-03-03 17:02:16 -08:00
Julien Desprez
9df0b2d006 Merge "Add a placeholder EXTRA_OPTIONS to inject more tradefed options" am: 20a50f75a3 am: cab4032f3c
am: 0e0ef29e9f

Change-Id: I3f0dd9e039ddbb1ab5bc6ab3ac6b1491dfae0719
2019-03-01 17:24:01 -08:00
Julien Desprez
0e0ef29e9f Merge "Add a placeholder EXTRA_OPTIONS to inject more tradefed options" am: 20a50f75a3
am: cab4032f3c

Change-Id: Idd4cd181e0106cb97c216385dd166211332cab10
2019-03-01 17:15:03 -08:00
Julien Desprez
cab4032f3c Merge "Add a placeholder EXTRA_OPTIONS to inject more tradefed options"
am: 20a50f75a3

Change-Id: Icf8f52e2aad12157daf3b967b6afa606dc7e0366
2019-03-01 17:00:15 -08:00
Julien Desprez
20a50f75a3 Merge "Add a placeholder EXTRA_OPTIONS to inject more tradefed options" 2019-03-02 00:44:54 +00:00
Martin Stjernholm
fe14316839 Merge "Clean up libjdwp.so and possibly other dependencies that might have crept in between http://r.android.com/890494 and http://r.android.com/913898." am: 9da3b4c6f3 am: d8f1c11f32
am: 27d3c6a24f

Change-Id: I7e27fc0b80c58501cbff98f0ec8f49a68436f916
2019-03-01 15:29:28 -08:00
Martin Stjernholm
27d3c6a24f Merge "Clean up libjdwp.so and possibly other dependencies that might have crept in between http://r.android.com/890494 and http://r.android.com/913898." am: 9da3b4c6f3
am: d8f1c11f32

Change-Id: Ib9ee90cfb3454a3c79e4e25c845d2a69454efeaf
2019-03-01 15:25:17 -08:00
Martin Stjernholm
d8f1c11f32 Merge "Clean up libjdwp.so and possibly other dependencies that might have crept in between http://r.android.com/890494 and http://r.android.com/913898."
am: 9da3b4c6f3

Change-Id: I59c19aa34f8cf7befe160d72b258bfe40bba6586
2019-03-01 15:21:08 -08:00
Treehugger Robot
9da3b4c6f3 Merge "Clean up libjdwp.so and possibly other dependencies that might have crept in between http://r.android.com/890494 and http://r.android.com/913898." 2019-03-01 22:59:08 +00:00
Martin Stjernholm
6fd16926b1 Clean up libjdwp.so and possibly other dependencies that might have crept in
between http://r.android.com/890494 and http://r.android.com/913898.

(Repopulating libs from intermediates is quick, so not wasting effort trying
to be precise.)

Test: Don't have a suitably old build tree to test with.
Bug: 124498388
Change-Id: Ice35606e4c301d5b01837963137421f9d23a9733
2019-03-01 20:41:52 +00:00
Julien Desprez
4e9a9485f4 Add a placeholder EXTRA_OPTIONS to inject more tradefed options
Simply remove the placeholder in makefiles, for now I am
not sure we need to support this in makefiles at all.

Test: call the sed method
Bug: 124024827
Change-Id: Iae78ae86c20c5da6b7314b749f54983a312c4a7d
2019-03-01 11:36:36 -08:00
Yifan Hong
7a82913627 Merge "Build ODM manifests and fragments for each SKU." am: 5a4696e460 am: 9abd15f3c1
am: 934174f0bd

Change-Id: Ia088e5a7445e2701920307c65647def62589dd78
2019-03-01 11:00:14 -08:00
Yifan Hong
934174f0bd Merge "Build ODM manifests and fragments for each SKU." am: 5a4696e460
am: 9abd15f3c1

Change-Id: Iba0f554d1430962752f5fa6425f3ad671d2a99b2
2019-03-01 10:55:04 -08:00
Yifan Hong
9abd15f3c1 Merge "Build ODM manifests and fragments for each SKU."
am: 5a4696e460

Change-Id: I40c136830b1e0b433533c55499736a5ad979a039
2019-03-01 10:50:35 -08:00
Yifan Hong
5a4696e460 Merge "Build ODM manifests and fragments for each SKU." 2019-03-01 18:32:32 +00:00
Anton Hansson
3a1ba7d721 Merge "Move BoardConfig strip / READONLY marking" am: e0ce6ca8a5 am: 393de8744d
am: 79d283621c

Change-Id: I8b619f92d77836d7fda6396eeb99c36f43168d9c
2019-03-01 07:59:14 -08:00
Anton Hansson
d754e652d7 Merge "Move combo makefile parsing" am: 451951c139 am: 0eca386c7e
am: 7f98d99518

Change-Id: I0881980b708ebe9b349c324973c5220ddc54cf89
2019-03-01 07:54:07 -08:00
Colin Cross
62fc068b69 Merge "Use flags from Soong for d8 and r8" am: 5852c93585 am: fb770b4f84
am: ecc4607403

Change-Id: I863876bb8139fd8c5aceb97f4fde51f2df3697ff
2019-03-01 07:51:15 -08:00
Anton Hansson
79d283621c Merge "Move BoardConfig strip / READONLY marking" am: e0ce6ca8a5
am: 393de8744d

Change-Id: Ie82facbe1ea6562da45be25c69b5d379cec05853
2019-03-01 07:51:00 -08:00
Anton Hansson
7f98d99518 Merge "Move combo makefile parsing" am: 451951c139
am: 0eca386c7e

Change-Id: I7da8e40fbd20fd5b8076a38692e00269510db2d2
2019-03-01 07:49:27 -08:00
Colin Cross
ecc4607403 Merge "Use flags from Soong for d8 and r8" am: 5852c93585
am: fb770b4f84

Change-Id: I83dc8fc74b03e8ef3a2e2bd9a6c42fd89c227301
2019-03-01 07:47:03 -08:00
Anton Hansson
393de8744d Merge "Move BoardConfig strip / READONLY marking"
am: e0ce6ca8a5

Change-Id: I469fe2d74ce5a89084bef4637b471afc4db1b8b4
2019-03-01 07:46:50 -08:00
Anton Hansson
0eca386c7e Merge "Move combo makefile parsing"
am: 451951c139

Change-Id: I9d7d4373abf5ebaa7d584f320433060aec8633e7
2019-03-01 07:42:26 -08:00
Colin Cross
fb770b4f84 Merge "Use flags from Soong for d8 and r8"
am: 5852c93585

Change-Id: Iae764b89ba7a248e91b829144fd0d19796b773ef
2019-03-01 07:40:35 -08:00
Anton Hansson
e0ce6ca8a5 Merge "Move BoardConfig strip / READONLY marking" 2019-03-01 15:34:36 +00:00
Anton Hansson
451951c139 Merge "Move combo makefile parsing" 2019-03-01 15:34:19 +00:00
Colin Cross
5852c93585 Merge "Use flags from Soong for d8 and r8" 2019-03-01 15:28:29 +00:00