OSDN Git Service

android-x86/build.git
9 years agoam 17c0e737: am ce915d95: Merge "Never use ASAN for acp."
Dan Albert [Mon, 3 Nov 2014 17:45:22 +0000 (17:45 +0000)]
am 17c0e737: am ce915d95: Merge "Never use ASAN for acp."

* commit '17c0e737047dcfa74cbd2386660b67bcde284f4c':
  Never use ASAN for acp.

9 years agoam ce915d95: Merge "Never use ASAN for acp."
Dan Albert [Mon, 3 Nov 2014 17:40:31 +0000 (17:40 +0000)]
am ce915d95: Merge "Never use ASAN for acp."

* commit 'ce915d950aaea86e566c8aec06be181a65c17cf2':
  Never use ASAN for acp.

9 years agoMerge "Never use ASAN for acp."
Dan Albert [Mon, 3 Nov 2014 17:36:13 +0000 (17:36 +0000)]
Merge "Never use ASAN for acp."

9 years agoam e4cbc2af: Merge "Revert "Add support for prebuilt AARs."" into lmp-mr1-ub-dev
Nick Kralevich [Sun, 2 Nov 2014 16:53:29 +0000 (16:53 +0000)]
am e4cbc2af: Merge "Revert "Add support for prebuilt AARs."" into lmp-mr1-ub-dev

* commit 'e4cbc2af5f476d9eb875253584260bed807acddf':
  Revert "Add support for prebuilt AARs."

9 years agoMerge "Revert "Add support for prebuilt AARs."" into lmp-mr1-ub-dev
Nick Kralevich [Sun, 2 Nov 2014 05:15:26 +0000 (05:15 +0000)]
Merge "Revert "Add support for prebuilt AARs."" into lmp-mr1-ub-dev

9 years agoRevert "Add support for prebuilt AARs."
Nick Kralevich [Sun, 2 Nov 2014 05:11:11 +0000 (05:11 +0000)]
Revert "Add support for prebuilt AARs."

master doesn't compile anymore.

This reverts commit f56729250448200834c5c95c86c937e887d73623.

Change-Id: Icc16fe5360d1222740b803e9dd006081e3c66e46

9 years agoam 4d5e8d4f: am fd0f1c84: Replacement for gdbclient
Dmitriy Ivanov [Sun, 2 Nov 2014 00:45:59 +0000 (00:45 +0000)]
am 4d5e8d4f: am fd0f1c84: Replacement for gdbclient

* commit '4d5e8d4f7c3460494a0d162e06515d2287c8cec4':
  Replacement for gdbclient

9 years agoam fd0f1c84: Replacement for gdbclient
Dmitriy Ivanov [Sun, 2 Nov 2014 00:42:26 +0000 (00:42 +0000)]
am fd0f1c84: Replacement for gdbclient

* commit 'fd0f1c848f012f2e215f8246b154237c7d6c5132':
  Replacement for gdbclient

9 years agoam 8d7f2e62: am bd0e8af7: Merge "Replacement for gdbclient"
Dmitriy Ivanov [Sat, 1 Nov 2014 02:24:53 +0000 (02:24 +0000)]
am 8d7f2e62: am bd0e8af7: Merge "Replacement for gdbclient"

* commit '8d7f2e6289ebb7e7d7a72cc3cf581b1e4ad23acf':
  Replacement for gdbclient

9 years agoam bd0e8af7: Merge "Replacement for gdbclient"
Dmitriy Ivanov [Sat, 1 Nov 2014 01:17:51 +0000 (01:17 +0000)]
am bd0e8af7: Merge "Replacement for gdbclient"

* commit 'bd0e8af734d5b6e28e2710bf53beb1b674e3fdb2':
  Replacement for gdbclient

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 "Replacement for gdbclient"
Dmitriy Ivanov [Sat, 1 Nov 2014 01:13:38 +0000 (01:13 +0000)]
Merge "Replacement for gdbclient"

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

Change-Id: I4e7ce0a51868634593a9f104fe3f2fa67b54ca9f

9 years agoam e1ab1b5e: am 4c93719e: Merge "core: Use WITH_DEXPREOPT_PIC=true to have dex2oat...
Igor Murashkin [Sat, 1 Nov 2014 00:33:07 +0000 (00:33 +0000)]
am e1ab1b5e: am 4c93719e: Merge "core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files" into lmp-mr1-dev

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

9 years agoam 5ba418c0: am be6a3db2: Merge "Introduce per-product per-module dex-preopt config...
Ying Wang [Sat, 1 Nov 2014 00:32:31 +0000 (00:32 +0000)]
am 5ba418c0: am be6a3db2: Merge "Introduce per-product per-module dex-preopt config" into lmp-mr1-dev

* commit '5ba418c00a92e6c3c610750ab85b7a9c8b67f711':
  Introduce per-product per-module dex-preopt config

9 years agoNever use ASAN for acp.
Dan Albert [Fri, 31 Oct 2014 23:30:26 +0000 (16:30 -0700)]
Never use ASAN for acp.

Since acp is needed to build the ASAN libs, we can't use ASAN to
instrument it. Since libhost is included statically in acp, we can't
instrument that either.

Change-Id: Idb389df945380b6ef447fc3d3ead8be27ec09011

9 years agoam 2b756f79: am 248f4d53: envsetup.sh: add functions to enable and generate core...
Iliyan Malchev [Fri, 31 Oct 2014 22:59:59 +0000 (22:59 +0000)]
am 2b756f79: am 248f4d53: envsetup.sh: add functions to enable and generate core dumps

* commit '2b756f79461c3cc5c227dc83e6dd3f360ad3f247':
  envsetup.sh: add functions to enable and generate core dumps

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

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

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 agoam be6a3db2: Merge "Introduce per-product per-module dex-preopt config" into lmp...
Ying Wang [Fri, 31 Oct 2014 21:48:56 +0000 (21:48 +0000)]
am be6a3db2: Merge "Introduce per-product per-module dex-preopt config" into lmp-mr1-dev

* commit 'be6a3db20b5d2242bc3b459c5b69b1d8ef86aa54':
  Introduce per-product per-module dex-preopt config

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 agoam 248f4d53: envsetup.sh: add functions to enable and generate core dumps
Iliyan Malchev [Fri, 31 Oct 2014 21:02:59 +0000 (21:02 +0000)]
am 248f4d53: envsetup.sh: add functions to enable and generate core dumps

* commit '248f4d53b306bd3baddb1534d3d06076460e83d4':
  envsetup.sh: add functions to enable and generate core dumps

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 agoam 54e18379: am 36084e64: Merge "Label goldfish block devices with their own types."
Nick Kralevich [Fri, 31 Oct 2014 18:34:12 +0000 (18:34 +0000)]
am 54e18379: am 36084e64: Merge "Label goldfish block devices with their own types."

* commit '54e1837910cb3c40d22436bc40a7c0469df184b0':
  Label goldfish block devices with their own types.

9 years agoam 36084e64: Merge "Label goldfish block devices with their own types."
Nick Kralevich [Fri, 31 Oct 2014 18:31:34 +0000 (18:31 +0000)]
am 36084e64: Merge "Label goldfish block devices with their own types."

* commit '36084e64a1b603f0ca848bba5ca91938f853dc4c':
  Label goldfish block devices with their own types.

9 years agoMerge "Label goldfish block devices with their own types."
Nick Kralevich [Fri, 31 Oct 2014 18:27:17 +0000 (18:27 +0000)]
Merge "Label goldfish block devices with their own types."

9 years agoLabel goldfish block devices with their own types.
Stephen Smalley [Fri, 31 Oct 2014 18:19:55 +0000 (14:19 -0400)]
Label goldfish block devices with their own types.

This assigns block device types as per device/generic/goldfish/fstab.goldfish.
Eliminates (permissive) avc:  denied messages for fsck.

Change-Id: Ia72bdfb16975f051548b6b2c0636e4f907295789
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
9 years agoam 4fe702e4: am dfa2f8a6: Merge "Mark qemu_device as a mlstrustedobject."
Nick Kralevich [Fri, 31 Oct 2014 17:40:47 +0000 (17:40 +0000)]
am 4fe702e4: am dfa2f8a6: Merge "Mark qemu_device as a mlstrustedobject."

* commit '4fe702e4dcf5ff3e6dcc4dea1e842d7977ff3393':
  Mark qemu_device as a mlstrustedobject.

9 years agoam dfa2f8a6: Merge "Mark qemu_device as a mlstrustedobject."
Nick Kralevich [Fri, 31 Oct 2014 17:36:28 +0000 (17:36 +0000)]
am dfa2f8a6: Merge "Mark qemu_device as a mlstrustedobject."

* commit 'dfa2f8a6e309bca516a11d83abd1aa8733acce69':
  Mark qemu_device as a mlstrustedobject.

9 years agoMerge "Mark qemu_device as a mlstrustedobject."
Nick Kralevich [Fri, 31 Oct 2014 17:30:14 +0000 (17:30 +0000)]
Merge "Mark qemu_device as a mlstrustedobject."

9 years agoMark qemu_device as a mlstrustedobject.
Stephen Smalley [Fri, 31 Oct 2014 17:28:09 +0000 (13:28 -0400)]
Mark qemu_device as a mlstrustedobject.

Allow apps running with any level to write to it.

Change-Id: I8fca1f377e14c624db5273bdacf8400addc6210d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
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 f5672925: Add support for prebuilt AARs.
Ying Wang [Fri, 31 Oct 2014 00:13:50 +0000 (00:13 +0000)]
am f5672925: Add support for prebuilt AARs.

* commit 'f56729250448200834c5c95c86c937e887d73623':
  Add support for prebuilt AARs.

9 years agoam 7f18adc2: am 871b8df1: Merge "Add -fcolor-diagnostics to global clang cflags."
Ying Wang [Thu, 30 Oct 2014 23:46:08 +0000 (23:46 +0000)]
am 7f18adc2: am 871b8df1: Merge "Add -fcolor-diagnostics to global clang cflags."

* commit '7f18adc240ca311d225ee9164e6d982f9a005d62':
  Add -fcolor-diagnostics to global clang cflags.

9 years agoam 871b8df1: Merge "Add -fcolor-diagnostics to global clang cflags."
Ying Wang [Thu, 30 Oct 2014 23:43:02 +0000 (23:43 +0000)]
am 871b8df1: Merge "Add -fcolor-diagnostics to global clang cflags."

* commit '871b8df128b144f39d40889e463722a032c4d246':
  Add -fcolor-diagnostics to global clang cflags.

9 years agoMerge "Add -fcolor-diagnostics to global clang cflags."
Ying Wang [Thu, 30 Oct 2014 21:18:02 +0000 (21:18 +0000)]
Merge "Add -fcolor-diagnostics to global clang cflags."

9 years agoAdd -fcolor-diagnostics to global clang cflags.
Ying Wang [Thu, 30 Oct 2014 19:22:29 +0000 (12:22 -0700)]
Add -fcolor-diagnostics to global clang cflags.

Bug: 18187181
Change-Id: Ifcbe34b685b1dfd7ffc801bcdad7bd8208e45f86

9 years agoam 63f01de8: Add post-install verification phase
Michael Runge [Thu, 30 Oct 2014 19:01:43 +0000 (19:01 +0000)]
am 63f01de8: Add post-install verification phase
automerge: c9594af

* commit 'c9594afa930e5400d35bbf24a17cb9be8d978888':
  Add post-install verification phase

9 years agoam 51e55c1d: Revert "Continue to use march=i686 before fix of g++ ICE."
Chih-hung Hsieh [Thu, 30 Oct 2014 16:08:20 +0000 (16:08 +0000)]
am 51e55c1d: Revert "Continue to use march=i686 before fix of g++ ICE."

* commit '51e55c1d22576de38ca4b65deaded7b3a1af8387':
  Revert "Continue to use march=i686 before fix of g++ ICE."

9 years agoRevert "Continue to use march=i686 before fix of g++ ICE."
Chih-hung Hsieh [Thu, 30 Oct 2014 01:55:45 +0000 (01:55 +0000)]
Revert "Continue to use march=i686 before fix of g++ ICE."

This reverts commit f70f009ca8b4779cc3a5f44e7d92b1c297e16c8b.

Change-Id: I3e1b18cf342e747c8a8405f1fc2513e5ebafc4b6

9 years agoAdd support for prebuilt AARs.
Ying Wang [Wed, 29 Oct 2014 22:48:32 +0000 (15:48 -0700)]
Add support for prebuilt AARs.

- You can give a .aar as source file to a prebuilt static Java library
  module. The build system will set up dependencies and rules to extract
  classes.jar and other resource files.
- To build against a prebuilt AAR module, use:
  LOCAL_STATIC_JAVA_AAR_LIBRARIES := <module names of aar prebuilt AARs>
  The build system will set up rules to merge the library's
  AndroidManifest.xml with the main AndroidManifest.xml, add the AAR's
  resource dirs and link/merge the AAR's classes.jar.

Bug: 18168693
Change-Id: I478913d5d498f800b322529d7c2c2c0ea78425e5

9 years agoam f70f009c: Continue to use march=i686 before fix of g++ ICE.
Chih-Hung Hsieh [Wed, 29 Oct 2014 22:07:26 +0000 (22:07 +0000)]
am f70f009c: Continue to use march=i686 before fix of g++ ICE.

* commit 'f70f009ca8b4779cc3a5f44e7d92b1c297e16c8b':
  Continue to use march=i686 before fix of g++ ICE.

9 years agoContinue to use march=i686 before fix of g++ ICE.
Chih-Hung Hsieh [Wed, 29 Oct 2014 21:46:15 +0000 (14:46 -0700)]
Continue to use march=i686 before fix of g++ ICE.

BUG: 18174291
BUG: 18171557
Change-Id: Ica9e420e3cc1904a4298e2ab1c6201a254cbf6d1

9 years agoam ed9981d9: am 427d1e98: Merge "Pull in latest protolib when using LOCAL_PROTOC_OPTI...
Jeff Davidson [Wed, 29 Oct 2014 20:42:11 +0000 (20:42 +0000)]
am ed9981d9: am 427d1e98: Merge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."

* commit 'ed9981d927cb24b106df9b3c350b6b63e570026f':
  Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE.

9 years agoam 508e27bf: am 93cb8c7d: Merge "Specify -mcpu=krait for clang."
Ian Rogers [Wed, 29 Oct 2014 19:43:16 +0000 (19:43 +0000)]
am 508e27bf: am 93cb8c7d: Merge "Specify -mcpu=krait for clang."

* commit '508e27bfd7f470a945978c2b24403b0827dcde18':
  Specify -mcpu=krait for clang.

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 agoam 427d1e98: Merge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."
Jeff Davidson [Wed, 29 Oct 2014 17:40:05 +0000 (17:40 +0000)]
am 427d1e98: Merge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."

* commit '427d1e98eceb78f5cb8f1e50d00d342fc7f359c6':
  Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE.

9 years agoMerge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."
Jeff Davidson [Wed, 29 Oct 2014 17:35:16 +0000 (17:35 +0000)]
Merge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."

9 years agoam acd65c7d: am 97ef1d46: Merge "Add OpenJDK 8 experimental support"
Neil Fuller [Wed, 29 Oct 2014 17:11:52 +0000 (17:11 +0000)]
am acd65c7d: am 97ef1d46: Merge "Add OpenJDK 8 experimental support"

* commit 'acd65c7db0212bff2b7b1878a26b7a105522cd44':
  Add OpenJDK 8 experimental support

9 years agoam 736a146c: am 717ebfc1: Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."
Chih-Hung Hsieh [Wed, 29 Oct 2014 17:11:51 +0000 (17:11 +0000)]
am 736a146c: am 717ebfc1: Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."

* commit '736a146c3c44b6b753e0b7866d3f0f43e9be76e5':
  Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.

9 years agoam ef8912d9: am d274e04a: Merge "Don\'t sort shared library link order."
Dan Albert [Wed, 29 Oct 2014 17:11:50 +0000 (17:11 +0000)]
am ef8912d9: am d274e04a: Merge "Don\'t sort shared library link order."

* commit 'ef8912d93f5ca3722d761da6c0b0f05e2480a41d':
  Don't sort shared library link order.

9 years agoam 6555580d: am ea503d21: Merge "Raise x86 arch requirement to prescott."
Chih-Hung Hsieh [Wed, 29 Oct 2014 17:11:49 +0000 (17:11 +0000)]
am 6555580d: am ea503d21: Merge "Raise x86 arch requirement to prescott."

* commit '6555580d35ac570005923866fb4035265a0b5b98':
  Raise x86 arch requirement to prescott.

9 years agoam f7ce9508: am 4dfda1fa: Merge "Remove Java 6 build support"
Neil Fuller [Wed, 29 Oct 2014 17:11:24 +0000 (17:11 +0000)]
am f7ce9508: am 4dfda1fa: Merge "Remove Java 6 build support"

* commit 'f7ce9508dec85c67d3a2ebe84db073a01355eba5':
  Remove Java 6 build support

9 years agoam 54fd82d1: am 660f3c9a: Merge "Set default to Clang integrated assembler."
Chih-Hung Hsieh [Wed, 29 Oct 2014 16:42:52 +0000 (16:42 +0000)]
am 54fd82d1: am 660f3c9a: Merge "Set default to Clang integrated assembler."

* commit '54fd82d111113c7969052cd315cc71bd31b4e161':
  Set default to Clang integrated assembler.

9 years agoam 93cb8c7d: Merge "Specify -mcpu=krait for clang."
Ian Rogers [Wed, 29 Oct 2014 12:32:37 +0000 (12:32 +0000)]
am 93cb8c7d: Merge "Specify -mcpu=krait for clang."

* commit '93cb8c7d951b89eeb1e3cee2433bffecc13fdb11':
  Specify -mcpu=krait for clang.

9 years agoam 4ac049b7: (-s ours) Restore AOSP-style version numbers - DO NOT MERGE
Bill Yi [Wed, 29 Oct 2014 07:01:01 +0000 (07:01 +0000)]
am 4ac049b7: (-s ours) Restore AOSP-style version numbers - DO NOT MERGE

* commit '4ac049b7ec188161dccf6fa9b1f23c76f8330857':
  Restore AOSP-style version numbers - DO NOT MERGE

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 agoMerge "Specify -mcpu=krait for clang."
Ian Rogers [Tue, 28 Oct 2014 23:03:36 +0000 (23:03 +0000)]
Merge "Specify -mcpu=krait for clang."

9 years agoSpecify -mcpu=krait for clang.
Ian Rogers [Tue, 28 Oct 2014 22:50:02 +0000 (15:50 -0700)]
Specify -mcpu=krait for clang.

Change-Id: I64682cddf57246341c1727ca16c56f7ce0c6fd0a

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

* commit '708e021a319eea4cb549a73745fafb9467776fcf':
  Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings

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 agoam 97ef1d46: Merge "Add OpenJDK 8 experimental support"
Neil Fuller [Tue, 28 Oct 2014 04:50:49 +0000 (04:50 +0000)]
am 97ef1d46: Merge "Add OpenJDK 8 experimental support"

* commit '97ef1d46cdae3776e49900b2ed92748f6127bbb0':
  Add OpenJDK 8 experimental support

9 years agoam 717ebfc1: Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."
Chih-Hung Hsieh [Tue, 28 Oct 2014 04:48:54 +0000 (04:48 +0000)]
am 717ebfc1: Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."

* commit '717ebfc13182202ab38e17c0cd008924e9e5c4e9':
  Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.

9 years agoam d274e04a: Merge "Don\'t sort shared library link order."
Dan Albert [Tue, 28 Oct 2014 04:46:53 +0000 (04:46 +0000)]
am d274e04a: Merge "Don\'t sort shared library link order."

* commit 'd274e04ac4317d7cfc2de02ca215e064c018c234':
  Don't sort shared library link order.

9 years agoam ea503d21: Merge "Raise x86 arch requirement to prescott."
Chih-Hung Hsieh [Tue, 28 Oct 2014 04:46:49 +0000 (04:46 +0000)]
am ea503d21: Merge "Raise x86 arch requirement to prescott."

* commit 'ea503d21c7d5ecb3deacbf50f3ec7366bf7bd573':
  Raise x86 arch requirement to prescott.

9 years agoStore symbols.zip in apps_only build. automerge: a60fb49
Ying Wang [Tue, 28 Oct 2014 03:36:22 +0000 (03:36 +0000)]
Store symbols.zip in apps_only build. automerge: a60fb49
automerge: a73b611

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

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 4dfda1fa: Merge "Remove Java 6 build support"
Neil Fuller [Fri, 24 Oct 2014 20:18:15 +0000 (20:18 +0000)]
am 4dfda1fa: Merge "Remove Java 6 build support"

* commit '4dfda1fa4201e41022396b77054168ffc73b590c':
  Remove Java 6 build support

9 years agoam 660f3c9a: Merge "Set default to Clang integrated assembler."
Chih-Hung Hsieh [Fri, 24 Oct 2014 13:02:00 +0000 (13:02 +0000)]
am 660f3c9a: Merge "Set default to Clang integrated assembler."

* commit '660f3c9ae9cb99f428fb62fb6a1256679eb9f138':
  Set default to Clang integrated assembler.

9 years agoMerge "Add OpenJDK 8 experimental support"
Neil Fuller [Fri, 24 Oct 2014 08:16:03 +0000 (08:16 +0000)]
Merge "Add OpenJDK 8 experimental support"

9 years agoam 775b1abb: core: Fixup bad ext4 mount options for recovery (pick common denominator)
JP Abgrall [Fri, 24 Oct 2014 03:24:41 +0000 (03:24 +0000)]
am 775b1abb: core: Fixup bad ext4 mount options for recovery (pick common denominator)
automerge: 620e409

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

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 agoMerge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."
Chih-Hung Hsieh [Fri, 24 Oct 2014 00:26:20 +0000 (00:26 +0000)]
Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."

9 years agoAdd unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.
Chih-Hung Hsieh [Thu, 23 Oct 2014 23:39:09 +0000 (16:39 -0700)]
Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.

BUG: 18108271
Change-Id: Id929cad31340d2946027603c1c8c8fb1cb60f66a

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 46fe30ef: am fb8886db: get_stage in updater takes one param, not two.
Michael Runge [Thu, 23 Oct 2014 22:20:09 +0000 (22:20 +0000)]
am 46fe30ef: am fb8886db: get_stage in updater takes one param, not two.

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

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

* commit '4f072e140bba2422eae14270f22174398a86a0ba':
  core: Let the build specify mount options for recovery

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

* commit '10ba56543175590bdee9e6ab13c63c3ca8beb26b':
  Allow info_dict from target_files to specify mount options

9 years agoMerge "Don't sort shared library link order."
Dan Albert [Thu, 23 Oct 2014 22:20:01 +0000 (22:20 +0000)]
Merge "Don't sort shared library link order."

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 agoDon't sort shared library link order.
Dan Albert [Thu, 23 Oct 2014 21:04:02 +0000 (14:04 -0700)]
Don't sort shared library link order.

Only sort the list of shared libraries used for naming dependencies,
not the order they are actually linked in. The order in which shared
libraries appear to the linker affects which symbols get used if there
is a multiply defined symbol.

Also link system shared libraries _after_ user provided libraries,
since a user will want their functions to override the system's if
they exist.

Change-Id: I071059d940d40a648d69d90e0699073ef520138a

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 agoMerge "Raise x86 arch requirement to prescott."
Chih-Hung Hsieh [Thu, 23 Oct 2014 20:47:29 +0000 (20:47 +0000)]
Merge "Raise x86 arch requirement to prescott."

9 years agoam 5069bd6b: Add a density axis to tapas.
Jeff Hamilton [Thu, 23 Oct 2014 20:28:21 +0000 (20:28 +0000)]
am 5069bd6b: Add a density axis to tapas.

* commit '5069bd6bfa49c0f978ed47d44e0439b15b74cef5':
  Add a density axis to tapas.

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

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

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

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

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 agoPull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE.
Jeff Davidson [Tue, 16 Sep 2014 00:51:11 +0000 (17:51 -0700)]
Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE.

If a module is explicitly depending on a versioned protolib, we strip
the dependency and log a warning so the unneeded dependency can be
removed.

Change-Id: I949d32fb5126f1c05e2a6ed48f6636a4a9b15a48

9 years agoAdd OpenJDK 8 experimental support
Neil Fuller [Thu, 16 Oct 2014 09:23:03 +0000 (10:23 +0100)]
Add OpenJDK 8 experimental support

Targeting 1.7: just adding support for the tools.

Various issues exist with OpenJDK 8: it doesn't build to completion
yet.

Change-Id: I54942f497264234e4bef488c8d17d243b4ef2f14

9 years agoam 13466f0f: Merge commit \'66b3e31936b99436e01c473dca492126eea3e336\' into HEAD
Bill Yi [Thu, 23 Oct 2014 13:04:59 +0000 (13:04 +0000)]
am 13466f0f: Merge commit \'66b3e31936b99436e01c473dca492126eea3e336\' into HEAD

* commit '13466f0f79e42efa17777ffad6c12088c1f3cf62':

9 years agoMerge "Remove Java 6 build support"
Neil Fuller [Thu, 23 Oct 2014 09:00:13 +0000 (09:00 +0000)]
Merge "Remove Java 6 build support"

9 years agoam c6a12d77: am 46ba24c4: Merge "Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing...
Ying Wang [Thu, 23 Oct 2014 03:18:55 +0000 (03:18 +0000)]
am c6a12d77: am 46ba24c4: Merge "Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it."

* commit 'c6a12d776ae548c4290d76cb157807acb1ffb9f1':
  Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.