Commit graph

21597 commits

Author SHA1 Message Date
Dmitriy Ivanov
3b023915e8 am 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
* commit '4fa4e4befd5bc88ab37d7c7b20d3a67d351a1925':
  Do not pack relocations for prebuilts by default
2015-04-24 23:04:46 +00:00
Dmitriy Ivanov
4fa4e4befd Merge "Do not pack relocations for prebuilts by default" 2015-04-24 22:56:08 +00:00
Dmitriy Ivanov
64762c3027 Do not pack relocations for prebuilts by default
Do not pack relocations for prebuilds unless
 LOCAL_PACK_MODULE_RELOCATIONS is true

Bug: http://b/20537715
Bug: http://b/18051137
Change-Id: Iddef3b09741da6ae10d73c98103b868cc7695d38
2015-04-24 15:33:14 -07:00
Dmitriy Ivanov
cae4652514 am 691a4379: Merge "Pack relocations for mips"
* commit '691a4379c3386e39fc362d632acca5276060c23a':
  Pack relocations for mips
2015-04-24 19:55:39 +00:00
Dmitriy Ivanov
691a4379c3 Merge "Pack relocations for mips" 2015-04-24 19:45:22 +00:00
Dmitriy Ivanov
9dc1a7359f Pack relocations for mips
Bug: http://b/18051137
Change-Id: Id5e0adfb55273f23e1c99b4eecb318c6b8d19989
2015-04-24 12:20:02 -07:00
Dmitriy Ivanov
0f7ecd648b am b1c2727a: Merge "Pack relocations for x86"
* commit 'b1c2727aecfbd769bc002e1feeea0f6b745c9795':
  Pack relocations for x86
2015-04-24 17:54:11 +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
eacc8a052f am 529943c7: Merge "Disable packed relocations for NDK builds"
* commit '529943c7234a20de4eeb489df9f1c896a09b345f':
  Disable packed relocations for NDK builds
2015-04-24 04:59:15 +00:00
Dmitriy Ivanov
529943c723 Merge "Disable packed relocations for NDK builds" 2015-04-24 04:48:44 +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
c84b3a781c am 648f1b66: Merge "Pack relocation tables for dynamic executables"
* commit '648f1b66b4a6532383d5382148d586d354026305':
  Pack relocation tables for dynamic executables
2015-04-23 22:28:49 +00:00
Dmitriy Ivanov
648f1b66b4 Merge "Pack relocation tables for dynamic executables" 2015-04-23 22:20:37 +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
941d61decc am 1ff47c7f: Merge "Revert "Pack relocation tables for all dynamic executables""
* commit '1ff47c7f36263a701797ac76594fa45ae2d89389':
  Revert "Pack relocation tables for all dynamic executables"
2015-04-23 04:32:55 +00:00
Dimitry Ivanov
1ff47c7f36 Merge "Revert "Pack relocation tables for all dynamic executables"" 2015-04-23 04:24:46 +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
64119a7ff2 am ec6a9773: Merge "Pack relocation tables for all dynamic executables"
* commit 'ec6a977323616f6cd6bd2c08be894e9da4dfc456':
  Pack relocation tables for all dynamic executables
2015-04-23 02:33:15 +00:00
Dmitriy Ivanov
ec6a977323 Merge "Pack relocation tables for all dynamic executables" 2015-04-23 02:24:46 +00: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
Tao Bao
347d8e6622 am 7f47c133: Merge "Add support for full radio option"
* commit '7f47c13339858138744036d9037d52b4a0c445f3':
  Add support for full radio option
2015-04-22 18:47:01 +00:00
Tao Bao
7f47c13339 Merge "Add support for full radio option" 2015-04-22 18:26:31 +00:00
dcashman
780bdd6a13 am ab59266d: Merge "Add lib dirs to cts distribution."
* commit 'ab59266db0d3d16ca58e06ad327a9909e45c1516':
  Add lib dirs to cts distribution.
2015-04-22 17:10:51 +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
Tao Bao
43078aa37a Add support for full radio option
Occasionally we need to include full radio image in incremental OTAs.
Adding --full_radio option to support that.

It needs matching changes in the releasetools.py in the target_files
zip, which comes from device/<vendor>/<device>/releasetools.py.

Bug: 19994922
Change-Id: Id1fb3a9cdb7e67dd9dbadd8fb6cd5fccd358820e
2015-04-21 16:54:52 -07:00
Dmitriy Ivanov
baca453a7d am 5beb3387: Merge "Remove unsupported *_COMPRESS_MODULE_SYMBOLS"
* commit '5beb338793b9047b156aeb841a3417d9709b116f':
  Remove unsupported *_COMPRESS_MODULE_SYMBOLS
2015-04-20 20:30:43 +00:00
Dmitriy Ivanov
5beb338793 Merge "Remove unsupported *_COMPRESS_MODULE_SYMBOLS" 2015-04-20 20:18:56 +00:00
Dmitriy Ivanov
4eb120b999 Remove unsupported *_COMPRESS_MODULE_SYMBOLS
Change-Id: Ibb7da2997a0bb5b9f435213c9d3206bc4aad18db
2015-04-20 12:24:12 -07:00
Nick Kralevich
700265cee2 am 69b20474: Merge "Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs"
* commit '69b20474d578ea6313570c29526fc0854a920946':
  Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs
2015-04-18 00:48:37 +00:00
Nick Kralevich
69b20474d5 Merge "Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs" 2015-04-18 00:38:07 +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
63082eab1f am b6874440: Merge "Add support for a partial ubsan build."
* commit 'b68744405129867b6f48e37fdf5f91102f2aba3f':
  Add support for a partial ubsan build.
2015-04-17 19:42:42 +00:00
Dan Albert
b687444051 Merge "Add support for a partial ubsan build." 2015-04-17 19:33:02 +00:00
Dmitriy Ivanov
bc671bc65e am e3aa1c1f: Merge "Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS"
* commit 'e3aa1c1f85f981fabe9be0587e49538f4b6dd576':
  Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS
2015-04-17 19:09:01 +00:00
Sami Tolvanen
7788547ff3 am 586b38cc: Merge "Calculate max_stashed_blocks correctly for block OTA v3"
* commit '586b38cc397758848dbfc09351cadd39b89b9e49':
  Calculate max_stashed_blocks correctly for block OTA v3
2015-04-17 18:52:57 +00:00
Dmitriy Ivanov
e3aa1c1f85 Merge "Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS" 2015-04-17 18:50:13 +00:00
Dan Albert
7a1d29eb4b am 1d8f780c: Merge "Fix misuse of my_sanitize_host."
* commit '1d8f780c7d15441ad6582fc32447d9409c39f31a':
  Fix misuse of my_sanitize_host.
2015-04-17 18:48:53 +00:00
Dan Albert
f1b7c073a4 am 6ed5bea4: Merge "Make use of sanitizers without clang an error."
* commit '6ed5bea46fac846f1a96a8245d8f529d691e3da7':
  Make use of sanitizers without clang an error.
2015-04-17 18:48:52 +00:00
Sami Tolvanen
586b38cc39 Merge "Calculate max_stashed_blocks correctly for block OTA v3" 2015-04-17 18:43:51 +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
1d8f780c7d Merge "Fix misuse of my_sanitize_host." 2015-04-17 18:33:40 +00:00
Dan Albert
6ed5bea46f Merge "Make use of sanitizers without clang an error." 2015-04-17 18:33:23 +00: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
cf6e1ff62a am 27176208: Merge "Clean up sanitizer configuration."
* commit '2717620873fa1936779662a96de05033b89ddb19':
  Clean up sanitizer configuration.
2015-04-17 16:57:54 +00:00
Dan Albert
2717620873 Merge "Clean up sanitizer configuration." 2015-04-17 16:47:01 +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