OSDN Git Service

android-x86/build.git
9 years agoMerge "Revert "Don't extract jni from prebuilt apks."" into mnc-dev
Ying Wang [Mon, 4 May 2015 18:43:13 +0000 (18:43 +0000)]
Merge "Revert "Don't extract jni from prebuilt apks."" into mnc-dev

9 years agoRevert "Don't extract jni from prebuilt apks."
Ying Wang [Mon, 4 May 2015 18:39:46 +0000 (18:39 +0000)]
Revert "Don't extract jni from prebuilt apks."

This reverts commit 3797466fbd31cc3ca5a1eddea64e7fdf0921ea67.

Bug: 20810492
Bug: 20811499
Change-Id: Ic922d9daccc4550db489c0f3d4ad6b4ff85b5e60

9 years agoMerge "Don't extract jni from prebuilt apks." into mnc-dev
Ying Wang [Sat, 2 May 2015 16:33:45 +0000 (16:33 +0000)]
Merge "Don't extract jni from prebuilt apks." into mnc-dev

9 years agoDon't extract jni from prebuilt apks.
Ying Wang [Fri, 1 May 2015 21:02:26 +0000 (14:02 -0700)]
Don't extract jni from prebuilt apks.

- We don't need LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES now, for we always
  page-align jni shared libraries and store them umcompressed.
- For prebuilt apks, we don't extract jni any more; Instead we always run
  uncompress-shared-libs on them.
- For apks built from source, we still install the jni separately, because
  that way multiple apks can share the same jni and it saves space.

With this change, for most prebuilt apks, we don't need to specify
LOCAL_PREBUILT_JNI_LIBS ("@lib/<abi>/foo.so") any more, for the build
system automatically replaces the embedded jni with uncompressed files;
But if a prebuilt is a fat apk (i.e. containing jni not needed by the
current product architecture), you still need LOCAL_PREBUILT_JNI_LIBS to
specify what jni to keep. Otherwise all embedded jni will be replaced with
uncompressed files, that wastes space.

Bug: 8076853
Change-Id: Icf07e0998ac3602e6e05e80fed836fbafca33e01

9 years agocommon.py: Add support for squashfs
Mohamad Ayyash [Fri, 1 May 2015 22:39:36 +0000 (15:39 -0700)]
common.py: Add support for squashfs

Change-Id: Ia40f8c6307d0213d43207aee91c4c8a5b5ad6f1e
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
9 years agoDeference symlinks when copying LOCAL_PICKUP_FILES.
Ying Wang [Fri, 1 May 2015 02:46:00 +0000 (19:46 -0700)]
Deference symlinks when copying LOCAL_PICKUP_FILES.

Change-Id: I2399529ee9168bb93a4cad5daa61cd2ea500df04

9 years agoFix jack transformation on prebuilt AAR.
Ying Wang [Thu, 30 Apr 2015 16:55:08 +0000 (09:55 -0700)]
Fix jack transformation on prebuilt AAR.

Change-Id: I74f932cff606138943d97b923bbd059bcd496e46

9 years agoRevert "Revert "Pack relocations for mips64""
Dmitriy Ivanov [Wed, 29 Apr 2015 22:34:21 +0000 (15:34 -0700)]
Revert "Revert "Pack relocations for mips64""

This reverts commit 6399dcce598c2ac54bd87bc754028513405c049f.

Bug: http://b/20658994
(cherry picked from commit 8387d99ec3649390f815d447a44674fc9ca18823)

9 years agoRevert "Revert "Pack relocations for mips""
Dmitriy Ivanov [Wed, 29 Apr 2015 21:50:05 +0000 (14:50 -0700)]
Revert "Revert "Pack relocations for mips""

This reverts commit d05fd6fc821db3e09c988370c6ac24c3354232f7.

Bug: http://b/20658994
Change-Id: Iccbd4846b310306ed11b87f4566b8aaadfa63ebb
(cherry picked from commit cb2b3d47addad6b7370df4b8aa77a53f98045cfb)

9 years agoMerge "Revert "Pack relocations for mips"" into mnc-dev
Dimitry Ivanov [Wed, 29 Apr 2015 19:37:46 +0000 (19:37 +0000)]
Merge "Revert "Pack relocations for mips"" into mnc-dev

9 years agoRevert "Pack relocations for mips"
Dimitry Ivanov [Wed, 29 Apr 2015 18:57:54 +0000 (18:57 +0000)]
Revert "Pack relocations for mips"

This reverts commit 9dc1a7359f2351e18f08d69ea725f884541b2f2f.

Bug: http://b/20658994
Change-Id: Ib10c764a7d06db823ee2fccfa47240e0a639d4bc
(cherry picked from commit d05fd6fc821db3e09c988370c6ac24c3354232f7)

9 years agoRevert "Pack relocations for mips64"
Dimitry Ivanov [Wed, 29 Apr 2015 18:59:05 +0000 (18:59 +0000)]
Revert "Pack relocations for mips64"

This reverts commit 8bd30fe3cb82e50caab50e4091c5977e5e24db0e.

Bug: http://b/20658994
Change-Id: I6c31094559a12b824344802bf3993f91aee79a26
(cherry picked from commit 6399dcce598c2ac54bd87bc754028513405c049f)

9 years agoam 8f168d1b: Add design support library docs
Chris Banes [Wed, 29 Apr 2015 09:17:22 +0000 (09:17 +0000)]
am 8f168d1b: Add design support library docs

* commit '8f168d1b986516112d103958070830c9075f6ce2':
  Add design support library docs

9 years agoAdd float support to binary event log.
Jeff Brown [Tue, 28 Apr 2015 19:46:22 +0000 (12:46 -0700)]
Add float support to binary event log.

Bug: 20664753
Change-Id: Iab232b1f172094919839d57f15644dfb2eaa1425

9 years agoAdd design support library docs
Chris Banes [Tue, 28 Apr 2015 11:01:49 +0000 (12:01 +0100)]
Add design support library docs

BUG: 20524332
Change-Id: I471ab17a2a5ccc43f4ef0fa04b7c2e9077d56361

9 years agoBump sdk arm system image size to 750M
bohu [Mon, 27 Apr 2015 19:05:03 +0000 (12:05 -0700)]
Bump sdk arm system image size to 750M

To fix broken build of arm system images.

Change-Id: I960dbb2a5a895557499fcf38655cd8907e768ef9
(cherry picked from commit 9f42be14b8864c123d3df29ade44e3a92096679e)

9 years agoam 02ff9f36: am 64879ead: am 90ac39d2: Merge "doc: Add Korean version of DAC/distribu...
Ryosuke Matsuuchi [Mon, 27 Apr 2015 07:38:01 +0000 (07:38 +0000)]
am 02ff9f36: am 64879ead: am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs

* commit '02ff9f36d2e962e783126fc136ec490fb4af5069':

9 years agoam 2b540ab5: am 1bd563a8: am 42321423: Merge "Doc change: increment metadata for...
Dirk Dougherty [Mon, 27 Apr 2015 07:38:00 +0000 (07:38 +0000)]
am 2b540ab5: am 1bd563a8: am 42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs

* commit '2b540ab581f769e7ed5102c770311aec0f80b2cd':

9 years agoam 64879ead: am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page...
Ryosuke Matsuuchi [Mon, 27 Apr 2015 07:24:27 +0000 (07:24 +0000)]
am 64879ead: am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs

* commit '64879ead4514463a4efc7dcd00c4339d14136d11':

9 years agoam 1bd563a8: am 42321423: Merge "Doc change: increment metadata for updated Distribut...
Dirk Dougherty [Mon, 27 Apr 2015 07:24:25 +0000 (07:24 +0000)]
am 1bd563a8: am 42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs

* commit '1bd563a8ab4adb1df9b36e07739804453bc37d0c':

9 years agoam 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
Ryosuke Matsuuchi [Sun, 26 Apr 2015 19:15:27 +0000 (19:15 +0000)]
am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs

* commit '90ac39d2b56171b92f8d136fb8e35a63f8b70ff1':
  doc: Add Korean version of DAC/distribute/ page.

9 years agoam 42321423: Merge "Doc change: increment metadata for updated Distribute landing...
Dirk Dougherty [Sun, 26 Apr 2015 19:15:15 +0000 (19:15 +0000)]
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.

9 years agoam 6e40faa2: am 44984951: am 162e1906: am b271669a: Merge "Fix a trivial comment...
Elliott Hughes [Sat, 25 Apr 2015 18:44:03 +0000 (18:44 +0000)]
am 6e40faa2: am 44984951: am 162e1906: am b271669a: Merge "Fix a trivial comment typo."

* commit '6e40faa241b241f1c32edb40d36f9c407d8f6790':
  Fix a trivial comment typo.

9 years agoam 44984951: am 162e1906: am b271669a: Merge "Fix a trivial comment typo."
Elliott Hughes [Sat, 25 Apr 2015 18:31:57 +0000 (18:31 +0000)]
am 44984951: am 162e1906: am b271669a: Merge "Fix a trivial comment typo."

* commit '449849513b995021e326b3b1a500139cea712ba8':
  Fix a trivial comment typo.

9 years agoam 162e1906: am b271669a: Merge "Fix a trivial comment typo."
Elliott Hughes [Sat, 25 Apr 2015 18:23:50 +0000 (18:23 +0000)]
am 162e1906: am b271669a: Merge "Fix a trivial comment typo."

* commit '162e19061c7fcdf9e212a561f75427cf1126ea67':
  Fix a trivial comment typo.

9 years agoam b271669a: Merge "Fix a trivial comment typo."
Elliott Hughes [Sat, 25 Apr 2015 18:10:58 +0000 (18:10 +0000)]
am b271669a: Merge "Fix a trivial comment typo."

* commit 'b271669a0c6dd4287ed1631acecd94c3f443bc8d':
  Fix a trivial comment typo.

9 years agoMerge "Fix a trivial comment typo."
Elliott Hughes [Sat, 25 Apr 2015 18:04:21 +0000 (18:04 +0000)]
Merge "Fix a trivial comment typo."

9 years agoFix a trivial comment typo.
Elliott Hughes [Sat, 25 Apr 2015 18:02:40 +0000 (11:02 -0700)]
Fix a trivial comment typo.

Bug: https://code.google.com/p/android/issues/detail?id=170069
Change-Id: Iacd308893561a991971b191d4d10a78ca82753d4

9 years agoam 045d817c: am 497b74d5: am d21d1d27: am 00e1f003: Merge "Check partition hash befor...
Sami Tolvanen [Sat, 25 Apr 2015 10:01:53 +0000 (10:01 +0000)]
am 045d817c: am 497b74d5: am d21d1d27: am 00e1f003: Merge "Check partition hash before resorting to block_image_verify"

* commit '045d817cce8cb1feb0186b537306cabf1a5069cd':
  Check partition hash before resorting to block_image_verify

9 years agoam 497b74d5: am d21d1d27: am 00e1f003: Merge "Check partition hash before resorting...
Sami Tolvanen [Sat, 25 Apr 2015 09:48:19 +0000 (09:48 +0000)]
am 497b74d5: am d21d1d27: am 00e1f003: Merge "Check partition hash before resorting to block_image_verify"

* commit '497b74d5a28d9471566159535038e454ffa15857':
  Check partition hash before resorting to block_image_verify

9 years agoam d21d1d27: am 00e1f003: Merge "Check partition hash before resorting to block_image...
Sami Tolvanen [Sat, 25 Apr 2015 09:32:33 +0000 (09:32 +0000)]
am d21d1d27: am 00e1f003: Merge "Check partition hash before resorting to block_image_verify"

* commit 'd21d1d273b83e701667beeabe0c76fd6888e15fc':
  Check partition hash before resorting to block_image_verify

9 years agoam 00e1f003: Merge "Check partition hash before resorting to block_image_verify"
Sami Tolvanen [Sat, 25 Apr 2015 08:07:04 +0000 (08:07 +0000)]
am 00e1f003: Merge "Check partition hash before resorting to block_image_verify"

* commit '00e1f0033eede8f23ff72097c98b7fd70a4e349d':
  Check partition hash before resorting to block_image_verify

9 years agoMerge "Check partition hash before resorting to block_image_verify"
Sami Tolvanen [Sat, 25 Apr 2015 08:00:01 +0000 (08:00 +0000)]
Merge "Check partition hash before resorting to block_image_verify"

9 years agoam c98d6b35: am 6612d4a0: am edc3371a: am f3a6b07b: Merge "host compiler: enable...
Nick Kralevich [Sat, 25 Apr 2015 05:15:48 +0000 (05:15 +0000)]
am c98d6b35: am 6612d4a0: am edc3371a: am f3a6b07b: Merge "host compiler: enable compiler hardening flags"

* commit 'c98d6b35ba7e9381089b1b7c8b47f384e5772a4f':
  host compiler: enable compiler hardening flags

9 years agoam 6612d4a0: am edc3371a: am f3a6b07b: Merge "host compiler: enable compiler hardenin...
Nick Kralevich [Sat, 25 Apr 2015 05:04:39 +0000 (05:04 +0000)]
am 6612d4a0: am edc3371a: am f3a6b07b: Merge "host compiler: enable compiler hardening flags"

* commit '6612d4a0888bce32ff987e9897dede9829b5a822':
  host compiler: enable compiler hardening flags

9 years agoam edc3371a: am f3a6b07b: Merge "host compiler: enable compiler hardening flags"
Nick Kralevich [Sat, 25 Apr 2015 04:54:12 +0000 (04:54 +0000)]
am edc3371a: am f3a6b07b: Merge "host compiler: enable compiler hardening flags"

* commit 'edc3371aeaf0f963d95b4d8bfb0e35b8b17ee648':
  host compiler: enable compiler hardening flags

9 years agoam f3a6b07b: Merge "host compiler: enable compiler hardening flags"
Nick Kralevich [Sat, 25 Apr 2015 04:44:34 +0000 (04:44 +0000)]
am f3a6b07b: Merge "host compiler: enable compiler hardening flags"

* commit 'f3a6b07b80a32b822f63cb1d34de64e8395484a8':
  host compiler: enable compiler hardening flags

9 years agoMerge "host compiler: enable compiler hardening flags"
Nick Kralevich [Sat, 25 Apr 2015 04:35:46 +0000 (04:35 +0000)]
Merge "host compiler: enable compiler hardening flags"

9 years agohost compiler: enable compiler hardening flags
Nick Kralevich [Sat, 25 Apr 2015 04:26:08 +0000 (21:26 -0700)]
host compiler: enable compiler hardening flags

Enable the following compiler hardening flags:

* -Wl,-z,relro
* -Wl,-z,now
* -fstack-protector

relro / bind_now make the relro region read-only after linking,
preventing certain attacks against ELF data structures.

stack-protector adds stack canaries, which can detect exploits
which overwrite parts of the stack.

Explicitly not added in this change is FORTIFY_SOURCE=2. Adding that
option turns on glibc's warn_unused_result attributes. This generates
a huge number of new compile time warnings, and for the multiple
makefiles which have -Werror in them, turns those warnings into errors.
I'm not able to fix all the errors right away.

Bug: 20558757
Change-Id: I86791177c6695f5325233d9dd9a5dd3ccc2b1a2f

9 years agoam 80421984: am aac1b9d9: am f674a67d: am 573dfb7c: Merge "Pack relocations for mips64"
Dmitriy Ivanov [Sat, 25 Apr 2015 00:31:30 +0000 (00:31 +0000)]
am 80421984: am aac1b9d9: am f674a67d: am 573dfb7c: Merge "Pack relocations for mips64"

* commit '804219841d7f581cf78f3f68e13381b6631513a0':
  Pack relocations for mips64

9 years agoam aac1b9d9: am f674a67d: am 573dfb7c: Merge "Pack relocations for mips64"
Dmitriy Ivanov [Sat, 25 Apr 2015 00:20:48 +0000 (00:20 +0000)]
am aac1b9d9: am f674a67d: am 573dfb7c: Merge "Pack relocations for mips64"

* commit 'aac1b9d9bfc82aa739c7f38c82538ac73ea1040f':
  Pack relocations for mips64

9 years agoam f674a67d: am 573dfb7c: Merge "Pack relocations for mips64"
Dmitriy Ivanov [Sat, 25 Apr 2015 00:09:51 +0000 (00:09 +0000)]
am f674a67d: am 573dfb7c: Merge "Pack relocations for mips64"

* commit 'f674a67d6ef3d446dd726ce9600bd905815506b6':
  Pack relocations for mips64

9 years agoam 573dfb7c: Merge "Pack relocations for mips64"
Dmitriy Ivanov [Fri, 24 Apr 2015 23:59:03 +0000 (23:59 +0000)]
am 573dfb7c: Merge "Pack relocations for mips64"

* commit '573dfb7cb8f768452744ddb781cc65412ed1a618':
  Pack relocations for mips64

9 years agoMerge "Pack relocations for mips64"
Dmitriy Ivanov [Fri, 24 Apr 2015 23:51:28 +0000 (23:51 +0000)]
Merge "Pack relocations for mips64"

9 years agoam 7347196a: am df7afb47: am 3b023915: am 4fa4e4be: Merge "Do not pack relocations...
Dmitriy Ivanov [Fri, 24 Apr 2015 23:36:21 +0000 (23:36 +0000)]
am 7347196a: am df7afb47: am 3b023915: am 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"

* commit '7347196acbf640caaf68e4e790489a40d770a083':
  Do not pack relocations for prebuilts by default

9 years agoPack relocations for mips64
Dmitriy Ivanov [Fri, 24 Apr 2015 23:32:38 +0000 (16:32 -0700)]
Pack relocations for mips64

Bug: http://b/18051137
Change-Id: I063c5d6cf007658c0efe9cb1d65ed8026b3e7dae

9 years agoam df7afb47: am 3b023915: am 4fa4e4be: Merge "Do not pack relocations for prebuilts...
Dmitriy Ivanov [Fri, 24 Apr 2015 23:26:31 +0000 (23:26 +0000)]
am df7afb47: am 3b023915: am 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"

* commit 'df7afb47d8d69f53316218dd4b0510aa8201ce7c':
  Do not pack relocations for prebuilts by default

9 years agoam 3b023915: am 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
Dmitriy Ivanov [Fri, 24 Apr 2015 23:14:00 +0000 (23:14 +0000)]
am 3b023915: am 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"

* commit '3b023915e8374341c6a69cd40b0811e10b3cb1b5':
  Do not pack relocations for prebuilts by default

9 years agoam 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
Dmitriy Ivanov [Fri, 24 Apr 2015 23:04:46 +0000 (23:04 +0000)]
am 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"

* commit '4fa4e4befd5bc88ab37d7c7b20d3a67d351a1925':
  Do not pack relocations for prebuilts by default

9 years agoMerge "Do not pack relocations for prebuilts by default"
Dmitriy Ivanov [Fri, 24 Apr 2015 22:56:08 +0000 (22:56 +0000)]
Merge "Do not pack relocations for prebuilts by default"

9 years agoDo not pack relocations for prebuilts by default
Dmitriy Ivanov [Fri, 24 Apr 2015 22:33:14 +0000 (15:33 -0700)]
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

9 years agoam 10537b6f: am 513be561: am cae46525: am 691a4379: Merge "Pack relocations for mips"
Dmitriy Ivanov [Fri, 24 Apr 2015 21:09:38 +0000 (21:09 +0000)]
am 10537b6f: am 513be561: am cae46525: am 691a4379: Merge "Pack relocations for mips"

* commit '10537b6f41342c50fc0c80bd85ff1b126054086f':
  Pack relocations for mips

9 years agoam 513be561: am cae46525: am 691a4379: Merge "Pack relocations for mips"
Dmitriy Ivanov [Fri, 24 Apr 2015 20:12:37 +0000 (20:12 +0000)]
am 513be561: am cae46525: am 691a4379: Merge "Pack relocations for mips"

* commit '513be561e9eca26bd73a0a6c8c2764b20430d60f':
  Pack relocations for mips

9 years agoam cae46525: am 691a4379: Merge "Pack relocations for mips"
Dmitriy Ivanov [Fri, 24 Apr 2015 20:05:03 +0000 (20:05 +0000)]
am cae46525: am 691a4379: Merge "Pack relocations for mips"

* commit 'cae4652514c220d1b8d9fbbdca1204bc6cb25954':
  Pack relocations for mips

9 years agoam 691a4379: Merge "Pack relocations for mips"
Dmitriy Ivanov [Fri, 24 Apr 2015 19:55:39 +0000 (19:55 +0000)]
am 691a4379: Merge "Pack relocations for mips"

* commit '691a4379c3386e39fc362d632acca5276060c23a':
  Pack relocations for mips

9 years agoMerge "Pack relocations for mips"
Dmitriy Ivanov [Fri, 24 Apr 2015 19:45:22 +0000 (19:45 +0000)]
Merge "Pack relocations for mips"

9 years agoPack relocations for mips
Dmitriy Ivanov [Fri, 24 Apr 2015 19:20:02 +0000 (12:20 -0700)]
Pack relocations for mips

Bug: http://b/18051137
Change-Id: Id5e0adfb55273f23e1c99b4eecb318c6b8d19989

9 years agoam 5754ad7e: am 5c327ec3: am 0f7ecd64: am b1c2727a: Merge "Pack relocations for x86"
Dmitriy Ivanov [Fri, 24 Apr 2015 18:28:05 +0000 (18:28 +0000)]
am 5754ad7e: am 5c327ec3: am 0f7ecd64: am b1c2727a: Merge "Pack relocations for x86"

* commit '5754ad7ead23fb613f9fe4de2970283d18141ea5':
  Pack relocations for x86

9 years agoam 5c327ec3: am 0f7ecd64: am b1c2727a: Merge "Pack relocations for x86"
Dmitriy Ivanov [Fri, 24 Apr 2015 18:16:35 +0000 (18:16 +0000)]
am 5c327ec3: am 0f7ecd64: am b1c2727a: Merge "Pack relocations for x86"

* commit '5c327ec39cc83f1f87f012abb29a9b13a0be02b7':
  Pack relocations for x86

9 years agoam 0f7ecd64: am b1c2727a: Merge "Pack relocations for x86"
Dmitriy Ivanov [Fri, 24 Apr 2015 18:07:03 +0000 (18:07 +0000)]
am 0f7ecd64: am b1c2727a: Merge "Pack relocations for x86"

* commit '0f7ecd648bd5aa7f2798615559eb2cfd72e5d918':
  Pack relocations for x86

9 years agoam b1c2727a: Merge "Pack relocations for x86"
Dmitriy Ivanov [Fri, 24 Apr 2015 17:54:11 +0000 (17:54 +0000)]
am b1c2727a: Merge "Pack relocations for x86"

* commit 'b1c2727aecfbd769bc002e1feeea0f6b745c9795':
  Pack relocations for x86

9 years agoMerge "Pack relocations for x86"
Dmitriy Ivanov [Fri, 24 Apr 2015 17:44:09 +0000 (17:44 +0000)]
Merge "Pack relocations for x86"

9 years agoPack relocations for x86
Dmitriy Ivanov [Fri, 24 Apr 2015 01:43:05 +0000 (18:43 -0700)]
Pack relocations for x86

Bug: http://b/18051137
Change-Id: I3f316343e9bbd2037a9583d5b6fb41a06be153cd

9 years agoCheck partition hash before resorting to block_image_verify
Sami Tolvanen [Fri, 24 Apr 2015 10:54:01 +0000 (11:54 +0100)]
Check partition hash before resorting to block_image_verify

It's not necessary to call block_image_verify for the most common
case where we attempt an update for the first time and the target
partition has expected contents. It is sufficient to confirm that
the target partition is intact.

Computing a hash is much faster than simulating the update, which
means this change should make the update speed for v3 much closer
to v2 for the common case. If the update was interrupted, this is
going to make resuming somewhat slower, of course. Hopefully this
should be rather rare.

Bug: 20309033
Change-Id: I04792f3681bf2cd5d9a4e1c41eb883c7f26c6f58

9 years agoam 6a2b812b: am cda3d433: am eacc8a05: am 529943c7: Merge "Disable packed relocations...
Dmitriy Ivanov [Fri, 24 Apr 2015 05:30:47 +0000 (05:30 +0000)]
am 6a2b812b: am cda3d433: am eacc8a05: am 529943c7: Merge "Disable packed relocations for NDK builds"

* commit '6a2b812b8cc5ac7ea051d2c09651e12d08217919':
  Disable packed relocations for NDK builds

9 years agoam cda3d433: am eacc8a05: am 529943c7: Merge "Disable packed relocations for NDK...
Dmitriy Ivanov [Fri, 24 Apr 2015 05:19:24 +0000 (05:19 +0000)]
am cda3d433: am eacc8a05: am 529943c7: Merge "Disable packed relocations for NDK builds"

* commit 'cda3d43345a43059065b538b63228007a2da62fc':
  Disable packed relocations for NDK builds

9 years agoam eacc8a05: am 529943c7: Merge "Disable packed relocations for NDK builds"
Dmitriy Ivanov [Fri, 24 Apr 2015 05:10:51 +0000 (05:10 +0000)]
am eacc8a05: am 529943c7: Merge "Disable packed relocations for NDK builds"

* commit 'eacc8a052f30fc78a9b593a8b7bd4f0f8f5eb7d3':
  Disable packed relocations for NDK builds

9 years agoam 529943c7: Merge "Disable packed relocations for NDK builds"
Dmitriy Ivanov [Fri, 24 Apr 2015 04:59:15 +0000 (04:59 +0000)]
am 529943c7: Merge "Disable packed relocations for NDK builds"

* commit '529943c7234a20de4eeb489df9f1c896a09b345f':
  Disable packed relocations for NDK builds

9 years agoMerge "Disable packed relocations for NDK builds"
Dmitriy Ivanov [Fri, 24 Apr 2015 04:48:43 +0000 (04:48 +0000)]
Merge "Disable packed relocations for NDK builds"

9 years agoDisable packed relocations for NDK builds
Dmitriy Ivanov [Fri, 24 Apr 2015 01:48:52 +0000 (18:48 -0700)]
Disable packed relocations for NDK builds

Bug: http://b/20537715
Change-Id: I1289a88d5eb694980b026b695cb25edd8ba76ed5

9 years agoam 6f2935dc: am dabf96ab: am c84b3a78: am 648f1b66: Merge "Pack relocation tables...
Dmitriy Ivanov [Thu, 23 Apr 2015 23:16:36 +0000 (23:16 +0000)]
am 6f2935dc: am dabf96ab: am c84b3a78: am 648f1b66: Merge "Pack relocation tables for dynamic executables"

* commit '6f2935dc1432a38e149498b6efbd43ed9aceb827':
  Pack relocation tables for dynamic executables

9 years agoam dabf96ab: am c84b3a78: am 648f1b66: Merge "Pack relocation tables for dynamic...
Dmitriy Ivanov [Thu, 23 Apr 2015 22:46:33 +0000 (22:46 +0000)]
am dabf96ab: am c84b3a78: am 648f1b66: Merge "Pack relocation tables for dynamic executables"

* commit 'dabf96ab0a0761539a5d01043d9a2f5b261c80a0':
  Pack relocation tables for dynamic executables

9 years agoam c84b3a78: am 648f1b66: Merge "Pack relocation tables for dynamic executables"
Dmitriy Ivanov [Thu, 23 Apr 2015 22:35:01 +0000 (22:35 +0000)]
am c84b3a78: am 648f1b66: Merge "Pack relocation tables for dynamic executables"

* commit 'c84b3a781c0065cba994e8cdd49b6bdb51e93399':
  Pack relocation tables for dynamic executables

9 years agoam 648f1b66: Merge "Pack relocation tables for dynamic executables"
Dmitriy Ivanov [Thu, 23 Apr 2015 22:28:49 +0000 (22:28 +0000)]
am 648f1b66: Merge "Pack relocation tables for dynamic executables"

* commit '648f1b66b4a6532383d5382148d586d354026305':
  Pack relocation tables for dynamic executables

9 years agoMerge "Pack relocation tables for dynamic executables"
Dmitriy Ivanov [Thu, 23 Apr 2015 22:20:36 +0000 (22:20 +0000)]
Merge "Pack relocation tables for dynamic executables"

9 years agoPack relocation tables for dynamic executables
Dmitriy Ivanov [Mon, 20 Apr 2015 23:59:05 +0000 (16:59 -0700)]
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

9 years agoam 893ed24d: am 387a9fee: am 941d61de: am 1ff47c7f: Merge "Revert "Pack relocation...
Dimitry Ivanov [Thu, 23 Apr 2015 05:07:11 +0000 (05:07 +0000)]
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"

9 years agoam 387a9fee: am 941d61de: am 1ff47c7f: Merge "Revert "Pack relocation tables for...
Dimitry Ivanov [Thu, 23 Apr 2015 04:55:24 +0000 (04:55 +0000)]
am 387a9fee: am 941d61de: am 1ff47c7f: Merge "Revert "Pack relocation tables for all dynamic executables""

* commit '387a9fee53ddb258c858d14cfd619109504a4366':
  Revert "Pack relocation tables for all dynamic executables"

9 years agoam 941d61de: am 1ff47c7f: Merge "Revert "Pack relocation tables for all dynamic execu...
Dimitry Ivanov [Thu, 23 Apr 2015 04:44:50 +0000 (04:44 +0000)]
am 941d61de: am 1ff47c7f: Merge "Revert "Pack relocation tables for all dynamic executables""

* commit '941d61decc24cc28c781d0593b2a5d0589b4a7ad':
  Revert "Pack relocation tables for all dynamic executables"

9 years agoam 1ff47c7f: Merge "Revert "Pack relocation tables for all dynamic executables""
Dimitry Ivanov [Thu, 23 Apr 2015 04:32:55 +0000 (04:32 +0000)]
am 1ff47c7f: Merge "Revert "Pack relocation tables for all dynamic executables""

* commit '1ff47c7f36263a701797ac76594fa45ae2d89389':
  Revert "Pack relocation tables for all dynamic executables"

9 years agoMerge "Revert "Pack relocation tables for all dynamic executables""
Dimitry Ivanov [Thu, 23 Apr 2015 04:24:46 +0000 (04:24 +0000)]
Merge "Revert "Pack relocation tables for all dynamic executables""

9 years agoRevert "Pack relocation tables for all dynamic executables"
Dimitry Ivanov [Thu, 23 Apr 2015 04:22:33 +0000 (04:22 +0000)]
Revert "Pack relocation tables for all dynamic executables"

This reverts commit e7a1b8a0c6d5f56e415345a0aceef3afe5ff5eff.

Change-Id: I1a2185e1c68d364941e3b3e525a8c4a7a42e0cc1

9 years agoam ff084258: am b7b27621: am 64119a7f: am ec6a9773: Merge "Pack relocation tables...
Dmitriy Ivanov [Thu, 23 Apr 2015 03:42:44 +0000 (03:42 +0000)]
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

9 years agoam b7b27621: am 64119a7f: am ec6a9773: Merge "Pack relocation tables for all dynamic...
Dmitriy Ivanov [Thu, 23 Apr 2015 02:56:53 +0000 (02:56 +0000)]
am b7b27621: am 64119a7f: am ec6a9773: Merge "Pack relocation tables for all dynamic executables"

* commit 'b7b27621383a2360520f178c2b510f244e16fe86':
  Pack relocation tables for all dynamic executables

9 years agoam 64119a7f: am ec6a9773: Merge "Pack relocation tables for all dynamic executables"
Dmitriy Ivanov [Thu, 23 Apr 2015 02:44:47 +0000 (02:44 +0000)]
am 64119a7f: am ec6a9773: Merge "Pack relocation tables for all dynamic executables"

* commit '64119a7ff23960615c607306c9190c1def622d23':
  Pack relocation tables for all dynamic executables

9 years agoam ec6a9773: Merge "Pack relocation tables for all dynamic executables"
Dmitriy Ivanov [Thu, 23 Apr 2015 02:33:15 +0000 (02:33 +0000)]
am ec6a9773: Merge "Pack relocation tables for all dynamic executables"

* commit 'ec6a977323616f6cd6bd2c08be894e9da4dfc456':
  Pack relocation tables for all dynamic executables

9 years agoMerge "Pack relocation tables for all dynamic executables"
Dmitriy Ivanov [Thu, 23 Apr 2015 02:24:44 +0000 (02:24 +0000)]
Merge "Pack relocation tables for all dynamic executables"

9 years agoam b93b9ec4: am d8c62ae5: am 347d8e66: am 7f47c133: Merge "Add support for full radio...
Tao Bao [Wed, 22 Apr 2015 22:18:52 +0000 (22:18 +0000)]
am b93b9ec4: am d8c62ae5: am 347d8e66: am 7f47c133: Merge "Add support for full radio option"

* commit 'b93b9ec42d008a5478018d8055791e1d1449fa36':
  Add support for full radio option

9 years agoresolved conflicts for merge of b9e4848e to master
dcashman [Wed, 22 Apr 2015 21:49:23 +0000 (14:49 -0700)]
resolved conflicts for merge of b9e4848e to master

Change-Id: Ia1ea1c3cf7669c2eeaefa1f10c511aa1e782386b

9 years agoPack relocation tables for all dynamic executables
Dmitriy Ivanov [Mon, 20 Apr 2015 23:59:05 +0000 (16:59 -0700)]
Pack relocation tables for all dynamic executables

Bug: http://b/18051137
Change-Id: I277277d5f5eb450ef9b4a23cfec16d75d977eb89

9 years agoam d8c62ae5: am 347d8e66: am 7f47c133: Merge "Add support for full radio option"
Tao Bao [Wed, 22 Apr 2015 19:07:26 +0000 (19:07 +0000)]
am d8c62ae5: am 347d8e66: am 7f47c133: Merge "Add support for full radio option"

* commit 'd8c62ae577cd6e9c6f1a11d0272733cf88bb761a':
  Add support for full radio option

9 years agoam 0ae8bf67: am 780bdd6a: am ab59266d: Merge "Add lib dirs to cts distribution."
dcashman [Wed, 22 Apr 2015 19:07:25 +0000 (19:07 +0000)]
am 0ae8bf67: am 780bdd6a: am ab59266d: Merge "Add lib dirs to cts distribution."

* commit '0ae8bf67af3d24f0391c21230d606c12128d2d6f':
  Add lib dirs to cts distribution.

9 years agoam 347d8e66: am 7f47c133: Merge "Add support for full radio option"
Tao Bao [Wed, 22 Apr 2015 18:55:14 +0000 (18:55 +0000)]
am 347d8e66: am 7f47c133: Merge "Add support for full radio option"

* commit '347d8e66228ab09af1ec458632cb51c20a818e06':
  Add support for full radio option

9 years agoam 780bdd6a: am ab59266d: Merge "Add lib dirs to cts distribution."
dcashman [Wed, 22 Apr 2015 18:55:13 +0000 (18:55 +0000)]
am 780bdd6a: am ab59266d: Merge "Add lib dirs to cts distribution."

* commit '780bdd6a1363cfe2fb9425647e0458dd2aee43f4':
  Add lib dirs to cts distribution.

9 years agoam 7f47c133: Merge "Add support for full radio option"
Tao Bao [Wed, 22 Apr 2015 18:47:01 +0000 (18:47 +0000)]
am 7f47c133: Merge "Add support for full radio option"

* commit '7f47c13339858138744036d9037d52b4a0c445f3':
  Add support for full radio option

9 years agoMerge "Add support for full radio option"
Tao Bao [Wed, 22 Apr 2015 18:26:30 +0000 (18:26 +0000)]
Merge "Add support for full radio option"

9 years agoam 7ff8d816: am 40af4381: doc: Add Korean version of DAC/distribute/ page.
Ryosuke Matsuuchi [Wed, 22 Apr 2015 17:31:49 +0000 (17:31 +0000)]
am 7ff8d816: am 40af4381: doc: Add Korean version of DAC/distribute/ page.

* commit '7ff8d816d8c8a5aa1d661c9ee3cb822f75cfde89':
  doc: Add Korean version of DAC/distribute/ page.

9 years agoam 40af4381: doc: Add Korean version of DAC/distribute/ page.
Ryosuke Matsuuchi [Wed, 22 Apr 2015 17:17:41 +0000 (17:17 +0000)]
am 40af4381: doc: Add Korean version of DAC/distribute/ page.

* commit '40af438100fd88a1a7e3de955aaaad16baf178db':
  doc: Add Korean version of DAC/distribute/ page.

9 years agoam ab59266d: Merge "Add lib dirs to cts distribution."
dcashman [Wed, 22 Apr 2015 17:10:51 +0000 (17:10 +0000)]
am ab59266d: Merge "Add lib dirs to cts distribution."

* commit 'ab59266db0d3d16ca58e06ad327a9909e45c1516':
  Add lib dirs to cts distribution.

9 years agoMerge "Add lib dirs to cts distribution."
dcashman [Wed, 22 Apr 2015 17:02:31 +0000 (17:02 +0000)]
Merge "Add lib dirs to cts distribution."