Commit Graph

11913 Commits

Author SHA1 Message Date
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
Alex Light 9670d332b6 Add limited target-specific configuration to apex.
Some apex targets need to be able to change their contents based on if
they are host or target or what libc they are using. This adds support
for doing this using the standard 'target: {...}' idiom.

Test: m com.android.runtime.host
Test: ./art/tools/build_linux_bionic.sh com.android.runtime.host
Bug: 123591866
Change-Id: If73bee650cdeb277c0e603763aa0b0108656bfdd
2019-01-31 10:52:57 -08:00
Ivan Lozano 59a7ae9bdf XOM dependency check skipping static binaries.
The execute-only memory dependency check is skipped for static binaries.
Make sure we check dependencies in this case.

Bug: 123603191
Test: readelf on static binary with xom-incompatible dependencies
Change-Id: I7ddd3058811cdf4e9cf862163e1bf5add4981b32
2019-01-31 10:09:13 -08:00
Pirama Arumuga Nainar 03b58e2210 Switch to clang-r349610
Bug: http://b/122481018

The '-keep' option of llvm-strip has changed to '-keep-section'.  Update
scripts/strip.sh accordingly.

Test: Tested on various targets in AOSP and internal branch.  Googlers
      see http://go/clang-r349610-testing
Change-Id: Ibfc97ecdcdc305c97a4169cead1e1e3cddda9c4c
2019-01-31 16:32:34 +00:00
Adrian Roos d8eb4b62cb Merge "Enable last released check for SystemApi" am: d0da240a2d am: 982211ab73
am: aa599d94b3

Change-Id: I1d98edec1768daf5c08929f504a9ae3b4d4a148f
2019-01-31 08:06:06 -08:00
Adrian Roos aa599d94b3 Merge "Enable last released check for SystemApi" am: d0da240a2d
am: 982211ab73

Change-Id: I94c5c7ce3d290c141307b73be200dc1ffef058b7
2019-01-31 07:56:54 -08:00
Adrian Roos 982211ab73 Merge "Enable last released check for SystemApi"
am: d0da240a2d

Change-Id: I2d37f97cafa68366355b14d6b33c94a207a48bba
2019-01-31 07:52:52 -08:00
Treehugger Robot d0da240a2d Merge "Enable last released check for SystemApi" 2019-01-31 15:45:02 +00:00
Victor Chang bf14aed6d9 exclude_shared_libs should exlude headers in {static|shared}.export_*_lib_headers am: 51271c1fb4 am: d48fd64691
am: 9103612cb3

Change-Id: I01e9d181f5fe4bdde8e9a04f06f1f5be3d3c0a17
2019-01-31 03:25:38 -08:00
Anton Hansson 66ddffac64 Merge "Allow excluding specific overlay sub-directories" am: 704595aa60 am: 9764806b86
am: d8d2f99130

Change-Id: Ib01e7bed97f98097bb90391fc3a7d2be276ea113
2019-01-31 03:21:36 -08:00
Victor Chang 9103612cb3 exclude_shared_libs should exlude headers in {static|shared}.export_*_lib_headers am: 51271c1fb4
am: d48fd64691

Change-Id: Ibc088de6e5792c64a434c89066a47750fe9db630
2019-01-31 03:21:35 -08:00
Anton Hansson d8d2f99130 Merge "Allow excluding specific overlay sub-directories" am: 704595aa60
am: 9764806b86

Change-Id: Iefb7972bf28765695daa37980f6be2229f0a4b55
2019-01-31 03:14:34 -08:00
Victor Chang d48fd64691 exclude_shared_libs should exlude headers in {static|shared}.export_*_lib_headers
am: 51271c1fb4

Change-Id: I57a019a97078ebabfc8809b022bd29c35bbf8f06
2019-01-31 03:14:31 -08:00
Anton Hansson 9764806b86 Merge "Allow excluding specific overlay sub-directories"
am: 704595aa60

Change-Id: I2e3ccd839522b443fd21b7f80f7bcc44d5cb2d2b
2019-01-31 03:10:39 -08:00
Victor Chang 51271c1fb4 exclude_shared_libs should exlude headers in {static|shared}.export_*_lib_headers
Bug: 122882789
Test: m droid vts
Change-Id: I33ec75fa908e557eeadc91c5ca1a5e180bc9f31b
2019-01-31 11:05:03 +00:00
Anton Hansson 704595aa60 Merge "Allow excluding specific overlay sub-directories" 2019-01-31 10:52:22 +00:00
Jiyong Park 2e75cd27b2 "bootstrap: true" modules are using bootstrap Bionic am: a4b9dd08c0 am: 356278b9fa
am: 67e52ef256

Change-Id: I5ba4624db185d6955d2fac4d3f4802f251f4dd8e
2019-01-30 21:25:11 -08:00
Jiyong Park d7f8fddd47 bootstrap bionic are moved to ./bootstrap subdir am: 429660f3c8 am: e9601d6446
am: 1f67ac48b7

Change-Id: I36b85c3d416093183cd4eaf66f74a95daf9b8383
2019-01-30 21:24:56 -08:00
Jiyong Park 67e52ef256 "bootstrap: true" modules are using bootstrap Bionic am: a4b9dd08c0
am: 356278b9fa

Change-Id: Ib071e7632d603238e9f101e4dc561f487433a5b2
2019-01-30 21:08:55 -08:00
Jiyong Park 1f67ac48b7 bootstrap bionic are moved to ./bootstrap subdir am: 429660f3c8
am: e9601d6446

Change-Id: I64318b907a0ae7531bd5f236152f661ea2f09e15
2019-01-30 21:08:42 -08:00
Jiyong Park 356278b9fa "bootstrap: true" modules are using bootstrap Bionic
am: a4b9dd08c0

Change-Id: Ifbed24778563452c2a8bf821fa02d59fe2b2a9ca
2019-01-30 20:55:49 -08:00
Jiyong Park e9601d6446 bootstrap bionic are moved to ./bootstrap subdir
am: 429660f3c8

Change-Id: Iae5d9adb9ed3177f99958688ecd601713d186675
2019-01-30 20:55:40 -08:00