Commit Graph

56109 Commits

Author SHA1 Message Date
Steven Moreland f60192a2c8 Merge "Update SANITIZE_HOST documentation."
am: 43e0b54458

Change-Id: Idc1301efd7ef7b67f71c1595eb464038bff2c344
2019-09-27 13:22:25 -07:00
Steven Moreland 43e0b54458 Merge "Update SANITIZE_HOST documentation." 2019-09-27 19:59:07 +00:00
Steven Moreland 115d1f58d7 Update SANITIZE_HOST documentation.
Should be set to 'address' not 'true'.

Bug: N/A
Test: `hmm`
Change-Id: I29c0105f0b29c51a6e3d7ce75756d7d25b7fc7e7
2019-09-27 19:20:33 +00:00
Steve Muckle e1b1086ef3 add vendor_boot image support
The vendor_boot partition is generated by mkbootimg and contains all the
device-specific information that used to reside in the boot partition.

Bug: 137297791
Change-Id: I5b005097b73f59857c3a2f92d693b3e67ee8424e
2019-09-27 10:26:00 -07:00
Kiyoung Kim 7b04103fb9 Add library list for VNDK using core variant
Some device requires VNDK_USING_CORE_VARIANT list, but it was not
implemented in previous. Adding this library list to the build target so
it can be added to system image.

Bug: 141695559
Test: m -j passed & Tested from Cuttlefish
Change-Id: Ic6847fd1966d4e1884cdce97015c8c1d1e0f3422
2019-09-27 14:02:31 +09:00
Yifan Hong 72a1367d5b Add virtual_ab to dynamic_partitions_info.txt
... so that it can be used during OTA package generation.

Bug: 141720569
Test: apply virtual A/B OTA
Change-Id: I3a1df1afb7676eed6d22be49270354119bfb5a75
2019-09-26 18:22:46 -07:00
Chih-Hung Hsieh 9b33986ed5 Merge "Fix severity of analyzer warnings; add new warnings." am: c6df895a21
am: 8c688ae02f

Change-Id: Ic088a565c30d3dcffb5520d8f321965759401aa9
2019-09-26 16:05:46 -07:00
Chih-Hung Hsieh 8c688ae02f Merge "Fix severity of analyzer warnings; add new warnings."
am: c6df895a21

Change-Id: Ie8a9392488abab30604f50e418dc19a2493941ac
2019-09-26 15:59:14 -07:00
Treehugger Robot c6df895a21 Merge "Fix severity of analyzer warnings; add new warnings." 2019-09-26 22:28:26 +00:00
Chih-Hung Hsieh 83980501d9 Fix severity of analyzer warnings; add new warnings.
* The following were high severity warnings but mistakenly
  grouped into analyzer warnings in a recent change.
        clang-analyzer-unix.Malloc
        clang-analyzer-cplusplus.NewDeleteLeaks
        clang-analyzer-cplusplus.NewDelete
* Add new Protoc and Kotlin warnings about unused imports and variables.

Bug: 141493530
Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Change-Id: Ied1f9ace97f29fba58a40dff2346a0391ab22f06
2019-09-26 12:14:32 -07:00
Steven Moreland 8670bf586f Merge "Detect leaks on host by default." am: c600707e99
am: d281d175fe

Change-Id: Iebf36a6287de596f1b48e69a76453237532a2035
2019-09-26 12:06:07 -07:00
Steven Moreland d281d175fe Merge "Detect leaks on host by default."
am: c600707e99

Change-Id: I54fa43a7be2cb61c89bb998ed4a7b93ff106a0e8
2019-09-26 11:55:26 -07:00
Steven Moreland c600707e99 Merge "Detect leaks on host by default." 2019-09-26 18:48:54 +00:00
Tri Vo 4c38fd4901 Merge "Remove ashmemd and related artifacts" am: a59a948d62
am: 9c35393a71

Change-Id: I213ffdac59d9dc850b15a0a670502edb0c938370
2019-09-26 11:47:19 -07:00
Tri Vo 9c35393a71 Merge "Remove ashmemd and related artifacts"
am: a59a948d62

Change-Id: Ib3928a5b7e687725d5277ba1597e0ea60ffca989
2019-09-26 11:34:59 -07:00
Treehugger Robot a59a948d62 Merge "Remove ashmemd and related artifacts" 2019-09-26 17:56:53 +00:00
Jooyung Han 52a0f10640 Merge "cleanup: remove unused variable" am: 90c7163e7e
am: ff6182497e

Change-Id: Id29e17c00a3dbca3adc41b366f9dd0fc9f2b9c61
2019-09-26 10:05:56 -07:00
Jooyung Han ff6182497e Merge "cleanup: remove unused variable"
am: 90c7163e7e

Change-Id: Ibabf6ca0cd7ca8d7f3ff48cc3979dae240568176
2019-09-26 09:59:29 -07:00
Treehugger Robot 90c7163e7e Merge "cleanup: remove unused variable" 2019-09-26 16:42:41 +00:00
Yifan Hong fd85c6066d Merge "Add snapshotctl to base system" am: 066539f1cd
am: edd50a663f

Change-Id: Ib7623f24e732d9e050cacaf87a090749588861fe
2019-09-25 17:22:00 -07:00
Chih-Hung Hsieh e52d507b15 Merge "Factor out common code in Java warn patterns." am: 9a59f33db5
am: f660ae7c39

Change-Id: I51838e9b064e7d32f790e98b21bca0da11432064
2019-09-25 17:19:46 -07:00
Yifan Hong edd50a663f Merge "Add snapshotctl to base system"
am: 066539f1cd

Change-Id: I02667ffe9a07fb2fc974c9fa3203ee7bfa103656
2019-09-25 17:15:09 -07:00
Chih-Hung Hsieh f660ae7c39 Merge "Factor out common code in Java warn patterns."
am: 9a59f33db5

Change-Id: Id0c5f901eefb9a8ee761917d7379edc05e244c81
2019-09-25 17:12:45 -07:00
Yifan Hong 066539f1cd Merge "Add snapshotctl to base system" 2019-09-26 00:01:57 +00:00
Treehugger Robot 9a59f33db5 Merge "Factor out common code in Java warn patterns." 2019-09-25 23:41:03 +00:00
Steven Moreland a2c1d2b4d0 Remove libhidltransport/libhwbinder from VNDK.
Since they are empty.

Bug: 135686713
Test: builds
Change-Id: Ic7206bfc4fb3ba481ea025eb709054c6b8fc307d
2019-09-25 14:58:06 -07:00
Chih-Hung Hsieh 790020437d Factor out common code in Java warn patterns.
* Some comments are kept to reduce diff artifacts.
* Warning patterns will be separated by tools later,
  to make it easier to share code with Chromium and
  other build tools.

Bug: 141493530
Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Change-Id: I6b589478cf5ae73940b4712d9faabd0909546f02
2019-09-25 13:39:41 -07:00
Dongwon Kang 8f3072eb0e Merge "Remove libvorbisdec, which is not used in /system, from base_system.mk" am: b9d1c27d59
am: e88fe25175

Change-Id: I97f13ef9f9df1f97ec9629f95f991ef5f6cb4cb5
2019-09-25 12:07:30 -07:00
Dongwon Kang e88fe25175 Merge "Remove libvorbisdec, which is not used in /system, from base_system.mk"
am: b9d1c27d59

Change-Id: Ie049bcc21bd8f9541645d6136ed7210493e2023d
2019-09-25 12:00:30 -07:00
Dongwon Kang b9d1c27d59 Merge "Remove libvorbisdec, which is not used in /system, from base_system.mk" 2019-09-25 18:50:11 +00:00
Chih-hung Hsieh 05e64b71a9 Merge "Add new compiler warning patterns" am: 415186a71c
am: 0bfc7e1f31

Change-Id: I1c49a6272c8b369ba3df608c0555001d0b9b465f
2019-09-25 10:30:18 -07:00
Chih-hung Hsieh 0bfc7e1f31 Merge "Add new compiler warning patterns"
am: 415186a71c

Change-Id: I6c7513804b78b80afbea0998d9a3333c5c40cd52
2019-09-25 10:22:56 -07:00
Chih-hung Hsieh 415186a71c Merge "Add new compiler warning patterns" 2019-09-25 17:00:36 +00:00
Paul Duffin 6af6730caf Merge "Replace use of conscrypt-nojarjar with conscrypt-unbundled" am: e19b7471ae
am: d31af7a80d

Change-Id: I656dc1af1c0a6aa54f3e433d7b2e6c8e0304d0e9
2019-09-25 03:21:49 -07:00
Paul Duffin d31af7a80d Merge "Replace use of conscrypt-nojarjar with conscrypt-unbundled"
am: e19b7471ae

Change-Id: I562693ba5f3effb5bb1db86a26c542aea69db06a
2019-09-25 03:15:26 -07:00
Paul Duffin e19b7471ae Merge "Replace use of conscrypt-nojarjar with conscrypt-unbundled" 2019-09-25 09:58:56 +00:00
Bowgo Tsai 60fa97b19c Merge "Moving "persist.traced.enable" to /product/build.prop" am: ca3d0b1872
am: 1c2efea5a3

Change-Id: Id293daf924e546583bd6e2edf6bcf3187e2761fa
2019-09-24 18:53:28 -07:00
Dongwon Kang dabb8684f6 Remove libvorbisdec, which is not used in /system, from base_system.mk
Test: build and boot. Checked libvorbisdec.so is not in /system/lib[64]
Bug: 141257741
Change-Id: Ic016c5a552fb2e7e59ac237e4112132da86128d3
2019-09-24 18:52:44 -07:00
Bowgo Tsai 1c2efea5a3 Merge "Moving "persist.traced.enable" to /product/build.prop"
am: ca3d0b1872

Change-Id: I5dcb9fcfd47004c0950b98f348c04096711e43c8
2019-09-24 18:45:59 -07:00
Jooyung Han f251232bb1 cleanup: remove unused variable
removing an unused variable: vndk_snapshot_configs_out in
core/tasks/vndk.mk

Test: m vndk
Change-Id: I2dc76ec7e41c8b1e818ecd056526a8c61a18da92
2019-09-25 10:33:58 +09:00
Steven Moreland 8f0a62ab3f Detect leaks on host by default.
Right now, leaks are disabled globally on host. This is problematic
because:
a). people write leaks in new code
b). if we fix leaks in old code, it doesn't get tested
c). fixing leaks in old code is harder because when we set
    ASAN_OPTIONS="" locally, other targets start hitting errors,
    and we have to set __asan_default_options there

Fixes: 141313466
Test: host ASAN build passes
Change-Id: I89298c7518c016e6a30884c75d7b791db16a5217
2019-09-24 18:28:39 -07:00
Treehugger Robot ca3d0b1872 Merge "Moving "persist.traced.enable" to /product/build.prop" 2019-09-25 01:25:34 +00:00
Tri Vo 55f2896442 Remove ashmemd and related artifacts
Bug: 139855428
Test: n/a
Change-Id: Ia0dcfc47d4792c7265a884b787a788ab80442a8e
2019-09-24 15:03:22 -07:00
Chih-Hung Hsieh d591a5e012 Add new compiler warning patterns
* Add Kotlin, NDK, Protoc, Asm, and other new patterns.
* Put all clang-analyzer warnings to the ANALYZER severity group.
  Some security and null pointer warnings still have HIGH severity.
* Comment out old C/C++ warnings that overlap with analyzer
  warnings and do not appear in current build.log.
* Other old fixed warning patterns should be commented out later.

Bug: 141493530
Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Change-Id: Idc7b09e5e4eefa127d41e9f37da1f566ed1ede1f
2019-09-24 14:52:09 -07:00
Przemyslaw Szczepaniak 67af0fe81b Merge "Add libneuralnetworks_packageinfo to dependencies." am: 465946c5a8
am: d373f68700

Change-Id: I15a0a09bc55a9c08eea80487296843b6eee56c2b
2019-09-24 08:30:42 -07:00
Przemyslaw Szczepaniak d373f68700 Merge "Add libneuralnetworks_packageinfo to dependencies."
am: 465946c5a8

Change-Id: Ib9aa9530b321dd09990f7a69ce9adfb34d57d450
2019-09-24 08:24:40 -07:00
Anton Hansson 301beccb24 Merge "Improve error message for artifacts outside requirement" am: 82a8507e17
am: 67b4485ee7

Change-Id: I60d370386ee1f8235b11b0af61b1678ad5553e2b
2019-09-24 08:12:28 -07:00
Przemyslaw Szczepaniak 465946c5a8 Merge "Add libneuralnetworks_packageinfo to dependencies." 2019-09-24 15:08:09 +00:00
Anton Hansson 67b4485ee7 Merge "Improve error message for artifacts outside requirement"
am: 82a8507e17

Change-Id: I8d49c6b2231147086439f9969fa18c67141621f3
2019-09-24 08:05:58 -07:00
Treehugger Robot 82a8507e17 Merge "Improve error message for artifacts outside requirement" 2019-09-24 14:49:29 +00:00