OSDN Git Service

android-x86/build.git
9 years agobuild_image.py: Make sparse squashfs images
Mohamad Ayyash [Wed, 24 Jun 2015 17:44:29 +0000 (10:44 -0700)]
build_image.py: Make sparse squashfs images

Change-Id: Iea0399868a9406f9929d8176d61d5698a2043697
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
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).

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

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

9 years agoStyle and template updates to support responsive layout, mobile nav, email signup...
Dirk Dougherty [Wed, 13 May 2015 04:23:05 +0000 (21:23 -0700)]
Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).

Change-Id: I6e33dd10e1c9e8b378080464b4b70ac6b10df8b7

9 years agoAdd support for clobbered blocks
Tao Bao [Tue, 12 May 2015 18:42:31 +0000 (11:42 -0700)]
Add support for clobbered blocks

In ext4 filesystems, some blocks might be changed even being mounted
R/O, such as the superblock (block 0). We need to exclude such blocks
from integrity verification. Plus such blocks should always be
written to the target by copying instead of patching.

Bug: http://b/20939131
Change-Id: I657025b7b1ad50d4365e7b18dc39308facfe864e
(cherry picked from commit ff7778166bd13a90c89fa333591ee2037f587a11)

9 years agoMerge "Remove libc++ from prepackaged shared libs in cts." into mnc-dev
dcashman [Wed, 13 May 2015 18:36:30 +0000 (18:36 +0000)]
Merge "Remove libc++ from prepackaged shared libs in cts." into mnc-dev

9 years agoRemove libc++ from prepackaged shared libs in cts.
dcashman [Tue, 12 May 2015 18:31:09 +0000 (11:31 -0700)]
Remove libc++ from prepackaged shared libs in cts.

Commit 28acbeab18f6083299c07f9ebe769d22e49f8107 removed the dependency of
sepolicy-analyze on libc++, eliminating the only consumer of the library for the
cts host-side tests.  Remove the library since it is no longer needed but leave
the ability to add other shared libs in the future.

(cherry-pick of commit: 214a171424cea488f0a5c042cf18f56550693570)

Bug: 19566396
Change-Id: I36f45c3e92c2d6370e98baa4c527835af66691fa

9 years agoAdd locales sq_AL, gu_IN, and pa_IN for mnc-{dev,release}
Geoff Mendal [Wed, 13 May 2015 16:57:01 +0000 (09:57 -0700)]
Add locales sq_AL, gu_IN, and pa_IN for mnc-{dev,release}
Bug: 21095280

9 years agoDocs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download
David Friedman [Wed, 13 May 2015 14:10:22 +0000 (07:10 -0700)]
Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download
option.

Change-Id: I6ac64b6a2e0f4cca75e043c92a7e0e2395fe71de

9 years agoMerge "New "sm" shell tool to call StorageManager." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 05:27:38 +0000 (05:27 +0000)]
Merge "New "sm" shell tool to call StorageManager." into mnc-dev

9 years agoDO NOT MERGE - Change PLATFORM_VERSION from MNC to M
Bart Sears [Wed, 13 May 2015 01:36:10 +0000 (18:36 -0700)]
DO NOT MERGE - Change PLATFORM_VERSION from MNC to M

Goodbye to the cookie...

Change-Id: I0474115250411ccdfbdc769c6a464f9dbc460e8f

9 years agoMerge "Remove stlport from global package list." into mnc-dev
Dan Albert [Tue, 12 May 2015 23:11:15 +0000 (23:11 +0000)]
Merge "Remove stlport from global package list." into mnc-dev

9 years agoMerge "Disallow using stlport." into mnc-dev
Dan Albert [Tue, 12 May 2015 23:11:10 +0000 (23:11 +0000)]
Merge "Disallow using stlport." into mnc-dev

9 years agoNew "sm" shell tool to call StorageManager.
Jeff Sharkey [Tue, 12 May 2015 22:53:29 +0000 (15:53 -0700)]
New "sm" shell tool to call StorageManager.

Bug: 19993667
Change-Id: I9021794eb6f69c7f53151a887a85788d315ab67d

9 years agoMerge changes Idd0f477f,I937d2020,I3b95c868 into mnc-dev
Evgeniy Stepanov [Tue, 12 May 2015 22:34:16 +0000 (22:34 +0000)]
Merge changes Idd0f477f,I937d2020,I3b95c868 into mnc-dev

* changes:
  --no-as-needed needs -Wl.
  Fix AddressSanitizer link order and multilib setup.
  Make asan more closely match clang behavior.

9 years ago--no-as-needed needs -Wl.
Dan Albert [Tue, 28 Apr 2015 21:55:50 +0000 (14:55 -0700)]
--no-as-needed needs -Wl.

Not sure why my checkbuild passed.

Change-Id: Idd0f477faebf0b7d79998c8a86610728c2c8cc5d

9 years agoFix AddressSanitizer link order and multilib setup.
Evgenii Stepanov [Fri, 24 Apr 2015 23:34:47 +0000 (16:34 -0700)]
Fix AddressSanitizer link order and multilib setup.

ASan runtime library (when using dynamic linking) must be the first
dependency of the main executable to achieve correct symbol
interposition. This matches how the clang driver works.

In multilib setup, ASan-RT name depends on the target arch:
  /system/lib/libclang_rt.asan-arm-android.so
  /system/lib64/libclang_rt.asan-arm64-android.so

We also set RPATH to /system/lib/asan or /system/lib64/asan
to have a place for ASan-only versions of system libraries.

Change-Id: I937d202077b6e433ba476c075d31be818b662d53

9 years agoMake asan more closely match clang behavior.
Dan Albert [Tue, 28 Apr 2015 20:23:36 +0000 (13:23 -0700)]
Make asan more closely match clang behavior.

Always link libm with asan. Hasn't been a problem before because ASAN
was only ever used when libc++ was as well, which already links libm.

Pass --no-as-needed for host modules.

These aren't needed for the target builds because the target uses the
shared RTL.

Change-Id: I3b95c8682c0f63bac6b726f8cd15c638aaa98311

9 years agoKeep Throwable's constructor that takes a String argument.
Ying Wang [Mon, 11 May 2015 21:56:20 +0000 (14:56 -0700)]
Keep Throwable's constructor that takes a String argument.

Bug: 20495321
Change-Id: Iaf041da325e1d31f136f36e8ed85b2d90c578b0e

9 years agoAdd percent library to support libraries build.
Filip Gruszczynski [Mon, 11 May 2015 18:58:01 +0000 (11:58 -0700)]
Add percent library to support libraries build.

Change-Id: I8d54f4249f609032fde1d015900204e284fc0c60

9 years agoDefine BOARD_SEPOLICY_DIRS for 64-bit emulators.
Stephen Smalley [Wed, 29 Apr 2015 13:55:08 +0000 (09:55 -0400)]
Define BOARD_SEPOLICY_DIRS for 64-bit emulators.

Define BOARD_SEPOLICY_DIRS for the arm64, mips64, and x86_64
emulator targets.  As a first cut, simply inherit from the
existing policy directories used for generic and generic_x86.
We may need further board-specific policy added for these targets
but testing will require first enabling SELinux in the relevant
kernel configs.

(cherrypicked from commit 21ebc213bb3717ec3e692991eeadc423113943ab)

Change-Id: I7b4459b32298698fc2908cbbdd0e3afadbe5ac24
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
9 years agoWrap zipfile.write(), writestr() and close()
Tao Bao [Wed, 1 Apr 2015 18:21:55 +0000 (11:21 -0700)]
Wrap zipfile.write(), writestr() and close()

In order to work around the zip 2GiB limit, we need to wrap the related
functions in zipfile. Calls to those functions should always be replaced
with calls to the wrappers instead.

Bug: 18015246
Change-Id: I499574cee51ec4804bc10cbefe0b17940afed918
(cherry picked from commit 2ed665a033c587b276b1615516e5354e2ace47cd)

9 years agoMerge "[versionitis] pull image id from recovery into props" into mnc-dev
Andres Morales [Fri, 8 May 2015 22:04:26 +0000 (22:04 +0000)]
Merge "[versionitis] pull image id from recovery into props" into mnc-dev

9 years ago[versionitis] pull image id from recovery into props
Andres Morales [Thu, 7 May 2015 03:44:22 +0000 (20:44 -0700)]
[versionitis] pull image id from recovery into props

- remove root/build.prop, merge with root/default.prop

Change-Id: I913c67d948678745c0bb1b614ac10a0b7488e5c4

9 years agoCleaned the outdated incrementaljavac.
Ying Wang [Fri, 8 May 2015 20:27:25 +0000 (13:27 -0700)]
Cleaned the outdated incrementaljavac.

Nobody is using this feature and now we switched to jack.

Change-Id: I749b486eb347cbf3ee7b107565fc800eeb238c44

9 years agoMerge "Revert "Fix and cleanup."" into mnc-dev
Ying Wang [Fri, 8 May 2015 18:51:21 +0000 (18:51 +0000)]
Merge "Revert "Fix and cleanup."" into mnc-dev

9 years agoRevert "Fix and cleanup."
Ying Wang [Fri, 8 May 2015 18:51:00 +0000 (18:51 +0000)]
Revert "Fix and cleanup."

This reverts commit f28bad5227dd566395e458b5266e716d7fa5f958.

Change-Id: Ib64936457a1236fabbe7c6b9c56f52ef650342e7