Dan Albert
2a8fabf0e9
Remove legacy NDK code. am: fac114b9a5
...
am: 1c48700978
Change-Id: I4f69c89b36db1eeffffb93b37a19cd70ea17e869
2018-11-28 08:37:22 -08:00
Dan Albert
7c53ee4920
Merge changes from topic "update-prebuilts-r18b"
...
am: f9e2c3f5d7
Change-Id: Ie4722fb5971ddff0c1a1acf11eda464ca4f01916
2018-11-28 08:30:20 -08:00
Dan Albert
1c48700978
Remove legacy NDK code.
...
am: fac114b9a5
Change-Id: I3f6917f8accb5b0139dc476efdd6491c2ed01cb0
2018-11-28 08:29:32 -08:00
Dan Albert
fac114b9a5
Remove legacy NDK code.
...
Test: make checkbuild
Bug: None
Change-Id: Ib25e851b5ac25e918c5e20d79348c6d705bddeb2
2018-11-27 13:58:18 -08:00
Dan Albert
90b9bbc5dc
Don't use libandroid_support post-21.
...
Test: m checkbuild
Bug: http://b/119587551
Change-Id: I7ee1cdc7c0119dbec0e57522b9b494aeb3c16a43
2018-11-27 13:58:18 -08:00
Steven Moreland
ec252a41c7
Update error message for double loadable libraries. am: 742989eedb
am: 26d78433d9
...
am: 3bcc1ef52d
Change-Id: I935c65fce145c85218bd7f9c1f0af0084fead6b9
2018-11-26 17:32:16 -08:00
Steven Moreland
3bcc1ef52d
Update error message for double loadable libraries. am: 742989eedb
...
am: 26d78433d9
Change-Id: I03f928b5917c5d29423f45db14ed052f4f2a8912
2018-11-26 17:01:24 -08:00
Steven Moreland
26d78433d9
Update error message for double loadable libraries.
...
am: 742989eedb
Change-Id: Ifef31df477a5837023e03093f00c034f8ace0624
2018-11-26 16:12:51 -08:00
Steven Moreland
742989eedb
Update error message for double loadable libraries.
...
Before it just mentioned 'double_loadable', but in this context,
LL-NDK and VNDK-SP libraries also work.
Bug: 119790516
Test: N/A
Change-Id: Ie09a959fd5e05b9cb73db30d3cc2853694577dfe
2018-11-26 12:41:04 -08:00
Ivan Lozano
ad67a79f2c
Add support for AArch64 XOM binaries. am: 074ec480ef
am: 3cddda31af
...
am: f6b5e80ff6
Change-Id: I61ea8598ecceb737984440d7c26c05ab7c6f7a7b
2018-11-21 15:07:57 -08:00
Ivan Lozano
f6b5e80ff6
Add support for AArch64 XOM binaries. am: 074ec480ef
...
am: 3cddda31af
Change-Id: Ifd8eaaaf3de98c04ba755480d3d97799f22fd318
2018-11-21 15:00:00 -08:00
Ivan Lozano
3cddda31af
Add support for AArch64 XOM binaries.
...
am: 074ec480ef
Change-Id: I95e1033f75f5157b30676bf9cf9b7870595e9fdc
2018-11-21 14:39:38 -08:00
Ivan Lozano
074ec480ef
Add support for AArch64 XOM binaries.
...
Adds build system support for generating AArch64 binaries with
execute-only memory layouts via a new xom module property. Also adds
support for an ENABLE_XOM build flag for global builds.
Bug: 77958880
Test: make -j ENABLE_XOM=true
Change-Id: Ia2ea981498dd12941aaf5ca807648ae37527e3ee
2018-11-21 08:59:37 -08:00
Artem Serov
d3072b0c7c
Support Qualcomm Kryo 385 CPU variant.
...
Support Kryo 385 cpu variant which should be used for
Qualcomm Snapdragon 845.
Motivation:
kryo385 CPU *IS NOT* an Arm Cortex-A75.
Particular problem:
Cortex-A75 CPU must support optional ARMv8.2 dot product
feature; kryo385 CPU (Qualcomm Snapdragon 845) doesn't
support it.
Test: Builds when kryo385 is used as cpu variant.
Test: Pixel 3 boots to GUI with kryo385 as CPU variant
with this patch on AOSP 9.0.0 r16.
Bug: 119564566
Change-Id: I62ffb46b1977b48446c6c1ca1400b1b39f7a8457
2018-11-21 10:15:07 +00:00
Peter Collingbourne
1bd0e00bec
Merge "Add an "scs" flag for enabling shadow call stack on targets." am: 073d687637
am: 54cb7e2824
...
am: ee7c820d61
Change-Id: Ib8cfeeca062d1f3162efb3e44457f8381cbd4f43
2018-11-20 11:01:10 -08:00
Peter Collingbourne
ee7c820d61
Merge "Add an "scs" flag for enabling shadow call stack on targets." am: 073d687637
...
am: 54cb7e2824
Change-Id: I6c1e10e48f4446799afc7f02b1ff6ba9d0e890f4
2018-11-20 10:41:35 -08:00
Peter Collingbourne
54cb7e2824
Merge "Add an "scs" flag for enabling shadow call stack on targets."
...
am: 073d687637
Change-Id: Icc62844c07afc4d69d50cab64a8e44ea8e4a1616
2018-11-20 10:29:35 -08:00
Peter Collingbourne
073d687637
Merge "Add an "scs" flag for enabling shadow call stack on targets."
2018-11-20 18:13:10 +00:00
Dan Willemsen
5bc4894b9e
Add dist support to Soong am: 569edc5f66
am: 6b30a47df4
...
am: bf6ebcd3cf
Change-Id: If36a4f3ae676733b41193d44a35dfe639c8bde44
2018-11-19 19:39:28 -08:00
Dan Willemsen
bf6ebcd3cf
Add dist support to Soong am: 569edc5f66
...
am: 6b30a47df4
Change-Id: Ic138b97024806fb900d1ce4553aced286e5a4853
2018-11-19 19:35:24 -08:00
Dan Willemsen
6b30a47df4
Add dist support to Soong
...
am: 569edc5f66
Change-Id: I5dd92d5deb6fa6591bf167936dc20c96b9f339bc
2018-11-19 19:31:18 -08:00
Peter Collingbourne
8c7e6e2626
Add an "scs" flag for enabling shadow call stack on targets.
...
Shadow call stack (SCS) is a security mitigation that uses a
separate stack (the SCS) for return addresses.
The effect of setting sanitize.scs on a shared library is to build
the library and all of its static library dependencies with SCS. This
is similar to CFI and the other sanitizers.
Bug: 112907825
Bug: 119557795
Change-Id: I82fb2b38b10eac911c4d2d120b74fea4af0622ad
2018-11-19 17:39:23 -08:00
Dan Willemsen
569edc5f66
Add dist support to Soong
...
When dist'ing a library or binary that has use_version_lib set, always
distribute the stamped version, even for the device.
Test: m test_build_version_test dist
Change-Id: I2995ec516b1d182ce18f099aeaa4d186ffbcf01f
2018-11-19 15:26:14 -08:00
Evgenii Stepanov
5bec5589ed
Merge "Apply HWASan to libc-in-recovery." am: 56cb729e82
am: 178bafe6e3
...
am: 415803b957
Change-Id: Id0b65dd94bdfa1b725f86579f49f0cf47829f922
2018-11-19 13:48:01 -08:00
Evgenii Stepanov
415803b957
Merge "Apply HWASan to libc-in-recovery." am: 56cb729e82
...
am: 178bafe6e3
Change-Id: Ic319aae02669f00f92f59bd9e79941458e7fcd7b
2018-11-19 13:23:03 -08:00
Evgenii Stepanov
178bafe6e3
Merge "Apply HWASan to libc-in-recovery."
...
am: 56cb729e82
Change-Id: Idf748bef27075984a7443a4cb810816c2d61815f
2018-11-19 13:07:44 -08:00
Treehugger Robot
56cb729e82
Merge "Apply HWASan to libc-in-recovery."
2018-11-19 20:59:09 +00:00
Colin Cross
d4da41964e
Merge "Use prebuilt llvm-rs-cc for unbundled build" am: 6a8d765843
am: 9bfdf33c04
...
am: 1597147bfa
Change-Id: I7eee8ca029aff3afcfdaaaafc85574bcda688b78
2018-11-19 00:16:20 -08:00
Colin Cross
1597147bfa
Merge "Use prebuilt llvm-rs-cc for unbundled build" am: 6a8d765843
...
am: 9bfdf33c04
Change-Id: I0e836b4d250505e51ffa4fa0827b73d29f381bc5
2018-11-19 00:12:00 -08:00
Colin Cross
9bfdf33c04
Merge "Use prebuilt llvm-rs-cc for unbundled build"
...
am: 6a8d765843
Change-Id: I2367c1ad2ca91152baa32adf093364ce0d8c6275
2018-11-19 00:06:57 -08:00
Treehugger Robot
6a8d765843
Merge "Use prebuilt llvm-rs-cc for unbundled build"
2018-11-19 07:51:24 +00:00
Colin Cross
2548b447f6
Use prebuilt llvm-rs-cc for unbundled build
...
Matches the make logic.
Bug: 117295826
Test: tapas com.android.media && m
Change-Id: Ie97220af9c72540d5f5cfd5f9f9e04f5edfea781
2018-11-18 20:58:10 -08:00
Dan Willemsen
7fd9783c29
Add nanopb-c support am: 60e62f0c44
am: 57625dcbee
...
am: 5a5fd7a70e
Change-Id: I70c4ec69f465d87fbd14a0017d52fb3376be0931
2018-11-17 18:43:42 -08:00
Dan Willemsen
5a5fd7a70e
Add nanopb-c support am: 60e62f0c44
...
am: 57625dcbee
Change-Id: Id70a712d072e0e6c46bb62a1ff87f138d5ad3112
2018-11-17 18:39:20 -08:00
Dan Willemsen
57625dcbee
Add nanopb-c support
...
am: 60e62f0c44
Change-Id: Ie9ff8d3b73931d55458a3498b208233e09e85018
2018-11-17 18:34:00 -08:00
Dan Willemsen
60e62f0c44
Add nanopb-c support
...
Test: cd hardware/ril; mma
Change-Id: Id1481940d15a2a3f6eb29af54ee30080ff2286cb
2018-11-17 15:28:25 -08:00
Dimitry Ivanov
3e1d2e946d
Merge "Enable overrides and add stem library properties" am: 8ba47246c2
am: 3f92691574
...
am: 629b549859
Change-Id: Ia78a006d5262649d60c2feee739300293d1c16df
2018-11-17 01:34:35 -08:00
Dimitry Ivanov
629b549859
Merge "Enable overrides and add stem library properties" am: 8ba47246c2
...
am: 3f92691574
Change-Id: I5a5e8a1a2b7b117a49bf7f24688eee1ceb73fd3f
2018-11-17 01:26:30 -08:00
Dimitry Ivanov
3f92691574
Merge "Enable overrides and add stem library properties"
...
am: 8ba47246c2
Change-Id: I741ec4bc1cd1a367bd195982269ca132bb34ead4
2018-11-17 01:20:13 -08:00
dimitry
d95964a350
Enable overrides and add stem library properties
...
This allows modules to override exiting libraries
with custom implementations.
Bug: http://b/114470065
Test: make
Change-Id: I2692a5416a2620ab2268df8998dd2620074adc1f
2018-11-16 18:45:56 +00:00
Jaewoong Jung
9d150fc1b1
Merge "Revert "Revert "Revert "Revert "Export static libraries.""""" am: 485e6ebb4c
am: ba6c28d35b
...
am: 01265c789f
Change-Id: Ib8130bb83317e4d996c22d9934619f183677abcc
2018-11-16 07:34:37 -08:00
Jaewoong Jung
01265c789f
Merge "Revert "Revert "Revert "Revert "Export static libraries.""""" am: 485e6ebb4c
...
am: ba6c28d35b
Change-Id: I880ef7c271abe6872d4b692ed2ad7a812402a17c
2018-11-16 07:30:34 -08:00
Jaewoong Jung
ba6c28d35b
Merge "Revert "Revert "Revert "Revert "Export static libraries."""""
...
am: 485e6ebb4c
Change-Id: I7c405aa0012941eb6aced74df5773a06ee21d99c
2018-11-16 07:24:34 -08:00
Evgenii Stepanov
1e79844f15
Apply HWASan to libc-in-recovery.
...
HWASan is disabled in recovery strictly for code size, not for
correctness. With this change, HWASan binaries and libraries can be
used in recovery.
The real reason is the make build system which has no idea of the big
picture, and makes it hard to disable HWASan in _all_ recovery modules
recursively. A few static libraries have sneaked in.
Bug: 119582521
Test: sideload an OTA onto a hwasan device
Change-Id: I6536cc7bf5bfb37f939b585545a23c2068fbd47f
2018-11-15 17:34:18 -08:00
Jaewoong Jung
16c7d3d263
Revert "Revert "Revert "Revert "Export static libraries.""""
...
This reverts commit 555c114283
.
Reason for revert: The namespace issue in the pi-dev-plus-aosp-without-vendor branch is now fixed.
Change-Id: I26ed591447797a8ee505f43bdd209162418b6c5e
2018-11-16 01:20:05 +00:00
Colin Cross
87f977fbb3
Merge "Enable benchmarks on darwin" am: 61d5f9a7c7
am: eac11a3c07
...
am: 4f66126874
Change-Id: Ia3f9d256b745f0298be8855c89b197b2d2e13080
2018-11-14 17:23:56 -08:00
Colin Cross
4f66126874
Merge "Enable benchmarks on darwin" am: 61d5f9a7c7
...
am: eac11a3c07
Change-Id: I8e7a15d2cab0687993c67d5fbf84b8d430fe362f
2018-11-14 17:19:50 -08:00
Colin Cross
eac11a3c07
Merge "Enable benchmarks on darwin"
...
am: 61d5f9a7c7
Change-Id: I04ba851f3c088dd5d9c65480f833ae838ff193ef
2018-11-14 17:15:48 -08:00
Treehugger Robot
61d5f9a7c7
Merge "Enable benchmarks on darwin"
2018-11-15 01:09:27 +00:00
mtk15504
981965fda1
Merge "Add to support armv8-2a on 2nd arch. variant" am: 4855c4f460
am: 140673036a
...
am: 65abdb4ccf
Change-Id: I9bf1af5efa2db0d479d77e90e859aa99a309c3a1
2018-11-13 17:24:23 -08:00