Commit Graph

23408 Commits

Author SHA1 Message Date
Ying Wang 226eb92321 Uncompress .so files before signing the apk.
- In uncompress-shared-libs we may strip .so files not for the current
  TARGET_ARCH. So we need to strip first and then sign the apk.
- For PRESIGNED apks, make sure we don't strip the .so files even if
   they are "fat".

Bug: 21571418
Bug: 8076853
Change-Id: Ifd1193dda0c2cd52ac148064ce5a32bcdd03f75c
2015-06-01 19:19:57 -07:00
Ying Wang 1fb0152ff7 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: Ic3666dc72bf17cd293787414dd185470b365f967
2015-06-01 19:19:45 -07:00
Andrew Hsieh d760d4676b Revert "Revert "Enable linker -fix-cortex-a53-843419""
This reverts commit 32e1689684.

Now that prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9 is also updated

Change-Id: Id95c1c4cc651c434461655e62b8f23afd56b53e4
2015-06-02 07:59:24 +08:00
Ying Wang 4fe7bfd373 Add $ORIGIN/lib[64] to host binary's rpath.
Normally the binaries use the exsiting $ORIGIN/../lib[64] with binaries
in the bin subdirectory;
For historical reason the binaries in the SDK package don't have a bin
subdirectory. This workaround enables them to work in the exsiting SDK
directory structure.

Bug: 21301578
Change-Id: Ibebfbfb8b30e81e7bbaf13a21bb205f3f0282d24
2015-06-01 10:43:29 -07:00
Chih-Hung Hsieh ad2494bb79 Remove gcc 4.9 workaround.
The gcc 4.9 devirtualization bug was fixed with a cherry pick of r212222.

BUG: 19872411
Change-Id: I6d9677f112402fe84d70da770f364392398e9cc9
2015-05-29 10:27:58 -07:00
Dirk Dougherty bdbf074186 am f89524c8: am 6c231420: Merge "increment metadata versions." into mnc-preview-docs
* commit 'f89524c80bb2fa6550fff1ff3bed6a257a80f64a':
  increment metadata versions.
2015-05-28 21:36:26 +00:00
Dirk Dougherty f89524c80b am 6c231420: Merge "increment metadata versions." into mnc-preview-docs
* commit '6c2314206fd4500500062fa2f774d4deb498ec58':
  increment metadata versions.
2015-05-28 21:24:53 +00:00
Dirk Dougherty 6c2314206f Merge "increment metadata versions." into mnc-preview-docs 2015-05-28 21:07:43 +00:00
Dirk Dougherty 81e39c3e9d increment metadata versions.
Change-Id: I6e620f7ec2059ed864ebaad68585c4f97e2caf46
2015-05-28 14:06:12 -07:00
Dirk Dougherty b9c103680e am fa370efd: am 11d3d486: Increment css versions for appengine\'s benefit.
* commit 'fa370efd837324524ff4f49202fe8f99a9ff52f6':
  Increment css versions for appengine's benefit.
2015-05-28 20:24:07 +00:00
Dirk Dougherty fa370efd83 am 11d3d486: Increment css versions for appengine\'s benefit.
* commit '11d3d4864d1efc588b2291ac5087ff94ba34b2a1':
  Increment css versions for appengine's benefit.
2015-05-28 20:08:34 +00:00
Jeff Sharkey c2fb6e107d Merge "Both ext4 and f2fs binaries for adoptable storage." into mnc-dev 2015-05-28 19:54:17 +00:00
Dirk Dougherty 11d3d4864d Increment css versions for appengine's benefit.
Change-Id: I2fd9bff3a537904cc47273c0eedcc33ea301a4a0
2015-05-28 12:50:24 -07:00
Yohann Roussel 5b2c6e26db Add support for RMTYPEDEF with Jack
Bug: 21099584
Change-Id: I39aa1f24780c216e978ef743098ca7ac65b2962e
2015-05-28 18:10:03 +02:00
Dirk Dougherty d1f1588988 am ab6b54b8: am 3d05504e: Merge "Add download button disabled state to sdk css." into mnc-preview-docs
* commit 'ab6b54b874c38e4ca5b97392f7f21d3494c72140':
  Add download button disabled state to sdk css.
2015-05-28 07:38:07 +00:00
Dirk Dougherty ab6b54b874 am 3d05504e: Merge "Add download button disabled state to sdk css." into mnc-preview-docs
* commit '3d05504e2d4091854c2ec1af06de8c54429ca1fc':
  Add download button disabled state to sdk css.
2015-05-28 07:21:44 +00:00
Dirk Dougherty 3d05504e2d Merge "Add download button disabled state to sdk css." into mnc-preview-docs 2015-05-28 07:07:47 +00:00
Joe Fernandez 2f45337f6e am b9bc5726: am 52d8d3d3: docs: Increment all JS resource references to force refresh
* commit 'b9bc5726c3df57b4824fd6f12b8c47475364c93a':
  docs: Increment all JS resource references to force refresh
2015-05-28 02:01:23 +00:00
Joe Fernandez b9bc5726c3 am 52d8d3d3: docs: Increment all JS resource references to force refresh
* commit '52d8d3d3eda6dd9cc261528e804c105bd3fbc654':
  docs: Increment all JS resource references to force refresh
2015-05-28 01:47:05 +00:00
Joe Fernandez 52d8d3d3ed docs: Increment all JS resource references to force refresh
b/21462060

Change-Id: I6335bb8b7ae754af50719a64c8cf7b53c4b51421
2015-05-27 18:22:00 -07:00
Dirk Dougherty 6e46b3185b Add download button disabled state to sdk css.
Change-Id: Iba634208bdc8cf62532f35fb00c640e3f4e59311
2015-05-27 18:18:20 -07:00
bohu 1d8b270267 Include fingerprintd on emulator images
Change-Id: I453d7d3fa3844bdb26c8279982b8b5b246032926
2015-05-27 17:53:11 -07:00
Ying Wang 45c8b574b6 am b5f59372: am 30a411f0: am 58b3ee28: am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
* commit 'b5f5937280ef2d561d84be7f52d91a8dbecb87ef':
  Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
2015-05-27 23:40:49 +00:00
Ying Wang b5f5937280 am 30a411f0: am 58b3ee28: am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
* commit '30a411f0f61dd74fb870fb97b8d2129dbfb85024':
  Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
2015-05-27 23:24:19 +00:00
Ying Wang 30a411f0f6 am 58b3ee28: am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
* commit '58b3ee286363ee37f8f0bb84f6acefaf96102fef':
  Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
2015-05-27 22:48:45 +00:00
Ying Wang 58b3ee2863 am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
* commit '12f449756587b83cd6a04c793e05b837ceb41563':
  Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
2015-05-27 22:32:41 +00:00
Ying Wang 12f4497565 Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
Change-Id: I0a0c4fe0cdd9c162976ef5f4c4709d400fde2d5a
2015-05-27 15:14:28 -07:00
Jeff Sharkey e819398870 Both ext4 and f2fs binaries for adoptable storage.
New adoptable storage feature can format media as either ext4 or
f2fs, so bring in both sets of binaries for typical products.

Bug: 20275581
Change-Id: I85380cbc8c06c958b66db879f63447ddac124cbf
2015-05-27 14:44:30 -07:00
Patrick Tjin 899717ff2a Add huawei to vendor owner whitelist [DO NOT MERGE]
Change-Id: I4996eeb43e414f327e6e9b52564044771bfbc1c3
(cherry picked from commit 7f6fb274b7)
2015-05-27 03:31:38 +00:00
Dirk Dougherty 597d244f7a am 26300a8b: am 825c1aa1: Highlight Essentials tab for distribute/tools content.
* commit '26300a8b91892954ca9483d0ba910ff023dddfe3':
  Highlight Essentials tab for distribute/tools content.
2015-05-26 22:06:09 +00:00
Dirk Dougherty 26300a8b91 am 825c1aa1: Highlight Essentials tab for distribute/tools content.
* commit '825c1aa1a7bfe69f6d7e15e76b8eb2be96ddc20c':
  Highlight Essentials tab for distribute/tools content.
2015-05-26 21:58:39 +00:00
Dirk Dougherty 825c1aa1a7 Highlight Essentials tab for distribute/tools content.
Change-Id: I8cc4a73dc1b507940d02b8e40e03aed966ab44b0
2015-05-26 14:45:09 -07:00
bohu a2eccba17f Bump x86_64 system image size to fix build
Bumped from 1G to 1.25G

Change-Id: I8d04166c43c792030f346cbe6ba9d6889b31359b
2015-05-26 10:40:36 -07:00
Dirk Dougherty bc4dc42b2d am faa0de64: am abb97087: update logo icons for sdk/ndk.
* commit 'faa0de643c742435b026e09805b2313c64c88962':
  update logo icons for sdk/ndk.
2015-05-25 22:41:05 +00:00
Dirk Dougherty faa0de643c am abb97087: update logo icons for sdk/ndk.
* commit 'abb9708756d7d8e7eb355c8982174fc8457bb202':
  update logo icons for sdk/ndk.
2015-05-25 22:28:00 +00:00
Dirk Dougherty abb9708756 update logo icons for sdk/ndk.
Change-Id: Icb8f3d6e0bbc8b00881b7b2dc705bae5ac70a4a0
2015-05-25 15:15:46 -07:00
Yigit Boyar 861c50c158 am b3b3add1: (-s ours) am 10380bc7: (-s ours) Merge "DO NOT MERGE Remove RecyclerView tests form pathmap" into mnc-preview-docs
* commit 'b3b3add1d7ce7b0d932735ca90db177dadb7182b':
  DO NOT MERGE Remove RecyclerView tests form pathmap
2015-05-22 23:48:13 +00:00
Yigit Boyar b3b3add1d7 am 10380bc7: (-s ours) Merge "DO NOT MERGE Remove RecyclerView tests form pathmap" into mnc-preview-docs
* commit '10380bc773934e1ba14964731e30b69f251c3afc':
  DO NOT MERGE Remove RecyclerView tests form pathmap
2015-05-22 23:34:49 +00:00
Yigit Boyar 10380bc773 Merge "DO NOT MERGE Remove RecyclerView tests form pathmap" into mnc-preview-docs 2015-05-22 23:22:20 +00:00
Brian Carlstrom 1566a6fbfc Merge "Use zipalign -p to page align .so files" into mnc-dev 2015-05-22 23:01:42 +00:00
Brian Carlstrom 903186f938 Use zipalign -p to page align .so files
Bug: 21400810
Change-Id: Ie9a0ec0a55511383596016e830b474c76754277a
2015-05-22 15:51:19 -07:00
bohu ed6b6350ea Uses SDK specific feature lists for SDK system images
The SDK system images does not have some features such as bluetooth;
From now on, it will use its own feature list from
device/generic/goldfish/data/etc/handheld_core_hardware.xml

bug: 21159206
Change-Id: If566d4d190dc307c6d16844dba0d17570f0ceebf
2015-05-22 15:38:13 -07:00
bohu 2913ecc2d5 Merge "Replace Launcher2 by Launcher3 for SDK system images" into mnc-dev 2015-05-22 22:28:24 +00:00
bohu 9b2323edf7 Replace Launcher2 by Launcher3 for SDK system images
Launcher2 is deprecated and should use Launcher3, as the latter
can handle higher resolution devices (such as Nexus 6).

Change-Id: I5215d87f8536869486bb0b6317ae382a21099925
2015-05-22 15:05:12 -07:00
Dirk Dougherty 632c5203c1 am f1d8a76d: am cbe032f8: Sync style changes from external (sync3).
* commit 'f1d8a76dec754849001f56b0697e1690edd8b770':
  Sync style changes from external (sync3).
2015-05-22 20:44:15 +00:00
Dirk Dougherty f1d8a76dec am cbe032f8: Sync style changes from external (sync3).
* commit 'cbe032f87a2fc2b2f954d3be9057d6e4cc845d92':
  Sync style changes from external (sync3).
2015-05-22 20:31:28 +00:00
Dirk Dougherty cbe032f87a Sync style changes from external (sync3).
Change-Id: I590557ccc3bde1172e80f5a9bc0a2be2f30e23b8
2015-05-22 13:20:16 -07:00
Kris Giesing 89dd3cd60b am f93d8dd6: Merge "Remove RecyclerView tests form pathmap" into lmp-mr1-ub-dev
* commit 'f93d8dd6c22705a6880b0f8efb409b378dc692aa':
  Remove RecyclerView tests form pathmap
2015-05-22 19:10:18 +00:00
Kris Giesing f93d8dd6c2 Merge "Remove RecyclerView tests form pathmap" into lmp-mr1-ub-dev 2015-05-22 18:58:18 +00:00
Dirk Dougherty 4475fda037 am 4620dbd5: am cf7a3b9e: Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.
* commit '4620dbd5903c2b84181e0fec16615d995b8e8556':
  Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.
2015-05-22 18:16:16 +00:00