TreeHugger Robot
0b95cfdd52
Merge "Add the honggfuzz binary as a dependency and keep symbols"
2018-01-25 07:05:31 +00:00
Jaekyun Seok
d1b1d594a5
Merge "Support /product partition" am: 8fe7f9bfa2 am: 039e0991d5
...
am: f430ea5ebf
Change-Id: I91381c19408afc350ba7cecf2ca6daf0881f9abd
2018-01-25 04:16:57 +00:00
Jaekyun Seok
f430ea5ebf
Merge "Support /product partition" am: 8fe7f9bfa2
...
am: 039e0991d5
Change-Id: I325ae6518c55f1fc310233a5f67ce3df1ae4940f
2018-01-25 04:11:49 +00:00
Alexey Polyudov
a536ecab89
Merge "Fix syntax error in makefile soong namespaces handling" am: 01b873b2de am: 683fa28a6a
...
am: 43202e527a
Change-Id: Ibe5b0f6901eb83dce647734aedfe5e593b7d854e
2018-01-25 03:59:08 +00:00
Jaekyun Seok
8fe7f9bfa2
Merge "Support /product partition"
2018-01-25 03:53:37 +00:00
Alexey Polyudov
43202e527a
Merge "Fix syntax error in makefile soong namespaces handling" am: 01b873b2de
...
am: 683fa28a6a
Change-Id: I6ff2416c6c49c83d8f270d83767fe2ce27d8075f
2018-01-25 03:50:00 +00:00
Alexey Polyudov
ea55e8c86c
Fix syntax error in makefile soong namespaces handling
...
Change-Id: I5254f7877422e23f3c3b69f37f1be849a12e296a
Signed-off-by: Alexey Polyudov <apolyudov@google.com >
2018-01-24 17:01:21 -08:00
Jaekyun Seok
b7735d8105
Support /product partition
...
This CL adds the following build flags to support building product partition
from Android build system.
- BOARD_AVB_PRODUCT_ADD_HASHTREE_FOOTER_ARGS
- BOARD_AVB_PRODUCT_KEY_PATH
- BOARD_AVB_PRODUCT_ALGORITHM
- BOARD_AVB_PRODUCT_ROLLBACK_INDEX_LOCATION
- BOARD_PREBUILT_PRODUCTIMAGE
- BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT
- BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE
- BOARD_PRODUCTIMAGE_PARTITION_SIZE
- BOARD_PRODUCTIMAGE_SQUASHFS_BLOCK_SIZE
- BOARD_PRODUCTIMAGE_SQUASHFS_COMPRESSOR
- BOARD_PRODUCTIMAGE_SQUASHFS_COMPRESSOR_OPT
- BOARD_PRODUCTIMAGE_SQUASHFS_DISABLE_4K_ALIGN
- BOARD_USES_PRODUCTIMAGE
- LOCAL_PRODUCT_MODULE
- PRODUCT_FOOTER_ARGS
- PRODUCT_PRODUCT_BASE_FS_PATH
- PRODUCT_PRODUCT_VERITY_PARTITION
- TARGET_COPY_OUT_PRODUCT
- TARGET_OUT_PRODUCT*
And PRODUCT_PRODUCT_PROPERTIES is added to save product-specific
properties in /product/build.prop.
Bug: 64195575
Test: succeeded building product.img with BOARD_PRODUCTIMAGE_PARTITION_SIZE,
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE and PRODUCT_PRODUCT_VERITY_PARTITION.
Change-Id: I774e6a38003734421591e51bed103802ff84f432
2018-01-25 09:33:58 +09:00
Zach Riggle
bcfa37e317
Add the honggfuzz binary as a dependency and keep symbols
...
This way honggfuzz is rebuilt if it has changed, when building a fuzzer.
Separately, keeping the symbols in the fuzzer binary is useful for crash triage.
Change-Id: I2fc5ca64ccf66d084158580da74e5397aa61c250
2018-01-24 23:50:46 +00:00
David Brazdil
ae6915ead0
Add hidden API list file variables
...
Add variables for the hidden API blacklist and dark and light greylist
files. These are text files with signatures of boot class path class
member with restricted access for non-platform code.
Bug: 64382372
Test: m
Change-Id: I5639c5269872ac626efc69bd3a374a7a7125d502
2018-01-24 20:48:54 +00:00
Nicolas Geoffray
e3e19f0dfa
For prebuilts, use the built_module for nostripping dexpreopt.
...
Earlier, we would use the prebuilt directly, which doesn't go through
build optimizations like uncompressing the dex files.
bug: 63920015
Test: m -j32 && verify priv-apps prebuilt's vdex don't contain
the dex code.
Change-Id: I1a69d3b6832e3a940616f71a95c13091a4220b4b
2018-01-24 15:20:33 +00:00
Przemyslaw Szczepaniak
08a11a771c
Enforce deprecation policy for apps.
...
Android platform drops support for apps that target a
very old API level. Apps targeting version earlier than
Android Jelly Bean MR1 (2012) will show a warning dialog
when starting an activity.
Test: atest CtsActivityManagerDeviceTestCases:DeprecatedTargetSdkTest
Bug: 63926630
Change-Id: Ia849d67339d5172c09960725b6b1e200df0307d1
2018-01-24 13:58:49 +00:00
Jin Qian
95873268f3
Merge "Add BOARD_EXT4_SHARE_DUP_BLOCKS to share duplicated blocks on ext4" am: 082837365d am: b6ff980ba5
...
am: 931d76e1c4
Change-Id: I8bfcd310517c8814907e55b1a328c29392612872
2018-01-24 04:21:38 +00:00
Jin Qian
931d76e1c4
Merge "Add BOARD_EXT4_SHARE_DUP_BLOCKS to share duplicated blocks on ext4" am: 082837365d
...
am: b6ff980ba5
Change-Id: If48c84eae8f4a447e63c6b32e0c43758b8271242
2018-01-24 04:19:35 +00:00
Treehugger Robot
082837365d
Merge "Add BOARD_EXT4_SHARE_DUP_BLOCKS to share duplicated blocks on ext4"
2018-01-24 04:10:42 +00:00
Jiyong Park
487b149382
Merge "Don't use old VNDK and SystemSDK versions for new devices" am: 3fcaecec8a am: b50e47cbc4
...
am: 42bb3a2ddf
Change-Id: I3a291a22ffdff76e3cf5796a554ba537e855a2f9
2018-01-24 02:39:48 +00:00
Jiyong Park
42bb3a2ddf
Merge "Don't use old VNDK and SystemSDK versions for new devices" am: 3fcaecec8a
...
am: b50e47cbc4
Change-Id: Ieb49f4a2363d2b38b2cb512e97ed828e22790e2a
2018-01-24 02:37:21 +00:00
Treehugger Robot
3fcaecec8a
Merge "Don't use old VNDK and SystemSDK versions for new devices"
2018-01-24 02:25:38 +00:00
Jiyong Park
95f9313445
Don't use old VNDK and SystemSDK versions for new devices
...
We need to prevent vendors from using old VNDK and SystemSDK versions
for newly launched device. Otherwise, deprecating old versions of the
APIs would be really difficult.
Specifically, it is enforced that
PRODUCT_SHIPPING_API_LEVEL <= BOARD_VNDK_VERSION
PRODUCT_SHIPPING_API_LEVEL <= min(BOARD_SYSTEMSDK_VERSIONS)
Bug: 72126206
Test: manually setting BOARD_VNDK_VERSION to 24 in
device/google/wahoo/BoardConfig.mk and choosecom to walleye
Test: m -j shows an error on BOARD_VNDK_VERSION
Test: BOARD_SYSTEMSDK_VERSION="25 26" m -j shows an error on
BOARD_SYSTEMSDK_VERSION
Change-Id: I17646487a9c77a6a5110749e22ba47f0f75920cf
2018-01-24 09:59:09 +09:00
Søren Gjesse
06c7f0db25
Merge "Revert "Enable R8 by default (fifth attempt)""
2018-01-23 19:50:53 +00:00
Jiyong Park
d8432e2384
Merge "Add PLATFORM_SYSTEMSDK_VERSIONS and BOARD_SYSTEMSDK_VERSIONS" am: ae891fb19e am: 4de1dc97c0
...
am: 2c975edc0e
Change-Id: I41a3895bd273acf41481659782d0c9b410b24ea0
2018-01-23 19:00:02 +00:00
Jiyong Park
2c975edc0e
Merge "Add PLATFORM_SYSTEMSDK_VERSIONS and BOARD_SYSTEMSDK_VERSIONS" am: ae891fb19e
...
am: 4de1dc97c0
Change-Id: Ie3104726801d314058c059691e2fef77da07e9e7
2018-01-23 18:47:21 +00:00
Søren Gjesse
ca48094d03
Revert "Enable R8 by default (fifth attempt)"
...
This reverts commit 1d4e668cf9 .
Reason for revert: b/72373167
Change-Id: I913869aed9061aae8da18165b3a3167a52bad486
2018-01-23 16:18:23 +00:00
Søren Gjesse
f97f420e6a
Merge "Enable R8 by default (fifth attempt)"
2018-01-23 04:56:47 +00:00
Treehugger Robot
ae891fb19e
Merge "Add PLATFORM_SYSTEMSDK_VERSIONS and BOARD_SYSTEMSDK_VERSIONS"
2018-01-23 03:35:19 +00:00
Jin Qian
fde9f7906b
Add BOARD_EXT4_SHARE_DUP_BLOCKS to share duplicated blocks on ext4
...
This option applies to system.img and vendor.img.
Bug: 64109868
Change-Id: Ib4c7384049dca08e57441ef71cc81c2fba4462dd
2018-01-22 17:21:11 -08:00
Nicolas Geoffray
e166291e64
Merge "Don't strip for eng builds." am: 12c68db516 am: abfb75d66f
...
am: d1cca1967c
Change-Id: I79ef1e95e3cda2f839a0cc2ec9103844d4b8c909
2018-01-22 20:24:15 +00:00
Nicolas Geoffray
d1cca1967c
Merge "Don't strip for eng builds." am: 12c68db516
...
am: abfb75d66f
Change-Id: Ie8dae5e16e66f6478813e116cf8c4fe99130b1bb
2018-01-22 20:08:58 +00:00
Treehugger Robot
12c68db516
Merge "Don't strip for eng builds."
2018-01-22 19:51:12 +00:00
Søren Gjesse
1d4e668cf9
Enable R8 by default (fifth attempt)
...
Fixed bugs which was discovered in the last attempt.
Bug: 70878367
Test: m -j PRODUCT-taimen-userdebug
Test: Check that some .vdex files built have R8 generated code
Change-Id: Ib08a0bf8daac8898b09755bf0cb3d89c81c2b09e
2018-01-22 17:37:05 +01:00
Nicolas Geoffray
ed6ee7b64d
Don't strip for eng builds.
...
bug: 72150787
Test: m
Change-Id: Ifdd403dfecb440e32c4d0c00a7543820b2098359
2018-01-22 15:07:37 +00:00
Nicolas Geoffray
c218a41c20
Merge "Tighter control of stripping in dex_preopt_odex_install." am: ec1fdc8813 am: ef29a15ac4
...
am: aa9a2e4af9
Change-Id: I622998242a20d8f4f8ee9fb2e0856180db44efe0
2018-01-22 13:49:33 +00:00
Nicolas Geoffray
aa9a2e4af9
Merge "Tighter control of stripping in dex_preopt_odex_install." am: ec1fdc8813
...
am: ef29a15ac4
Change-Id: I5cf557499126024d31df39435adac32675b19012
2018-01-22 13:47:03 +00:00
Nicolas Geoffray
ec1fdc8813
Merge "Tighter control of stripping in dex_preopt_odex_install."
2018-01-22 13:37:56 +00:00
Tobias Thierer
1d160f630c
Merge "Experimental feature: LOCAL_PATCH_MODULE option in .mk files." am: 4bb18a8a2e am: 38d784f152
...
am: 33130f97e3
Change-Id: Idb30848c98b01a4fec8c6afdaac56899fb0f8d5f
2018-01-22 11:48:35 +00:00
Tobias Thierer
33130f97e3
Merge "Experimental feature: LOCAL_PATCH_MODULE option in .mk files." am: 4bb18a8a2e
...
am: 38d784f152
Change-Id: I8f52e67380ee8c32993d9122ab17c9683a7bbb5b
2018-01-22 11:43:26 +00:00
Tobias Thierer
4bb18a8a2e
Merge "Experimental feature: LOCAL_PATCH_MODULE option in .mk files."
2018-01-22 11:34:18 +00:00
David Brazdil
b6c4635641
Merge "Add new API file names" am: 33bb091971 am: 6410668278
...
am: d0c9593802
Change-Id: I0dbdbc4391f321b527f99f73684bee89f4819729
2018-01-20 11:39:16 +00:00
David Brazdil
d0c9593802
Merge "Add new API file names" am: 33bb091971
...
am: 6410668278
Change-Id: Ib505b504f508332be5b7913b490b64348ebf5066
2018-01-20 11:29:28 +00:00
David Brazdil
33bb091971
Merge "Add new API file names"
2018-01-20 10:06:22 +00:00
Ivan Lozano
a6477c91d4
Merge "Revert "Overflow sanitization in frameworks/ and system/."" am: a663b8fb1c am: f67c4bbcd8
...
am: a29ee1591c
Change-Id: Ifacfc96012324abe060e50417847e73a8572c727
2018-01-20 04:05:35 +00:00
Ivan Lozano
a29ee1591c
Merge "Revert "Overflow sanitization in frameworks/ and system/."" am: a663b8fb1c
...
am: f67c4bbcd8
Change-Id: Ib09cff9930ffa6e86e1117e36e5355ff2192f20c
2018-01-20 04:02:58 +00:00
Treehugger Robot
a663b8fb1c
Merge "Revert "Overflow sanitization in frameworks/ and system/.""
2018-01-20 03:54:23 +00:00
Denis Vnukov
0af9f0aa8c
Merge "Revert "Enable R8 by default (fourth attempt)""
2018-01-20 01:54:40 +00:00
Ivan Lozano
c5ef21febf
Revert "Overflow sanitization in frameworks/ and system/."
...
This reverts commit c2d7db1c7d .
Change-Id: I3bab6a359bcec605a8120bf106bf121090eb63fe
2018-01-20 01:44:11 +00:00
Alex Klyubin
ad4c8fd0f6
Merge "Reland: Add boot.art.rel files to system image" am: 00844ccf77 am: dd9dc9b749
...
am: f7cb74004c
Change-Id: If95789ce57b3b852d04ab5206c28f13a01f12e2f
2018-01-20 01:16:08 +00:00
Alex Klyubin
f7cb74004c
Merge "Reland: Add boot.art.rel files to system image" am: 00844ccf77
...
am: dd9dc9b749
Change-Id: I5d7a2d0a2504c5fb1db94ad0f40ecd2b97aa78ff
2018-01-20 01:13:33 +00:00
Denis Vnukov
37572f2dfe
Revert "Enable R8 by default (fourth attempt)"
...
This reverts commit a7e1f92533 .
Reason for revert: R8 seems to be a reason for b/72218788.
Change-Id: Ia2f12775b37537cb21036c4bdd5504af8344e830
2018-01-19 23:13:30 +00:00
Alex Klyubin
a1b5dfe151
Reland: Add boot.art.rel files to system image
...
This file is used to verify that all differences between /system
boot*.art and /data/dalvik-cache boot*.art only consist of relocation
changes. The goal is to mitigate /data/dalvik-cache boot*.art files
being a persistence vector.
Test: Build and ensure boot.art.rel files are on the image.
Bug: 66697305
Change-Id: I68c445da46b2d3099ee347a04af4fbb84da85b0d
2018-01-19 14:34:32 -08:00
Andreas Gampe
039bb48f72
Build: Do not treat org.apache.http.legacy.boot as boot classpath
...
For compilation purposes, treat org.apache.http.legacy.boot as
a regular java library, so it gets standalone-preopted.
This is a workaround until the module is properly removed from
the boot classpath, at which point it should be reverted.
Bug: 18027885
Bug: 72167111
Test: m
Test: manual
Change-Id: Ifadcd1d1e754ce215b96369623ea154d3c3321eb
2018-01-19 10:59:16 -08:00