Commit Graph

16019 Commits

Author SHA1 Message Date
Jaekyun Seok
c227ce7c25 Enable BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED for full-treble products
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED can be true only if early-mount of
partitions is supported. But the early-mount must be supported for full
treble products, and so BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED should be
set by default for full treble products.

Additionally this CL sets ro.vndk.version regardless of
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED.

Bug: 73078796
Test: tested with walleye
Change-Id: Icfe1b6957b55b0f9261d34d7e92db3dc5073cb58
2018-02-08 11:49:16 +09:00
Yifan Hong
dff13526f4 Merge changes from topic "vintf_matrix_sepolicy" am: 058d6c2d1e am: 832c80d05b
am: 95a7d377a3

Change-Id: Ib574e20fceed10feadc96e7768355b024bf8a368
2018-02-07 23:21:30 +00:00
Yifan Hong
95a7d377a3 Merge changes from topic "vintf_matrix_sepolicy" am: 058d6c2d1e
am: 832c80d05b

Change-Id: I0878571a42e9d49d673d3b2ca257c64793e3b5a8
2018-02-07 22:53:32 +00:00
Treehugger Robot
058d6c2d1e Merge changes from topic "vintf_matrix_sepolicy"
* changes:
  core/config.mk: Add PLATFORM_SEPOLICY_COMPAT_VERSIONS
  Move PLATFORM_SEPOLICY_VERSION from system/sepolicy/Android.mk
2018-02-07 22:32:44 +00:00
Simran Basi
a132154c18 build: Default test modules to null-suite
The LOCAL_COMPATIBILITY_SUITE tag is used to package tests and
auto-generate test configs for use in the test infrastructure
and locally by atest.

Rather than update hundreds of makefiles across the tree, this
change adds significant atest support to many unittests.

Bug: 73000943, 72969679, 71510529
Test: `atest NotificationStressTests` works as expected.
Change-Id: I1b0a779b8366aee4b4df98181267f72fcb68916a
2018-02-07 11:57:22 -08:00
Luis Hector Chavez
440da2d41a Make mksquashfs generate a fs_config-friendly root entry
This change adds a flag so that the mksquashfs wrapper scripts generate
an entry that is fs_config-friendly for the root inode. Namely, the root
entry is expected to have an empty filename.

Bug: 72745016
Test: m -j100 dist
Change-Id: Iebdf79c5af0b9d999b7e5f5fe240abfe52cbadda
2018-02-07 10:22:52 -08:00
Søren Gjesse
afb02f5306 Merge "Revert "Enable R8 by default (sixth attempt)"" 2018-02-07 14:43:22 +00:00
Søren Gjesse
b5c255ccf4 Revert "Enable R8 by default (sixth attempt)"
This reverts commit 52dd2f8f8e.

Reason for revert: Build failure for NexusLauncherRelease

Change-Id: I4bec5dd1842f78ec1905a99d1338dc0e2dd20aca
2018-02-07 14:37:29 +00:00
Søren Gjesse
8ce4b71085 Merge "Enable R8 by default (sixth attempt)" 2018-02-07 13:23:29 +00:00
Sundong Ahn
39a9e08ba8 Merge "Change the naming policy of system_$(VER)" am: 9f14cf2e49 am: 3826e0c889
am: d226e81d9b

Change-Id: Icd9cc0f6426eae809a1c89302d2307e5abedd0dd
2018-02-07 09:01:51 +00:00
Sundong Ahn
d226e81d9b Merge "Change the naming policy of system_$(VER)" am: 9f14cf2e49
am: 3826e0c889

Change-Id: Id54caf53af5fc949c800f4b74b6cc65fc3376aeb
2018-02-07 06:36:29 +00:00
Sundong Ahn
7a02001fa9 Change the naming policy of system_$(VER)
The module name of system_$(VER) prebuilt file is system_sdk_v$(VER).
But this is inconsistent with sdk_v$(LOCAL_SDK_VERSION) in prebuilts/sdk.
So, system_sdk_v$(VER) is changed to sdk_vsystem_$(VER) to use the same
naming policy.

Bug: 72031391
Test: build
Change-Id: I379c0f9aa0de7407489eeec2b07ee7727e81d69d
2018-02-07 03:37:24 +00:00
Simran Basi
004a0a65d3 Merge "LOCAL_HOST_REQUIRED_MODULES support" am: 9ffbc10126 am: 79a2a1e889
am: 605ab4554a

Change-Id: I8fbe0440de103f1d2c539a39aabd5cad92fb717c
2018-02-07 02:43:01 +00:00
Isaac Chen
585c2960b8 Merge "Add ro.vendor.product.cpu.* to vendor/build.prop" am: b943fb63bf am: f82423f012
am: 1b9a60bae5

Change-Id: I7e03498399edafd4ad298a65bf594bab0ab1f9ed
2018-02-07 02:42:24 +00:00
Simran Basi
605ab4554a Merge "LOCAL_HOST_REQUIRED_MODULES support" am: 9ffbc10126
am: 79a2a1e889

Change-Id: Ide6abb89c676bcf8785e60e4f798740b835cbede
2018-02-07 02:39:18 +00:00
Isaac Chen
1b9a60bae5 Merge "Add ro.vendor.product.cpu.* to vendor/build.prop" am: b943fb63bf
am: f82423f012

Change-Id: I9616a508c120625ddd07fbed2dd5705f78e4be83
2018-02-07 02:25:23 +00:00
Treehugger Robot
9ffbc10126 Merge "LOCAL_HOST_REQUIRED_MODULES support" 2018-02-07 01:57:18 +00:00
Isaac Chen
b943fb63bf Merge "Add ro.vendor.product.cpu.* to vendor/build.prop" 2018-02-07 01:57:12 +00:00
Jiyong Park
1f4e7fbe9d Merge "Support LOCAL_SDK_VERSION := core_current" am: c82c0a81ec am: d2e7e0d33d
am: efc3f4d130

Change-Id: I13ab7399a47443dd1aa8766416ad30efcb443d7e
2018-02-07 01:30:05 +00:00
Jiyong Park
efc3f4d130 Merge "Support LOCAL_SDK_VERSION := core_current" am: c82c0a81ec
am: d2e7e0d33d

Change-Id: I032bab45c6b9cab33b13b99a4a40cba89583702f
2018-02-06 23:45:23 +00:00
Dan Willemsen
246a7ee4cc Merge "Replace $(shell find | sort) with $(sort $(shell find))" am: 9f573a420e am: 0991eed377
am: 5c1bb42d60

Change-Id: I088e34a44d2b31c341c840fd59b886a99edc9661
2018-02-06 22:59:45 +00:00
Dan Willemsen
5c1bb42d60 Merge "Replace $(shell find | sort) with $(sort $(shell find))" am: 9f573a420e
am: 0991eed377

Change-Id: Ia9e6dfb7ed502dab698e7dfddd5c1de3c1651f87
2018-02-06 22:51:42 +00:00
Treehugger Robot
c82c0a81ec Merge "Support LOCAL_SDK_VERSION := core_current" 2018-02-06 22:37:16 +00:00
Simran Basi
893098b06c LOCAL_HOST_REQUIRED_MODULES support
Allows target modules to directly request host modules they
require to be built and installed as well.

Bug: 72761631
Test: Added LOCAL_HOST_REQUIRED_MODULES to a target apk test and
      the host module was built.

Change-Id: I5aca11b3ba8b54676f068d337f1c9ba0e0b01997
2018-02-06 14:18:45 -08:00
Treehugger Robot
9f573a420e Merge "Replace $(shell find | sort) with $(sort $(shell find))" 2018-02-06 21:21:08 +00:00
Stephen Hines
45f4db3859 Merge "Switch to clang-4579689." am: f733f896d3 am: 9144cd3fe6
am: 50a02c420c

Change-Id: Idfc71f17bcc51554717dc46b9e80c07415df193b
2018-02-06 19:10:27 +00:00
Stephen Hines
50a02c420c Merge "Switch to clang-4579689." am: f733f896d3
am: 9144cd3fe6

Change-Id: I8075c412cd42ff7a0e4695ec519cfbc555d368df
2018-02-06 19:03:41 +00:00
Stephen Hines
f733f896d3 Merge "Switch to clang-4579689." 2018-02-06 18:35:41 +00:00
James Lemieux
e61ffeb90b Merge "Clear local robolectric testing variables" am: 08ba09ed7f am: 815658efe9
am: 1e321d46a6

Change-Id: I9336f4ad9f47b437acaf09757a7820a7c23ff75f
2018-02-06 17:09:41 +00:00
James Lemieux
1e321d46a6 Merge "Clear local robolectric testing variables" am: 08ba09ed7f
am: 815658efe9

Change-Id: I09a955583e13744bc5f5d4a4c7ee16d2f8807a4f
2018-02-06 17:05:30 +00:00
Treehugger Robot
08ba09ed7f Merge "Clear local robolectric testing variables" 2018-02-06 16:55:09 +00:00
Søren Gjesse
52dd2f8f8e Enable R8 by default (sixth attempt)
Fixed bugs which was discovered in the last attempt.

Bug: 72373167
Bug: 72391662

Test: m -j PRODUCT-taimen-userdebug
Test: Check that some .vdex files built have R8 generated code
Change-Id: I89aaed9a4156748a513d6ee0284068b8a3c52322
2018-02-06 17:30:32 +01:00
Dan Willemsen
be0b6cee4f Replace $(shell find | sort) with $(sort $(shell find))
Kati's find emulator doesn't understand "| sort", so use use the make
function instead so that we can emulate the find commands.

 before: *kati*: shell time (regen): 1.316989 / 187
 after:  *kati*: shell time (regen): 1.249748 / 184

The time has a lot of variance, the important change is the reduction in
number of shell commands. Kati has other issues with some of these (it
doesn't support find's implicit -a), which is why it only goes down by
3. I'll be fixing Kati separately to handle those cases.

Test: diff out/build-aosp_taimen.ninja before&after
Change-Id: I5c8c2993f01a8a6af84963e903a8a0c186a61e82
2018-02-05 23:07:58 -08:00
Yifan Hong
2c2a24421a Merge "Move system manifest / device matrix build rules" am: fe34c5b52c am: 6e79817411
am: 19687f25f0

Change-Id: I897635ade816d146f41ef3a3421e16446e9d0252
2018-02-06 02:29:27 +00:00
Yifan Hong
19687f25f0 Merge "Move system manifest / device matrix build rules" am: fe34c5b52c
am: 6e79817411

Change-Id: I1590e890c63218451c4ecf56d5526c9edda38e1d
2018-02-06 02:21:50 +00:00
Yifan Hong
9bf93017d4 core/config.mk: Add PLATFORM_SEPOLICY_COMPAT_VERSIONS
This is a list of sepolicy versions that the framework supports.

Test: build framework compatibility matrix
Test: boots

Bug: 67920434
Change-Id: I82365742172b653eadb7b5315398e06cace4e000
2018-02-05 15:55:11 -08:00
Yifan Hong
8f4547cde9 Move PLATFORM_SEPOLICY_VERSION from system/sepolicy/Android.mk
Test: builds
Bug: 67920434
Change-Id: I3b29fd188e755039a1fcf4814c578a2220567bf1
2018-02-05 15:55:11 -08:00
James Lemieux
bb426739ce Clear local robolectric testing variables
This prevents them from mistakenly bleeding between test targets.

Bug: 72384841
Test: make Run_TeleService_robotests
Change-Id: Ie2c047be1450420f8e27b8b45e9416e96b477b45
2018-02-05 15:39:18 -08:00
Bowgo Tsai
66f0285f4d Merge "Renames sepolicy files from nonplat_* to vendor_*" am: 8b35ac67b2 am: 7d4299612b
am: 310f79ae18

Change-Id: I5a0101b1552f20b492bb94b3f5a5f2d6e6642306
2018-02-05 17:53:06 +00:00
Bowgo Tsai
310f79ae18 Merge "Renames sepolicy files from nonplat_* to vendor_*" am: 8b35ac67b2
am: 7d4299612b

Change-Id: I422ba433034a4b5746029f224b271da3cdceafea
2018-02-05 17:49:57 +00:00
Bowgo Tsai
09f88a6b88 Renames sepolicy files from nonplat_* to vendor_*
Bug: 64240127
Test: boot bullhead/taimen
2018-02-05 18:22:45 +08:00
Bowgo Tsai
90f5adfbbf Merge "Revert "Renames sepolicy files from nonplat_* to vendor_*"" am: 8a6ab0f240 am: 6703b82a0c
am: 5d4cc6de47

Change-Id: Ibe09ff8507355ba58dfd8e5d76d518fc6cc34b34
2018-02-03 10:13:22 +00:00
Bowgo Tsai
5d4cc6de47 Merge "Revert "Renames sepolicy files from nonplat_* to vendor_*"" am: 8a6ab0f240
am: 6703b82a0c

Change-Id: I35f529f1d76418f123ba75e1ca8f42712377e016
2018-02-03 10:09:47 +00:00
Bowgo Tsai
ec7dbbb537 Revert "Renames sepolicy files from nonplat_* to vendor_*"
This reverts commit 8b5f514038.
Fix angler/bullhead boot failure.

Bug: 72787689
Test: build
2018-02-02 07:58:45 +08:00
Yifan Hong
87328762e4 Move system manifest / device matrix build rules
Test: build these files
Change-Id: I6467f4b7ce421358c30ad7a4c72a77dcc2ed3f88
2018-02-01 15:36:40 -08:00
David Brazdil
8c4d521d0d Merge "Revert "Revert "Apply hiddenapi build tool on boot jars""" am: edd4716ff9 am: bc05d3f846
am: 3264b568f3

Change-Id: I21ce7dc6f2d50a96722a197f52e48f13899ede7d
2018-02-01 23:27:09 +00:00
David Brazdil
3264b568f3 Merge "Revert "Revert "Apply hiddenapi build tool on boot jars""" am: edd4716ff9
am: bc05d3f846

Change-Id: I8f196d102137ec2f0c48776a911b495bd1361d74
2018-02-01 19:30:19 +00:00
Yi Kong
421733f693 Switch to clang-4579689.
Bug: 68397894
Test: http://go/clang-4523590-testing
Change-Id: Id3fbac182869e92ab9b7d27d63d9f28c565c7b08
2018-02-01 10:24:04 -08:00
David Brazdil
edd4716ff9 Merge "Revert "Revert "Apply hiddenapi build tool on boot jars""" 2018-02-01 09:25:51 +00:00
Jiyong Park
5ebca30d21 Support LOCAL_SDK_VERSION := core_current
core_current is a pseudo SDK version which is a core Java API subset of
the Android API. It is expected to be mainly used for external Java
projects which are agnostic to Android; such as junit, guava, etc.

A module built with this SDK version can only link to java modules of
the same kind. It can't depend on modules built with LOCAL_SDK_VERSION
:= current or without LOCAL_SDK_VERSION.

Bug: 72206056
Test: m -j
Change-Id: I34a9696393aa6704fd6684a40ea5b05d3fb46b23
2018-02-01 17:14:55 +09:00