Commit Graph

50836 Commits

Author SHA1 Message Date
Nicolas Geoffray
991f94d27f Merge "Use the jars, not the classes.dex for passing to hiddenapi."
am: ac8d67573e

Change-Id: I5c1149cfec5658776de999df9d2e46041bf9e690
2019-01-22 22:50:33 -08:00
Nicolas Geoffray
ac8d67573e Merge "Use the jars, not the classes.dex for passing to hiddenapi." 2019-01-23 06:37:06 +00:00
Suren Baghdasaryan
0e8405643b [automerger skipped] Merge "Add libprocessgroup into VNDK" am: 6f62f79db9 am: a35b1d4b06
am: 90fa2fafb6 -s ours
am skip reason: change_id If18227e8a824a1e606df78dfe01d9d2437c62792 with SHA1 6f4fd6c5e3 is in history

Change-Id: I335b0ea0fffc991fbd3dd026a8edab3ae54a5db9
2019-01-22 14:09:39 -08:00
Suren Baghdasaryan
90fa2fafb6 Merge "Add libprocessgroup into VNDK" am: 6f62f79db9
am: a35b1d4b06

Change-Id: I7bfc12ed99128a3fce6ce1dfd738049bd873ac26
2019-01-22 13:43:34 -08:00
Suren Baghdasaryan
a35b1d4b06 Merge "Add libprocessgroup into VNDK"
am: 6f62f79db9

Change-Id: If511aba115010d45ce7418209ed3c0ac1571afeb
2019-01-22 13:05:30 -08:00
Suren Baghdasaryan
6f62f79db9 Merge "Add libprocessgroup into VNDK" 2019-01-22 20:58:16 +00:00
Ivan Lozano
36440eaf11 Merge "Add mediacodec.policy to the mainline system." 2019-01-22 18:56:39 +00:00
Suren Baghdasaryan
1877db4591 Add libprocessgroup into VNDK
Include libprocessgroup into vndk because libprocessgroup now implements
sched_policy control functions.

Bug: 111307099
Test: builds, boots
Merged-In: If18227e8a824a1e606df78dfe01d9d2437c62792
Change-Id: If18227e8a824a1e606df78dfe01d9d2437c62792
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-22 18:16:56 +00:00
Anton Hansson
f2d90e9143 Move ModuleMetadata to base_product
The app is moving from /system to /product.

Bug: 122353713
Test: make
Change-Id: I0987b46013527503eedf75350bc30b303722552b
2019-01-22 18:07:03 +00:00
Nicolas Geoffray
e5b368bfe6 Use the jars, not the classes.dex for passing to hiddenapi.
The instructions to look up for classes.dex don't work when looking
at different jar versions (aligned, unaligned, etc).

Test: m
Change-Id: I5f178ca0d00497edbab892722a5ee84f0c47d0a0
2019-01-22 14:28:12 +00:00
Paul Duffin
fd24c9fe1f Remove REMOVE_OAHL_FROM_BCP flag
The REMOVE_OAHL_FROM_BCP flag is always set to true and is no longer
necessary so this change removes any uses of the flag.

Bug: 18027885
Test: cts/tests/signature/runSignatureTest.sh
Change-Id: Ied8c3315b29094ad6acee539520af3e4c9e79839
2019-01-22 14:16:12 +00:00
Hsin-Yi Chen
41319b3abc Add security patch level to hashtree footer of system
Test: avbtool info_image --image system.img
Bug: 122705329
Change-Id: I7b325a9a9aba2d98cb94c5fb8488b92f54e45dab
2019-01-22 17:11:15 +08:00
Colin Cross
febdf92bda Merge "Don't depend on classes-header.jar when turbine is disabled" am: e8f1a420bc am: 88f4dac397
am: 509ab35a1a

Change-Id: I5905a22b120d999240d975175ef438c69fa34493
2019-01-21 14:15:33 -08:00
Colin Cross
509ab35a1a Merge "Don't depend on classes-header.jar when turbine is disabled" am: e8f1a420bc
am: 88f4dac397

Change-Id: I33fa2b41b55e23bc8ac1ccef684dc88a850cfa10
2019-01-21 14:11:21 -08:00
Colin Cross
88f4dac397 Merge "Don't depend on classes-header.jar when turbine is disabled"
am: e8f1a420bc

Change-Id: Ie90ccc32537299a4f61ca6dbf1e1c55e4a14e210
2019-01-21 14:07:13 -08:00
Treehugger Robot
e8f1a420bc Merge "Don't depend on classes-header.jar when turbine is disabled" 2019-01-21 21:55:14 +00:00
David Brazdil
1a0f1bcd57 Merge changes from topics "coreapi-flag", "coreapi-stubs-csv" am: 4ac7810755 am: 3b46950ae9
am: caf42f97af

Change-Id: I70757b93f4e67e292736c8a4ca7085f09caad75d
2019-01-21 12:09:12 -08:00
David Brazdil
85b0346b7a Replace hiddenapi-{public,private}-list.txt with a CSV file am: fc274bab4d am: a1a433b368
am: 0e4ce6c0e1

Change-Id: Ib8c051aa4c41b83a1530a964c2ed54af3283611a
2019-01-21 12:08:22 -08:00
David Brazdil
caf42f97af Merge changes from topics "coreapi-flag", "coreapi-stubs-csv" am: 4ac7810755
am: 3b46950ae9

Change-Id: I05dbd7391ef3781c141388691fdab49386e66b9e
2019-01-21 11:46:04 -08:00
David Brazdil
0e4ce6c0e1 Replace hiddenapi-{public,private}-list.txt with a CSV file am: fc274bab4d
am: a1a433b368

Change-Id: Ic93ca865d6a34b8d9672eeb6d078b9ac48433429
2019-01-21 11:45:15 -08:00
Colin Cross
b405fe3765 Don't depend on classes-header.jar when turbine is disabled
TARGET_BUILD_APPS sets TURBINE_ENABLED := false, which triggers
an issue where a dependency is added on classes-header.jar but
there is no rule to create it.  Skip creating the dependency
when TURBINE_ENABLED is false for now.

Bug: 123183568
Test: m TARGET_PRODUCT=mainline_modules_arm UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true TARGET_BUILD_APPS=com.android.media
Change-Id: I8ec3e244b8f9618c58f4ac57329a5a07f01dc797
2019-01-21 10:59:42 -08:00
David Brazdil
3b46950ae9 Merge changes from topics "coreapi-flag", "coreapi-stubs-csv"
am: 4ac7810755

Change-Id: I0a1d45a33cdb055d09129324c369bfe70f1aa0a2
2019-01-21 10:52:44 -08:00
David Brazdil
a1a433b368 Replace hiddenapi-{public,private}-list.txt with a CSV file
am: fc274bab4d

Change-Id: I5ecd7a583418c39b4fef6cc569603e86b86d44ad
2019-01-21 10:51:52 -08:00
Logan Chien
86eeedbcc7 Add $(SOONG_OUT_DIR)/ndk/% to artifact whitelist
This commit adds `$(SOONG_OUT_DIR)/ndk/%` to artifact whitelist so that
when NDK stub libraries won't be blocked by artifact path requirements.

This commit does not break the integrity of artifact path requirements
because they are not installed to devices.

Bug: 123053270
Bug: 119084334
Test: lunch aosp_crosshatch-userdebug
Change-Id: Ieea76a8126269f53b0a58bd069b449a9f9b1263a
2019-01-21 14:34:19 +00:00
David Brazdil
4ac7810755 Merge changes from topics "coreapi-flag", "coreapi-stubs-csv"
* changes:
  hiddenapi: Process core.platform.api.stubs
  Replace hiddenapi-{public,private}-list.txt with a CSV file
2019-01-21 14:31:05 +00:00
TreeHugger Robot
bf0574c5c3 Merge "Add updatable-media to bootclasspath" 2019-01-21 14:27:09 +00:00
Logan Chien
0e53d887d6 Add prebuilt ELF binaries checker
This commit introduces a prebuilt ELF binaries checker.  The checker
will check:

1. Whether all DT_NEEDED shared libraries are specified in
   `shared_libs` (Android.bp) or `LOCAL_SHARED_LIBRARIES` (Android.mk).

2. Whether all undefined symbols in the prebuilt binary can be resolved
   to defined symbols exported by its dependencies.

This ensures that prebuilt binaries won't silently become ABI
incompatible.

To check the prebuilt binaries, all of the dependencies must be
specified in `shared_libs` (Android.bp) or `LOCAL_SHARED_LIBRARIES`
(Android.mk).

If your prebuilt binaries cannot be checked for some reason, you may add
the following property to Android.bp:

    check_elf_files: false,

Or, add the following setting to Android.mk:

    LOCAL_CHECK_ELF_FILES := false

Bug: 119084334
Test: CHECK_ELF_FILES=true make check-elf-files
Change-Id: I523d3083f22fd4053c096d26f61f8375800281c8
2019-01-21 21:35:01 +08:00
Anton Hansson
2172c9d603 Merge "Add support for TARGET_SCREEN_DENSITY" 2019-01-21 09:44:00 +00:00
David Brazdil
fc274bab4d Replace hiddenapi-{public,private}-list.txt with a CSV file
`hiddenapi` is being refactored to work with a single CSV file as
opposued to a multitude of text files (one per flag). This patch
changes the singleton rule for listing public/private APIs from
stubs to expect a CSV as an output.

Bug: 119068555
Test: compiles, hiddenapi-flags.csv unchanged
Change-Id: If56c7ab8a4c3bbd33e447ef0dfd33f2c303a937c
2019-01-19 15:57:35 +00:00
David Brazdil
96e973b304 hiddenapi: Process core.platform.api.stubs
Pass @CorePlatformApi stubs to the `hiddenapi` singleton rule which
generate a CSV of all public or domain API flags.

Bug: 119068555
Test: m appcompat
Test: dexlayout <core-oj jar> | grep CORE-PLATFORM-API
Change-Id: I597ee330835e564d61cfac44497e762b552b901c
2019-01-19 15:57:35 +00:00
Dan Willemsen
8ba31669e9 Merge "Add previously debug-tagged modules" am: 241d7cdba0 am: 2c4201eaca
am: 3b59a7b9ef

Change-Id: Idf89ceb2361ca0396904b5936607e3fd5c870b6b
2019-01-19 00:13:29 -08:00
Dan Willemsen
3b59a7b9ef Merge "Add previously debug-tagged modules" am: 241d7cdba0
am: 2c4201eaca

Change-Id: Ia7ee053c6da1cc57f789d7661344c5fc777e5e6a
2019-01-19 00:06:14 -08:00
Dan Willemsen
2c4201eaca Merge "Add previously debug-tagged modules"
am: 241d7cdba0

Change-Id: I1df923ac4b678dbfc60c3a24be5d8275ad10c726
2019-01-18 23:49:29 -08:00
Dan Willemsen
241d7cdba0 Merge "Add previously debug-tagged modules" 2019-01-19 07:39:56 +00:00
Dongwon Kang
b83a586e4c Add updatable-media to bootclasspath
Test: build & boot & MediaPlayer2Test
Bug: 112766913
Change-Id: I138558b6f629b0adcfc86787ca21e1c078b7d3cd
2019-01-18 21:12:56 -08:00
Dongwon Kang
da8e3d0735 Merge "Move UPDATABLE_BOOT_(MODULES|JARS) to base_system.mk for further extension" am: 082fd2c5bc am: e8b1110846
am: fad608125e

Change-Id: Ida46b54700de4306303517c34e030fb2bfc851d7
2019-01-18 21:09:45 -08:00
Dongwon Kang
fad608125e Merge "Move UPDATABLE_BOOT_(MODULES|JARS) to base_system.mk for further extension" am: 082fd2c5bc
am: e8b1110846

Change-Id: I49a1ff097c6bc875f3cc7deee7f963d343bd2777
2019-01-18 20:55:29 -08:00
Dongwon Kang
e8b1110846 Merge "Move UPDATABLE_BOOT_(MODULES|JARS) to base_system.mk for further extension"
am: 082fd2c5bc

Change-Id: I5c561ebbdb5d40b10a6bc844163e96cfba63ea02
2019-01-18 20:46:17 -08:00
Treehugger Robot
082fd2c5bc Merge "Move UPDATABLE_BOOT_(MODULES|JARS) to base_system.mk for further extension" 2019-01-19 04:37:13 +00:00
Colin Cross
df9b72154c Merge "Build docs zips with make docs" am: 3087d93cc6 am: e0ad3ac374
am: 88c43523f3

Change-Id: I3fbd4185f22718dcceeeace7a64d5229e3071f96
2019-01-18 20:23:23 -08:00
Colin Cross
88c43523f3 Merge "Build docs zips with make docs" am: 3087d93cc6
am: e0ad3ac374

Change-Id: I22835c47fd91b4aeec52e0e57d972f171e100c47
2019-01-18 20:19:10 -08:00
Colin Cross
e0ad3ac374 Merge "Build docs zips with make docs"
am: 3087d93cc6

Change-Id: I7b38252ec2b9b4d575eba1e05b3a36fc2957ba1f
2019-01-18 20:15:04 -08:00
Colin Cross
3087d93cc6 Merge "Build docs zips with make docs" 2019-01-19 04:09:20 +00:00
Jeongik Cha
d81b902e2b Merge "Define non-system module as variable" am: 6bd6318880 am: 71be05d4e6
am: e8de9ece30

Change-Id: I2d8201a80cc153a2d1feca067203451986460879
2019-01-18 18:10:30 -08:00
Jeongik Cha
e8de9ece30 Merge "Define non-system module as variable" am: 6bd6318880
am: 71be05d4e6

Change-Id: I5ef9c1d037c1e6d83aa182246a771a75e1285a80
2019-01-18 18:04:20 -08:00
Jeongik Cha
71be05d4e6 Merge "Define non-system module as variable"
am: 6bd6318880

Change-Id: I6d99558d4c3e9b0c510d7dfa6f8ed6978cbf1e44
2019-01-18 17:59:05 -08:00
Evgenii Stepanov
2338b3cde4 Merge "Limit 2 uses of SANITIZE_TARGET to ASan." am: ffaf4815fc am: 3700f97331
am: 26246b3ee1

Change-Id: Id1b7368ac60ba9578d366674fdce9ec730075f97
2019-01-18 17:56:44 -08:00
Treehugger Robot
6bd6318880 Merge "Define non-system module as variable" 2019-01-19 01:48:39 +00:00
Evgenii Stepanov
26246b3ee1 Merge "Limit 2 uses of SANITIZE_TARGET to ASan." am: ffaf4815fc
am: 3700f97331

Change-Id: Ic0247fdeff0abe60696ed311f5bb8c1e79c2c603
2019-01-18 17:47:15 -08:00
Evgenii Stepanov
3700f97331 Merge "Limit 2 uses of SANITIZE_TARGET to ASan."
am: ffaf4815fc

Change-Id: Ibcd9f7a22dfbc267958d88f3163aa17f215d8109
2019-01-18 17:44:03 -08:00