Dmitriy Ivanov
9dc1a7359f
Pack relocations for mips
...
Bug: http://b/18051137
Change-Id: Id5e0adfb55273f23e1c99b4eecb318c6b8d19989
2015-04-24 12:20:02 -07:00
Dmitriy Ivanov
d96e487b9b
am 5754ad7e
: am 5c327ec3
: am 0f7ecd64
: am b1c2727a
: Merge "Pack relocations for x86"
...
* commit '5754ad7ead23fb613f9fe4de2970283d18141ea5':
Pack relocations for x86
2015-04-24 18:28:05 +00:00
Dmitriy Ivanov
5c327ec39c
am 0f7ecd64
: am b1c2727a
: Merge "Pack relocations for x86"
...
* commit '0f7ecd648bd5aa7f2798615559eb2cfd72e5d918':
Pack relocations for x86
2015-04-24 18:07:03 +00:00
Dmitriy Ivanov
b1c2727aec
Merge "Pack relocations for x86"
2015-04-24 17:44:09 +00:00
Dmitriy Ivanov
1d4804ccd1
Pack relocations for x86
...
Bug: http://b/18051137
Change-Id: I3f316343e9bbd2037a9583d5b6fb41a06be153cd
2015-04-24 10:34:59 -07:00
Dmitriy Ivanov
7fa5ba1d22
am 6a2b812b
: am cda3d433
: am eacc8a05
: am 529943c7
: Merge "Disable packed relocations for NDK builds"
...
* commit '6a2b812b8cc5ac7ea051d2c09651e12d08217919':
Disable packed relocations for NDK builds
2015-04-24 05:30:47 +00:00
Dmitriy Ivanov
cda3d43345
am eacc8a05
: am 529943c7
: Merge "Disable packed relocations for NDK builds"
...
* commit 'eacc8a052f30fc78a9b593a8b7bd4f0f8f5eb7d3':
Disable packed relocations for NDK builds
2015-04-24 05:10:51 +00:00
Dmitriy Ivanov
3b51f20be9
Disable packed relocations for NDK builds
...
Bug: http://b/20537715
Change-Id: I1289a88d5eb694980b026b695cb25edd8ba76ed5
2015-04-23 18:55:23 -07:00
Dmitriy Ivanov
be55caf288
am 6f2935dc
: am dabf96ab
: am c84b3a78
: am 648f1b66
: Merge "Pack relocation tables for dynamic executables"
...
* commit '6f2935dc1432a38e149498b6efbd43ed9aceb827':
Pack relocation tables for dynamic executables
2015-04-23 23:16:36 +00:00
Dmitriy Ivanov
dabf96ab0a
am c84b3a78
: am 648f1b66
: Merge "Pack relocation tables for dynamic executables"
...
* commit 'c84b3a781c0065cba994e8cdd49b6bdb51e93399':
Pack relocation tables for dynamic executables
2015-04-23 22:35:01 +00:00
Dmitriy Ivanov
4c2d1a64fb
Pack relocation tables for dynamic executables
...
Add replocation-packer step for dynmic executables.
Enable it by default for arm and arm64 platforms.
Bug: http://b/18051137
Change-Id: I0c88fd31595bcea62a087f219acb9ecf9c80f2e5
2015-04-23 12:07:16 -07:00
Dimitry Ivanov
bc83d0bb68
am 893ed24d
: am 387a9fee
: am 941d61de
: am 1ff47c7f
: Merge "Revert "Pack relocation tables for all dynamic executables""
...
* commit '893ed24dd7cec9b560fe46862b3635efa327ec65':
Revert "Pack relocation tables for all dynamic executables"
2015-04-23 05:07:11 +00:00
Dimitry Ivanov
387a9fee53
am 941d61de
: am 1ff47c7f
: Merge "Revert "Pack relocation tables for all dynamic executables""
...
* commit '941d61decc24cc28c781d0593b2a5d0589b4a7ad':
Revert "Pack relocation tables for all dynamic executables"
2015-04-23 04:44:50 +00:00
Dimitry Ivanov
1eca10fa9d
Revert "Pack relocation tables for all dynamic executables"
...
This reverts commit e7a1b8a0c6
.
Change-Id: I1a2185e1c68d364941e3b3e525a8c4a7a42e0cc1
2015-04-23 04:22:33 +00:00
Dmitriy Ivanov
943381b7df
am ff084258
: am b7b27621
: am 64119a7f
: am ec6a9773
: Merge "Pack relocation tables for all dynamic executables"
...
* commit 'ff084258ea53c414d724ba87f89c324056def1bd':
Pack relocation tables for all dynamic executables
2015-04-23 03:42:44 +00:00
Dmitriy Ivanov
b7b2762138
am 64119a7f
: am ec6a9773
: Merge "Pack relocation tables for all dynamic executables"
...
* commit '64119a7ff23960615c607306c9190c1def622d23':
Pack relocation tables for all dynamic executables
2015-04-23 02:44:47 +00:00
dcashman
9d50b548cd
resolved conflicts for merge of b9e4848e
to master
...
Change-Id: Ia1ea1c3cf7669c2eeaefa1f10c511aa1e782386b
2015-04-22 14:49:23 -07:00
Dmitriy Ivanov
e7a1b8a0c6
Pack relocation tables for all dynamic executables
...
Bug: http://b/18051137
Change-Id: I277277d5f5eb450ef9b4a23cfec16d75d977eb89
2015-04-22 13:30:43 -07:00
dcashman
0ae8bf67af
am 780bdd6a
: am ab59266d
: Merge "Add lib dirs to cts distribution."
...
* commit '780bdd6a1363cfe2fb9425647e0458dd2aee43f4':
Add lib dirs to cts distribution.
2015-04-22 18:55:13 +00:00
dcashman
ab59266db0
Merge "Add lib dirs to cts distribution."
2015-04-22 17:02:32 +00:00
dcashman
17412c8305
Add lib dirs to cts distribution.
...
Add ability to include dirs to the cts distribtion to enable bundling of shared
libraries on which host-side executables rely.
Bug: 19566396
Change-Id: Id501874244ae98fbfef2aa591885c88dee5b8b02
2015-04-21 17:53:21 -07:00
Dmitriy Ivanov
594c0868d4
resolved conflicts for merge of 6cb3732d
to master
...
Change-Id: I6415638ccde1e78f74ae5d9527dc696d40f15e5f
2015-04-20 14:08:43 -07:00
Dmitriy Ivanov
6cb3732d82
am baca453a
: am 5beb3387
: Merge "Remove unsupported *_COMPRESS_MODULE_SYMBOLS"
...
* commit 'baca453a7d23fb2cf8a38d8aad3addbfce362afc':
Remove unsupported *_COMPRESS_MODULE_SYMBOLS
2015-04-20 20:43:18 +00:00
Dmitriy Ivanov
4eb120b999
Remove unsupported *_COMPRESS_MODULE_SYMBOLS
...
Change-Id: Ibb7da2997a0bb5b9f435213c9d3206bc4aad18db
2015-04-20 12:24:12 -07:00
Nick Kralevich
445e111def
Error out if LOCAL_PREBUILT_JNI_LIBS and LOCAL_CERTIFICATE := PRESIGNED are used
...
LOCAL_PREBUILT_JNI_LIBS is an indication to the build system that
all shared libraries should be deleted from an APK, and the shared
libraries should be placed in the application's /system/app directory.
However, using this option isn't appropriate for pre-signed APKs.
Any attempt to delete files from a pre-signed APK will corrupt it's
signature or waste disk space.
Bug: 20247329
Bug: 8076853
Bug: 1162500
Change-Id: I89ce8f06d3889dd79dd9ffe86fc5fa60814498ad
2015-04-18 15:11:36 -07:00
Nick Kralevich
e128152c4c
am ebe3f7a5
: am 700265ce
: am 69b20474
: Merge "Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs"
...
* commit 'ebe3f7a59878d797f8f0de234f251958fee1c5af':
Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs
2015-04-18 01:33:09 +00:00
Nick Kralevich
ebe3f7a598
am 700265ce
: am 69b20474
: Merge "Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs"
...
* commit '700265cee29c442369bfa6ee3f90bd51b79177d9':
Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs
2015-04-18 01:00:47 +00:00
Nick Kralevich
5aa0223c6a
Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs
...
If a prebuilt APK contains shared libraries and the flag
LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES := true is set, then
uncompress any shared libraries stored within the APK.
This allows processes to load the shared library directly from
the APK.
Bug: 20247329
Bug: 8076853
Bug: 1162500
Change-Id: Iac4db32457d9ce31eb7256410023819b44fda0a6
2015-04-17 16:53:15 -07:00
Dan Albert
c2bc25496d
am 07607526
: am 63082eab
: am b6874440
: Merge "Add support for a partial ubsan build."
...
* commit '07607526b8701f471869aecbd89fe4ea1990251e':
Add support for a partial ubsan build.
2015-04-17 20:14:13 +00:00
Dan Albert
07607526b8
am 63082eab
: am b6874440
: Merge "Add support for a partial ubsan build."
...
* commit '63082eab1f1e18b06882fbbaf08ee64c3f68193a':
Add support for a partial ubsan build.
2015-04-17 19:53:03 +00:00
Dmitriy Ivanov
cc39abfdd2
am a6c44859
: am bc671bc6
: am e3aa1c1f
: Merge "Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS"
...
* commit 'a6c44859c5344d489526641ce5a08598254da57b':
Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS
2015-04-17 19:42:55 +00:00
Dan Albert
b687444051
Merge "Add support for a partial ubsan build."
2015-04-17 19:33:02 +00:00
Dan Albert
5da97b217a
am 048b3eb0
: am 7a1d29eb
: am 1d8f780c
: Merge "Fix misuse of my_sanitize_host."
...
* commit '048b3eb0170b8816cd97400a43f7f1523c19c210':
Fix misuse of my_sanitize_host.
2015-04-17 19:30:22 +00:00
Dan Albert
c08f725cd8
am 757417f9
: am f1b7c073
: am 6ed5bea4
: Merge "Make use of sanitizers without clang an error."
...
* commit '757417f9438a3a83d9fa1f7b10d74436fd6f61e4':
Make use of sanitizers without clang an error.
2015-04-17 19:30:20 +00:00
Dmitriy Ivanov
a6c44859c5
am bc671bc6
: am e3aa1c1f
: Merge "Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS"
...
* commit 'bc671bc65ee8db4ba0bba33543d41d372f424f9d':
Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS
2015-04-17 19:20:25 +00:00
Dan Albert
048b3eb017
am 7a1d29eb
: am 1d8f780c
: Merge "Fix misuse of my_sanitize_host."
...
* commit '7a1d29eb4bea37a4f043330cf722f720103129b8':
Fix misuse of my_sanitize_host.
2015-04-17 19:09:00 +00:00
Dan Albert
757417f943
am f1b7c073
: am 6ed5bea4
: Merge "Make use of sanitizers without clang an error."
...
* commit 'f1b7c073a4d1b3f47811b6b9e85c6589d293c373':
Make use of sanitizers without clang an error.
2015-04-17 19:08:59 +00:00
Dmitriy Ivanov
e3aa1c1f85
Merge "Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS"
2015-04-17 18:50:13 +00:00
Dmitriy Ivanov
8f9487431c
Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS
...
Use LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES instead.
Change-Id: Id30529fbc1652d066e0008813352848b5e404ab9
2015-04-17 11:39:04 -07:00
Dan Albert
b5b2ffe3be
Add support for a partial ubsan build.
...
Some of the ubsan checks expose a few pathological performance cases
in clang, and thus aren't suited to be used in SANITIZE_HOST.
This mode is also supported on the target despite not having the
target runtime libraries for ubsan by generating traps.
Change-Id: I0b0f0a08ca84d72e44e2174a66726b1c5e5cad7e
2015-04-17 11:37:03 -07:00
Dan Albert
4c92a68127
Fix misuse of my_sanitize_host.
...
Ying pointed out in https://android-review.googlesource.com/#/c/147290
that my_sanitize_host would be read as some garbage value for target
builds. Move the configuration later and don't use the local at all.
Change-Id: Id8a095821d000a184e72f950b9481597073a7044
2015-04-17 11:32:57 -07:00
Dan Albert
94b579166f
Make use of sanitizers without clang an error.
...
Previously using a sanitizer would imply clang. It should be an error
instead so it's more obvious.
Change-Id: I67c949bfda3718a0d19da7e358b5fde447fce334
2015-04-17 11:06:24 -07:00
Dan Albert
f52cf64f6c
am fad70977
: am cf6e1ff6
: am 27176208
: Merge "Clean up sanitizer configuration."
...
* commit 'fad709772e766ce83b4667e89a25a7f0d90ca5f8':
Clean up sanitizer configuration.
2015-04-17 17:32:23 +00:00
Dan Albert
fad709772e
am cf6e1ff6
: am 27176208
: Merge "Clean up sanitizer configuration."
...
* commit 'cf6e1ff62a0abbea186d5a62f23d0b71671202ca':
Clean up sanitizer configuration.
2015-04-17 17:08:55 +00:00
Dan Albert
27ccb75af7
Clean up sanitizer configuration.
...
* Refactor a few pieces to avoid deeply nested conditionals.
* LOCAL_SANITIZE := never replaces LOCAL_ADDRESS_SANITIZER := false.
Change-Id: I68bb8c5edda6ecd40179c5ba9f18d06e96aaa260
2015-04-17 09:39:12 -07:00
Dan Albert
97952ce8ac
am 3bc25d69
: am 683a387e
: am 4ed95088
: Merge "Add support for ubsan."
...
* commit '3bc25d69580b5cdedd834fe6accf9cc27c0fb102':
Add support for ubsan.
2015-04-15 22:56:21 +00:00
Dan Albert
3bc25d6958
am 683a387e
: am 4ed95088
: Merge "Add support for ubsan."
...
* commit '683a387efb079fefd3d2895875868b7c2a5a4a06':
Add support for ubsan.
2015-04-15 22:32:08 +00:00
Dan Albert
4ed9508842
Merge "Add support for ubsan."
2015-04-15 22:06:15 +00:00
Ying Wang
87a21c8b89
resolved conflicts for merge of eec386a4
to master
...
Change-Id: Ia686e67ed480427a6422d87bef2dcd4e44e27266
2015-04-15 14:39:26 -07:00
Kenny Root
eec386a4df
am 68dc5196
: am 03c6e8c5
: Merge "Move package signing after file stripping"
...
* commit '68dc5196226406db84a41a03fe70e6278ed35fcd':
Move package signing after file stripping
2015-04-15 20:12:21 +00:00