Andreas Gampe
bb5454b6db
Build: Add module-level product configuration of sanitization
...
To allow special sanitizer settings for modules shared between
products, add product-specific module settings.
This was copied from the product-specific dexopt settings.
Bug: 29498013
Change-Id: I17a96b975bb6ac7f4ffb3d5b08e2f00b21bd97a1
2016-06-27 15:15:31 -07:00
Alex Light
4e358ab2c3
Add system_other partition, install odex files
...
For AB devices, support flashing two system partitions for factory use.
The normal system image on one partition, but without dex preopt. And a
system_other image that just contains the odex files. The dex files will
not be stripped out of the system image, in case the second system
partition is wiped.
Setting BOARD_USES_SYSTEM_OTHER_ODEX := true in the BoardConfig.mk
enables this behavior.
One can control which directories are placed in system_other by the
SYSTEM_OTHER_ODEX_FILTER configuration variable. Currently we default
to only copying only app and priv-app odexs.
Bug: 29278988
Change-Id: I7f4e87da919e7dc6a89fd8c668193cd4e98631bc
2016-06-24 11:07:15 -07:00
Ian Pedowitz
47383ac698
Merge "Revert "Revert "Revert "Removing N from PLATFORM_VERSION_ALL_CODENAMES"""" into nyc-mr1-dev
2016-06-24 17:53:00 +00:00
Ian Pedowitz
266600b639
Revert "Revert "Revert "Removing N from PLATFORM_VERSION_ALL_CODENAMES"""
...
This reverts commit 369efe3d84
.
Bug: 29117805
Bug: 28809789
Bug: 29621988
Change-Id: Icd9e01d4cbd3f769237702f5df287eb61c7527cd
2016-06-24 17:52:29 +00:00
Ian Pedowitz
7b352c1d70
Merge "Revert "Revert "Removing N from PLATFORM_VERSION_ALL_CODENAMES""" into nyc-mr1-dev
2016-06-23 22:00:24 +00:00
Daniel Micay
012144fc09
Merge \\\"disable unpriv perf by default in user{,debug} builds\\\" into mnc-dev am: 11c84f95fb
am: a0c61fc832
...
am: 3cceebf11e
Change-Id: Ia91276546041b5e36ddeeb4d855d8efac6101da5
2016-06-23 21:10:35 +00:00
Jeffrey Vander Stoep
3cceebf11e
Merge \\"disable unpriv perf by default in user{,debug} builds\\" into mnc-dev am: 11c84f95fb
...
am: a0c61fc832
Change-Id: I3eb533e3084fe53f1739a0428ffe5ff583b1ba91
2016-06-23 21:07:28 +00:00
Daniel Micay
a0c61fc832
Merge \"disable unpriv perf by default in user{,debug} builds\" into mnc-dev
...
am: 11c84f95fb
Change-Id: Ic82b49068c2d6c834bafb01ea3f698bb9e84d1ac
2016-06-23 21:04:53 +00:00
Jeffrey Vander Stoep
11c84f95fb
Merge "disable unpriv perf by default in user{,debug} builds" into mnc-dev
2016-06-23 21:00:04 +00:00
Ian Pedowitz
369efe3d84
Revert "Revert "Removing N from PLATFORM_VERSION_ALL_CODENAMES""
...
This reverts commit dc15ebc26c
.
Fixes: 29117805
Bug: 28809789
Change-Id: I52ff3d0450928bfdc3035c1e9991741c7bcf14d0
2016-06-23 19:09:46 +00:00
TreeHugger Robot
fbe2eedb28
Merge changes Ib4412657,I73e6d479 into nyc-mr1-dev
...
* changes:
Build: Add option to restrict sanitization by owner
Build: Add option to restrict sanitization by architecture
2016-06-23 02:30:21 +00:00
Andreas Gampe
ea38d8e95d
Build: Add option to restrict sanitization by owner
...
Add Make variable SANITIZE_NEVER_BY_OWNER to selectively
sanitize modules. By default, both are being sanitized. The
value of the variable is interpreted as a space or colon
separated list of owner names.
This can be used to create builds that lower the sanitization
burden by not sanitizing parts of the platform.
Bug: 29498013
Change-Id: Ib4412657fd38ff28a5c0863eddc2acde63c88ebb
2016-06-22 17:33:51 -07:00
Dan Willemsen
048f56dfce
Extract prebuilt APKs from zip files
...
Since APKs are zip files, embedded APKs in other APKs can be extracted,
installed, then optimized.
DPI-based filenames can be used if LOCAL_DPI_VARIANTS is set.
Bug: 29179775
Change-Id: Iab6388111522114ce9dc07057d59e3a89394cd6f
2016-06-22 14:25:53 -07:00
Zach Jang
113239bed6
resolve merge conflicts of 12db224
to lmp-mr1-dev am: 0c672afc40
am: cf51c6cb29
am: cbf1e2cc94
am: 9fc3cf7ba2
am: 3749025ccb
am: e7bc1542db
am: 1be6c69524
...
am: 1f87a820ad
Change-Id: I7fa8b6b8fc732a24d3c058d02a5568abab52028b
2016-06-22 01:46:17 +00:00
Zach Jang
1f87a820ad
resolve merge conflicts of 12db224
to lmp-mr1-dev am: 0c672afc40
am: cf51c6cb29
am: cbf1e2cc94
am: 9fc3cf7ba2
am: 3749025ccb
am: e7bc1542db
...
am: 1be6c69524
Change-Id: If5d6ea4889550f45ef2a8f0ebf53a1e656c39010
2016-06-22 01:43:47 +00:00
Zach Jang
1be6c69524
resolve merge conflicts of 12db224
to lmp-mr1-dev am: 0c672afc40
am: cf51c6cb29
am: cbf1e2cc94
am: 9fc3cf7ba2
am: 3749025ccb
...
am: e7bc1542db
Change-Id: I316c25839b0e111bda05ba586733e3712eda5a32
2016-06-22 01:41:13 +00:00
Zach Jang
e7bc1542db
resolve merge conflicts of 12db224
to lmp-mr1-dev am: 0c672afc40
am: cf51c6cb29
am: cbf1e2cc94
am: 9fc3cf7ba2
...
am: 3749025ccb
Change-Id: Idadb32ede7b3699e0db8ce632d37e7d2cf99e82b
2016-06-22 01:38:31 +00:00
Zach Jang
3749025ccb
resolve merge conflicts of 12db224
to lmp-mr1-dev am: 0c672afc40
am: cf51c6cb29
am: cbf1e2cc94
...
am: 9fc3cf7ba2
Change-Id: Idcd5da62fd7c36da94af3a15f35d179e1a3940f2
2016-06-22 01:35:58 +00:00
Zach Jang
9fc3cf7ba2
resolve merge conflicts of 12db224
to lmp-mr1-dev am: 0c672afc40
am: cf51c6cb29
...
am: cbf1e2cc94
Change-Id: I72cff95d6f8878b5d3707f0b0f9c0541c89b9aa5
2016-06-22 01:33:23 +00:00
Zach Jang
cbf1e2cc94
resolve merge conflicts of 12db224
to lmp-mr1-dev am: 0c672afc40
...
am: cf51c6cb29
Change-Id: Id5206a36ff4cee1de3e15f9d5efc64ee731434ee
2016-06-22 01:30:23 +00:00
Zach Jang
cf51c6cb29
resolve merge conflicts of 12db224
to lmp-mr1-dev
...
am: 0c672afc40
Change-Id: Ibfaa4fa1c68fff09bbee52855a99e296bb603d45
2016-06-22 01:27:49 +00:00
Zach Jang
0c672afc40
resolve merge conflicts of 12db224
to lmp-mr1-dev
...
Change-Id: I8ef3cd2c1d9eb2e4aefe3c678f0a6bb0fdf74c29
2016-06-21 18:23:46 -07:00
Zach Jang
12db224269
resolve merge conflicts of 24cfbfa
to lmp-dev
...
Change-Id: I5a634582647d154238c5d5bc07ccf1d0fa869132
2016-06-21 18:13:17 -07:00
Zach Jang
24cfbfabb7
Updating security string to 2016-08-05 am: 5b14c1f7ce
...
am: 26acdf0c13
Change-Id: I5fa856d2a68d672f314f36c315c3f1857fd386ba
2016-06-22 00:44:33 +00:00
Zach Jang
26acdf0c13
Updating security string to 2016-08-05
...
am: 5b14c1f7ce
Change-Id: I5b2665a6e208d676169b33c08c6761d9de8b8320
2016-06-22 00:41:51 +00:00
Badhri Jagan Sridharan
3bcc137b49
Add build variant to kernel command line
...
Verity is not enabled in eng builds. Pass the build variant so
that kernel does not try to enable verity in eng builds
BUG:29276559
Change-Id: I7f412196ac59aa63e91c21d825ad15bae9f51691
2016-06-21 13:14:14 -07:00
Andreas Gampe
0290a416c8
Build: Add option to restrict sanitization by architecture
...
Add Make variable SANITIZE_ARCH to selectively sanitize binaries.
This uses the "bitness," i.e., 32 or 64, to potentially filter
the sanitization. By default, both are being sanitized.
This can be used to create builds that lower the sanitization
burden by not sanitizing "half" of the platform.
Bug: 29498013
Change-Id: I73e6d479f08a970ba912f4f63967d32f3487125f
2016-06-20 17:44:40 -07:00
Zach Jang
5b14c1f7ce
Updating security string to 2016-08-05
...
b/29513589
Change-Id: I5ab4a0aa9d26a95dd0e85d87dcc487867b3f284b
2016-06-20 14:30:52 -07:00
Mohamad Ayyash
423862500b
resolve merge conflicts of 8ebbc4e
to nyc-mr1-dev
...
Change-Id: I2349bb3fede317487227b16cb7c7b093a93a3876
2016-06-16 13:11:45 -07:00
Mohamad Ayyash
8ebbc4e7e2
Merge "squashfs: make disable-4k-align a parameter" into nyc-dev
2016-06-16 16:24:34 +00:00
Mohamad Ayyash
1b6d3485fc
squashfs: make disable-4k-align a parameter
...
BUG: 29388879
Change-Id: I121d2b76db5fb269e2f7152abb2e78098437a0d5
Signed-off-by: Mohamad Ayyash <mkayyash@google.com >
2016-06-15 16:37:21 -07:00
Jeff Hao
23fde1f020
Skip uses-library check for preopted apps.
...
am: b00263f96a
Change-Id: I216faedc383fa289df564ba73e7ae093dad1517c
2016-06-14 02:15:40 +00:00
Jeff Hao
b00263f96a
Skip uses-library check for preopted apps.
...
Bug: 26880306
Change-Id: I97c75cceca30624b5f0c984a5032fdfaf632a90a
2016-06-13 17:32:06 -07:00
Daniel Micay
c20df7057d
disable unpriv perf by default in user{,debug} builds
...
(Cherry picked from commit f2ac912b19
)
Bug: 29054680
Change-Id: If04bc63fc366006cde842a50b7c764f89d7449a6
2016-06-12 21:19:56 +00:00
Tao Bao
c3c17534da
Track the name change for wipe_ab.
...
Bug: 27253717
Change-Id: I0d4c91e99267afdc4846ea50e602a2383898b9b4
2016-06-10 10:14:14 -07:00
Vineeta Srivastava
323f0f9407
Whitelist verizon as local module owner.
...
Change-Id: I807ac61688e6f5862de521e3c9b960dd64eed1f6
2016-06-09 11:12:52 -07:00
Ian Pedowitz
dc15ebc26c
Revert "Removing N from PLATFORM_VERSION_ALL_CODENAMES"
...
This reverts commit 5fcdec083e
.
Bug: 29194920
Bug: 28809789
2016-06-07 20:24:13 -07:00
Ian Pedowitz
0c822614f5
Merge \"Removing N from PLATFORM_VERSION_ALL_CODENAMES\" into nyc-dev
...
am: ddc0c5e0a0
Change-Id: I9c08a086b508b78ddecc53e0aae08d25460f0595
2016-06-08 03:09:44 +00:00
Ian Pedowitz
ddc0c5e0a0
Merge "Removing N from PLATFORM_VERSION_ALL_CODENAMES" into nyc-dev
2016-06-08 03:05:40 +00:00
Gustav Sennton
61e811370d
Merge "Add variable PRODUCT_SHIPPING_API_LEVEL." into nyc-dev
...
am: 837b86aa56
* commit '837b86aa5696fea28a0acfde7361a3c5d5824624':
Add variable PRODUCT_SHIPPING_API_LEVEL.
Change-Id: I8beb5632ed9db8cade04bf8792b5874f761c039e
2016-06-07 16:32:33 +00:00
Gustav Sennton
837b86aa56
Merge "Add variable PRODUCT_SHIPPING_API_LEVEL." into nyc-dev
2016-06-07 16:21:16 +00:00
Ian Pedowitz
7a50757731
NYC is 7.0
...
Bug: 29056633
Change-Id: Ib0186c5affd16b5223ba547b2cfff49d830dac1c
2016-06-06 17:08:18 +00:00
Ian Pedowitz
5fcdec083e
Removing N from PLATFORM_VERSION_ALL_CODENAMES
...
Change-Id: I328dfa703faf2bd3232f68102d5c7f4b379df030
Fixes: 29117805
2016-06-06 10:06:39 -07:00
Ian Pedowitz
637c0192fc
resolve merge conflicts of f2304ce
to nyc-mr1-dev
...
Change-Id: I0a2777aaf06ab70a1b0dfe96ff6ba6b165b0101b
2016-06-03 12:33:43 -07:00
Ian Pedowitz
216b1ed2f5
Merge "Revert "Revert "Setting PLATFORM_VERSION(_CODENAME)? to NMR1""" into nyc-mr1-dev
2016-06-03 18:11:03 +00:00
Ian Pedowitz
f2304ce367
NYC is now REL
...
PLATFORM_VERSION_ALL_CODENAMES needs to include N for now
Bug: 28810934
Bug: 29117805
Change-Id: Ibf44e1e02077e7830d9bf92b87fb8ccae029c121
2016-06-03 09:40:41 -07:00
Gustav Sennton
81ee18670d
Add variable PRODUCT_SHIPPING_API_LEVEL.
...
PRODUCT_SHIPPING_API_LEVEL declares which API level a device first
shipped with.
We use this variable to set a read-only property that can be used in
CTS/GTS tests.
Bug: 26381401
Change-Id: I9dfeaf423146c35f57e69ac26c27e8a9e205bc4f
2016-06-03 09:11:34 +00:00
Tao Bao
6af05e733c
Merge "Add support for TARGET_RECOVERY_BRICK." into nyc-mr1-dev
2016-06-02 21:46:07 +00:00
Daniel Micay
02ab355d1c
disable unpriv perf by default in user{,debug} builds
...
am: 888a623881
* commit '888a6238810b4c3c00108cb92f9755e74acd9ecf':
disable unpriv perf by default in user{,debug} builds
Change-Id: Ifd28052fe19232461afe26bbde7be42f7f11d9fb
2016-06-02 02:05:15 +00:00
Daniel Micay
888a623881
disable unpriv perf by default in user{,debug} builds
...
(Cherry picked from commit fe01f56c0d5c42508e1e82f5976e4c10bb00f632)
Bug: 29054680
Change-Id: If04bc63fc366006cde842a50b7c764f89d7449a6
2016-06-01 17:01:18 -07:00