OSDN Git Service

android-x86/build.git
9 years agoUncompress .so files before signing the apk.
Ying Wang [Tue, 2 Jun 2015 02:19:57 +0000 (19:19 -0700)]
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

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: Ic3666dc72bf17cd293787414dd185470b365f967

9 years agoAdd $ORIGIN/lib[64] to host binary's rpath.
Ying Wang [Mon, 1 Jun 2015 17:43:29 +0000 (10:43 -0700)]
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

9 years agoRemove gcc 4.9 workaround.
Chih-Hung Hsieh [Fri, 29 May 2015 17:23:15 +0000 (10:23 -0700)]
Remove gcc 4.9 workaround.

The gcc 4.9 devirtualization bug was fixed with a cherry pick of r212222.

BUG: 19872411
Change-Id: I6d9677f112402fe84d70da770f364392398e9cc9

9 years agoam f89524c8: am 6c231420: Merge "increment metadata versions." into mnc-preview-docs
Dirk Dougherty [Thu, 28 May 2015 21:36:26 +0000 (21:36 +0000)]
am f89524c8: am 6c231420: Merge "increment metadata versions." into mnc-preview-docs

* commit 'f89524c80bb2fa6550fff1ff3bed6a257a80f64a':
  increment metadata versions.

9 years agoam 6c231420: Merge "increment metadata versions." into mnc-preview-docs
Dirk Dougherty [Thu, 28 May 2015 21:24:53 +0000 (21:24 +0000)]
am 6c231420: Merge "increment metadata versions." into mnc-preview-docs

* commit '6c2314206fd4500500062fa2f774d4deb498ec58':
  increment metadata versions.

9 years agoMerge "increment metadata versions." into mnc-preview-docs
Dirk Dougherty [Thu, 28 May 2015 21:07:41 +0000 (21:07 +0000)]
Merge "increment metadata versions." into mnc-preview-docs

9 years agoincrement metadata versions.
Dirk Dougherty [Thu, 28 May 2015 21:06:12 +0000 (14:06 -0700)]
increment metadata versions.

Change-Id: I6e620f7ec2059ed864ebaad68585c4f97e2caf46

9 years agoam fa370efd: am 11d3d486: Increment css versions for appengine\'s benefit.
Dirk Dougherty [Thu, 28 May 2015 20:24:07 +0000 (20:24 +0000)]
am fa370efd: am 11d3d486: Increment css versions for appengine\'s benefit.

* commit 'fa370efd837324524ff4f49202fe8f99a9ff52f6':
  Increment css versions for appengine's benefit.

9 years agoam 11d3d486: Increment css versions for appengine\'s benefit.
Dirk Dougherty [Thu, 28 May 2015 20:08:34 +0000 (20:08 +0000)]
am 11d3d486: Increment css versions for appengine\'s benefit.

* commit '11d3d4864d1efc588b2291ac5087ff94ba34b2a1':
  Increment css versions for appengine's benefit.

9 years agoMerge "Both ext4 and f2fs binaries for adoptable storage." into mnc-dev
Jeff Sharkey [Thu, 28 May 2015 19:54:16 +0000 (19:54 +0000)]
Merge "Both ext4 and f2fs binaries for adoptable storage." into mnc-dev

9 years agoIncrement css versions for appengine's benefit.
Dirk Dougherty [Thu, 28 May 2015 19:50:24 +0000 (12:50 -0700)]
Increment css versions for appengine's benefit.

Change-Id: I2fd9bff3a537904cc47273c0eedcc33ea301a4a0

9 years agoam ab6b54b8: am 3d05504e: Merge "Add download button disabled state to sdk css."...
Dirk Dougherty [Thu, 28 May 2015 07:38:07 +0000 (07:38 +0000)]
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.

9 years agoam 3d05504e: Merge "Add download button disabled state to sdk css." into mnc-preview...
Dirk Dougherty [Thu, 28 May 2015 07:21:44 +0000 (07:21 +0000)]
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.

9 years agoMerge "Add download button disabled state to sdk css." into mnc-preview-docs
Dirk Dougherty [Thu, 28 May 2015 07:07:47 +0000 (07:07 +0000)]
Merge "Add download button disabled state to sdk css." into mnc-preview-docs

9 years agoam b9bc5726: am 52d8d3d3: docs: Increment all JS resource references to force refresh
Joe Fernandez [Thu, 28 May 2015 02:01:23 +0000 (02:01 +0000)]
am b9bc5726: am 52d8d3d3: docs: Increment all JS resource references to force refresh

* commit 'b9bc5726c3df57b4824fd6f12b8c47475364c93a':
  docs: Increment all JS resource references to force refresh

9 years agoam 52d8d3d3: docs: Increment all JS resource references to force refresh
Joe Fernandez [Thu, 28 May 2015 01:47:05 +0000 (01:47 +0000)]
am 52d8d3d3: docs: Increment all JS resource references to force refresh

* commit '52d8d3d3eda6dd9cc261528e804c105bd3fbc654':
  docs: Increment all JS resource references to force refresh

9 years agodocs: Increment all JS resource references to force refresh
Joe Fernandez [Thu, 28 May 2015 01:20:52 +0000 (18:20 -0700)]
docs: Increment all JS resource references to force refresh

b/21462060

Change-Id: I6335bb8b7ae754af50719a64c8cf7b53c4b51421

9 years agoAdd download button disabled state to sdk css.
Dirk Dougherty [Thu, 28 May 2015 01:18:20 +0000 (18:18 -0700)]
Add download button disabled state to sdk css.

Change-Id: Iba634208bdc8cf62532f35fb00c640e3f4e59311

9 years agoInclude fingerprintd on emulator images
bohu [Thu, 28 May 2015 00:53:11 +0000 (17:53 -0700)]
Include fingerprintd on emulator images

Change-Id: I453d7d3fa3844bdb26c8279982b8b5b246032926

9 years agoam b5f59372: am 30a411f0: am 58b3ee28: am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
Ying Wang [Wed, 27 May 2015 23:40:49 +0000 (23:40 +0000)]
am b5f59372: am 30a411f0: am 58b3ee28: am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES

* commit 'b5f5937280ef2d561d84be7f52d91a8dbecb87ef':
  Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES

9 years agoam 30a411f0: am 58b3ee28: am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
Ying Wang [Wed, 27 May 2015 23:24:19 +0000 (23:24 +0000)]
am 30a411f0: am 58b3ee28: am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES

* commit '30a411f0f61dd74fb870fb97b8d2129dbfb85024':
  Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES

9 years agoam 58b3ee28: am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
Ying Wang [Wed, 27 May 2015 22:48:45 +0000 (22:48 +0000)]
am 58b3ee28: am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES

* commit '58b3ee286363ee37f8f0bb84f6acefaf96102fef':
  Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES

9 years agoam 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES
Ying Wang [Wed, 27 May 2015 22:32:41 +0000 (22:32 +0000)]
am 12f44975: Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES

* commit '12f449756587b83cd6a04c793e05b837ceb41563':
  Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES

9 years agoStrip LOCAL_STATIC_JAVA_AAR_LIBRARIES
Ying Wang [Wed, 27 May 2015 22:14:28 +0000 (15:14 -0700)]
Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES

Change-Id: I0a0c4fe0cdd9c162976ef5f4c4709d400fde2d5a

9 years agoBoth ext4 and f2fs binaries for adoptable storage.
Jeff Sharkey [Fri, 22 May 2015 04:00:26 +0000 (21:00 -0700)]
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

9 years agoAdd huawei to vendor owner whitelist [DO NOT MERGE]
Patrick Tjin [Thu, 9 Apr 2015 14:34:34 +0000 (07:34 -0700)]
Add huawei to vendor owner whitelist [DO NOT MERGE]

Change-Id: I4996eeb43e414f327e6e9b52564044771bfbc1c3
(cherry picked from commit 7f6fb274b75e94fd1bcc9af20bf912e2134e8eec)

9 years agoam 26300a8b: am 825c1aa1: Highlight Essentials tab for distribute/tools content.
Dirk Dougherty [Tue, 26 May 2015 22:06:09 +0000 (22:06 +0000)]
am 26300a8b: am 825c1aa1: Highlight Essentials tab for distribute/tools content.

* commit '26300a8b91892954ca9483d0ba910ff023dddfe3':
  Highlight Essentials tab for distribute/tools content.

9 years agoam 825c1aa1: Highlight Essentials tab for distribute/tools content.
Dirk Dougherty [Tue, 26 May 2015 21:58:39 +0000 (21:58 +0000)]
am 825c1aa1: Highlight Essentials tab for distribute/tools content.

* commit '825c1aa1a7bfe69f6d7e15e76b8eb2be96ddc20c':
  Highlight Essentials tab for distribute/tools content.

9 years agoHighlight Essentials tab for distribute/tools content.
Dirk Dougherty [Tue, 26 May 2015 21:45:09 +0000 (14:45 -0700)]
Highlight Essentials tab for distribute/tools content.

Change-Id: I8cc4a73dc1b507940d02b8e40e03aed966ab44b0

9 years agoBump x86_64 system image size to fix build
bohu [Tue, 26 May 2015 17:40:36 +0000 (10:40 -0700)]
Bump x86_64 system image size to fix build

Bumped from 1G to 1.25G

Change-Id: I8d04166c43c792030f346cbe6ba9d6889b31359b

9 years agoam faa0de64: am abb97087: update logo icons for sdk/ndk.
Dirk Dougherty [Mon, 25 May 2015 22:41:05 +0000 (22:41 +0000)]
am faa0de64: am abb97087: update logo icons for sdk/ndk.

* commit 'faa0de643c742435b026e09805b2313c64c88962':
  update logo icons for sdk/ndk.

9 years agoam abb97087: update logo icons for sdk/ndk.
Dirk Dougherty [Mon, 25 May 2015 22:28:00 +0000 (22:28 +0000)]
am abb97087: update logo icons for sdk/ndk.

* commit 'abb9708756d7d8e7eb355c8982174fc8457bb202':
  update logo icons for sdk/ndk.

9 years agoupdate logo icons for sdk/ndk.
Dirk Dougherty [Mon, 25 May 2015 22:15:46 +0000 (15:15 -0700)]
update logo icons for sdk/ndk.

Change-Id: Icb8f3d6e0bbc8b00881b7b2dc705bae5ac70a4a0

9 years agoam b3b3add1: (-s ours) am 10380bc7: (-s ours) Merge "DO NOT MERGE Remove RecyclerView...
Yigit Boyar [Fri, 22 May 2015 23:48:13 +0000 (23:48 +0000)]
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

9 years agoam 10380bc7: (-s ours) Merge "DO NOT MERGE Remove RecyclerView tests form pathmap...
Yigit Boyar [Fri, 22 May 2015 23:34:49 +0000 (23:34 +0000)]
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

9 years agoMerge "DO NOT MERGE Remove RecyclerView tests form pathmap" into mnc-preview-docs
Yigit Boyar [Fri, 22 May 2015 23:22:18 +0000 (23:22 +0000)]
Merge "DO NOT MERGE Remove RecyclerView tests form pathmap" into mnc-preview-docs

9 years agoMerge "Use zipalign -p to page align .so files" into mnc-dev
Brian Carlstrom [Fri, 22 May 2015 23:01:42 +0000 (23:01 +0000)]
Merge "Use zipalign -p to page align .so files" into mnc-dev

9 years agoUse zipalign -p to page align .so files
Brian Carlstrom [Fri, 22 May 2015 22:51:19 +0000 (15:51 -0700)]
Use zipalign -p to page align .so files

Bug: 21400810
Change-Id: Ie9a0ec0a55511383596016e830b474c76754277a

9 years agoUses SDK specific feature lists for SDK system images
bohu [Fri, 22 May 2015 22:38:13 +0000 (15:38 -0700)]
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

9 years agoMerge "Replace Launcher2 by Launcher3 for SDK system images" into mnc-dev
bohu [Fri, 22 May 2015 22:28:24 +0000 (22:28 +0000)]
Merge "Replace Launcher2 by Launcher3 for SDK system images" into mnc-dev

9 years agoReplace Launcher2 by Launcher3 for SDK system images
bohu [Fri, 22 May 2015 22:05:12 +0000 (15:05 -0700)]
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

9 years agoam f1d8a76d: am cbe032f8: Sync style changes from external (sync3).
Dirk Dougherty [Fri, 22 May 2015 20:44:15 +0000 (20:44 +0000)]
am f1d8a76d: am cbe032f8: Sync style changes from external (sync3).

* commit 'f1d8a76dec754849001f56b0697e1690edd8b770':
  Sync style changes from external (sync3).

9 years agoam cbe032f8: Sync style changes from external (sync3).
Dirk Dougherty [Fri, 22 May 2015 20:31:28 +0000 (20:31 +0000)]
am cbe032f8: Sync style changes from external (sync3).

* commit 'cbe032f87a2fc2b2f954d3be9057d6e4cc845d92':
  Sync style changes from external (sync3).

9 years agoSync style changes from external (sync3).
Dirk Dougherty [Fri, 22 May 2015 18:41:40 +0000 (11:41 -0700)]
Sync style changes from external (sync3).

Change-Id: I590557ccc3bde1172e80f5a9bc0a2be2f30e23b8

9 years agoam f93d8dd6: Merge "Remove RecyclerView tests form pathmap" into lmp-mr1-ub-dev
Kris Giesing [Fri, 22 May 2015 19:10:18 +0000 (19:10 +0000)]
am f93d8dd6: Merge "Remove RecyclerView tests form pathmap" into lmp-mr1-ub-dev

* commit 'f93d8dd6c22705a6880b0f8efb409b378dc692aa':
  Remove RecyclerView tests form pathmap

9 years agoMerge "Remove RecyclerView tests form pathmap" into lmp-mr1-ub-dev
Kris Giesing [Fri, 22 May 2015 18:58:17 +0000 (18:58 +0000)]
Merge "Remove RecyclerView tests form pathmap" into lmp-mr1-ub-dev

9 years agoam 4620dbd5: am cf7a3b9e: Highlight "Preview" subtab on preview pages. Support templa...
Dirk Dougherty [Fri, 22 May 2015 18:16:16 +0000 (18:16 +0000)]
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.

9 years agoam cf7a3b9e: Highlight "Preview" subtab on preview pages. Support templating for...
Dirk Dougherty [Fri, 22 May 2015 17:28:34 +0000 (17:28 +0000)]
am cf7a3b9e: Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.

* commit 'cf7a3b9eb3e17f19ec598e1d77f5bc74751295ac':
  Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.

9 years agoHighlight "Preview" subtab on preview pages. Support templating for ndk files within...
Dirk Dougherty [Thu, 21 May 2015 07:52:33 +0000 (00:52 -0700)]
Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.

Change-Id: Iade5ac4630c9e763c377ab5749f16832e3ba47b7

9 years agoMerge "Revert "Replace Launcher2 with Launcher3"" into mnc-dev
Guang Zhu [Fri, 22 May 2015 02:12:40 +0000 (02:12 +0000)]
Merge "Revert "Replace Launcher2 with Launcher3"" into mnc-dev

9 years agoRevert "Replace Launcher2 with Launcher3"
Guang Zhu [Fri, 22 May 2015 02:08:19 +0000 (02:08 +0000)]
Revert "Replace Launcher2 with Launcher3"

Bug: 21164174

This reverts commit d79778faf3180ec0db67e7a12e0871d39867565a.

Change-Id: Ide6b2dc4c511a60bcdf22dd44369e3a9fa08d1af

9 years agoam 380a8f37: am ab937720: (-s ours) Add design support library docs
Chris Banes [Fri, 22 May 2015 01:49:08 +0000 (01:49 +0000)]
am 380a8f37: am ab937720: (-s ours) Add design support library docs

* commit '380a8f374cf6af55624687b19760a7afae6fc539':
  Add design support library docs

9 years agoAdd recommendation suport library to build
Jose Lima [Thu, 21 May 2015 23:26:20 +0000 (16:26 -0700)]
Add recommendation suport library to build

Change-Id: Ica884fa2bae30979dd7d17b18a004459ad161da3

9 years agoMerge "Initialize ro.build.version.preview_sdk" into mnc-dev
Adam Powell [Thu, 21 May 2015 22:17:41 +0000 (22:17 +0000)]
Merge "Initialize ro.build.version.preview_sdk" into mnc-dev

9 years agoInitialize ro.build.version.preview_sdk
Adam Powell [Thu, 21 May 2015 20:49:05 +0000 (13:49 -0700)]
Initialize ro.build.version.preview_sdk

Set the initial (version 1!) value for the preview SDK version
readable by apps. If we're on a release version, force it to be 0.

Change-Id: Ib3e6cad1f59cea8e4a781827d4a35dd3620b90f1

9 years agoMerge "remove gatekeeper software module" into mnc-dev
Andres Morales [Thu, 21 May 2015 18:27:51 +0000 (18:27 +0000)]
Merge "remove gatekeeper software module" into mnc-dev

9 years agoReplace Launcher2 with Launcher3
bohu [Thu, 21 May 2015 15:16:14 +0000 (08:16 -0700)]
Replace Launcher2 with Launcher3

Launcher2 is deprecated and should use Launcher3, as the latter
can handle higher resolution devices (such as Nexus 6).
Most importantly, Launcher3 is maintained.

Change-Id: I3a80f242af2baaebe90af93794b0ba5e249dbc7d

9 years agoam ab937720: (-s ours) Add design support library docs
Chris Banes [Thu, 21 May 2015 14:16:01 +0000 (14:16 +0000)]
am ab937720: (-s ours) Add design support library docs

* commit 'ab937720425ffd5f4c91d6716ee4cb6518544a31':
  Add design support library docs

9 years agoDO NOT MERGE Remove RecyclerView tests form pathmap
Yigit Boyar [Thu, 30 Apr 2015 02:34:56 +0000 (19:34 -0700)]
DO NOT MERGE Remove RecyclerView tests form pathmap

Bug: 20675894
Change-Id: Ia482c860b7c02f1c37b94c961cf283754c60cbcc
(cherry picked from commit a85c85ae370be73fbc920177c87e739d7353059b)
(cherry picked from commit fa358f72280e6ee320ddd1c3302eed651dcc2d0a)

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
(cherry picked from commit 8f168d1b986516112d103958070830c9075f6ce2)

9 years agoFix the permission setting in common.ZipWriteStr()
Tao Bao [Wed, 20 May 2015 16:32:18 +0000 (09:32 -0700)]
Fix the permission setting in common.ZipWriteStr()

When passing a ZipInfo instance to common.ZipWriteStr(), the
external_attr attribute should not be overwritten unless specified.
We didn't have the issue previously because we were calling
ZipFile.writestr() directly until [1] merged.

[1] commit 2ed665a033c587b276b1615516e5354e2ace47cd.

Bug: http://b/21309935
Change-Id: I8c0190362c60d7d78965ecfe5e484f8398ddc5f2
(cherry picked from commit 97734654099431bd6c5bd2eeb5d34af0e2dc03e7)

9 years agoam 716bd35e: am 9b0a76fd: am a6ffb929: FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
Ying Wang [Wed, 20 May 2015 10:00:03 +0000 (10:00 +0000)]
am 716bd35e: am 9b0a76fd: am a6ffb929: FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

* commit '716bd35ead5778feba348094876421cc24d50139':
  FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

9 years agoam 9b0a76fd: am a6ffb929: FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
Ying Wang [Wed, 20 May 2015 09:49:14 +0000 (09:49 +0000)]
am 9b0a76fd: am a6ffb929: FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

* commit '9b0a76fdf18d9bcc870a07e9089edc368d16c9d5':
  FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

9 years agoam a6ffb929: FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
Ying Wang [Wed, 20 May 2015 07:03:25 +0000 (07:03 +0000)]
am a6ffb929: FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

* commit 'a6ffb929f44e8def03bdc820386c5acfbd78f24b':
  FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

9 years agoFORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
Ying Wang [Thu, 6 Nov 2014 22:11:33 +0000 (14:11 -0800)]
FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

Because we don't have 32-bit prebuilt libLLVM/libclang.

Change-Id: I86dac33e9bcbcb3d197f7d1e4c9d33bd4e7c473e
(cherry picked from commit e5d4e74f9f8c09b79cac8125fb58bdfbb4f1aa9c)

9 years agoam 44acba6d: am 02026edf: am bf6b82fb: am 247f5c4f: am 1bd15569: am e528e44d: Merge...
Ying Wang [Wed, 20 May 2015 01:15:47 +0000 (01:15 +0000)]
am 44acba6d: am 02026edf: am bf6b82fb: am 247f5c4f: am 1bd15569: am e528e44d: Merge "Add task to print transitive dependencies and their license files." into lmp-dev

* commit '44acba6d37b1d13ef3a3ec6d89e5121f691089d9':
  Add task to print transitive dependencies and their license files.

9 years agoam 02026edf: am bf6b82fb: am 247f5c4f: am 1bd15569: am e528e44d: Merge "Add task...
Ying Wang [Wed, 20 May 2015 01:03:22 +0000 (01:03 +0000)]
am 02026edf: am bf6b82fb: am 247f5c4f: am 1bd15569: am e528e44d: Merge "Add task to print transitive dependencies and their license files." into lmp-dev

* commit '02026edf4d104750fde070862636d29db4124b3a':
  Add task to print transitive dependencies and their license files.

9 years agoam bf6b82fb: am 247f5c4f: am 1bd15569: am e528e44d: Merge "Add task to print transiti...
Ying Wang [Wed, 20 May 2015 00:50:56 +0000 (00:50 +0000)]
am bf6b82fb: am 247f5c4f: am 1bd15569: am e528e44d: Merge "Add task to print transitive dependencies and their license files." into lmp-dev

* commit 'bf6b82fbf1ec51523c615f8bf856c315c27b6890':
  Add task to print transitive dependencies and their license files.

9 years agoam 247f5c4f: am 1bd15569: am e528e44d: Merge "Add task to print transitive dependenci...
Ying Wang [Wed, 20 May 2015 00:39:27 +0000 (00:39 +0000)]
am 247f5c4f: am 1bd15569: am e528e44d: Merge "Add task to print transitive dependencies and their license files." into lmp-dev

* commit '247f5c4fce9e2cf1911458be1591517c1e7dbc42':
  Add task to print transitive dependencies and their license files.

9 years agoam 1bd15569: am e528e44d: Merge "Add task to print transitive dependencies and their...
Ying Wang [Wed, 20 May 2015 00:28:37 +0000 (00:28 +0000)]
am 1bd15569: am e528e44d: Merge "Add task to print transitive dependencies and their license files." into lmp-dev

* commit '1bd155692f2e7ddc4fb6b874fc586ba8ab86a363':
  Add task to print transitive dependencies and their license files.

9 years agoam e528e44d: Merge "Add task to print transitive dependencies and their license files...
Ying Wang [Wed, 20 May 2015 00:11:27 +0000 (00:11 +0000)]
am e528e44d: Merge "Add task to print transitive dependencies and their license files." into lmp-dev

* commit 'e528e44d31498ad83482b1860036916d0fded379':
  Add task to print transitive dependencies and their license files.

9 years agoMerge "Add task to print transitive dependencies and their license files." into lmp-dev
Ying Wang [Tue, 19 May 2015 23:58:46 +0000 (23:58 +0000)]
Merge "Add task to print transitive dependencies and their license files." into lmp-dev

9 years agoAdd task to print transitive dependencies and their license files.
Ying Wang [Thu, 7 May 2015 19:08:53 +0000 (12:08 -0700)]
Add task to print transitive dependencies and their license files.

Print modules and their transitive dependencies with license files.
To invoke, run
"make deps-license PROJ_PATH=<proj-path-patterns> DEP_PATH=<dep-path-patterns>".
PROJ_PATH restricts the paths of the source modules;
DEP_PATH restricts the paths of the dependency modules.
Both can be makefile patterns supported by makefile function $(filter).
Example:
  $ make deps-license packages/app/% external/%
  prints all modules in packages/app/ with their dpendencies in external/.
The printout lines look like "<module_name> :: <module_paths> :: <license_files>".

Bug: 20823995
Change-Id: I06b66e85ff56c8628bffa3d948085ed45870100f
(cherry-pick from 39b9b690a824c82465fe0ac9b44a0c1f5e6ae13a)

9 years agoUse TARGET_DEFAULT_JAVA_LIBRARIES instead of just framework.
Ying Wang [Tue, 19 May 2015 23:03:57 +0000 (16:03 -0700)]
Use TARGET_DEFAULT_JAVA_LIBRARIES instead of just framework.

- When raising the ProGuard sdk version for platform build, use
  TARGET_DEFAULT_JAVA_LIBRARIES instead of just framework.
- Also added SUPPORT_LIBRARY_ROOT to reference support library resource
  dir.

Bug: 20658265
Change-Id: Ib008d8e70508723db91431a062cac691367f2f6c

9 years agoMerge "Allow goldfish-setup to put the emulator in WiFi-only mode" into mnc-dev
Nick Kralevich [Tue, 19 May 2015 12:52:16 +0000 (12:52 +0000)]
Merge "Allow goldfish-setup to put the emulator in WiFi-only mode" into mnc-dev

9 years agoMerge "Save Jack default extra args in a file" into mnc-dev
Yohann Roussel [Tue, 19 May 2015 09:27:42 +0000 (09:27 +0000)]
Merge "Save Jack default extra args in a file" into mnc-dev

9 years agoAllow goldfish-setup to put the emulator in WiFi-only mode
Yu Ning [Mon, 18 May 2015 09:11:37 +0000 (17:11 +0800)]
Allow goldfish-setup to put the emulator in WiFi-only mode

The goldfish-setup service (essentially /system/etc/init.goldfish.sh)
executes the following commands when certain conditions are met:

 setprop ro.radio.noril yes
 stop ril-daemon

so as to stop the RIL daemon and emulate a WiFi-only device. Both would
fail, though, because goldfish-setup does not have the permissions to
set relevant properties.

This CL modifies the emulator's SELinux policy to grant the necessary
permissions. It is a step towards fixing the ril-daemon-keeps-getting-
killed-and-restarted problem with the new ("ranchu") emulator, which
does not support telephony emulation yet. (The other step is to have
init start goldfish-setup, which will be done in a seperate CL.)

(cherrypicked from commit 33dca8090f8eb1be27e6c6426b7a13a73314e464)

Change-Id: Ice7e7898804b7353ac4a8c49d871b1b2571d7a5f
Signed-off-by: Yu Ning <yu.ning@intel.com>
9 years agoUpdate device to use set_prop() macro
William Roberts [Mon, 11 May 2015 17:23:59 +0000 (10:23 -0700)]
Update device to use set_prop() macro

(cherrypicked from commit cccc90163946c0273a165a1ea50f2a87756610c7)

Change-Id: I630ba0178439c935d08062892990d43a3cc1239e
Signed-off-by: William Roberts <william.c.roberts@linux.intel.com>
9 years agoDon't exclude GPL binaries from the emulator system image
Siva Velusamy [Mon, 18 May 2015 19:02:26 +0000 (12:02 -0700)]
Don't exclude GPL binaries from the emulator system image

GPL binaries are allowed on device and emulator as well

b/20341087

Change-Id: I777dccd0d5442ae2cd0b7e222f6a9beaa3648c37

9 years agoMerge "Improved/clarified license guidance for GPL code." into mnc-dev
Vince Harron [Mon, 18 May 2015 19:58:01 +0000 (19:58 +0000)]
Merge "Improved/clarified license guidance for GPL code." into mnc-dev

9 years agoam 9cf9a6c6: am a8bbfca3: Change "M Preview" tab to "Preview", change "monetize"...
Dirk Dougherty [Mon, 18 May 2015 18:49:35 +0000 (18:49 +0000)]
am 9cf9a6c6: am a8bbfca3: Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.

* commit '9cf9a6c6dcd9d58024dc115a703feb7bc47098bd':
  Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.

9 years agoLabel /dev/ttyGF* as serial_device
Yu Ning [Mon, 18 May 2015 06:52:22 +0000 (14:52 +0800)]
Label /dev/ttyGF* as serial_device

In goldfish kernel 3.10, the goldfish_tty device instantiates virtual
serial ports as /dev/ttyGF* (e.g. /dev/ttyGF0), not as /dev/ttyS* as in
goldfish kernel 3.4. However, in the emulator's SELinux security policy,
there is no specific security context assigned to /dev/ttyGF*, and the
one inherited from /dev (u:object_r:device:s0) prevents services such as
qemud and goldfish-logcat from reading and writing ttyGF*. Consequently,
qemud terminates abnormally on the classic x86_64 emulator:

 init: Service 'qemud' (pid XXX) exited with status 1

Fix this issue by assigning /dev/ttyGF* the same security context as
/dev/ttyS*.

(cherrypicked from commit 478346792282aba990111d736ba9928c616f9eb6)

Change-Id: Ia7394dc217bd82f566c4d1b7eda3cc8ce3ac612f
Signed-off-by: Yu Ning <yu.ning@intel.com>
9 years agoremove gatekeeper software module
Andres Morales [Mon, 18 May 2015 16:24:05 +0000 (09:24 -0700)]
remove gatekeeper software module

now implemented directly in gatekeeperd binary

Change-Id: Iaeb8e97427dbcffd1356fa955d61af55e3e330ec

9 years agoSave Jack default extra args in a file
Yohann Roussel [Wed, 13 May 2015 14:03:28 +0000 (16:03 +0200)]
Save Jack default extra args in a file

Change-Id: I059b36fc71679eb5c95f05ede26d8037c742921b

9 years agoam a8bbfca3: Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn...
Dirk Dougherty [Sat, 16 May 2015 00:32:01 +0000 (00:32 +0000)]
am a8bbfca3: Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.

* commit 'a8bbfca3d0ba7da40f9348eeb38badda575fe411':
  Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.

9 years agoChange "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight...
Dirk Dougherty [Fri, 15 May 2015 05:58:28 +0000 (22:58 -0700)]
Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.

Change-Id: I80124a8a05311976a7c373dfdaf5bb984a9c3bc7

9 years agoImproved/clarified license guidance for GPL code.
Vince Harron [Fri, 15 May 2015 23:55:30 +0000 (16:55 -0700)]
Improved/clarified license guidance for GPL code.

This messaging approved by Google Open Source Licensing.

Change-Id: I717e8b5003fd856b3e2e6c28394591b5d6939b43

9 years agoMerge "Label /dev/goldfish_pipe as qemu_device" into mnc-dev
Daniel Cashman [Fri, 15 May 2015 15:42:24 +0000 (15:42 +0000)]
Merge "Label /dev/goldfish_pipe as qemu_device" into mnc-dev

9 years agoLabel /dev/goldfish_pipe as qemu_device
Yu Ning [Thu, 14 May 2015 16:00:35 +0000 (00:00 +0800)]
Label /dev/goldfish_pipe as qemu_device

In goldfish kernel 3.10, qemu_pipe has been renamed to goldfish_pipe.
However, in the emulator's SELinux policy, there is no specific security
context assigned to /dev/goldfish_pipe, and the one inherited from /dev
(u:object_r:device:s0) prevents various processes (qemud, qemu-props,
etc.) from reading and writing goldfish_pipe. Consequently, the classic
x86_64 emulator will not boot if GPU emulation is enabled ("-gpu host"),
and does not render the UI correctly if launched with "-gpu off".

Fix this issue by assigning /dev/goldfish_pipe the same security context
as /dev/qemu_pipe.

This CL also benefits the new ("ranchu") emulator, where all supported
ABIs (arm64, mips64, x86 and x86_64) use 3.10-based kernels. Without
this fix, the new emulator boots and works, but there are avc denials
related to goldfish_pipe.

Last but not least, it is now possible to boot the classic x86 emulator
with a 3.10-based kernel instead of the current 3.4-based one, without
disabling SELinux.

(cherry-pick of commit: a5053e6b35fa1188d94a851a3032126141e5c87f)

Change-Id: I52e75c94d3ae3758cbbf5bc0e1d84254fdf5c6cb
Signed-off-by: Yu Ning <yu.ning@intel.com>
9 years agoMerge "Add support for clobbered blocks" into mnc-dev
Tao Bao [Thu, 14 May 2015 21:54:20 +0000 (21:54 +0000)]
Merge "Add support for clobbered blocks" into mnc-dev

9 years agoMerge "Add tzdatacheck to image" into mnc-dev
Neil Fuller [Thu, 14 May 2015 10:15:00 +0000 (10:15 +0000)]
Merge "Add tzdatacheck to image" into mnc-dev

9 years agoAdd tzdatacheck to image
Neil Fuller [Wed, 13 May 2015 16:47:29 +0000 (17:47 +0100)]
Add tzdatacheck to image

Bug: 21110439
Bug: 19941636
Change-Id: I743236d9c7b433968865648ffae25451c6012a5f

9 years agoam 802f05f0: am 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflec...
David Friedman [Thu, 14 May 2015 00:00:12 +0000 (00:00 +0000)]
am 802f05f0: am 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

* commit '802f05f0e47ab15955b0c460db0c751b982a6f34':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

9 years agoam 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal...
David Friedman [Wed, 13 May 2015 23:46:38 +0000 (23:46 +0000)]
am 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

* commit '2f9407e197242eb3a9db188f901369e09e11a152':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

9 years agoam 7fbb988d: Merge "Add percent library to support libraries build." into lmp-mr1...
Filip Gruszczynski [Wed, 13 May 2015 23:46:29 +0000 (23:46 +0000)]
am 7fbb988d: Merge "Add percent library to support libraries build." into lmp-mr1-ub-dev

* commit '7fbb988da154ad91461c3d51994ae0ff99d94032':
  Add percent library to support libraries build.

9 years agoMerge "Add percent library to support libraries build." into lmp-mr1-ub-dev
Filip Gruszczynski [Wed, 13 May 2015 23:32:06 +0000 (23:32 +0000)]
Merge "Add percent library to support libraries build." into lmp-mr1-ub-dev

9 years agoam f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin...
David Friedman [Wed, 13 May 2015 23:30:43 +0000 (23:30 +0000)]
am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

* commit 'f004b1149db26f24188eeaa1fe65a4743c4e9b31':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

9 years agoam 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK downl...
David Friedman [Wed, 13 May 2015 23:16:45 +0000 (23:16 +0000)]
am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

* commit '302e2f9cb58de33c529b6ac02421fb0b63b7fcb0':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

9 years agoam 7a72fdd4: am f97b2ef2: Style and template updates to support responsive layout...
Dirk Dougherty [Wed, 13 May 2015 21:44:39 +0000 (21:44 +0000)]
am 7a72fdd4: am f97b2ef2: Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).

* commit '7a72fdd4e46c907c7deac8e6cd75df156ec244f0':
  Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).