Commit Graph

23663 Commits

Author SHA1 Message Date
Yohann Roussel
36bf23ddce am 546e6205: (-s ours) am ea6de994: (-s ours) Merge "[DO NOT MERGE] Add support for RMTYPEDEF with Jack"
* commit '546e62054cf5a2a352d79f33d06ce96dcaa91731':
  [DO NOT MERGE] Add support for RMTYPEDEF with Jack
2015-06-02 13:17:09 +00:00
Yohann Roussel
546e62054c am ea6de994: (-s ours) Merge "[DO NOT MERGE] Add support for RMTYPEDEF with Jack"
* commit 'ea6de994788bf90559ee75fc638328aa90d6853b':
  [DO NOT MERGE] Add support for RMTYPEDEF with Jack
2015-06-02 13:07:52 +00:00
Yohann Roussel
ea6de99478 Merge "[DO NOT MERGE] Add support for RMTYPEDEF with Jack" 2015-06-02 12:58:38 +00:00
Yohann Roussel
b518c3ec0b [DO NOT MERGE] Add support for RMTYPEDEF with Jack
Bug: 21099584

(cherry-picked from commit 5b2c6e26db)

Change-Id: I39aa1f24780c216e978ef743098ca7ac65b2962e
2015-06-02 12:25:51 +02:00
Yohann Roussel
a9dd74c395 Merge "Add support for RMTYPEDEF with Jack" into mnc-dev 2015-06-02 09:36:27 +00:00
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
Tao Bao
68658c0f4f Add post-install verification for BBOTAs
Similar to the assertations in file-based OTA, we perform verification
for block-based OTAs (BBOTAs) after updating a partition, for both of
the incremental and full OTAs. It increases the update time (~20s on
Nexus 6), but will capture unnoticed errors right away.

Bug: 21500869
Change-Id: I89ac8fe623b855721b7affd07cf9426a23433ab0
2015-06-01 15:00:30 -07:00
Clay Murphy
fee593b266 am 2094344f: am b7bb040c: Merge "Docs: Update link to new Community page location"
* commit '2094344fb3b35a6d2bae227e65946515e5fea84a':
  Docs: Update link to new Community page location
2015-06-01 19:29:07 +00:00
Clay Murphy
2094344fb3 am b7bb040c: Merge "Docs: Update link to new Community page location"
* commit 'b7bb040c75922795b47434e09cd09842ad11fd46':
  Docs: Update link to new Community page location
2015-06-01 19:16:46 +00:00
Clay Murphy
b7bb040c75 Merge "Docs: Update link to new Community page location" 2015-06-01 19:04:56 +00:00
Ying Wang
e967f70876 am 4fe7bfd3: Add /lib[64] to host binary\'s rpath.
* commit '4fe7bfd373d99dedfd2e63135da5189478bb0138':
  Add $ORIGIN/lib[64] to host binary's rpath.
2015-06-01 18:51:57 +00:00
Ying Wang
f4710290bf am 9cc3b757: am 91c2f705: Merge "Add /lib[64] to host binary\'s rpath."
* commit '9cc3b7572c29184d77f477df2b0376fc2f4b589a':
  Add $ORIGIN/lib[64] to host binary's rpath.
2015-06-01 18:50:00 +00:00
Ying Wang
9cc3b7572c am 91c2f705: Merge "Add /lib[64] to host binary\'s rpath."
* commit '91c2f7053d131cb9449eccfda97ec80130dbf451':
  Add $ORIGIN/lib[64] to host binary's rpath.
2015-06-01 18:37:12 +00:00
Ying Wang
91c2f7053d Merge "Add $ORIGIN/lib[64] to host binary's rpath." 2015-06-01 18:29:14 +00:00
Ying Wang
30127bfdad 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 existing SDK
directory structure.

Bug: 21301578
Change-Id: Ibebfbfb8b30e81e7bbaf13a21bb205f3f0282d24
(cherry-pick from commit 4fe7bfd373)
2015-06-01 11:28:02 -07: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
3e50545fc9 am ad2494bb: Remove gcc 4.9 workaround.
* commit 'ad2494bb79932c4f2fd55f51e9b0d58676502558':
  Remove gcc 4.9 workaround.
2015-06-01 15:27:08 +00:00
Chih-Hung Hsieh
e9bf6e7750 am 8b79abfb: am c2be68e4: Merge "Remove gcc 4.9 workaround."
* commit '8b79abfb4458193ee28949882a712b03e7828c53':
  Remove gcc 4.9 workaround.
2015-05-29 20:36:19 +00:00
Chih-Hung Hsieh
8b79abfb44 am c2be68e4: Merge "Remove gcc 4.9 workaround."
* commit 'c2be68e4f688f61ea5c23183b8eaeb4e34aa1c56':
  Remove gcc 4.9 workaround.
2015-05-29 20:28:08 +00:00
Chih-Hung Hsieh
c2be68e4f6 Merge "Remove gcc 4.9 workaround." 2015-05-29 20:16:23 +00:00
Chih-Hung Hsieh
128d51e67e Remove gcc 4.9 workaround.
The gcc 4.9 devirtualization bug was fixed with a cherry pick of r212222.

BUG: 19872411
Change-Id: I6d9677f112402fe84d70da770f364392398e9cc9
(cherry picked from commit ad2494bb79)
2015-05-29 12:06:36 -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
Ying Wang
0930bcec39 am d4109350: am 6106f320: Merge "Do not add \'adb\' to persist.sys.usb.config if already there"
* commit 'd41093507b4e417b23e5172d11319312ce6c3add':
  Do not add 'adb' to persist.sys.usb.config if already there
2015-05-29 17:24:08 +00:00
Ying Wang
d41093507b am 6106f320: Merge "Do not add \'adb\' to persist.sys.usb.config if already there"
* commit '6106f320d3cf4b76774046faf2d843c5b13db593':
  Do not add 'adb' to persist.sys.usb.config if already there
2015-05-29 17:09:13 +00:00
Ying Wang
6106f320d3 Merge "Do not add 'adb' to persist.sys.usb.config if already there" 2015-05-29 16:55:05 +00:00
Oreste Salerno
420e341a36 Do not add 'adb' to persist.sys.usb.config if already there
The 'adb' configuration might have already been added by a
device-specific Makefile, so add it only if it's not already there.

Change-Id: I6f96645f44c96f6f827cc8c842a8b769f92be13a
2015-05-29 07:46:40 +00:00
Elliott Hughes
9b7356cc6d am a6b14661: am 1a81a0ef: Merge "[MIPS] Do not use compact branches until GDB supports them"
* commit 'a6b14661687d8da6a8f566dd2fb104986b411565':
  [MIPS] Do not use compact branches until GDB supports them
2015-05-29 05:07:20 +00:00
Christopher Ferris
4c4db2d809 am ce78cf40: am 6bd0bbd5: Merge "Portable way to color"
* commit 'ce78cf40a4dbdfe2644215102c1269a4e72bec8b':
  Portable way to color
2015-05-29 05:07:18 +00:00
Elliott Hughes
a6b1466168 am 1a81a0ef: Merge "[MIPS] Do not use compact branches until GDB supports them"
* commit '1a81a0efca84990648a0b0f023b8a270226303ae':
  [MIPS] Do not use compact branches until GDB supports them
2015-05-29 04:54:33 +00:00
Elliott Hughes
1a81a0efca Merge "[MIPS] Do not use compact branches until GDB supports them" 2015-05-29 04:41:27 +00:00
Dirk Dougherty
83e289e039 am bdbf0741: am f89524c8: am 6c231420: Merge "increment metadata versions." into mnc-preview-docs
* commit 'bdbf074186275fcfbe90293fc1da26da837fd32d':
  increment metadata versions.
2015-05-28 22:35:53 +00:00
Dirk Dougherty
cc194d5852 am b9c10368: am fa370efd: am 11d3d486: Increment css versions for appengine\'s benefit.
* commit 'b9c103680edf7ad7c68997ef7ac5b021442a2849':
  Increment css versions for appengine's benefit.
2015-05-28 22:35:04 +00:00
Jeff Sharkey
c79068be5c am c2fb6e10: Merge "Both ext4 and f2fs binaries for adoptable storage." into mnc-dev
* commit 'c2fb6e107d81e50a58fe25073f490b9dd48b31e2':
  Both ext4 and f2fs binaries for adoptable storage.
2015-05-28 22:34:32 +00:00
Christopher Ferris
ce78cf40a4 am 6bd0bbd5: Merge "Portable way to color"
* commit '6bd0bbd5ebf059affcb826dc7a4a874bae0b09c4':
  Portable way to color
2015-05-28 22:30:55 +00:00
Christopher Ferris
6bd0bbd5eb Merge "Portable way to color" 2015-05-28 22:00:09 +00: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
David Srbecky
8ae9a6e154 am b8184451: am cb46fa78: Merge "Pass --no-generate-debug-info to dex2oat."
* commit 'b81844517e72c7ce319556f9684a37769f3b71af':
  Pass --no-generate-debug-info to dex2oat.
2015-05-28 20:16:47 +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
David Srbecky
b81844517e am cb46fa78: Merge "Pass --no-generate-debug-info to dex2oat."
* commit 'cb46fa780c6d87baebcadbf22567d78836f12295':
  Pass --no-generate-debug-info to dex2oat.
2015-05-28 18:53:20 +00:00
David Srbecky
cb46fa780c Merge "Pass --no-generate-debug-info to dex2oat." 2015-05-28 18:37:42 +00:00
Yohann Roussel
5b2c6e26db Add support for RMTYPEDEF with Jack
Bug: 21099584
Change-Id: I39aa1f24780c216e978ef743098ca7ac65b2962e
2015-05-28 18:10:03 +02:00
David Srbecky
d8fae9a6a6 Pass --no-generate-debug-info to dex2oat.
The two flags have been merged and renamed in ART.

Change-Id: Iffc1dcc6764367239d6f45a3598cdb2c5d5d5013
2015-05-28 16:32:55 +01:00