Commit Graph

23097 Commits

Author SHA1 Message Date
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 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 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
Ryosuke Matsuuchi 40af438100 doc: Add Korean version of DAC/distribute/ page.
Bug: 20204101
Change-Id: I1b76fe136b4e059c1af94dee8bf54d1ae764954d
(cherry picked from commit 25799ca584)
2015-04-19 23:09:37 +00:00
Nick Kralevich 12753112f3 Merge "Error out if LOCAL_PREBUILT_JNI_LIBS and LOCAL_CERTIFICATE := PRESIGNED are used" 2015-04-19 06:47:02 +00:00
Ryosuke Matsuuchi dd56f344a5 am bdc47592: am 959d12b1: am f98bdce1: am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
* commit 'bdc47592dbf4b6258b947677f38b0ef95b6ea241':
  doc: Add Korean version of DAC/distribute/ page.
2015-04-19 05:53:32 +00:00
Ryosuke Matsuuchi bdc47592db am 959d12b1: am f98bdce1: am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
* commit '959d12b11eabfde1c7b4688eda44b90d0e641d2e':
  doc: Add Korean version of DAC/distribute/ page.
2015-04-19 00:55:07 +00:00
Ryosuke Matsuuchi 959d12b11e am f98bdce1: am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
* commit 'f98bdce10b0b47551417a87df876b918bede64d9':
  doc: Add Korean version of DAC/distribute/ page.
2015-04-19 00:49:00 +00:00
Ryosuke Matsuuchi f98bdce10b am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
* commit '90ac39d2b56171b92f8d136fb8e35a63f8b70ff1':
  doc: Add Korean version of DAC/distribute/ page.
2015-04-19 00:38:45 +00:00
Ryosuke Matsuuchi 90ac39d2b5 Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs 2015-04-19 00:16:05 +00:00
Dirk Dougherty 1edbe8a2c9 am 267e70ed: am e85f328a: am e8ee9918: am 42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs
* commit '267e70ed6bc87148e91cbfaf8cc8a3ac248cbe4c':
  Doc change: increment metadata for updated Distribute landing page content.
2015-04-18 23:16:22 +00:00
Dirk Dougherty 267e70ed6b am e85f328a: am e8ee9918: am 42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs
* commit 'e85f328a67a25261a073be940302a1d731f5c909':
  Doc change: increment metadata for updated Distribute landing page content.
2015-04-18 22:54:34 +00:00
Dirk Dougherty e85f328a67 am e8ee9918: am 42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs
* commit 'e8ee99188d3b5a1698c639652a1e5a871df41aca':
  Doc change: increment metadata for updated Distribute landing page content.
2015-04-18 22:44:30 +00:00
Dirk Dougherty e8ee99188d am 42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs
* commit '4232142313a582939d80209a1449f3e4a08f6701':
  Doc change: increment metadata for updated Distribute landing page content.
2015-04-18 22:37:39 +00:00
Dirk Dougherty 4232142313 Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs 2015-04-18 22:19:10 +00: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 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
Justin Klaassen f33b404cb6 Merge "Switch from Calculator to ExactCalculator" 2015-04-18 00:24:23 +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 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
Sami Tolvanen 8f9f7c0672 am c4d303e9: am 7788547f: am 586b38cc: Merge "Calculate max_stashed_blocks correctly for block OTA v3"
* commit 'c4d303e958e1f3475fd1070bdb307b4f675f3bdd':
  Calculate max_stashed_blocks correctly for block OTA v3
2015-04-17 19:30:23 +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
Sami Tolvanen c4d303e958 am 7788547f: am 586b38cc: Merge "Calculate max_stashed_blocks correctly for block OTA v3"
* commit '7788547ff34d93b5196933eedb9f006fb1fe9f4d':
  Calculate max_stashed_blocks correctly for block OTA v3
2015-04-17 19:09: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
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
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