Commit Graph

11733 Commits

Author SHA1 Message Date
Anton Hansson a9ff887f48 Merge "Write out module owner for prebuilt_etc" am: 0c1fabbb32 am: b765cf67fb
am: 1283de522f

Change-Id: I9986c058a84dce2bba9a813eebbe2954c88ad8dc
2019-02-04 10:01:31 -08:00
Anton Hansson 1283de522f Merge "Write out module owner for prebuilt_etc" am: 0c1fabbb32
am: b765cf67fb

Change-Id: Ia4d037885247bc9a8e6305186845bed9c7237b84
2019-02-04 09:57:28 -08:00
Anton Hansson b765cf67fb Merge "Write out module owner for prebuilt_etc"
am: 0c1fabbb32

Change-Id: I6fdac63fa5fdb818a48dc59d60db2e16e02b59ed
2019-02-04 09:51:26 -08:00
Anton Hansson 0c1fabbb32 Merge "Write out module owner for prebuilt_etc" 2019-02-04 17:35:43 +00:00
Kostya Kortchinsky d0ed8fd59d Add option to disable Scudo globally [Soong]
This adds an option in Soong to turn off Scudo globally.

Bug: 123228023
Test: enable Scudo for tombstoned, lunch marlin_svelte-eng && m -j, and
make sure that Scudo is not linked in
out/target/product/marlin/system/bin/tombstoned
Test: enable Scudo for tombstoned, lunch marlin-userdebug && m -j, and
make sure that Scudo is linked in
out/target/product/marlin/system/bin/tombstoned

Change-Id: I0b0992446953fc4074bde94507b66f92764c8143
2019-02-04 15:43:21 +00:00
Anton Hansson ce0e258977 Write out module owner for prebuilt_etc
Translate owner: "x" into LOCAL_MODULE_OWNER := x in prebuilt_etc
rules.

Test: unit test in CL exercised with m nothing
Change-Id: Ic177b61e6f685f7a0263129a34acdf0bd46d16c2
2019-02-04 14:20:43 +00:00
Jiyong Park adb6afbf0b Use bootstrap linker for asan build am: a2aca28750 am: 03f7c2110c
am: 3e07ecd3ec

Change-Id: I07f93958bd33eb38e51ffb845baea1c5fc8373a5
2019-02-03 07:45:24 -08:00
Jiyong Park 3e07ecd3ec Use bootstrap linker for asan build am: a2aca28750
am: 03f7c2110c

Change-Id: I8aff17397c03c11ffc8bf380e99a6f22e732b9b2
2019-02-03 07:41:18 -08:00
Jiyong Park 03f7c2110c Use bootstrap linker for asan build
am: a2aca28750

Change-Id: I6b45d6863a72be558fda41faf4ac1d315f1066e1
2019-02-03 07:37:16 -08:00
Jiyong Park a2aca28750 Use bootstrap linker for asan build
This change the asan version of
https://android-review.googlesource.com/c/platform/build/soong/+/879237

Bug: 123725034
Test: forrest run on asan_cf_x86_pasan
Test: SANITIZE_TARGET=address m init_second_stage
inspect /system/bin/init with readelf
DT_INTERP is set to /system/bin/bootstrap/linker_asan

Change-Id: I0fabe08cc63126aadec18ca8e9f2973c33411a4f
2019-02-02 13:28:57 +09:00
Evgenii Stepanov 99ef1573ee [hwasan] Remove deprecated compiler flag (NFC) am: 93c3f5368d am: a60c43aa23
am: f69f7ccea0

Change-Id: I5872f7af2a86b35a8aa85a165ed05690125e7abb
2019-02-01 19:04:49 -08:00
Evgenii Stepanov f69f7ccea0 [hwasan] Remove deprecated compiler flag (NFC) am: 93c3f5368d
am: a60c43aa23

Change-Id: I291e86f0a08d03026bb563159f75d1d5d258845f
2019-02-01 19:00:45 -08:00
Evgenii Stepanov a60c43aa23 [hwasan] Remove deprecated compiler flag (NFC)
am: 93c3f5368d

Change-Id: I0f2de3a2db53d8a2a963711aaae4fe1a53407ee3
2019-02-01 18:56:43 -08:00
Evgenii Stepanov 93c3f5368d [hwasan] Remove deprecated compiler flag (NFC)
-hwasan-with-ifunc=0 matches the default value of the flag, and there
are no plans to change that.

Test: SANITIZE_TARGET=hwaddress keeps working
Change-Id: Ie46ffa6ae3c42a9677c3a9a3b5cdc6fb62c2c2f0
2019-02-01 22:56:03 +00:00
Pirama Arumuga Nainar 2933c50de6 Merge "Switch to clang-r349610" am: 42b87a2e56 am: 8edd1c3632
am: 06b240368e

Change-Id: I22b72f4a260e0438248da7a1401b61a49b1dc26a
2019-02-01 12:14:22 -08:00
Pirama Arumuga Nainar 06b240368e Merge "Switch to clang-r349610" am: 42b87a2e56
am: 8edd1c3632

Change-Id: I92713c576b5c9c9bf7ee16d0016c0f9aa495a3e7
2019-02-01 11:27:22 -08:00
Pirama Arumuga Nainar 8edd1c3632 Merge "Switch to clang-r349610"
am: 42b87a2e56

Change-Id: If67d4fd64234ae0ab727556121a6a4cc21941631
2019-02-01 11:07:54 -08:00
Pirama Arumuga Nainar 42b87a2e56 Merge "Switch to clang-r349610" 2019-02-01 16:49:36 +00:00
Jiyong Park cb8dad1830 Merge "Fix: runtime apex is not instrumented with sanitizer" am: 101d7600b2 am: 7581398376
am: 6bf77f3ab4

Change-Id: Ie4cd37eeff2c8003c5881f9e070c47517a84fbf8
2019-01-31 22:03:44 -08:00
Jiyong Park 6bf77f3ab4 Merge "Fix: runtime apex is not instrumented with sanitizer" am: 101d7600b2
am: 7581398376

Change-Id: I48a87d35e7779265afb1938f761673608ff91f06
2019-01-31 21:56:40 -08:00
Jiyong Park 7581398376 Merge "Fix: runtime apex is not instrumented with sanitizer"
am: 101d7600b2

Change-Id: I836b00a51dce1626de7f3c01cb349d080a62801f
2019-01-31 21:52:36 -08:00
Jiyong Park 5c11fc3f0c Add unstrippedOutputFilePath to the linker interface am: af6d895941 am: 837c1c1e31
am: dd070fb200

Change-Id: I46d5f3ca118ab5440ecbd8141bacb50b2960652b
2019-01-31 21:46:37 -08:00
Treehugger Robot 101d7600b2 Merge "Fix: runtime apex is not instrumented with sanitizer" 2019-02-01 05:45:22 +00:00
Jiyong Park dd070fb200 Add unstrippedOutputFilePath to the linker interface am: af6d895941
am: 837c1c1e31

Change-Id: Iffe272e5ac3f571b7767d54e880c1f42b487c9da
2019-01-31 21:43:33 -08:00
Jiyong Park 837c1c1e31 Add unstrippedOutputFilePath to the linker interface
am: af6d895941

Change-Id: If00bdc8e45c6f29a8a760ec3edd297d1db2c73a3
2019-01-31 21:38:29 -08:00
Dongwon Kang 5791e94a3f Merge "Add updatable_media_stubs to prevent private API use." 2019-02-01 04:49:13 +00:00
Jiyong Park 8222663f1b Fix: runtime apex is not instrumented with sanitizer
Fixing the problem that IsSanitizerEnabled always returns false due to
the different sanitizer names from config.SanitizerDevice() and
sanitizerType.String().

Bug: 123708856
Test: SANITIZE_TARGET=hwaddress m com.android.runtime.release
$ ls -al out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_hwasan_com.android.runtime.release/image.apex/lib | wc -l
34
$ ls -al out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_hwasan_com.android.runtime.release/image.apex/lib64 | wc -l
35
$ ls -al out/target/product/blueline/apex/com.android.runtime.release/lib | wc -l
34
$ ls -al out/target/product/blueline/apex/com.android.runtime.release/lib64 | wc -l
35

Test: inspect out/soong/build.ninja
- Variant of com.android.runtime.release is "android_common_hwasan_com.android.runtime.release"
- Dependencies of com.android.runtime.release are hwasan variants: e.g.,
  out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-2a_kryo385_core_shared_hwasan_com.android.runtime.release/libc.so

Test: ls out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_hwasan_com.android.runtime.release/image.apex/lib64/*.so  | xargs readelf -d | grep libclang_rt.hwasan | wc -l
29

Change-Id: Idbb1f68a3ea6bdd02351d6f6048c3eedb9cf32d2
2019-02-01 11:26:04 +09:00
Jiyong Park af6d895941 Add unstrippedOutputFilePath to the linker interface
Test: m
Change-Id: I85a0cbda6ebb9838451ed8c607c2087460b7b742
2019-02-01 11:04:58 +09:00
Alex Light 540a0c2082 Merge changes from topic "libc-bionic" am: df819e6b0c am: 6a36ba0b36
am: e556fda2d0

Change-Id: Ie00bfd6da7b41ff1c02f00532526979f9eba4578
2019-01-31 14:47:32 -08:00
Alex Light 5923238133 Add limited target-specific configuration to apex. am: 9670d332b6 am: 35f38d8c37
am: a904f5eaa4

Change-Id: I439efe1493a157e7c2579fdd19a8aab4e3683ed5
2019-01-31 14:47:13 -08:00
Alex Light e556fda2d0 Merge changes from topic "libc-bionic" am: df819e6b0c
am: 6a36ba0b36

Change-Id: I0873dfa806d13b9033807cc4c58311d8d2ce9a00
2019-01-31 14:43:08 -08:00
Alex Light a904f5eaa4 Add limited target-specific configuration to apex. am: 9670d332b6
am: 35f38d8c37

Change-Id: Iacac59ec8828c469fea4afd16fe91a37d3b4b1e0
2019-01-31 14:42:51 -08:00
Alex Light 6a36ba0b36 Merge changes from topic "libc-bionic"
am: df819e6b0c

Change-Id: I5f8ba1c28204ca8fd558f823c61adc0a459f34d8
2019-01-31 14:39:20 -08:00
Alex Light 35f38d8c37 Add limited target-specific configuration to apex.
am: 9670d332b6

Change-Id: I4fba6b1fd865a189f1ba2227f876d549aa5b92be
2019-01-31 14:38:53 -08:00
Treehugger Robot df819e6b0c Merge changes from topic "libc-bionic"
* changes:
  Give a knob to have apex ignore system-lib special cases
  Add limited target-specific configuration to apex.
2019-01-31 22:24:55 +00:00
Ivan Lozano f68200d308 Merge "XOM dependency check skipping static binaries." am: 2ccd9b83d0 am: 054d752f4a
am: 33c1d15591

Change-Id: I68ba9e5057318e02ba0d286fd3d5d0da78561e3a
2019-01-31 14:02:58 -08:00
Dan Willemsen be151f5d55 Merge "Expand Jiyong's apex OWNERship" am: 2d44f104ee am: 9e7bc599fd
am: 19e2a83d48

Change-Id: I590450b88b79cce622b6d75e8997b356917991f7
2019-01-31 13:58:59 -08:00
Ivan Lozano 33c1d15591 Merge "XOM dependency check skipping static binaries." am: 2ccd9b83d0
am: 054d752f4a

Change-Id: I1d553df12891c101fd5265083b9482ab685f3645
2019-01-31 13:57:03 -08:00
Dan Willemsen 19e2a83d48 Merge "Expand Jiyong's apex OWNERship" am: 2d44f104ee
am: 9e7bc599fd

Change-Id: I955ec710528ab1301565a608306a66d13bd86e94
2019-01-31 13:53:39 -08:00
Ivan Lozano 054d752f4a Merge "XOM dependency check skipping static binaries."
am: 2ccd9b83d0

Change-Id: I002f77ac5d41856f3a19ac4505ca5ee292a6d4d1
2019-01-31 13:50:33 -08:00
Dan Willemsen 9e7bc599fd Merge "Expand Jiyong's apex OWNERship"
am: 2d44f104ee

Change-Id: I8858995ae8d234fe04648c739eb5a5ba2208d61a
2019-01-31 13:48:37 -08:00
Treehugger Robot 2ccd9b83d0 Merge "XOM dependency check skipping static binaries." 2019-01-31 21:42:42 +00:00
Treehugger Robot 2d44f104ee Merge "Expand Jiyong's apex OWNERship" 2019-01-31 21:42:38 +00:00
Dan Willemsen c85b87d751 Merge "Add sh_binary[_host] for shell script that should be installed as executable" am: bfd1830c32 am: f0ad602157
am: d8d66fc214

Change-Id: I6c81463972435906c8e3b5a01a8b40a047d37c77
2019-01-31 13:36:40 -08:00
Dan Willemsen d8d66fc214 Merge "Add sh_binary[_host] for shell script that should be installed as executable" am: bfd1830c32
am: f0ad602157

Change-Id: I8a748154a09fe30540191f3d256e8d1b6c3043c5
2019-01-31 13:32:40 -08:00
Dan Willemsen f0ad602157 Merge "Add sh_binary[_host] for shell script that should be installed as executable"
am: bfd1830c32

Change-Id: I0cbc5c089ce211c8fcc3a74fdc13d5693d971347
2019-01-31 13:28:31 -08:00
Dan Willemsen bfd1830c32 Merge "Add sh_binary[_host] for shell script that should be installed as executable" 2019-01-31 21:18:55 +00:00
Insun Kang 234338609b Add updatable_media_stubs to prevent private API use.
Bug: 123551910, Bug: 123253805
Test: build
Change-Id: Id46ff05fa01db726d613ee2299b0c27921c88aae
2019-01-31 13:12:39 -08:00
Dan Willemsen 5e2e3ef846 Expand Jiyong's apex OWNERship
There's more to apex than just apex.go

Change-Id: I6603db10c43148c4f17fb9d3b762400472b32526
2019-01-31 18:57:00 +00:00
Alex Light fc0bd7c15b Give a knob to have apex ignore system-lib special cases
apex will normally place libc and some other system libraries into a
separate directory. This is to ensure that early startup works
correctly. Some apex targets want to have these libraries at the
normal places however.

Test: ./art/tools/build_linux_bionic.sh com.android.runtime.host
Bug: 123591866
Bug: 120266448
Change-Id: Ib5a67a43fe3eea6188b4df9215e743f1634045f3
2019-01-31 10:53:02 -08:00