OSDN Git Service

android-x86/build.git
9 years agoam a4cf5cc9: (-s ours) am 5e923c91: Increment Android versions to 5.0.1
Dave Langemak [Tue, 18 Nov 2014 00:56:49 +0000 (00:56 +0000)]
am a4cf5cc9: (-s ours) am 5e923c91: Increment Android versions to 5.0.1

* commit 'a4cf5cc9ecc3c5d2658943117f7d182b26c77b30':
  Increment Android versions to 5.0.1

9 years agoam 5e923c91: Increment Android versions to 5.0.1
Dave Langemak [Tue, 18 Nov 2014 00:46:21 +0000 (00:46 +0000)]
am 5e923c91: Increment Android versions to 5.0.1

* commit '5e923c91b42f1df7ec3da97b1506dd9aa93795d0':
  Increment Android versions to 5.0.1

9 years agoIncrement Android versions to 5.0.1
Dave Langemak [Tue, 18 Nov 2014 00:37:50 +0000 (16:37 -0800)]
Increment Android versions to 5.0.1

Change-Id: I2880123f0d1215f2028e6d3bc3f88fee5714ae74

9 years agoFix PDK build.
Ying Wang [Mon, 17 Nov 2014 19:01:18 +0000 (11:01 -0800)]
Fix PDK build.

Add frameworks/base/preloaded-classes to PRODUCT_COPY_FILES only if it
exists in the source tree.

Bug: 18305157
Change-Id: I46c277ebfb8095f9e5fe0fbb21276d932509f2eb

9 years agoInstall preloaded-classes as a standalone configuration file
Ying Wang [Thu, 13 Nov 2014 23:19:12 +0000 (15:19 -0800)]
Install preloaded-classes as a standalone configuration file

Install preloaded-classes as a standalone configuration file
/system/etc/preloaded-classes, so we can configure different file per product.
To override the default frameworks/base/preloaded-classes, just override
in your product configuration makefile with PRODUCT_COPY_FILES before it
inherits from build/target/product/base.mk: if there are multiple items
in PRODUCT_COPY_FILES with the same destination, the first one takes
precedence.

Bug: 18305157
Change-Id: I937632b4a1aa73310ec90e73fd708fbd0c704a21

9 years agoam 11d21015: am f178d364: Merge "Allow images to be readded to target-files" into...
Michael Runge [Fri, 14 Nov 2014 07:19:58 +0000 (07:19 +0000)]
am 11d21015: am f178d364: Merge "Allow images to be readded to target-files" into lmp-dev

* commit '11d210154d71a229e20eaebd6f9ea580b0c7f036':
  Allow images to be readded to target-files

9 years agoam f178d364: Merge "Allow images to be readded to target-files" into lmp-dev
Michael Runge [Fri, 14 Nov 2014 07:17:22 +0000 (07:17 +0000)]
am f178d364: Merge "Allow images to be readded to target-files" into lmp-dev

* commit 'f178d36441c3a688cfe5eb41a5ce724ba01a4ecf':
  Allow images to be readded to target-files

9 years agoMerge "Allow images to be readded to target-files" into lmp-dev
Michael Runge [Fri, 14 Nov 2014 07:14:47 +0000 (07:14 +0000)]
Merge "Allow images to be readded to target-files" into lmp-dev

9 years agoAllow images to be readded to target-files
Michael Runge [Fri, 14 Nov 2014 05:41:08 +0000 (21:41 -0800)]
Allow images to be readded to target-files

There may be cases where various partitions were
modified (such as extra signing of boot/recovery)
which require the system partition to be regenerated
with a new recovery patch script.  Allow a request
for the recovery patch to be rebuilt, and for
missing images to be readded to the existing images.

Change-Id: Ie93c5bc1161a0d5002002dca23e07742ce2ba468

9 years agoFix the build
Paul Lawrence [Fri, 14 Nov 2014 01:54:30 +0000 (17:54 -0800)]
Fix the build

Bug: 15984840
Bug: 18120110
Change-Id: I0224d5a31e03b711953d9496ecb00b6d88b8ef4c

9 years agoDO NOT MERGE: Change verity key formats
Sami Tolvanen [Fri, 7 Nov 2014 04:38:00 +0000 (20:38 -0800)]
DO NOT MERGE: Change verity key formats

Change boot, recovery, and verity metadata signing keys to use the
same PKCS8 / X.509 PEM format as the other signing keys, and update
build scripts to use correct arguments for the updated signing
tools.

Bug: 15984840
Bug: 18120110
Change-Id: I23ed5a004ecdad6cf7696487935ad5031eb8adf8
(cherry picked from commit 72d90eb1895932343586717daa1865019473b2f5)

9 years agoRestore the diskinstaller dependency, since it's needed for GCE.
Greg Hartman [Wed, 5 Nov 2014 05:17:06 +0000 (21:17 -0800)]
Restore the diskinstaller dependency, since it's needed for GCE.

Change-Id: Ieb2695afbe551e829357bad56d5fe1501165b495

9 years agoAdd a hook for the syslinux bootloader.
Greg Hartman [Fri, 31 Oct 2014 17:43:52 +0000 (10:43 -0700)]
Add a hook for the syslinux bootloader.

Change-Id: Ia8638e9dcb025743a66c52ad43b161ee70602c89

9 years agoam 964935b8: core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files
Igor Murashkin [Tue, 11 Nov 2014 00:12:00 +0000 (00:12 +0000)]
am 964935b8: core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files

* commit '964935b8a6ef52f090eb6f48875db5ebb32962cf':
  core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files

9 years agoresolved conflicts for merge of 0a7fcb00 to lmp-mr1-dev
Ying Wang [Tue, 11 Nov 2014 00:07:40 +0000 (16:07 -0800)]
resolved conflicts for merge of 0a7fcb00 to lmp-mr1-dev

Change-Id: Ia780b29bfc9a7b3409bf04ba0e18e937c9467a0f

9 years agocore: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files
Igor Murashkin [Thu, 30 Oct 2014 23:08:07 +0000 (16:08 -0700)]
core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files

When WITH_DEXPREOPT=true is set, if we also set WITH_DEXPREOPT_PIC=true
then the build will generate position-independent OAT images.

This means that all the system applications no longer need to be
relocated into /data/dalvik-cache and this can achieve saving disk space
at the cost of slightly slower running code.

Bug: 18035729

(cherry picked from commit da9f1a7e82b7e6d0677553f211835625078347f2)

Change-Id: I9d5f12bbe7d0287784ac7e941fba090fce3ce3df

9 years agoIntroduce per-product per-module dex-preopt config
Ying Wang [Wed, 8 Oct 2014 01:07:23 +0000 (18:07 -0700)]
Introduce per-product per-module dex-preopt config

- Added LOCAL_DEX_PREOPT_FLAGS to pass extra flags to dex2oat.
- Added macro add-product-dex-preopt-module-config to specify almost
  arbitrary dex-preopt config/flags to modules in product
  configuration:
  $(call \
  add-product-dex-preopt-module-config,<module_name_list>,<config_or_flags>)
  How <config_or_flags> is interpreted is decided by
  dex_preopt_odex_install.mk and dex2oat. For now if it's "disable" we
  disable dexpreopt for the given modules; otherwise pass it to dex2oat as
  command line flags.
- If there are multiple configs for the same module in the product
  inheritance, the first takes precedence.
- Added PRODUCT_DEX_PREOPT_DEFAULT_FLAGS so you can specify default
  dex2oat flags in product configuration.
- Added PRODUCT_DEX_PREOPT_BOOT_FLAGS to specify flags of building boot.oat.

Bug: 17791867
(cherry picked from commit 20ebd2ef081f2a3e85a4adcf8837e6f5b68bdeea)

(cherry picked from commit 70d617aaf57c636ca7b6aedee5b009a7c46bdd3a)

Change-Id: I86f125dd02290d0969704142a4405ebd6729c4f7

9 years agoam be9f16d0: am 48a97e01: am 87e469ea: Doc change: increment query params for js...
Dirk Dougherty [Thu, 6 Nov 2014 20:34:22 +0000 (20:34 +0000)]
am be9f16d0: am 48a97e01: am 87e469ea: Doc change: increment query params for js metadata files to trigger proxy flush.

* commit 'be9f16d08b7cec10ac5c3dba93291db404be27f8':
  Doc change: increment query params for js metadata files to trigger proxy flush.

9 years agoam 48a97e01: am 87e469ea: Doc change: increment query params for js metadata files...
Dirk Dougherty [Thu, 6 Nov 2014 05:17:35 +0000 (05:17 +0000)]
am 48a97e01: am 87e469ea: Doc change: increment query params for js metadata files to trigger proxy flush.

* commit '48a97e0139f3d100d10a8da9f462b5b376a84593':
  Doc change: increment query params for js metadata files to trigger proxy flush.

9 years agoam 87e469ea: Doc change: increment query params for js metadata files to trigger...
Dirk Dougherty [Thu, 6 Nov 2014 05:14:27 +0000 (05:14 +0000)]
am 87e469ea: Doc change: increment query params for js metadata files to trigger proxy flush.

* commit '87e469ea87a7a3b3142f1d2efd89d602a3ede529':
  Doc change: increment query params for js metadata files to trigger proxy flush.

9 years agoDoc change: increment query params for js metadata files to trigger proxy flush.
Dirk Dougherty [Thu, 6 Nov 2014 04:11:23 +0000 (20:11 -0800)]
Doc change: increment query params for js metadata files to trigger proxy flush.

Change-Id: Ic6f5756d44f1ec08485ac67a0258a4abae845222

9 years agoAdd bcc to core_tiny.mk.
Stephen Hines [Thu, 6 Nov 2014 00:32:01 +0000 (00:32 +0000)]
Add bcc to core_tiny.mk.
automerge: bdac04e

* commit 'bdac04e0f6002e95ce734a097d2c12236ed482fa':
  Add bcc to core_tiny.mk.

9 years agoAdd bcc to core_tiny.mk.
Stephen Hines [Wed, 5 Nov 2014 21:19:56 +0000 (13:19 -0800)]
Add bcc to core_tiny.mk.

Bug: 18257466

Also update the core.mk documentation that has gone slightly out of date.

Change-Id: I90ed64e2509dad3d78d451dd4a7d8c3dfd01532c

9 years agoMount tmpfs on /cores
Nick Kralevich [Tue, 4 Nov 2014 19:17:20 +0000 (11:17 -0800)]
Mount tmpfs on /cores

Proper selinux labeling support for files on rootfs was
never completely implemented. Instead of putting coredump
files on rootfs, put them on tmpfs instead.

See: http://www.mail-archive.com/seandroid-list@tycho.nsa.gov/msg01815.html

Bug: 18227650
Change-Id: I2eeabee4fe1a14bfbf990a4a518d538d6b4b6e87

9 years agorename coredump-* --> coredump_*
Iliyan Malchev [Wed, 5 Nov 2014 04:57:37 +0000 (20:57 -0800)]
rename coredump-* --> coredump_*

b/18229600 shamu kernel is failing to build on build machine

Change-Id: Ia67443853443e4d7db9311bf8da69a5dc0da8e5e
Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoSet a default value for TARGET_BUILD_DENSITY
Justin Morey [Tue, 4 Nov 2014 19:35:51 +0000 (13:35 -0600)]
Set a default value for TARGET_BUILD_DENSITY

If no density value is specified when invoking tapas, we now export
a default value of 'alldpi'

Change-Id: I12b22a4cbd0ef604826aad66c5f7ab9271eb6d57

9 years agoam 04a4f1d0: am 05e55e90: Merge "add butterbar for L announcement. make the butterbar...
smain@google.com [Tue, 4 Nov 2014 07:22:49 +0000 (07:22 +0000)]
am 04a4f1d0: am 05e55e90: Merge "add butterbar for L announcement. make the butterbar an encapsulated method for inclusion multiple places." into klp-modular-docs automerge: d1ab4cb automerge: dd5adb3

* commit '04a4f1d031914302f9dc9244807e84fe640d3ebc':

9 years agoam 05e55e90: Merge "add butterbar for L announcement. make the butterbar an encapsula...
smain@google.com [Tue, 4 Nov 2014 07:13:03 +0000 (07:13 +0000)]
am 05e55e90: Merge "add butterbar for L announcement. make the butterbar an encapsulated method for inclusion multiple places." into klp-modular-docs automerge: d1ab4cb
automerge: dd5adb3

* commit 'dd5adb3bc0be42081bffb0d4722c4b9639ee31db':

9 years agoam 4d4615d2: am 632070c9: hide the Helpouts recruitment banner
smain@google.com [Tue, 4 Nov 2014 04:14:14 +0000 (04:14 +0000)]
am 4d4615d2: am 632070c9: hide the Helpouts recruitment banner

* commit '4d4615d2e253e7c806c393a2b23fe07f495eaf56':
  hide the Helpouts recruitment banner

9 years agoam 632070c9: hide the Helpouts recruitment banner
smain@google.com [Tue, 4 Nov 2014 04:00:11 +0000 (04:00 +0000)]
am 632070c9: hide the Helpouts recruitment banner

* commit '632070c9400dea40edd4a00eb9db9d89e3852601':
  hide the Helpouts recruitment banner

9 years agoam bc13779d: hide the Helpouts recruitment banner
smain@google.com [Tue, 4 Nov 2014 02:38:42 +0000 (02:38 +0000)]
am bc13779d: hide the Helpouts recruitment banner

* commit 'bc13779d664a51efc0fb9ac489d2724cca2536fb':
  hide the Helpouts recruitment banner

9 years agohide the Helpouts recruitment banner
smain@google.com [Tue, 4 Nov 2014 02:28:17 +0000 (18:28 -0800)]
hide the Helpouts recruitment banner

Change-Id: I30cd8eb0edd8634bd6dd2f0900763c6bdd866953
(cherry picked from commit bc13779d664a51efc0fb9ac489d2724cca2536fb)

9 years agohide the Helpouts recruitment banner
smain@google.com [Tue, 4 Nov 2014 02:28:17 +0000 (18:28 -0800)]
hide the Helpouts recruitment banner

Change-Id: I30cd8eb0edd8634bd6dd2f0900763c6bdd866953

9 years agobuild: rename coredump-setup --> coredump_setup
Iliyan Malchev [Tue, 4 Nov 2014 01:04:47 +0000 (17:04 -0800)]
build: rename coredump-setup --> coredump_setup

b/18229600 shamu kernel is failing to build on build machine
Change-Id: I1b7e6d0ebf3e966a89ae4c7fed0cfd2db3f0a6a9
Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoam 792fb0e6: am 4244929f: Merge "Doc change: increment the json import versions in...
Dirk Dougherty [Mon, 3 Nov 2014 21:11:04 +0000 (21:11 +0000)]
am 792fb0e6: am 4244929f: Merge "Doc change: increment the json import versions in docfile." into lmp-docs

* commit '792fb0e6b29a9adfb3705d2fa993f3af27c267a7':
  Doc change: increment the json import versions in docfile.

9 years agoam 4244929f: Merge "Doc change: increment the json import versions in docfile." into...
Dirk Dougherty [Mon, 3 Nov 2014 20:57:01 +0000 (20:57 +0000)]
am 4244929f: Merge "Doc change: increment the json import versions in docfile." into lmp-docs

* commit '4244929faaaffe957e8f23f3f261fd3acdbc928c':
  Doc change: increment the json import versions in docfile.

9 years agoMerge "Doc change: increment the json import versions in docfile." into lmp-docs
Dirk Dougherty [Mon, 3 Nov 2014 20:51:47 +0000 (20:51 +0000)]
Merge "Doc change: increment the json import versions in docfile." into lmp-docs

9 years agoDoc change: increment the json import versions in docfile.
Dirk Dougherty [Mon, 3 Nov 2014 20:48:08 +0000 (12:48 -0800)]
Doc change: increment the json import versions in docfile.

Change-Id: I5ffd1810c83a333ae37e5d9c1b8dd0bdbd8cb376

9 years agoam 83bae4aa: am bc667f1c: am 08f336ea: fix regression from Change-Id: I88c1e8192f1cbb...
smain@google.com [Mon, 3 Nov 2014 20:33:34 +0000 (20:33 +0000)]
am 83bae4aa: am bc667f1c: am 08f336ea: fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c that causes anchors in most docs other than reference to stop working automerge: 36b1de7

* commit '83bae4aad4df090d30435249941fd5348aa69b16':

9 years agoam 358c5fe5: am f4cefc19: am 633f322b: update the analytics tracking event calls...
smain@google.com [Mon, 3 Nov 2014 20:33:32 +0000 (20:33 +0000)]
am 358c5fe5: am f4cefc19: am 633f322b: update the analytics tracking event calls to use new API for analytics.js bug: 16331906 automerge: 40e1d35

* commit '358c5fe5f70d263fdc3bc66c283d4f680076b6e0':

9 years agoam bc667f1c: am 08f336ea: fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9...
smain@google.com [Mon, 3 Nov 2014 20:23:32 +0000 (20:23 +0000)]
am bc667f1c: am 08f336ea: fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c that causes anchors in most docs other than reference to stop working
automerge: 36b1de7

* commit '36b1de7334f82a7df3728597f0437aedb02dccef':

9 years agoam f4cefc19: am 633f322b: update the analytics tracking event calls to use new API...
smain@google.com [Mon, 3 Nov 2014 20:21:13 +0000 (20:21 +0000)]
am f4cefc19: am 633f322b: update the analytics tracking event calls to use new API for analytics.js bug: 16331906
automerge: 40e1d35

* commit '40e1d35527098ed10c50e1509d7dee9fa9b19c97':

9 years agoam 4a8fd5fd: am 80e38f48: remove cookie expiration and add max-age of 2 years. bug...
smain@google.com [Mon, 3 Nov 2014 20:03:02 +0000 (20:03 +0000)]
am 4a8fd5fd: am 80e38f48: remove cookie expiration and add max-age of 2 years. bug: 17781603

* commit '4a8fd5fdd2bbbe1afa27e65738aae77aeb60c172':
  remove cookie expiration and add max-age of 2 years. bug: 17781603

9 years agoam f51f30d7: remove cookie expiration and add max-age of 2 years. bug: 17781603
smain@google.com [Mon, 3 Nov 2014 19:57:38 +0000 (19:57 +0000)]
am f51f30d7: remove cookie expiration and add max-age of 2 years. bug: 17781603

* commit 'f51f30d7f10a32e07a081b799d9ae601be08276c':
  remove cookie expiration and add max-age of 2 years. bug: 17781603

9 years agoam 80e38f48: remove cookie expiration and add max-age of 2 years. bug: 17781603
smain@google.com [Mon, 3 Nov 2014 19:52:41 +0000 (19:52 +0000)]
am 80e38f48: remove cookie expiration and add max-age of 2 years. bug: 17781603

* commit '80e38f4872941cbf0114ad80e260993f1eafc14c':
  remove cookie expiration and add max-age of 2 years. bug: 17781603

9 years agoremove cookie expiration and add max-age of 2 years.
smain@google.com [Mon, 3 Nov 2014 18:47:12 +0000 (10:47 -0800)]
remove cookie expiration and add max-age of 2 years.
bug: 17781603

Change-Id: Idab3cae786fde4d0318ba03d3c7f5f678882b815
(cherry picked from commit f51f30d7f10a32e07a081b799d9ae601be08276c)

9 years agoremove cookie expiration and add max-age of 2 years.
smain@google.com [Mon, 3 Nov 2014 18:47:12 +0000 (10:47 -0800)]
remove cookie expiration and add max-age of 2 years.
bug: 17781603

Change-Id: Idab3cae786fde4d0318ba03d3c7f5f678882b815

9 years agoam 963afcbb: am 9b7f8f20: Doc change: start search suggestions at two characters...
Dirk Dougherty [Mon, 3 Nov 2014 17:53:28 +0000 (17:53 +0000)]
am 963afcbb: am 9b7f8f20: Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.

* commit '963afcbb501d8757f049b25f5068313ee63ce4e8':
  Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.

9 years agoam 9b7f8f20: Doc change: start search suggestions at two characters instead of three...
Dirk Dougherty [Mon, 3 Nov 2014 17:43:20 +0000 (17:43 +0000)]
am 9b7f8f20: Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.

* commit '9b7f8f20ac58133af551bc89e5f065a4e0f77103':
  Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.

9 years agoDoc change: start search suggestions at two characters instead of three, so that...
Dirk Dougherty [Sun, 2 Nov 2014 00:08:56 +0000 (17:08 -0700)]
Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.

Change-Id: Ib7968010b0d0707a82ec51b1e63611628b8d465a

9 years agoReplacement for gdbclient
Dmitriy Ivanov [Fri, 31 Oct 2014 05:00:17 +0000 (22:00 -0700)]
Replacement for gdbclient

 Differences between this implementation and the old one:
 1. Resolves symbols/gdb based on device information (lunch
    target is irrelevant)
 2. Works with downloaded from build-server symbols
 3. Does not require user to specify exe file - detects it automatically

Bug: 18208329

(cherry picked from commit 9b8e4b377208db6d405bc84e9af73bd37f75a93c)

Change-Id: I13ae2debb6e2d827b9aa55e93864b5d60c2bd32e

9 years agoMerge "core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files" into...
Igor Murashkin [Fri, 31 Oct 2014 22:36:42 +0000 (22:36 +0000)]
Merge "core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files" into lmp-mr1-dev

9 years agoMerge "Introduce per-product per-module dex-preopt config" into lmp-mr1-dev
Ying Wang [Fri, 31 Oct 2014 21:42:48 +0000 (21:42 +0000)]
Merge "Introduce per-product per-module dex-preopt config" into lmp-mr1-dev

9 years agocore: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files
Igor Murashkin [Thu, 30 Oct 2014 23:08:07 +0000 (16:08 -0700)]
core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files

When WITH_DEXPREOPT=true is set, if we also set WITH_DEXPREOPT_PIC=true
then the build will generate position-independent OAT images.

This means that all the system applications no longer need to be
relocated into /data/dalvik-cache and this can achieve saving disk space
at the cost of slightly slower running code.

Bug: 18035729
Change-Id: Ifd517c842f48bf31568bf5ff56667298d422c2c0

9 years agoenvsetup.sh: add functions to enable and generate core dumps
Iliyan Malchev [Wed, 29 Oct 2014 01:00:42 +0000 (18:00 -0700)]
envsetup.sh: add functions to enable and generate core dumps

The shell functions in this patch enable crashing processes with the core limit
set correctly to dump core in directory /cores.  They do so by remounting the
root partition, which is RAM-backed, and by creating the 0777-chmodded /cores
under it. They also set the core file pattern in /proc/sys/kernel/core_pattern
to be /cores/core.%p, such that a core dump will have the crashing process' PID
appended to it.  You enable core-dump generation once per boot, as follows:

coredump-setup

If a process does not have its core-size rlimit set (as most do not), you can
either set it manually by typing "adb shell prlimit <pid> 4 -1 -1", or by
typing coredump-enable <name>, e.g.

coredump-enable $(pid mediaserver)

Alternatively, you can cause a running process to dump core by sending it a
SIGSEGV via the shell function core <name>, e.g.:

core $(pid mediaserver)

Change-Id: Ib174e7ee95515fb9866fa6bf0d5b5bf23f3ec61b
Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoIntroduce per-product per-module dex-preopt config
Ying Wang [Wed, 8 Oct 2014 01:07:23 +0000 (18:07 -0700)]
Introduce per-product per-module dex-preopt config

- Added LOCAL_DEX_PREOPT_FLAGS to pass extra flags to dex2oat.
- Added macro add-product-dex-preopt-module-config to specify almost
  arbitrary dex-preopt config/flags to modules in product
  configuration:
  $(call \
  add-product-dex-preopt-module-config,<module_name_list>,<config_or_flags>)
  How <config_or_flags> is interpreted is decided by
  dex_preopt_odex_install.mk and dex2oat. For now if it's "disable" we
  disable dexpreopt for the given modules; otherwise pass it to dex2oat as
  command line flags.
- If there are multiple configs for the same module in the product
  inheritance, the first takes precedence.
- Added PRODUCT_DEX_PREOPT_DEFAULT_FLAGS so you can specify default
  dex2oat flags in product configuration.
- Added PRODUCT_DEX_PREOPT_BOOT_FLAGS to specify flags of building boot.oat.

Bug: 17791867
(cherry picked from commit 20ebd2ef081f2a3e85a4adcf8837e6f5b68bdeea)

Change-Id: I2ee36892b40655c96837ee7a663dda1d25830878

9 years agoam 63f01de8: Add post-install verification phase
Michael Runge [Wed, 29 Oct 2014 18:51:51 +0000 (18:51 +0000)]
am 63f01de8: Add post-install verification phase

* commit '63f01de81892aa4e40b517464b3d9ca7db666c9d':
  Add post-install verification phase

9 years agoAdd post-install verification phase
Michael Runge [Wed, 29 Oct 2014 02:24:19 +0000 (19:24 -0700)]
Add post-install verification phase

Verify the SHA sum of all patched and extracted files after
a file system remount.

Bug: 18145574

Change-Id: I2f053d085543e10e39153a774542d37ee0a238bd

9 years agoam 05e55e90: Merge "add butterbar for L announcement. make the butterbar an encapsula...
smain@google.com [Tue, 28 Oct 2014 23:26:41 +0000 (23:26 +0000)]
am 05e55e90: Merge "add butterbar for L announcement. make the butterbar an encapsulated method for inclusion multiple places." into klp-modular-docs
automerge: d1ab4cb

* commit 'd1ab4cb3b4ca8de66a873abb072bd73556926d4d':
  add butterbar for L announcement. make the butterbar an encapsulated method for inclusion multiple places.

9 years agoMerge "Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings" into...
Adam Lesinski [Tue, 28 Oct 2014 17:41:29 +0000 (17:41 +0000)]
Merge "Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings" into lmp-mr1-dev

9 years agoStore symbols.zip in apps_only build.
Ying Wang [Tue, 28 Oct 2014 00:15:59 +0000 (00:15 +0000)]
Store symbols.zip in apps_only build.
automerge: a60fb49

* commit 'a60fb49704946b9d5cf0551ddd56bd1072131b85':
  Store symbols.zip in apps_only build.

9 years agoAdd -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings
Adam Lesinski [Mon, 27 Oct 2014 21:26:35 +0000 (14:26 -0700)]
Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings

It's better practice to include the minimal set of windows APIs anyways
and we're not doing anything that requires more.

Change-Id: I1b4362be4f707738b9cfbd6a87caabff8b8409ac

9 years agoStore symbols.zip in apps_only build.
Ying Wang [Fri, 24 Oct 2014 18:36:59 +0000 (11:36 -0700)]
Store symbols.zip in apps_only build.

Bug: 18103055
Change-Id: I0eb335e944138b0edc3050d19c076891f499a07c

9 years agoam 775b1abb: core: Fixup bad ext4 mount options for recovery (pick common denominator)
JP Abgrall [Fri, 24 Oct 2014 02:57:34 +0000 (02:57 +0000)]
am 775b1abb: core: Fixup bad ext4 mount options for recovery (pick common denominator)

* commit '775b1abb12a5d891ac66b51d28381692bde6ab03':
  core: Fixup bad ext4 mount options for recovery (pick common denominator)

9 years agocore: Fixup bad ext4 mount options for recovery (pick common denominator)
JP Abgrall [Thu, 23 Oct 2014 23:27:03 +0000 (16:27 -0700)]
core: Fixup bad ext4 mount options for recovery (pick common denominator)

Some ext4 options were not suitable for all kernel versions.
The current option were checked against kernels 3.0 3.4 3.10.

Bug: 18092222
Change-Id: I30883706e5c8ac7a318f4b448d4becde50de808f

9 years agoam fb8886db: get_stage in updater takes one param, not two.
Michael Runge [Thu, 23 Oct 2014 21:57:12 +0000 (21:57 +0000)]
am fb8886db: get_stage in updater takes one param, not two.

* commit 'fb8886db6858388af5082268fd023b8a44fb87ea':
  get_stage in updater takes one param, not two.

9 years agoam 7bd80ca6: Merge "core: Let the build specify mount options for recovery" into...
JP Abgrall [Thu, 23 Oct 2014 21:57:11 +0000 (21:57 +0000)]
am 7bd80ca6: Merge "core: Let the build specify mount options for recovery" into lmp-dev

* commit '7bd80ca6ea2b0c5c39bdb05013fb3d0188fbcfa8':
  core: Let the build specify mount options for recovery

9 years agoam 7cd99bad: Allow info_dict from target_files to specify mount options
Michael Runge [Thu, 23 Oct 2014 21:57:10 +0000 (21:57 +0000)]
am 7cd99bad: Allow info_dict from target_files to specify mount options

* commit '7cd99bad210455dc57702b7cbf674a588a5eb028':
  Allow info_dict from target_files to specify mount options

9 years agoget_stage in updater takes one param, not two.
Michael Runge [Thu, 23 Oct 2014 20:51:04 +0000 (13:51 -0700)]
get_stage in updater takes one param, not two.

Change-Id: I09a77eda5a1691080b1ae074d2e94d233eca7150

9 years agoAdd a density axis to tapas.
Jeff Hamilton [Fri, 5 Sep 2014 04:28:00 +0000 (21:28 -0700)]
Add a density axis to tapas.

It allows overriding the density the app
is built for. Currently only used in the
GMS core APK's gradle file.

Change-Id: I3606df313a3110208cd8e6acade5f558261c921f
(cherry picked from commit 7e3d2341570681e566872216796dc4f79c8695ef)

9 years agoMerge "core: Let the build specify mount options for recovery" into lmp-dev
JP Abgrall [Thu, 23 Oct 2014 18:15:56 +0000 (18:15 +0000)]
Merge "core: Let the build specify mount options for recovery" into lmp-dev

9 years agocore: Let the build specify mount options for recovery
JP Abgrall [Thu, 23 Oct 2014 03:01:22 +0000 (20:01 -0700)]
core: Let the build specify mount options for recovery

Currently recovery install/patch will mount /system++ with only default
options.
The default options are not very suitable for dealing with crashes.
We now use
 TARGET_RECOVERY_FSTYPE_MOUNT_OPTIONS
that can specify which mount options to use for a given fs-type.
  # <fstype>=<fstype_opts>[|<fstype_opts>]...
  # fstype_opts := <opt>[,<opt>]...
  #         opt := <name>[=<value>]
If only defaults are to be used, then the BoardConfig.mk can just have
an empty (must have ""):
 TARGET_RECOVERY_FSTYPE_MOUNT_OPTIONS := ""

The default is
 "ext4=match_batch_time=0,commit=1,data=journal,barrier=1,errors=panic,nodelalloc"

The release tools will pick them up with
  https://googleplex-android-review.git.corp.google.com/#/c/573628

Bug: 18092222
Change-Id: Iaa59099b0edf5af8835d1862fada089cff58882c

9 years agoam f84e045e: Merge "add helpouts script to <head>, behind a condition that can be...
smain@google.com [Thu, 23 Oct 2014 16:34:39 +0000 (16:34 +0000)]
am f84e045e: Merge "add helpouts script to <head>, behind a condition that can be enabled per page" into lmp-dev

* commit 'f84e045e42f0377c415b2b6fea432ea0f3967f4f':
  add helpouts script to <head>, behind a condition that can be enabled per page

9 years agoAllow info_dict from target_files to specify mount options
Michael Runge [Thu, 23 Oct 2014 00:21:48 +0000 (17:21 -0700)]
Allow info_dict from target_files to specify mount options

This will allow safer mount options to be added per mount FS
type, to better ensure data is written during an OTA.
Bug: 1807977318092222

Change-Id: I1e3e4fd4639c6fd263e550b770cc3c858ef1e03b

9 years agoam b6f60d57: Use the lowest common denominator 32-bit abi for arm64 cts build.
Ying Wang [Thu, 23 Oct 2014 00:14:19 +0000 (00:14 +0000)]
am b6f60d57: Use the lowest common denominator 32-bit abi for arm64 cts build.

* commit 'b6f60d57e3e5ccb89145cd2513a9a35077c025a5':
  Use the lowest common denominator 32-bit abi for arm64 cts build.

9 years agoMerge "add helpouts script to <head>, behind a condition that can be enabled per...
smain@google.com [Wed, 22 Oct 2014 23:58:07 +0000 (23:58 +0000)]
Merge "add helpouts script to <head>, behind a condition that can be enabled per page" into lmp-dev

9 years agoam 03eceba1: Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.
Ying Wang [Wed, 22 Oct 2014 20:47:46 +0000 (20:47 +0000)]
am 03eceba1: Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.

* commit '03eceba1ddfe6cf3ae6eb22bddc889930c097c1a':
  Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.

9 years agoadd helpouts script to <head>, behind a condition that can be enabled per page
smain@google.com [Tue, 21 Oct 2014 20:57:01 +0000 (13:57 -0700)]
add helpouts script to <head>, behind a condition that can be enabled per page

Change-Id: Ifa2364ed77a86efd6bec69dbe4f15d7f69569504

9 years agoam f7b231b7: Docs: Making source.android.com headers match those of developer.android.com
Clay Murphy [Wed, 22 Oct 2014 14:53:29 +0000 (14:53 +0000)]
am f7b231b7: Docs: Making source.android.com headers match those of developer.android.com

* commit 'f7b231b7a64c2ab953c9f4a2eb5390f0b3a2f296':
  Docs: Making source.android.com headers match those of developer.android.com

9 years agoUse the lowest common denominator 32-bit abi for arm64 cts build.
Ying Wang [Wed, 22 Oct 2014 04:20:41 +0000 (21:20 -0700)]
Use the lowest common denominator 32-bit abi for arm64 cts build.

So the 32-bit code can be run any supported 32-bit arm devices.

Bug: 18038310
Change-Id: Ie8864cfdb87a4759d1a775d43cb5316b1f022e2b

9 years agoReset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.
Ying Wang [Wed, 22 Oct 2014 01:34:30 +0000 (18:34 -0700)]
Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.

Change-Id: I9182ce1efe09609100d19c9fae2bc4fe7358dfc0

9 years agoDocs: Making source.android.com headers match those of developer.android.com
Clay Murphy [Fri, 3 Oct 2014 21:58:50 +0000 (14:58 -0700)]
Docs: Making source.android.com headers match those of developer.android.com

Bug: 17814801
Change-Id: I128a76b32b0d92118f621062c62d72460313f4d6

9 years agoam 318217a8: Enable building of gtest for Windows
Adam Lesinski [Tue, 21 Oct 2014 16:40:56 +0000 (16:40 +0000)]
am 318217a8: Enable building of gtest for Windows

* commit '318217a84a05880f5e10ba2086f87eb0320772c7':
  Enable building of gtest for Windows

9 years agocore: OSX: Support 10.9 SDK as well
Naseer Ahmed [Thu, 16 Oct 2014 17:17:12 +0000 (13:17 -0400)]
core: OSX: Support 10.9 SDK as well

Change-Id: I764102df9b84ca19d217e35a209a9c80abeed6e7

9 years agoEnable building of gtest for Windows
Adam Lesinski [Mon, 20 Oct 2014 23:06:44 +0000 (16:06 -0700)]
Enable building of gtest for Windows

Windows does not have pthread support, and by defining the
GTEST_OS_WINDOWS flag, pthread support will not be built into
the windows version of gtest.

Change-Id: I0571fc52e77bb04175470d5750a7e2f46cdd5e86

9 years agoam 327180f5: Merge "Docs: Fixing link, adding Android Partner logo." into lmp-dev
Clay Murphy [Fri, 17 Oct 2014 20:01:06 +0000 (20:01 +0000)]
am 327180f5: Merge "Docs: Fixing link, adding Android Partner logo." into lmp-dev

* commit '327180f5d2009be990076f152dffb244939b1673':
  Docs: Fixing link, adding Android Partner logo.

9 years agoMerge "Docs: Fixing link, adding Android Partner logo." into lmp-dev
Clay Murphy [Fri, 17 Oct 2014 19:47:51 +0000 (19:47 +0000)]
Merge "Docs: Fixing link, adding Android Partner logo." into lmp-dev

9 years agoam be113f8a: fix broken download buttons, make a[name] offset apply only to reference...
smain@google.com [Fri, 17 Oct 2014 18:53:32 +0000 (18:53 +0000)]
am be113f8a: fix broken download buttons, make a[name] offset apply only to reference docs

* commit 'be113f8ac0f5ae00fa997db5f4507af55c523367':
  fix broken download buttons, make a[name] offset apply only to reference docs

9 years agoam 947f3e9e: Merge "fix z-order of hangouts to avoid clobbering the search suggest...
smain@google.com [Fri, 17 Oct 2014 18:52:43 +0000 (18:52 +0000)]
am 947f3e9e: Merge "fix z-order of hangouts to avoid clobbering the search suggest" into lmp-dev

* commit '947f3e9ecf9bc7875d210a45053826eb0e110186':
  fix z-order of hangouts to avoid clobbering the search suggest

9 years agoam e321df0c: Merge "Doc change: update query params to force refresh of local js...
Joe Fernandez [Fri, 17 Oct 2014 18:50:48 +0000 (18:50 +0000)]
am e321df0c: Merge "Doc change: update query params to force refresh of local js files." into lmp-dev

* commit 'e321df0ca2eaada3e126393a7976cd4cc09afdf6':
  Doc change: update query params to force refresh of local js files.

9 years agoam 19c6780f: Merge "fix scroll offset when loading non-header pages" into lmp-dev
smain@google.com [Fri, 17 Oct 2014 18:50:47 +0000 (18:50 +0000)]
am 19c6780f: Merge "fix scroll offset when loading non-header pages" into lmp-dev

* commit '19c6780f9fc4994c0909afa900e59b9282a0d253':
  fix scroll offset when loading non-header pages

9 years agoam e0471a82: Changes to NDK download table format to reflect change in download struc...
David Friedman [Fri, 17 Oct 2014 18:50:46 +0000 (18:50 +0000)]
am e0471a82: Changes to NDK download table format to reflect change in download structure Associated CL: https://googleplex-android-review.git.corp.google.com/#/c/567643/

* commit 'e0471a82276d86c671a9e2a21f58eb140cb94dc0':
  Changes to NDK download table format to reflect change in download structure Associated CL: https://googleplex-android-review.git.corp.google.com/#/c/567643/

9 years agoMerge "Move up to API 21, Lollipop MR1." into lmp-mr1-dev
Dianne Hackborn [Fri, 17 Oct 2014 17:12:11 +0000 (17:12 +0000)]
Merge "Move up to API 21, Lollipop MR1." into lmp-mr1-dev

9 years agoMove up to API 21, Lollipop MR1.
Dianne Hackborn [Fri, 17 Oct 2014 17:05:33 +0000 (10:05 -0700)]
Move up to API 21, Lollipop MR1.

Change-Id: I81c3455d99673447ac0bc1b48d5ab1500b2bfd20

9 years agofix broken download buttons, make a[name] offset apply only to reference docs
smain@google.com [Fri, 17 Oct 2014 16:56:10 +0000 (09:56 -0700)]
fix broken download buttons, make a[name] offset apply only to reference docs

Change-Id: I44421d90c335e0fcb4b35d8f568f9775a84b41ea

9 years agoMerge "fix z-order of hangouts to avoid clobbering the search suggest" into lmp-dev
smain@google.com [Fri, 17 Oct 2014 08:27:18 +0000 (08:27 +0000)]
Merge "fix z-order of hangouts to avoid clobbering the search suggest" into lmp-dev

9 years agofix z-order of hangouts to avoid clobbering the search suggest
smain@google.com [Fri, 17 Oct 2014 08:21:13 +0000 (01:21 -0700)]
fix z-order of hangouts to avoid clobbering the search suggest

Change-Id: I3993a118a1c7eb33ecc661635b1e9db2416bdf73

9 years agoMerge "Doc change: update query params to force refresh of local js files." into...
Joe Fernandez [Fri, 17 Oct 2014 05:41:07 +0000 (05:41 +0000)]
Merge "Doc change: update query params to force refresh of local js files." into lmp-dev

9 years agoMerge "fix scroll offset when loading non-header pages" into lmp-dev
smain@google.com [Fri, 17 Oct 2014 05:18:08 +0000 (05:18 +0000)]
Merge "fix scroll offset when loading non-header pages" into lmp-dev

9 years agofix scroll offset when loading non-header pages
smain@google.com [Fri, 17 Oct 2014 05:10:00 +0000 (22:10 -0700)]
fix scroll offset when loading non-header pages

Change-Id: I7a90ccf760eb06c291e88a3ace04c8c7498f75c1