Commit graph

40698 commits

Author SHA1 Message Date
Jin Qian
95b2b695cd Replace make_ext4fs with mke2fs
make_ext4fs is deprecated and should be replaced with mke2fs

Bug: 64395169
Change-Id: Idfc8c0ee0ff598fdaa6f20bb0d4f6dca687a1b10
2017-11-02 16:27:41 -07:00
Alan Leung
65168a4143 Workaround for USE_D8 not in --dumpvars-mode
Bug: 68406220
Test: m checkbuild && USE_D8=false m checkbuild
Change-Id: Ia9916fb69b22449ff9eadd334f135807d999276f
2017-11-02 15:31:03 -07:00
Jin Qian
d4fcfea77c Merge "Always use MKE2FS to build ext4 image"
am: dee5abd85a

Change-Id: I2739bb6a533fd5161e0ab11382245e0791e29e09
2017-11-02 21:44:02 +00:00
Treehugger Robot
dee5abd85a Merge "Always use MKE2FS to build ext4 image" 2017-11-02 21:34:49 +00:00
Tao Bao
c0dcbd0017 releasetools: Fix the doctest for rangelib.py.
$ python rangelib.py
**********************************************************************
File "rangelib.py", line 323, in __main__.RangeSet.next_item
Failed example:
    list(rangelib.RangeSet("10-19 3 5 7").next_item())
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.RangeSet.next_item[2]>", line 1, in <module>
        list(rangelib.RangeSet("10-19 3 5 7").next_item())
    NameError: name 'rangelib' is not defined
**********************************************************************
1 items had failures:
   1 of   3 in __main__.RangeSet.next_item
***Test Failed*** 1 failures.

Test: python rangelib.py
Change-Id: I6c791ff4453f40d90b34f97b881460da9878fe64
2017-11-02 12:19:36 -07:00
Calin Juravle
3baa4a6835 Merge "Set the default value of pm.dexopt.shared to speed"
am: 1c505a1985

Change-Id: I22c7e853c7395f085c891f596b7bb73a15467e80
2017-11-02 18:21:54 +00:00
Treehugger Robot
1c505a1985 Merge "Set the default value of pm.dexopt.shared to speed" 2017-11-02 18:13:54 +00:00
Dan Willemsen
438a8b800a Merge "Revert "Add adb keys to debuggable AOSP builds""
am: 40fae9ca0f

Change-Id: I3003351ba4b043774ada2cb552895865f7e6d30e
2017-11-02 17:20:45 +00:00
Dan Willemsen
40fae9ca0f Merge "Revert "Add adb keys to debuggable AOSP builds"" 2017-11-02 17:16:48 +00:00
Calin Juravle
89836f119e Set the default value of pm.dexopt.shared to speed
By default, we should compile all shared apks with the speed filter.

(cherry picked from commit 3fdb549931)

Bug: 65591595
Test: build & boot
Merged-In: I8781ca47090321a32641ec4c7a4ed3c722bab475
Change-Id: I8781ca47090321a32641ec4c7a4ed3c722bab475
2017-11-02 09:33:39 -07:00
Tobias Thierer
e76e3837cd Revert "Add adb keys to debuggable AOSP builds"
This reverts commit 6d4536023b.

Reason for revert: Suspected to have broken build_test on master:

build/make/core/tasks/vendor_module_check.mk:108: error: Error: vendor module "adb_keys" in vendor/google/security/adb in product "aosp_lionhead" being installed to out/multiproduct-20171102103809/aosp_lionhead/target/product/lionhead/root/adb_keys which is not in the vendor tree or odm tree.

Change-Id: If7c1c9f08604b1dfc1036ea6fe3cb487fafc3cf0
2017-11-02 15:16:17 +00:00
Tobias Thierer
718de33ef9 Merge "Skip Proguard for EXPERIMENTAL_USE_OPENJDK9=true"
am: 96257655c5

Change-Id: I7501eda6c5fcb2c6f495cff71f068c3ec4015413
2017-11-02 12:42:54 +00:00
Tobias Thierer
96257655c5 Merge "Skip Proguard for EXPERIMENTAL_USE_OPENJDK9=true" 2017-11-02 12:35:26 +00:00
Isaac Chen
2b063ee55d Move emulator specific configurations to vendor
The moved files are all emulator specific so should reside in vendor
directory/partition. This modification resolves a Launcher crash
issue when GSI boots on the emulator. Directly relevant file is
handheld_core_hardware.xml, which is absent from the GSI.

All other files moved in this change can cause similar issues (if they
stay under /system) since they aren't present on GSI, either.

Bug: 67987112
Test: x86 GSI boots to home screenon with 2 emulator products, aosp_x86,
      and sdk_gphone_x86 on the x86 emulator (on internal master).
      Both aosp_x86 and aosp_x86_64 boot to home screen on the emulator.
      Both aosp_arm and sdk_phone_arm boot to home screen on the arm
      emulator.

Change-Id: I2ff4f71b89d84dab322d00cf846cf06c98a1e8a7
2017-11-02 19:08:58 +08:00
Steven Moreland
531fcc2e9d Merge "Add HIDL boot-path libs to the PDK."
am: 160edc1a90

Change-Id: Icac4297a47282acadb5c71fb1fa62dab27f82671
2017-11-02 01:17:15 +00:00
Treehugger Robot
160edc1a90 Merge "Add HIDL boot-path libs to the PDK." 2017-11-02 01:10:31 +00:00
Dan Willemsen
ccdbf9866c Merge "Add adb keys to debuggable AOSP builds"
am: 40cd480454

Change-Id: Ib3c254058d07d5e94a998ee2c5b37634ab0b32b6
2017-11-02 00:59:46 +00:00
Treehugger Robot
40cd480454 Merge "Add adb keys to debuggable AOSP builds" 2017-11-02 00:50:22 +00:00
Colin Cross
f14caaec79 Merge "Pass PRODUCT_MINIMIZE_JAVA_DEBUG_INFO to soong"
am: cce2ea423a

Change-Id: I4584ddd9fc8c8c6c578e761bcff8fddaf22dffde
2017-11-02 00:11:20 +00:00
Colin Cross
cce2ea423a Merge "Pass PRODUCT_MINIMIZE_JAVA_DEBUG_INFO to soong" 2017-11-02 00:05:20 +00:00
Jin Qian
f0ebe872a2 Always use MKE2FS to build ext4 image
Bug: 64395169
Change-Id: I0118fe8ee5f677fdb9da616a11de304b2aefd0ba
2017-11-01 16:37:38 -07:00
Steven Moreland
58dbc79468 Add HIDL boot-path libs to the PDK.
Adding:
  target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates \
  target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java-static_intermediates \
  target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates \

Ref b/68767391. Currently, Soong java things cannot
build against things in the PDK.

Bug: 68433855
Test: platform.zip contains the 3 added intermediates
Change-Id: I18c556e7f535d9ab8f385b67ae217a2ce2eb8049
2017-11-01 16:27:01 -07:00
Vishwath Mohan
5bff3823c3 Merge "Revert "Revert "CFI compatibility with static executables and nested archives"""
am: fba0a560de

Change-Id: Ib8eb5180a3f6d988f13f7d166a90beeeed302bb4
2017-11-01 22:56:08 +00:00
Treehugger Robot
fba0a560de Merge "Revert "Revert "CFI compatibility with static executables and nested archives""" 2017-11-01 22:16:00 +00:00
Dan Willemsen
6d4536023b Add adb keys to debuggable AOSP builds
These don't exist on AOSP itself, but if they're added in, debuggable
builds will include the keys. This way automated test farms don't need
manual intervention to authenticate to the device over adb, but we don't
disable security for everyone else.

Bug: 32891559
Test: lunch aosp_marlin-userdebug; m
Change-Id: I59011a5c1f45b0c8bd5c2355d2b4c3671f5da4e4
2017-11-01 15:04:11 -07:00
allenhair
c6cfede3fe Merge "Fix coverage build."
am: e0a367384d

Change-Id: I638e8be1e8f028475446fa4716cf575e70b91294
2017-11-01 17:34:48 +00:00
allenhair
e0a367384d Merge "Fix coverage build." 2017-11-01 17:22:16 +00:00
Nicolas Geoffray
becc7c6c80 Merge "Add a product variable for priv-apps dependencies."
am: 21a3aef7d7

Change-Id: I956660af26e42e47d5ea0862e6c699b0486803d0
2017-11-01 13:45:30 +00:00
Nicolas Geoffray
21a3aef7d7 Merge "Add a product variable for priv-apps dependencies." 2017-11-01 13:40:20 +00:00
Narayan Kamath
cc498428e5 Merge "zipalign: Remove dependency on androidfw."
am: 9709191837

Change-Id: I0bbb10611680ec72cd932bbac6cf3c056c8afa6b
2017-11-01 11:17:26 +00:00
Narayan Kamath
9709191837 Merge "zipalign: Remove dependency on androidfw." 2017-11-01 11:12:18 +00:00
Vishwath Mohan
85f72449ae Revert "Revert "CFI compatibility with static executables and nested archives""
This reverts commit 8350c4c540.

Reverting the revert so a proper fix can be applied.

Change-Id: I69f106dfd294198e03a62bcd88c8f18033410141
2017-11-01 09:21:20 +00:00
Colin Cross
829a16ea2e Pass PRODUCT_MINIMIZE_JAVA_DEBUG_INFO to soong
Test: m with PRODUCT_MINIMIZE_JAVA_DEBUG_INFO=true
Change-Id: I265bde07e878cf2878f1d383f2555b7e7df7b457
2017-10-31 22:16:21 -07:00
Jaekyun Seok
e4d8ef1ba7 Merge "Rename ro.vendor.product.* to ro.product.vendor.*"
am: 9e622c7e06

Change-Id: Ifd3659750be3d00da7ef97cc8547e56c645d85a5
2017-11-01 02:57:49 +00:00
Shubham Ajmera
e8f4ed3b56 Merge "Add compiler filter for inactive app downgrade"
am: f1b2aebc54

Change-Id: I330f0dfbe6bdeecd1f5998c9b605d0907ab46674
2017-11-01 02:29:14 +00:00
Treehugger Robot
9e622c7e06 Merge "Rename ro.vendor.product.* to ro.product.vendor.*" 2017-11-01 02:23:54 +00:00
Treehugger Robot
f1b2aebc54 Merge "Add compiler filter for inactive app downgrade" 2017-11-01 02:19:58 +00:00
Jaekyun Seok
43c2f8aeee Rename ro.vendor.product.* to ro.product.vendor.*
"ro.vendor." prefix will be used only for vendor-specific properties
except for ro.vendor.build.date, ro.vendor.build.date.utc and
ro.vendor.build.fingerprint.

Those exceptions have been used since Android L. So we can't rename them
to support the system-only upgrade from old Android.

Bug: 36796459
Test: confirmed that ro.vendor.product.* were changed to
ro.product.vendor.* in vendor/build.prop

Merged-In: Ibc107b00264a2dc194261d1968b27a9b17b5d798
Change-Id: Ibc107b00264a2dc194261d1968b27a9b17b5d798
(cherry picked from commit 8cf6443264)
2017-11-01 10:11:32 +09:00
Colin Cross
389e8fe140 Merge "Export AAPT-related variables to soong"
am: 9767853ed0

Change-Id: Id14503c30d67d3ad8cb196ee61afca8bf0522177
2017-10-31 23:43:52 +00:00
Treehugger Robot
9767853ed0 Merge "Export AAPT-related variables to soong" 2017-10-31 23:39:24 +00:00
Alex Klyubin
d47e269bf2 Merge "Add OWNERS for SignApk"
am: 9a04e12eba

Change-Id: I4712cf358a2d86ac23aeb384e1272b24d68b15f1
2017-10-31 22:13:08 +00:00
Tao Bao
076dd6aa85 Merge "releasetools: Remove the deprecated flag --board_config."
am: 224b5f9926

Change-Id: I35da7f5849acd9dce0ae609613a3b865b06ee0b9
2017-10-31 22:12:06 +00:00
Steven Moreland
d3a514b2c8 Merge "Add hwbinder.jar to PDK."
am: 46e7f55f6d

Change-Id: Ic76d569dfe85c61e267bc8e0be9fdf598a98e6a7
2017-10-31 22:11:18 +00:00
Tao Bao
e1c0604259 Merge "releasetools: Fix the wrong command when falling back to bsdiff."
am: f2a3454fa5

Change-Id: I262326ca26c42bcca1c712aaffd316e629a33f8c
2017-10-31 22:10:22 +00:00
Colin Cross
cd9bfc57fc Merge "Revert "CFI compatibility with static executables and nested archives""
am: 66a11b7ccc

Change-Id: Iadec04056ea267d5e2d3477d0f234d6f0ce1d83c
2017-10-31 22:09:02 +00:00
Tao Bao
4c38da5b2e Merge "releasetools: Fix the comment for '--verify' flag."
am: f9b1b4c37d

Change-Id: I022bef13079404cb8079548ef568872694a504d3
2017-10-31 22:03:19 +00:00
Treehugger Robot
9a04e12eba Merge "Add OWNERS for SignApk" 2017-10-31 21:53:45 +00:00
Tao Bao
224b5f9926 Merge "releasetools: Remove the deprecated flag --board_config." 2017-10-31 21:36:45 +00:00
Treehugger Robot
46e7f55f6d Merge "Add hwbinder.jar to PDK." 2017-10-31 21:30:48 +00:00
Steven Moreland
266632f327 Add hwbinder.jar to PDK.
This is a no-install subset of frameworks.jar. Required
for HIDL libraries to be able to be built against at
build time.

Bug: 68433855
Test: hwbinder_intermediates are in platform.zip
Change-Id: Ia879c6a6908c00069eaf819278c9d5da6a649b68
2017-10-31 21:30:28 +00:00