Commit Graph

47764 Commits

Author SHA1 Message Date
Hridya Valsaraju 9683b2f136 Support including DTB image
Bug: 111136242
Test: When BOARD_PREBUILT_DTB_DIR is set correctly,
generated $OUT/boot.img contains the DTB image.

Change-Id: I282e31b04cc60383377b9e9b54f8fe64a8140242
2019-01-23 09:14:55 -08:00
Treehugger Robot 0d5fcc075e Merge "Making abb part of system image." 2019-01-07 19:34:32 +00:00
Yifan Hong b3f5918890 Merge "Allow devices launched with DAP to override super partition name." 2019-01-07 18:26:17 +00:00
Treehugger Robot ebe0b7a1c9 Merge "Remove more Android.mk files from build/make" 2019-01-07 17:44:20 +00:00
Treehugger Robot 575402b967 Merge "Fix hiddenapi-greylist.csv generation." 2019-01-07 16:28:31 +00:00
Alex Buynytskyy 8a96a65bc7 Making abb part of system image.
Test: manual

Change-Id: Id8921e0afa0d1f94d439f4a35d71bb017ed6f765
2019-01-07 15:45:21 +00:00
Treehugger Robot c3efc773aa Merge "Update OWNERS for dex preopt related files." 2019-01-07 15:28:43 +00:00
Mathew Inwood 0fa280036b Fix hiddenapi-greylist.csv generation.
It was referring to a non-existant macro paramater resulting in empty
output.

Test: m out/target/common/obj/PACKAGING/hiddenapi-greylist.csv
& then check output.

(cherry picked from commit 8626c8ea95)

Change-Id: Ib48042ecca320c4d7c3a27959e41e5c55099b27a
Merged-In: Ib48042ecca320c4d7c3a27959e41e5c55099b27a
2019-01-07 14:59:51 +00:00
Anton Hansson 14fc7361b9 Merge "Add a languages_default.mk" 2019-01-07 10:32:25 +00:00
Anton Hansson 47ca8d0a73 Merge "Remove km_MH locale from mainline" 2019-01-07 10:31:52 +00:00
Tor Norbye 5ca77c512c Merge "Switch apicheck over from doclava to metalava" 2019-01-06 16:04:33 +00:00
Dan Willemsen ef45381221 Remove more Android.mk files from build/make
soong_ui is passing the Android.mk file list to Kati, and it ignores
Android.mk files found via symlinks, so we don't need the workarounds
for build/make/target/board/Android.mk and build/target/board/Android.mk
both existing.

We've got dist support in Soong now, so we can remove the signapk
Android.mk

Bug: 122332221
Test: m dist out/dist/signapk.jar out/dist/libconscrypt_openjdk_jni.so
Change-Id: I2ac9016b04146340c5ac80f7090d00e186023574
2019-01-05 02:40:45 +00:00
Treehugger Robot dacde2259f Merge "Increase slack for inode estimation algorithm" 2019-01-05 01:22:43 +00:00
Treehugger Robot afdd7b99e5 Merge "Remove nonsensical inclusion of Home" 2019-01-05 01:17:41 +00:00
Yifan Hong 035c0ea0d4 Allow devices launched with DAP to override super partition name.
Test: on cuttlefish
Bug: 111801737
Change-Id: Ibb9b7132898d3c871186ded01432de4419809e7c
2019-01-04 16:03:50 -08:00
Ruchi Kandoi 4c4ba4e0d9 Merge "Add android.hardware.nfc@1.2 to VNDK" 2019-01-04 19:56:41 +00:00
Hridya Valsaraju e8e7958c13 Increase slack for inode estimation algorithm
This is required to prevent build failure on some targets.

Test: mmm
Bug: 119115481

Change-Id: Idf7c21b163a4e10e2ef435c2b2a7795a42feb200
2019-01-04 09:18:07 -08:00
Anton Hansson 7216f022a5 Remove nonsensical inclusion of Home
Home is overriden by Launcher3QuickStep, so listing these two
in the same mk is a noop.

Test: make
Change-Id: I2865a5346c63efd78e434185041f320ca344e854
2019-01-04 16:00:21 +00:00
Treehugger Robot 150cc7c0d4 Merge "Remove languages_small.mk" 2019-01-04 15:55:05 +00:00
Treehugger Robot a84df446be Merge "Fix dep filename for rs.srcjar" 2019-01-04 15:17:50 +00:00
Anton Hansson c004218b8b Add a languages_default.mk
This is the same list of languages that was in mainline_system.mk
before, but sorted alphabetically.

Make languages_full inherit this list and add the only locale present
that was previously unique (the en_XC pseudo-locale).

Test: make
Change-Id: I09f0c7521740d4c779d5fd2a50baa92b7cdfe8d4
2019-01-04 14:19:59 +00:00
Anton Hansson beb15ac6a8 Remove km_MH locale from mainline
This doesn't appear to be a real locale. The interpretation would be
khmer spoken in the Marshall Islands, which doesn't appear to be a thing.
The locale doesn't appear in https://lh.2xlibre.net/locales/ or
frameworks/base/core/res/res/values/locale_config.xml.

It might have been a typo when it was introduced in internal change
I78d91916fdbb04502466c26bf7d160fe679aaa31.

Test: make
Change-Id: Id1deebdd8ad2a5601c15b84e010be766b3a951e9
2019-01-04 14:15:04 +00:00
Treehugger Robot ad68902d5a Merge "Add Tag to mainline_system" 2019-01-04 13:47:30 +00:00
Anton Hansson ffa1da0620 Remove languages_small.mk
Not imported by any known products.

Test: build_test
Change-Id: Id4e79ca14b57f6e63260424802f9a063bcb4de4f
2019-01-04 13:05:52 +00:00
Tianjie Xu daf0839f0b Merge "recovery text images: Use center_alignment for background texts" 2019-01-04 07:26:32 +00:00
Dan Willemsen a9cb7e3392 Fix dep filename for rs.srcjar
Caught by https://android-review.googlesource.com/861510

Bug: 121058584
Test: m out/target/common/obj/APPS/Gallery2_intermediates/renderscript/rs.srcjar
Test: NINJA_ARGS="-t deps out/target/common/obj/APPS/Gallery2_intermediates/renderscript/rs.srcjar" m
Change-Id: I92a803963f4431e8506b1f2517a7186d16667709
2019-01-03 22:14:56 -08:00
Treehugger Robot 28bad7a498 Merge "Pack libsquashfs_utils.so into otatools.zip." 2019-01-04 00:32:06 +00:00
Treehugger Robot 6fee1039af Merge "Rename to LOCAL_PREFER_CODE_INTEGRITY" 2019-01-03 22:22:26 +00:00
Treehugger Robot cfb73ffa77 Merge "Read all product makefiles even when TARGET_BUILD_APPS is set" 2019-01-03 21:48:07 +00:00
Tao Bao beea6c0828 Pack libsquashfs_utils.so into otatools.zip.
Overlooked the transitive dependency on this lib in my previous CL that
packs libfec.so.

Bug: 122280472
Test: Build `otatools.zip`. Unzip and check that
      `ldd bin/delta_generator` no longer shows any missing lib.
Change-Id: I7b633ea870f05b86ee7760c736dac7c74dee5dc2
2019-01-03 12:34:40 -08:00
Jiyong Park b6c095ff4d Read all product makefiles even when TARGET_BUILD_APPS is set
This allows us to have vendor-specific product makefiles for building
unbundled artifacts. The makefile could be used to specify path to the
keystore used to sign the artifacts for the vendor.

Bug: 121224311
Test: m
Change-Id: I260bfddc5fc438fc0986b39d9010087bf758c7ca
2019-01-04 04:04:38 +09:00
Jiyong Park 46e7f186b7 Merge "Remove the testing-purpose APEX keys." 2019-01-03 18:28:42 +00:00
Jaewoong Jung 66b9774525 Merge "Improve mmm behavior when targets are specified." 2019-01-03 18:18:35 +00:00
Tao Bao 54bfffac00 Merge "Pack libfec.so into otatools.zip." 2019-01-03 17:52:21 +00:00
Victor Hsieh 330d21d53b Rename to LOCAL_PREFER_CODE_INTEGRITY
During code review, the name change was suggested.

Test: local CTS passed
Bug: 112037137
Change-Id: I1782c532ad6dd36ee8aad7987e47a14f5c1895ee
2019-01-03 09:48:39 -08:00
Anton Hansson da77c52806 Add Tag to mainline_system
Needed for NFC. Has a proprietary override, which is the
only reason I had not added it earlier.

Test: make
Bug: 80410283
Change-Id: I1fad3d2bab0ff2fa8bbd32388049f0f8c86b68a5
2019-01-03 16:50:58 +00:00
Narayan Kamath 7be9e4dacc Merge "base_system: Add ModuleMetadata to base system image." 2019-01-03 13:40:51 +00:00
Treehugger Robot 6b31342827 Merge "Revise apns-conf.xml of Legacy GSI from goldfish to sample" 2019-01-03 13:22:39 +00:00
Treehugger Robot 6dc878bd87 Merge "Put system_other in super.img" 2019-01-03 08:02:52 +00:00
Tao Bao a19f8e993b Pack libfec.so into otatools.zip.
delta_generator now has a dependency on libfec.so [1], for generating
A/B incrementals.

[1] https://android-review.googlesource.com/c/platform/system/update_engine/+/854154

Bug: 122280472
Test: `m -j otatools-package` with aosp_marlin-userdebug. Check that
      `otatools.zip` contains libfec.so.
Change-Id: Ia6642bb2c7ccb0f89ad3079bdf65e4dbffee13f5
2019-01-02 23:24:51 -08:00
SzuWei Lin 3da383971c Revise apns-conf.xml of Legacy GSI from goldfish to sample
GSI includes a default apns-conf.xml. This patch align the
apns-conf.xml in Legacy GSI with the one in non-Legacy GSI.

Bug: 122238063
Test: lunch aosp_arm64_ab-userdebug; make -j and check output
Change-Id: Ia9e2e411d9f62896f75e190c72260688bed5369d
2019-01-03 07:09:00 +00:00
Jaewoong Jung b6112cdcc5 Improve mmm behavior when targets are specified.
When target directories are specified, mmm now scans their parent
direcotries to when searching for build config files. Also make it look
more like mm as minor refactoring.

Bug: 62899341
Test: Manual builds.
Change-Id: Ic9c081090e1baeb0849508e9086f2976b108c0ee
2019-01-02 14:19:40 -08:00
Yifan Hong cc46eae994 Put system_other in super.img
... for launch A/B devices.
Test: build super image and lpdump
Bug: 113182233

Change-Id: I79ad9da2f6852b39b23e862ff00f320b6565db2f
2019-01-02 12:05:10 -08:00
Tor Norbye cb58fa13df Switch apicheck over from doclava to metalava
Apicheck seems to only be used for signature file
conversion and diffing at this point.

Test: make dist
Not Yet Merged In Ib8c09ba7f85fbb48526132ca8cc85856d63ca407
Change-Id: I5ca70a019ef4f7828f0a566f7745fc2dbf673b2e
2019-01-01 13:18:04 -08:00
Dan Willemsen 5723181c53 Merge "Produce ro.build.version.preview_sdk_fingerprint" 2019-01-01 05:55:50 +00:00
Narayan Kamath 5e8025e28c base_system: Add ModuleMetadata to base system image.
Test: m
Bug: 121187951
Change-Id: Idd87f95d2cd0c5d34009e7b55919a93dc11e2747
2018-12-31 14:19:25 +00:00
Dan Willemsen ad6a15433e Produce ro.build.version.preview_sdk_fingerprint
This is just a hash of the current.txt and system-current.txt right now,
though it may expand to include other API surfaces in the future.

Once prebuilts/sdk/current is populated with api_fingerprint.txt files,
we can use those for unbundled builds, but until then, just use the
PLATFORM_PREVIEW_SDK_VERSION as a placeholder.

MD5 was just the most convenient, since we don't have a sha tool that we
can use on Mac currently. I'm hoping we can get a toybox-based tool in
the future that standardizes that, but we aren't currently using sha*sum
from toybox on Linux, much less on Darwin yet.

Test: m dist out/dist/api_fingerprint.txt
Test: m out/target/product/.../system/build.prop
Change-Id: If69f270560d05135cb81a9bb2d1b208ea78f86df
2018-12-27 12:30:05 -08:00
Jiyong Park e118692657 Remove the testing-purpose APEX keys.
They are embedded in the corresponding APEXes.

Bug: 122047804
Test: m
Change-Id: I244aeb153796b048d78671cd024fec03e4fda083
2018-12-27 16:06:29 +09:00
Remi NGUYEN VAN 7264a0daab Merge "Build NetworkStack package" 2018-12-26 00:48:25 +00:00
Treehugger Robot c0b701b241 Merge "Prevent PYTHONPATH from accumulatively growing." 2018-12-22 07:36:16 +00:00