Commit Graph

38144 Commits

Author SHA1 Message Date
Dan Willemsen 8bc9d37dc8 Merge changes Ifbeed546,Ia283252d,I28c85736 into oc-dr1-dev
am: c9f75f818c  -s ours

Change-Id: Ifa98659370f618ca05f18550b65c48d63aeba4af
2017-06-08 17:23:01 +00:00
Dan Willemsen f37088fb3d Add mising AAPT2 dependency
Bug: 33381544
Test: m clean; mma -j with a prebuilt aar using aapt2
Change-Id: Ie41def84aa35f3774abd6d713fb4a75d63a88876
Merged-In: Ie41def84aa35f3774abd6d713fb4a75d63a88876
(cherry picked from commit c401a62d81)
2017-06-08 10:19:10 -07:00
Dan Willemsen c9f75f818c Merge changes Ifbeed546,Ia283252d,I28c85736 into oc-dr1-dev
* changes:
  More aapt2 aar prebuilt fixes
  Use framework resources for prebuilt aars with aapt2
  Don't attempt to write to / for aar prebuilts
2017-06-08 17:18:47 +00:00
Dan Willemsen d6fa871e26 Merge "Add mising AAPT2 dependency" am: 25a4c9481b am: ac47d13b2e
am: 18ce90bce3

Change-Id: I056a754497068f71e7a22de83e868e9958772719
2017-06-08 16:28:27 +00:00
Dan Willemsen 18ce90bce3 Merge "Add mising AAPT2 dependency" am: 25a4c9481b
am: ac47d13b2e

Change-Id: I1a56a0da5d328ba2037fba82db92c5cf55bd37aa
2017-06-08 16:18:24 +00:00
Dan Willemsen ac47d13b2e Merge "Add mising AAPT2 dependency"
am: 25a4c9481b

Change-Id: Id4e6eef46a6081869a66be2f18a991d628947a2a
2017-06-08 16:15:24 +00:00
Dan Willemsen 25a4c9481b Merge "Add mising AAPT2 dependency" 2017-06-08 16:10:05 +00:00
Bartosz Fabianowski dea8d2ec24 Merge "Revert "Revert "Normalize building generic system image with treble-common.mk""" into oc-dev am: 40b59b8950 -s ours
am: afb4480425

Change-Id: I6d4ddc0436dd4602d623396f70deae344e4ef2a8
2017-06-08 10:25:56 +00:00
Bartosz Fabianowski 86951047b2 Merge "Revert "Revert "Normalize building generic system image with treble-common.mk""" into oc-dev am: 40b59b8950 -s ours
am: 519d288a70

Change-Id: I6841fa95d7ad01057a4aa93af18a85674d1623e5
2017-06-08 10:25:03 +00:00
Bartosz Fabianowski afb4480425 Merge "Revert "Revert "Normalize building generic system image with treble-common.mk""" into oc-dev
am: 40b59b8950  -s ours

Change-Id: I9ac18bf9e2fadebf764c9d519d822048f0908664
2017-06-08 10:22:04 +00:00
Bartosz Fabianowski 519d288a70 Merge "Revert "Revert "Normalize building generic system image with treble-common.mk""" into oc-dev
am: 40b59b8950  -s ours

Change-Id: I305201f801b3e87c269b712ced55c61f54095146
2017-06-08 10:22:03 +00:00
Android Build Merger (Role) edc3e02d8a Merge "Merge "Revert "Normalize building generic system image with treble-common.mk"" into oc-dev am: 8199b9d1fd -s ours am: db038f34f8" into oc-dr1-dev-plus-aosp 2017-06-08 10:19:46 +00:00
Bartosz Fabianowski 8e4ac36fba Merge "Revert "Normalize building generic system image with treble-common.mk"" into oc-dev am: 8199b9d1fd -s ours
am: 74066efb32

Change-Id: I632a7527821c0a585b10a9f36d5ba760b1beb506
2017-06-08 10:19:26 +00:00
Bartosz Fabianowski f796e79946 Merge "Revert "Normalize building generic system image with treble-common.mk"" into oc-dev am: 8199b9d1fd -s ours
am: db038f34f8

Change-Id: I4dc624b34c2bcf1c73f10ec615cf8b1ecd334430
2017-06-08 10:19:26 +00:00
Bartosz Fabianowski 74066efb32 Merge "Revert "Normalize building generic system image with treble-common.mk"" into oc-dev
am: 8199b9d1fd  -s ours

Change-Id: Ib15ecf93a981891ac0642e58c28a8289ae2dc665
2017-06-08 10:16:31 +00:00
Bartosz Fabianowski db038f34f8 Merge "Revert "Normalize building generic system image with treble-common.mk"" into oc-dev
am: 8199b9d1fd  -s ours

Change-Id: I83538f1ea8e0ea7ef7fe1c234a2ad7cccfd2d6d7
2017-06-08 10:16:27 +00:00
Bartosz Fabianowski 40b59b8950 Merge "Revert "Revert "Normalize building generic system image with treble-common.mk""" into oc-dev 2017-06-08 10:13:31 +00:00
Bartosz Fabianowski bf1546c96d Revert "Revert "Normalize building generic system image with treble-common.mk""
We will selectively revert on a branch only.

This reverts commit 85c4945f46.

Change-Id: I0eb869a0f2385fe66bd3cd0bc18a298ebe5b47da
2017-06-08 10:12:43 +00:00
Bartosz Fabianowski 8199b9d1fd Merge "Revert "Normalize building generic system image with treble-common.mk"" into oc-dev 2017-06-08 09:45:59 +00:00
Bartosz Fabianowski 85c4945f46 Revert "Normalize building generic system image with treble-common.mk"
Revert by Build Cop. This change is causing build failures across builders and branches, e.g.:

ninja: error: 'out/target/product/generic_x86/obj/lib/android.hidl.base@1.0.so', needed by 'checkbuild', missing and no known rule to make it
09:08:08 ninja failed with: exit status 1

This reverts commit 76ada93856.

Change-Id: I5e7bfa65a70cf5d61fb233cdbdfe7f420fd5ab51
2017-06-08 09:44:49 +00:00
SzuWei Lin 78b8dd61b1 Normalize building generic system image with treble-common.mk
Move the common part from make file of generic AOSP system images into
treble_common.mk, and update the content of common part.

The common part inclueds:

- HAL interfaces
- VNDK libs
- VNDK-SP libs
- Some other modules supporting HAL interfaces
- Some Treble default configurations

Bug: 37927875
Test: boot to home screen with the generic system image
Change-Id: I4202454d57970cef713f7d6437191094df0009e9
2017-06-08 16:24:10 +08:00
Isaac Chen 996d95bbb2 Merge "Normalize building generic system image with treble-common.mk" into oc-dev am: 317e4b918d -s ours
am: 8c7dffd7bf  -s ours

Change-Id: Ie1f78d081be328c53f708494e2396a8216aafe5d
2017-06-08 08:12:57 +00:00
Isaac Chen 8c7dffd7bf Merge "Normalize building generic system image with treble-common.mk" into oc-dev
am: 317e4b918d  -s ours

Change-Id: Id89e03f1f0435ec80ac6a903516a704e836e8d33
2017-06-08 08:10:28 +00:00
Isaac Chen 8f12d95f10 Merge "Normalize building generic system image with treble-common.mk" into oc-dev am: 317e4b918d -s ours
am: b63d1ded34

Change-Id: If5609785e0dc6bfa0da6d1ecbd0a2a8bca21b01e
2017-06-08 08:04:56 +00:00
Isaac Chen b63d1ded34 Merge "Normalize building generic system image with treble-common.mk" into oc-dev
am: 317e4b918d  -s ours

Change-Id: Ibf8e7d4d5281330ad38c32fe98ceccf65bcfa2a6
2017-06-08 08:02:00 +00:00
Isaac Chen 317e4b918d Merge "Normalize building generic system image with treble-common.mk" into oc-dev 2017-06-08 07:47:12 +00:00
Dan Willemsen c401a62d81 Add mising AAPT2 dependency
Bug: 33381544
Test: m clean; mma -j with a prebuilt aar using aapt2
Change-Id: Ie41def84aa35f3774abd6d713fb4a75d63a88876
2017-06-08 00:14:32 -07:00
SzuWei Lin 76ada93856 Normalize building generic system image with treble-common.mk
Move the common part from make file of generic AOSP system images into
treble_common.mk, and update the content of common part.

The common part inclueds:

- HAL interfaces
- VNDK libs
- VNDK-SP libs
- Some other modules supporting HAL interfaces
- Some Treble default configuations

Bug: 37927875
Test: boot to home screen with the generic system image
Change-Id: I4202454d57970cef713f7d6437191094df0009e9
Merged-In: I4202454d57970cef713f7d6437191094df0009e9
2017-06-08 10:13:23 +08:00
Chih-Hung Hsieh 7638b01513 Merge "Find target keywords in the first 100 lines." am: 61ddffc6af am: 4bf15225d4
am: 30e550cfb7

Change-Id: I3a625c89c9589184b95035b6320a9349a5a534f0
2017-06-08 01:55:23 +00:00
Chih-Hung Hsieh 30e550cfb7 Merge "Find target keywords in the first 100 lines." am: 61ddffc6af
am: 4bf15225d4

Change-Id: I8375de1b5359e4bcbb028f0e158bc20545fbf8fe
2017-06-08 01:50:50 +00:00
Chih-Hung Hsieh 4bf15225d4 Merge "Find target keywords in the first 100 lines."
am: 61ddffc6af

Change-Id: I9f9bbb63670780f4dd9db3903ce16d38570078b6
2017-06-08 01:48:50 +00:00
Dan Willemsen 6d38503400 More aapt2 aar prebuilt fixes
Ensure aar/res exists, otherwise aapt2 may fail with an error.

Bug: 33381544
Test: Attempt to build aar prebuilt
Change-Id: Ifbeed546fe1a3a48c3dae33f95b04acc559f5b30
Merged-In: Ifbeed546fe1a3a48c3dae33f95b04acc559f5b30
(cherry picked from commit 7a1ad6c8a0)
2017-06-07 18:48:31 -07:00
Dan Willemsen 1130dc496e Use framework resources for prebuilt aars with aapt2
Bug: 33381544
Test: Attempt to build prebuilt aar
Change-Id: Ia283252dff6e55dd80c7c01da9b0aa51990b6af4
Merged-In: Ia283252dff6e55dd80c7c01da9b0aa51990b6af4
(cherry picked from commit 470e0e14cd)
2017-06-07 18:48:25 -07:00
Dan Willemsen 2f3af252eb Don't attempt to write to / for aar prebuilts
This path needs to be set if we're going to build aar prebuilts with
aapt2.

Bug: 33381544
Test: Attempt to build an aar prebuilt with LOCAL_USE_AAPT2 := true, it
      doesn't fail writing to /

Change-Id: I28c85736986221607a1d7a295ff1522b993a2049
Merged-In: I28c85736986221607a1d7a295ff1522b993a2049
(cherry picked from commit 48845257dc)
2017-06-07 18:48:19 -07:00
Treehugger Robot 61ddffc6af Merge "Find target keywords in the first 100 lines." 2017-06-08 01:40:59 +00:00
Chih-Hung Hsieh 655c542dc8 Find target keywords in the first 100 lines.
Bug: 62416199
Test: warn.py build.log
Change-Id: I8c5ef310758fdd44519aeb1efe2f0bd92fe1ac87
2017-06-07 23:17:13 +00:00
Dan Willemsen 6f286c071b Merge changes Ifbeed546,Ia283252d,I28c85736 am: 288a675fd9 am: a22e432be3
am: b43d603d8f

Change-Id: If2e891f7fc559ff5e1db858b7c2fdaf6119a796e
2017-06-07 23:11:38 +00:00
Dan Willemsen b43d603d8f Merge changes Ifbeed546,Ia283252d,I28c85736 am: 288a675fd9
am: a22e432be3

Change-Id: I7e58720aa1c1db9add75e8f547ebf8535feb2dd7
2017-06-07 23:07:37 +00:00
Dan Willemsen a22e432be3 Merge changes Ifbeed546,Ia283252d,I28c85736
am: 288a675fd9

Change-Id: I76a5ca00eb6edceeda5da76c1d00faba08533b58
2017-06-07 23:05:40 +00:00
Treehugger Robot 288a675fd9 Merge changes Ifbeed546,Ia283252d,I28c85736
* changes:
  More aapt2 aar prebuilt fixes
  Use framework resources for prebuilt aars with aapt2
  Don't attempt to write to / for aar prebuilts
2017-06-07 23:00:24 +00:00
Tao Bao 46a5999a02 Delay the write-back of misc_info in sign_target_files_apks.py.
Currently we're writing META/misc_info.txt to the new TF.zip during
ReplaceVerityPrivateKey(). We should delay that until we have replaced
everything in need. Otherwise we won't be able to replace/overwrite
that zip entry (unless `zip -d` first).

This CL also cleans up the return value of ReplaceVerityPublicKey() and
ReplaceVerityKeyId(), since the caller no longer needs the values.

Test: sign_target_files_apks.py and check the generated signed TF.zip.
Change-Id: I9fbd7182247728281519e5e3971557f6b018ad65
2017-06-07 15:13:50 -07:00
Adam Seaton 2b93753bc4 [DO NOT MERGE] Updating Security String to 2017-08-05 on nyc-dev
bug:62388772
2017-06-07 14:54:45 -07:00
Adam Seaton a847c0b23c [DO NOT MERGE] Updating Security String to 2017-08-01 on nyc-dev
bug:62388772
2017-06-07 14:53:03 -07:00
Yifan Hong f61b430e62 Use different versions for framework compatibility matrix
Keyed on MATRIX_LEVEL_OVERRIDE, FULL_TREBLE, SHIPPING_API_LEVEL,
and SDK_VERSION.

Bug: 62136051

Test: m system_compatibility_matrix.xml -j; \
    grep -e"gatekeeper" -B1 $OUT/system/compatibility_matrix.xml; \
    grep -e"oemlock" -B1 $OUT/system/compatibility_matrix.xml

bullhead: gatekeeper is optional, no oemlock (legacy.xml)
marlin without COMP_LEVEL_OVERRIDE: gatekeeper is not optional,
        no oemlock (26.xml)
marlin with COMP_LEVEL_OVERRIDE: gatekeeper is not optional,
        oemlock exists (current.xml)
new devices with COMP_LEVEL_OVERRIDE: same as above.

Change-Id: Icf7269df91950a8c3585a7e5f0022e6737954b77
2017-06-07 19:27:35 +00:00
Baligh Uddin d72149e7a4 DO NOT MERGE ANYWHERE - Set MAX_PLATFORM_VERSION to OPD1 on oc-dr1-dev
am: 910e08c023  -s ours

Change-Id: I5957e9ea257716918236a22dcc982b9e7d735b0b
2017-06-07 19:19:15 +00:00
Colin Cross b22b57218b Unspecialize oc-dev-plus-aosp
oc-dev-plus-aosp will become aosp master, which needs to continue to
be able to build features targeted at PPR1.

This reverts commit 096aaeee16.

Bug: 36891159
Test: builds
Change-Id: I7060a5742609e96102027eea528e0e2db8e7b129
Merged-In: I546d1c25a2b1d948a0e7da796f59e734a98635da
2017-06-07 10:35:29 -07:00
Baligh Uddin 910e08c023 DO NOT MERGE ANYWHERE - Set MAX_PLATFORM_VERSION to OPD1 on oc-dr1-dev
Bug: 38436796
2017-06-07 10:19:42 -07:00
Dan Willemsen 9a81523e8f Merge "Fix ALLOW_MISSING_DEPENDENCIES in PDK builds" am: 8340ae35a7 am: c1fa14696a am: f6eef888f4
am: bd98d429ce

Change-Id: Ic8e75f2a4cb7741bbca8f2e190c58eee219290c7
2017-06-07 01:48:47 +00:00
Dan Willemsen bd98d429ce Merge "Fix ALLOW_MISSING_DEPENDENCIES in PDK builds" am: 8340ae35a7 am: c1fa14696a
am: f6eef888f4

Change-Id: If5cf8057c9536f05cf224a71edcd290b7347be58
2017-06-07 01:46:46 +00:00
Dan Willemsen f6eef888f4 Merge "Fix ALLOW_MISSING_DEPENDENCIES in PDK builds" am: 8340ae35a7
am: c1fa14696a

Change-Id: Ic7b597595a7373f6fb971860ee42de75ebeda3d2
2017-06-07 01:44:17 +00:00