OSDN Git Service

android-x86/build.git
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 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

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

9 years agoRemove stlport from global package list.
Dan Albert [Wed, 6 May 2015 16:49:10 +0000 (09:49 -0700)]
Remove stlport from global package list.

This is now whitelisted per device.

Bug: http://b/15193147
Change-Id: I7fcd0891242fb552a17753b151cf431a398bbc44
(cherry picked from commit 0a93b56924fe5e12bacbb20f3b62ad93f1b5e577)

9 years agoDisallow using stlport.
Dan Albert [Wed, 6 May 2015 17:08:32 +0000 (10:08 -0700)]
Disallow using stlport.

The only remaining users of stlport are vendor blobs. Prevent any new
users from using it.

Bug: http://b/15193147
Change-Id: I577a16c8c52e2c7d939c3b5026e18ad90e4b9f26
(cherry picked from commit 3a360a7353034be89cbcbb24296c7ae30e6b0ef2)

9 years agoMerge "Fix Mac build." into mnc-dev
Ying Wang [Fri, 8 May 2015 03:59:15 +0000 (03:59 +0000)]
Merge "Fix Mac build." into mnc-dev

9 years agoFix Mac build.
Ying Wang [Fri, 8 May 2015 03:57:56 +0000 (20:57 -0700)]
Fix Mac build.

Mac doesn't like "cp -r -L", but "cp -R -L".

Change-Id: I32bd8e5171db4ed811e158d91482671b14622825

9 years agoFix and cleanup.
Ying Wang [Thu, 7 May 2015 23:53:13 +0000 (16:53 -0700)]
Fix and cleanup.

- Detect java-source-list before transforming to java-source-list-uniq.
  This fixes non-fatal errors in build log like:
  /bin/bash:
  out/target/common/obj/APPS/android.core.tests.libcore.package.tzdata_intermediates/classes/java-source-list:
  No such file or directory
- Cleaned the outdated incrementaljavac. Nobody is using this feature
  and now we switched to jack.

Change-Id: If1adb9b5820d9b295a11984c0f170f9a7ff4de7b

9 years agoDo not pack relocations for executables
Dmitriy Ivanov [Wed, 29 Apr 2015 19:13:37 +0000 (12:13 -0700)]
Do not pack relocations for executables

Bug: http://b/20665974
Change-Id: Ibc13b5d6bd05dfbc7ff8475068fe7363f58e7e67
(cherry picked from commit e24b6f77ffba8f7d9c2a7acbb7a0b748197d48c4)

9 years agoRevert "Switch from Calculator to ExactCalculator"
Robin Lee [Thu, 7 May 2015 14:55:48 +0000 (14:55 +0000)]
Revert "Switch from Calculator to ExactCalculator"

Temporary revert to get TT builds in shape.

This reverts commit 846505dc35bb155c1c2cf54d407a946e8f732494.

Bug: 20745303
Change-Id: Id3455cba38b7aabaffa63c8531a6430f69897c6e

9 years agoam c4ef9bb0: am a9d796a4: docs: Add navigation heading for Develop > Preview
Joe Fernandez [Thu, 7 May 2015 06:42:07 +0000 (06:42 +0000)]
am c4ef9bb0: am a9d796a4: docs: Add navigation heading for Develop > Preview

* commit 'c4ef9bb08f504c3ca58727403f607cd051edbf5d':
  docs: Add navigation heading for Develop > Preview

9 years agoam a9d796a4: docs: Add navigation heading for Develop > Preview
Joe Fernandez [Thu, 7 May 2015 06:29:59 +0000 (06:29 +0000)]
am a9d796a4: docs: Add navigation heading for Develop > Preview

* commit 'a9d796a4f9e198f17de6f1a27264b1b4fc9a778a':
  docs: Add navigation heading for Develop > Preview

9 years agodocs: Add navigation heading for Develop > Preview
Joe Fernandez [Wed, 6 May 2015 05:07:42 +0000 (22:07 -0700)]
docs: Add navigation heading for Develop > Preview

Change-Id: I133672c6ecb5e778f49c31d091812ed7b6dc6b24

9 years agoMerge "DO NOT MERGE Remove RecyclerView tests form pathmap" into mnc-dev
Yigit Boyar [Thu, 7 May 2015 01:40:09 +0000 (01:40 +0000)]
Merge "DO NOT MERGE Remove RecyclerView tests form pathmap" into mnc-dev

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)

9 years agoRevert "Build docs for android-support-media-protocols.jar."
Jeff Brown [Tue, 5 May 2015 03:07:11 +0000 (20:07 -0700)]
Revert "Build docs for android-support-media-protocols.jar."

This reverts commit 5d0da1f959c5f9f38def94d76cdf0cddf52e3edf.

Bug: 20641986
Change-Id: I68d79186179b8b542b323ab630c6ed7620eb6f27

9 years agoam e94fcf31: am 29e93436: Swap templates-sdk and templates-sdk-dev files to enable...
Dirk Dougherty [Wed, 6 May 2015 17:13:01 +0000 (17:13 +0000)]
am e94fcf31: am 29e93436: Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.

* commit 'e94fcf31a08a7cce45171b5f8cce29b50d2cefd8':
  Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.

9 years agoam 29e93436: Swap templates-sdk and templates-sdk-dev files to enable redesign builds...
Dirk Dougherty [Wed, 6 May 2015 17:00:22 +0000 (17:00 +0000)]
am 29e93436: Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.

* commit '29e934367b927fb13417bee77008600ad5a39dcc':
  Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.

9 years agoSwap templates-sdk and templates-sdk-dev files to enable redesign builds by default.
Dirk Dougherty [Wed, 6 May 2015 01:17:13 +0000 (18:17 -0700)]
Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.

Change-Id: I9eabbbcd823fb29bd2209172c458cb9dad5f24d2

9 years agoUpgrade x86 gcc to 4.9 and disable devirtualization.
Chih-Hung Hsieh [Fri, 1 May 2015 21:53:59 +0000 (14:53 -0700)]
Upgrade x86 gcc to 4.9 and disable devirtualization.

Also filter out gcc-only flags -Wno-clobbered and -fno-devirtualize
when compiled with clang/llvm.

BUG: 19872411
Change-Id: I6de57583be04da607f569df65e93531787dbb789
(cherry picked from AOSP commit 90036610ddfe0455553a1b46bb8adbeafde0cac1)

9 years agoRaise SDK version for ProGuard processing when app links support library.
Ying Wang [Tue, 5 May 2015 02:21:48 +0000 (19:21 -0700)]
Raise SDK version for ProGuard processing when app links support library.

When an app's LOCAL_SDK_VERSION is lower than the support library's
LOCAL_SDK_VERSION,  we artifically raises the "SDK version" "linked"
by ProGuard, to
- suppress ProGuard warnings of referencing symbols unknown to the
  lower SDK version.
- prevent ProGuard stripping subclass in the support library that
  extends class added in the higher SDK version.

This allows us to remove the dangerous ProGuard flag
"-dontwarn android.support.**".

Notes:
- We don't raise the app's LOCAL_SDK_VERSION, so that the app's own
  code is still unable to use the higher SDK version.
- For platform build, we can't just raise to the "current" SDK,
  because would break apps that use APIs removed from the current SDK.
  We raise it to framework.jar instead, which contains the most complete
  symbol set.

Bug: 20658265
Change-Id: I90099073457a65cb8031fbaec6b396d68ce614a7
(cherry picked from commit 8e8d1e7abadb53d5dcb211fac6ab6ed20f5dc9ac)

9 years agoam e99d5320: am 032a4946: Doc change: css/js, assets for landing page, header/footer...
Dirk Dougherty [Tue, 5 May 2015 02:35:03 +0000 (02:35 +0000)]
am e99d5320: am 032a4946: Doc change: css/js, assets for landing page, header/footer designs.

* commit 'e99d5320dd70de6f5ada67dd0c2dd9761e6a6c32':
  Doc change: css/js, assets for landing page, header/footer designs.

9 years agoam 032a4946: Doc change: css/js, assets for landing page, header/footer designs.
Dirk Dougherty [Tue, 5 May 2015 02:23:28 +0000 (02:23 +0000)]
am 032a4946: Doc change: css/js, assets for landing page, header/footer designs.

* commit '032a494654978c3ceed73268f99615ff3d0d686e':
  Doc change: css/js, assets for landing page, header/footer designs.

9 years agoam 55abf4c2: am ff233cc9: Doc change: remove deprecated templates-sdk-dyn files,...
Dirk Dougherty [Tue, 5 May 2015 01:48:10 +0000 (01:48 +0000)]
am 55abf4c2: am ff233cc9: Doc change: remove deprecated templates-sdk-dyn files, add new development files based on production templates-sdk.

* commit '55abf4c22d08693cfb2838a79654fc32c7de3ff8':
  Doc change: remove deprecated templates-sdk-dyn files, add new development files based on production templates-sdk.

9 years agoDoc change: css/js, assets for landing page, header/footer designs.
Dirk Dougherty [Tue, 5 May 2015 01:17:33 +0000 (18:17 -0700)]
Doc change: css/js, assets for landing page, header/footer designs.

Change-Id: I9430a725bd7ba12cb0ac7da1a5ed9c3bfa8e321e

9 years agoam ff233cc9: Doc change: remove deprecated templates-sdk-dyn files, add new developme...
Dirk Dougherty [Tue, 5 May 2015 01:04:31 +0000 (01:04 +0000)]
am ff233cc9: Doc change: remove deprecated templates-sdk-dyn files, add new development files based on production templates-sdk.

* commit 'ff233cc92e379d501d8b256ba9a015827d77e012':
  Doc change: remove deprecated templates-sdk-dyn files, add new development files based on production templates-sdk.

9 years agoam 657b2971: am fa6ee37f: am 53b98761: docs: fix sticky header hiding RenderScript...
Joe Fernandez [Mon, 4 May 2015 22:19:28 +0000 (22:19 +0000)]
am 657b2971: am fa6ee37f: am 53b98761: docs: fix sticky header hiding RenderScript reference headings

* commit '657b2971f8a6f4a1b6dac68915c557304970d716':
  docs: fix sticky header hiding RenderScript reference headings

9 years agoam 63904d26: am 03b107c8: docs: update masthead template for Preview docs
Joe Fernandez [Mon, 4 May 2015 22:19:27 +0000 (22:19 +0000)]
am 63904d26: am 03b107c8: docs: update masthead template for Preview docs

* commit '63904d26ad473d8446fea12775ef37e9ae2c8e59':
  docs: update masthead template for Preview docs

9 years agoDoc change: remove deprecated templates-sdk-dyn files, add new development files...
Dirk Dougherty [Mon, 4 May 2015 21:37:05 +0000 (14:37 -0700)]
Doc change: remove deprecated templates-sdk-dyn files, add new development files based on production templates-sdk.

Change-Id: I5a94aaa8ba375010191a12f210954c22395fed40

9 years agoMerge "Pack module before making symbolic version" into mnc-dev
Dmitriy Ivanov [Mon, 4 May 2015 20:11:08 +0000 (20:11 +0000)]
Merge "Pack module before making symbolic version" into mnc-dev

9 years agoPack module before making symbolic version
Dmitriy Ivanov [Sat, 2 May 2015 01:12:29 +0000 (18:12 -0700)]
Pack module before making symbolic version

  We need PT_LOAD segments to match for the gdb sake.
  If we pack module after stripping symbolic version
  PT_LOAD differ from actual ones; this confuses gdb.

Bug: http://b/20687795
Change-Id: If7b1ffcda918d0cc47051a30ca1202007ed62403

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

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

This reverts commit 3797466fbd31cc3ca5a1eddea64e7fdf0921ea67.

Bug: 20810492
Bug: 20811499
Change-Id: Ic922d9daccc4550db489c0f3d4ad6b4ff85b5e60

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

9 years agoam fa6ee37f: am 53b98761: docs: fix sticky header hiding RenderScript reference headings
Joe Fernandez [Fri, 1 May 2015 23:14:51 +0000 (23:14 +0000)]
am fa6ee37f: am 53b98761: docs: fix sticky header hiding RenderScript reference headings

* commit 'fa6ee37fae42ef08ebcb63dcaf8122f0f6f5311a':
  docs: fix sticky header hiding RenderScript reference headings

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

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

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

Bug: 8076853
Change-Id: Icf07e0998ac3602e6e05e80fed836fbafca33e01

9 years agoam 53b98761: docs: fix sticky header hiding RenderScript reference headings
Joe Fernandez [Fri, 1 May 2015 23:05:35 +0000 (23:05 +0000)]
am 53b98761: docs: fix sticky header hiding RenderScript reference headings

* commit '53b98761b288fcf833db62bb4700fba20b319961':
  docs: fix sticky header hiding RenderScript reference headings

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

Change-Id: Ia40f8c6307d0213d43207aee91c4c8a5b5ad6f1e
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
9 years agoam 03b107c8: docs: update masthead template for Preview docs
Joe Fernandez [Fri, 1 May 2015 22:57:46 +0000 (22:57 +0000)]
am 03b107c8: docs: update masthead template for Preview docs

* commit '03b107c8563c5edf5fe25435e609329d1fc7a62f':
  docs: update masthead template for Preview docs

9 years agodocs: update masthead template for Preview docs
Joe Fernandez [Fri, 1 May 2015 22:41:20 +0000 (15:41 -0700)]
docs: update masthead template for Preview docs

Change-Id: I00ec56064a5193491fce5389cdff7cb5824e567c

9 years agoDeference symlinks when copying LOCAL_PICKUP_FILES.
Ying Wang [Fri, 1 May 2015 02:46:00 +0000 (19:46 -0700)]
Deference symlinks when copying LOCAL_PICKUP_FILES.

Change-Id: I2399529ee9168bb93a4cad5daa61cd2ea500df04

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

Change-Id: I74f932cff606138943d97b923bbd059bcd496e46

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

This reverts commit 6399dcce598c2ac54bd87bc754028513405c049f.

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

9 years agodocs: fix sticky header hiding RenderScript reference headings
Joe Fernandez [Thu, 30 Apr 2015 03:22:22 +0000 (20:22 -0700)]
docs: fix sticky header hiding RenderScript reference headings

b/20637508

Change-Id: I64996db4fc986cbe0f4506b5524a708a9e14cbc8