Commit graph

55759 commits

Author SHA1 Message Date
Treehugger Robot
4ad561c6f8 Merge "recovery: install system_ext file_contexts and property_contexts" 2019-10-01 02:25:50 +00:00
Steven Moreland
6e0cde8c98 Remove libhidltransport/libhwbinder from VNDK.
Since they are empty.

Bug: 135686713
Test: builds
Change-Id: Ic7206bfc4fb3ba481ea025eb709054c6b8fc307d
(cherry picked from commit 344e791de74c1de8df770b6189988e2224e1b948)
2019-10-01 01:40:09 +00:00
Mitch Phillips
caa3e38aab Merge "Add phony rule for 'fuzz' in Make context, not soong." am: 0fee5b9d55
am: 0f13936988

Change-Id: I30321ca1da962bf9006d410f8c1bdea69c23286c
2019-09-30 14:01:47 -07:00
Mitch Phillips
0f13936988 Merge "Add phony rule for 'fuzz' in Make context, not soong."
am: 0fee5b9d55

Change-Id: I9d9db5ab452df2c7eb7ff6773227c734662ad236
2019-09-30 13:54:47 -07:00
Treehugger Robot
0fee5b9d55 Merge "Add phony rule for 'fuzz' in Make context, not soong." 2019-09-30 20:24:19 +00:00
Pete Bentley
e28c732521 Install BoringSSL self test binaries to vendor image.
Required in order to run test self test for the vendor copy of
libcrypto.so which may differ from the one in /system and so will use
differently name flag files in order to avoid running the BoringSSL
Known Answer Tests on every process startup, impacting system health.

Bug: 141150335
Test: TH
Change-Id: I1db922379a59fa66fc65b6d92d370f33a2c65799
Merged-In: I1db922379a59fa66fc65b6d92d370f33a2c65799
(cherry picked from commit e3ab8eab25)
2019-09-30 20:38:05 +01:00
Jesse Pai
d004692025 Generation of C Flags Artifacts
Modifications made to make/core to handle new C Flags build variables which
store which module uses which flag.
C Flags build variables generated by Soong.

Bug: 140442588
Test: Executed m dist and presubmit
Change-Id: I4c730b9dba27672c6a9f75cf35beaf6311174af0
2019-09-30 16:24:35 +00:00
Kiyoung Kim
ee63d8fbbc Merge "Add library list for VNDK using core variant" am: 1f9387ae01
am: 24dc38bed9

Change-Id: If76bd330b6546f077bf375e6f2cfd02110bb77de
2019-09-29 19:17:32 -07:00
Kiyoung Kim
24dc38bed9 Merge "Add library list for VNDK using core variant"
am: 1f9387ae01

Change-Id: Ic97255f7031e5275e2decbbf5fc40d06c86ca3ba
2019-09-29 18:59:08 -07:00
Kiyoung Kim
1f9387ae01 Merge "Add library list for VNDK using core variant" 2019-09-30 01:51:26 +00:00
Bowgo Tsai
07365dfb08 recovery: install system_ext file_contexts and property_contexts
System Ext partition is not mounted in recovery mode. Install
system_ext_file_contexts and system_ext_property_contexts into
rootdir for recovery. This is similar to how we deal with system,
product, vendor, odm *_contexts files.

Bug: 137712473
Test: m bootimage for pixel 2, system_ext_file_contexts and
      system-ext_property_contexts appear in $OUT/recovery/root/
Change-Id: I94b965d775e727fbbe26c8b715bbce3ca6179fa7
2019-09-28 09:09:37 +08:00
Steve Muckle
aa75882e48 Merge "add vendor_boot image support" am: 1623ec97f1
am: a65046ad3d

Change-Id: I6ebec1446dec0c9251706a0dae129ff3187fb024
2019-09-27 14:30:55 -07:00
Steve Muckle
a65046ad3d Merge "add vendor_boot image support"
am: 1623ec97f1

Change-Id: I25761b8c37d8795741a82dcf50e88c9037a5ba83
2019-09-27 14:24:25 -07:00
Treehugger Robot
1623ec97f1 Merge "add vendor_boot image support" 2019-09-27 21:07:24 +00:00
Mitch Phillips
ceefc44008 Add phony rule for 'fuzz' in Make context, not soong.
Allows us to use dist-for-goals and produce the fuzz target packages as
part of a normal dist.

Bug: 141026328
Test: m dist fuzz
Change-Id: Idffa879eb11266bfce18e0f9164e7ef80769cbc2
2019-09-27 13:58:01 -07:00
Steven Moreland
84db34b01b Merge "Update SANITIZE_HOST documentation." am: 43e0b54458
am: f60192a2c8

Change-Id: I73f3d96039b9ea9957de57ace2509209b403c87d
2019-09-27 13:28:53 -07:00
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