OSDN Git Service

android-x86/build.git
10 years agoam 5ee3f096: Merge "Default TARGET_CPU_SMP to true."
Ying Wang [Sat, 17 May 2014 00:09:03 +0000 (00:09 +0000)]
am 5ee3f096: Merge "Default TARGET_CPU_SMP to true."

* commit '5ee3f0960dbc6a14333e3b98252d59f5d8d18a7d':
  Default TARGET_CPU_SMP to true.

10 years agoMerge "Default TARGET_CPU_SMP to true."
Ying Wang [Sat, 17 May 2014 00:07:15 +0000 (00:07 +0000)]
Merge "Default TARGET_CPU_SMP to true."

10 years agoDefault TARGET_CPU_SMP to true.
Ying Wang [Fri, 16 May 2014 23:27:11 +0000 (16:27 -0700)]
Default TARGET_CPU_SMP to true.

Change-Id: If8c52c8ed66d52452967d09885dfe1ca9da13688

10 years agoam 3c8089ce: Merge "Fix the missing 2nd arch prefix."
Ying Wang [Fri, 16 May 2014 23:26:31 +0000 (23:26 +0000)]
am 3c8089ce: Merge "Fix the missing 2nd arch prefix."

* commit '3c8089cef8eaf90b11852a5c258eba0ff5e3287e':
  Fix the missing 2nd arch prefix.

10 years agoMerge "Fix the missing 2nd arch prefix."
Ying Wang [Fri, 16 May 2014 23:23:16 +0000 (23:23 +0000)]
Merge "Fix the missing 2nd arch prefix."

10 years agoFix the missing 2nd arch prefix.
Ying Wang [Fri, 16 May 2014 23:22:32 +0000 (16:22 -0700)]
Fix the missing 2nd arch prefix.

Bug: 13751317
Change-Id: Ie5a323a0a89245576dbc91271d3178574942627d

10 years agoam b589679b: Merge "Use libc++ versions of gtest libs when needed"
Dan Albert [Fri, 16 May 2014 22:03:56 +0000 (22:03 +0000)]
am b589679b: Merge "Use libc++ versions of gtest libs when needed"

* commit 'b589679b101e0863a1fd1d7f4fc6ee3370c8a60a':
  Use libc++ versions of gtest libs when needed

10 years agoMerge "Use libc++ versions of gtest libs when needed"
Dan Albert [Fri, 16 May 2014 22:02:11 +0000 (22:02 +0000)]
Merge "Use libc++ versions of gtest libs when needed"

10 years agoUse libc++ versions of gtest libs when needed
Dan Albert [Wed, 14 May 2014 21:16:47 +0000 (14:16 -0700)]
Use libc++ versions of gtest libs when needed

Change-Id: Id8752ea946cbaa747dfa4fccf38d680dfeee5b45

10 years agoam a82b32a7: Merge "Use libc++ versions of gtest libs when needed"
Dan Albert [Fri, 16 May 2014 21:54:04 +0000 (21:54 +0000)]
am a82b32a7: Merge "Use libc++ versions of gtest libs when needed"

* commit 'a82b32a7a7855cb93e11e060120803e91cc81c2d':
  Use libc++ versions of gtest libs when needed

10 years agoMerge "Use libc++ versions of gtest libs when needed"
Dan Albert [Fri, 16 May 2014 21:50:27 +0000 (21:50 +0000)]
Merge "Use libc++ versions of gtest libs when needed"

10 years agoam 5137d458: Merge "Force to build llvm from source in 64-bit host build."
Ying Wang [Fri, 16 May 2014 18:59:23 +0000 (18:59 +0000)]
am 5137d458: Merge "Force to build llvm from source in 64-bit host build."

* commit '5137d4584e60dea68715dbcae5e276b3af965460':
  Force to build llvm from source in 64-bit host build.

10 years agoMerge "Force to build llvm from source in 64-bit host build."
Ying Wang [Fri, 16 May 2014 18:55:48 +0000 (18:55 +0000)]
Merge "Force to build llvm from source in 64-bit host build."

10 years agoUse libc++ versions of gtest libs when needed
Dan Albert [Wed, 14 May 2014 21:16:47 +0000 (14:16 -0700)]
Use libc++ versions of gtest libs when needed

Change-Id: I19aa58a83a9da680d441af5f3956a2fbdf18c4e4

10 years agoForce to build llvm from source in 64-bit host build.
Ying Wang [Fri, 16 May 2014 16:37:23 +0000 (09:37 -0700)]
Force to build llvm from source in 64-bit host build.

Bug: 13751317
Change-Id: I4a4150bfe21607eb7a2342bbd8120b431427eee5

10 years agoam c0f10644: Merge "make SignApk do zip alignment"
Doug Zongker [Fri, 16 May 2014 15:59:51 +0000 (15:59 +0000)]
am c0f10644: Merge "make SignApk do zip alignment"

* commit 'c0f10644bf877fae44e8aa5ebfff41f0e27af197':
  make SignApk do zip alignment

10 years agoMerge "make SignApk do zip alignment"
Doug Zongker [Fri, 16 May 2014 15:56:37 +0000 (15:56 +0000)]
Merge "make SignApk do zip alignment"

10 years agoam 4ec7007f: Merge "Increase system image size to 650M for generic_x86"
Ji-Hwan Lee [Fri, 16 May 2014 01:57:36 +0000 (01:57 +0000)]
am 4ec7007f: Merge "Increase system image size to 650M for generic_x86"

* commit '4ec7007f4eac30703cf14b7beaff01a1a07f7eb1':
  Increase system image size to 650M for generic_x86

10 years agoam a7748859: Merge "Clear *.ini and skin directory on installclean"
Ji-Hwan Lee [Fri, 16 May 2014 01:57:35 +0000 (01:57 +0000)]
am a7748859: Merge "Clear *.ini and skin directory on installclean"

* commit 'a7748859d741af2f7e22f3333030b937269d33c7':
  Clear *.ini and skin directory on installclean

10 years agoMerge "Increase system image size to 650M for generic_x86"
Ji-Hwan Lee [Fri, 16 May 2014 01:55:00 +0000 (01:55 +0000)]
Merge "Increase system image size to 650M for generic_x86"

10 years agoMerge "Clear *.ini and skin directory on installclean"
Ji-Hwan Lee [Fri, 16 May 2014 01:54:49 +0000 (01:54 +0000)]
Merge "Clear *.ini and skin directory on installclean"

10 years agoam f14653ce: Merge "x86_common.mk has been replaced by HOST_x86_common.mk"
Ying Wang [Fri, 16 May 2014 01:54:12 +0000 (01:54 +0000)]
am f14653ce: Merge "x86_common.mk has been replaced by HOST_x86_common.mk"

* commit 'f14653cee4c98094d171c194b1af3e14b087ab09':
  x86_common.mk has been replaced by HOST_x86_common.mk

10 years agoMerge "x86_common.mk has been replaced by HOST_x86_common.mk"
Ying Wang [Fri, 16 May 2014 01:51:34 +0000 (01:51 +0000)]
Merge "x86_common.mk has been replaced by HOST_x86_common.mk"

10 years agox86_common.mk has been replaced by HOST_x86_common.mk
Ying Wang [Fri, 16 May 2014 01:50:06 +0000 (18:50 -0700)]
x86_common.mk has been replaced by HOST_x86_common.mk

Change-Id: I19eea82bb35d3f65a2d894c687131a1eafbe2cc9

10 years agoam f8cfbc0a: Merge "Print all 2ND variables."
Christopher Ferris [Fri, 16 May 2014 01:17:13 +0000 (01:17 +0000)]
am f8cfbc0a: Merge "Print all 2ND variables."

* commit 'f8cfbc0a10b75e6ec22b6e80b90df2a4386887b2':
  Print all 2ND variables.

10 years agoMerge "Print all 2ND variables."
Christopher Ferris [Fri, 16 May 2014 01:14:42 +0000 (01:14 +0000)]
Merge "Print all 2ND variables."

10 years agoIncrease system image size to 650M for generic_x86
Ji-Hwan Lee [Wed, 16 Apr 2014 15:00:39 +0000 (00:00 +0900)]
Increase system image size to 650M for generic_x86

Change-Id: I4457796bdaff8c2626eb0788199be75f3ab4cd47

10 years agomake SignApk do zip alignment
Doug Zongker [Thu, 15 May 2014 16:54:26 +0000 (09:54 -0700)]
make SignApk do zip alignment

When signing an APK, make the SignApk tool align the stored entries to
(by default) 4-byte boundaries.  This obviates the need to run the
separate zipalign tool, which currently does this job.

The alignment byte count can be specified with the -a option.  OTA
package signing (with -w) never does alignment.

The order of files in the output APK is changed so that all stored
files come first in the output, followed by all non-stored files.
This is not expected to have any impact in practice.

Change-Id: Iaeef89b2a7283e25fadb99c0a0f0641f682d76b8

10 years agoClear *.ini and skin directory on installclean
Ji-Hwan Lee [Thu, 15 May 2014 11:59:01 +0000 (20:59 +0900)]
Clear *.ini and skin directory on installclean

Currently, skin directory remains across different emulator targets, and
need manual removal.  Also, clear hardware-qemu.ini and config.ini.
(See https://android-review.googlesource.com/94692 for config.ini)

Change-Id: Iaa5849ad043ed3f317325ba1d6df287953636f7a

10 years agoam 944a3810: Merge "Fix executable symlinks."
Narayan Kamath [Thu, 15 May 2014 09:41:37 +0000 (09:41 +0000)]
am 944a3810: Merge "Fix executable symlinks."

* commit '944a38104a553d84c44fa87b2378ebee66a12349':
  Fix executable symlinks.

10 years agoMerge "Fix executable symlinks."
Narayan Kamath [Thu, 15 May 2014 09:36:25 +0000 (09:36 +0000)]
Merge "Fix executable symlinks."

10 years agoPrint all 2ND variables.
Christopher Ferris [Thu, 15 May 2014 01:21:34 +0000 (18:21 -0700)]
Print all 2ND variables.

Change-Id: I11180a3ec3481d293100c59c331f05db9e6a689b

10 years agoam a74ade94: Merge "Support host multilib build"
Ying Wang [Thu, 15 May 2014 00:41:37 +0000 (00:41 +0000)]
am a74ade94: Merge "Support host multilib build"

* commit 'a74ade945776e80f99f3b05d06a131cfd353c3f6':
  Support host multilib build

10 years agoMerge "Support host multilib build"
Ying Wang [Thu, 15 May 2014 00:37:25 +0000 (00:37 +0000)]
Merge "Support host multilib build"

10 years agoSupport host multilib build
Ying Wang [Thu, 17 Apr 2014 17:03:35 +0000 (10:03 -0700)]
Support host multilib build

This change basically ported our target multilib to the host side.
It supports 2 host build modes: x86 and x86_64 multilib build.
For now you need to set "BUILD_HOST_64bit=true" to switch to x86_64
multilib build. Later we'll default to x86_64 build and have a flag
to force 32-bit only build, which may be needed by SDK build.

In host module definition, like in target ones, you can use the
following
LOCAL variables to set up multilib configuration:
LOCAL_MULTILIB: can be "both", "first", "32" or "64".
It also supports the same set of arch or 32-vs-64 specific LOCAL
variables.
By default, it builds only for the first arch.

To keep path compatibility, in x86_64 build files are still output to
out/host/linux-x86; Both 32-bit and 64-bit executables are in
out/host/linux-86/bin;
In x86_64 build 32-bit shared libraries are installed to
out/host/linux-x86/lib32
and 64-bit shared libraries are installed to out/host/linux-x86/lib;
32-bit object files are output to out/host/linux-x86/obj32 and 64-bit
object files
are output to out/host/linux-x86/obj.

Bug: 13751317
Change-Id: I6044f83b7db369a33e05209e8c588eb6dc83409f

10 years agoam da492d7e: Merge "Introduce netd_client, a dynamic library that talks to netd."
Sreeram Ramachandran [Wed, 14 May 2014 19:48:13 +0000 (19:48 +0000)]
am da492d7e: Merge "Introduce netd_client, a dynamic library that talks to netd."

* commit 'da492d7ed029b721bef02ca02d98148d5d9f4b3d':
  Introduce netd_client, a dynamic library that talks to netd.

10 years agoMerge "Introduce netd_client, a dynamic library that talks to netd."
Sreeram Ramachandran [Wed, 14 May 2014 19:42:41 +0000 (19:42 +0000)]
Merge "Introduce netd_client, a dynamic library that talks to netd."

10 years agoIntroduce netd_client, a dynamic library that talks to netd.
Sreeram Ramachandran [Mon, 12 May 2014 18:51:29 +0000 (11:51 -0700)]
Introduce netd_client, a dynamic library that talks to netd.

(cherry picked from commit 440de6b9f715cb18b8ee888c58d5c7a659ff5073)

Change-Id: Ib6198e19dbc306521a26fcecfdf6e8424d163fc9

10 years agoFix executable symlinks.
Narayan Kamath [Wed, 14 May 2014 17:26:48 +0000 (18:26 +0100)]
Fix executable symlinks.

32 bit targets will leave TARGET_PREFER_{32,64}_BIT_APPS unset
so adjust accordingly. Also clean up an explanatory comment.

Change-Id: I1f6faa640e4e862631fff49f7c565766ef2c567f

10 years agoam b082b5f1: Merge "Disable DEXPREOPT until we have multilib support"
Ying Wang [Tue, 13 May 2014 16:54:29 +0000 (16:54 +0000)]
am b082b5f1: Merge "Disable DEXPREOPT until we have multilib support"

* commit 'b082b5f1b2d1a45ee91de186428d5e341d02c08a':
  Disable DEXPREOPT until we have multilib support

10 years agoMerge "Disable DEXPREOPT until we have multilib support"
Ying Wang [Tue, 13 May 2014 16:49:32 +0000 (16:49 +0000)]
Merge "Disable DEXPREOPT until we have multilib support"

10 years agoDisable DEXPREOPT until we have multilib support
Ying Wang [Tue, 13 May 2014 16:46:23 +0000 (09:46 -0700)]
Disable DEXPREOPT until we have multilib support

Bug: 14694978
Change-Id: I31d0f1c78a668435646c99e659cec46cd2f3ddf7

10 years agoam 8012d8f3: Merge "Treat denver like cortex-a15."
Ying Wang [Tue, 13 May 2014 16:34:00 +0000 (16:34 +0000)]
am 8012d8f3: Merge "Treat denver like cortex-a15."

* commit '8012d8f353304ef4487545648455d34d6ffc2741':
  Treat denver like cortex-a15.

10 years agoMerge "Treat denver like cortex-a15."
Ying Wang [Tue, 13 May 2014 16:28:09 +0000 (16:28 +0000)]
Merge "Treat denver like cortex-a15."

10 years agoTreat denver like cortex-a15.
Ying Wang [Tue, 13 May 2014 16:02:56 +0000 (09:02 -0700)]
Treat denver like cortex-a15.

See also build/core/combo/arch/arm/armv7-a-neon.mk.

Change-Id: Ie18e1f133f56a9f7da80e304052c92edad933a31

10 years agoam fb1f38ec: Merge "Define __USE_MINGW_ANSI_STDIO for windows build"
Andrew Hsieh [Tue, 13 May 2014 00:57:08 +0000 (00:57 +0000)]
am fb1f38ec: Merge "Define __USE_MINGW_ANSI_STDIO for windows build"

* commit 'fb1f38ecbacfb5dc2cc4f3f83eb814ac2aa090ca':
  Define __USE_MINGW_ANSI_STDIO for windows build

10 years agoMerge "Define __USE_MINGW_ANSI_STDIO for windows build"
Andrew Hsieh [Tue, 13 May 2014 00:53:45 +0000 (00:53 +0000)]
Merge "Define __USE_MINGW_ANSI_STDIO for windows build"

10 years agoam f544a5f4: Merge "Place ISA in ART boot image name."
Ian Rogers [Mon, 12 May 2014 23:00:45 +0000 (23:00 +0000)]
am f544a5f4: Merge "Place ISA in ART boot image name."

* commit 'f544a5f4d57750b569333a59d57f568121f6f4a3':
  Place ISA in ART boot image name.

10 years agoMerge "Place ISA in ART boot image name."
Ian Rogers [Mon, 12 May 2014 22:45:54 +0000 (22:45 +0000)]
Merge "Place ISA in ART boot image name."

10 years agoPlace ISA in ART boot image name.
Ian Rogers [Sat, 10 May 2014 00:11:49 +0000 (17:11 -0700)]
Place ISA in ART boot image name.

Depends upon:
https://android-review.googlesource.com/#/c/94096/2

Change-Id: I79bec60a17ea7cf9214e56f8035d4a1b80b0eeb6

10 years agoam dcdc985c: Merge "executable_prefer_symlink: add makefile for creating symlink...
Ying Wang [Mon, 12 May 2014 16:53:01 +0000 (16:53 +0000)]
am dcdc985c: Merge "executable_prefer_symlink: add makefile for creating symlink to prefer version"

* commit 'dcdc985c47338c29e66a22941904abd4171607c9':
  executable_prefer_symlink: add makefile for creating symlink to prefer version

10 years agoMerge "executable_prefer_symlink: add makefile for creating symlink to prefer version"
Ying Wang [Mon, 12 May 2014 16:49:15 +0000 (16:49 +0000)]
Merge "executable_prefer_symlink: add makefile for creating symlink to prefer version"

10 years agoam fb67f05d: Merge changes I53b2ada9,I30794ea5
David 'Digit' Turner [Sun, 11 May 2014 09:19:43 +0000 (09:19 +0000)]
am fb67f05d: Merge changes I53b2ada9,I30794ea5

* commit 'fb67f05d3d6deb2400fd09390550a7858a3c3158':
  Disable emulator from platform builds.
  envsetup.sh: Use prebuilt emulator binaries if available.

10 years agoMerge changes I53b2ada9,I30794ea5
David 'Digit' Turner [Sun, 11 May 2014 09:16:15 +0000 (09:16 +0000)]
Merge changes I53b2ada9,I30794ea5

* changes:
  Disable emulator from platform builds.
  envsetup.sh: Use prebuilt emulator binaries if available.

10 years agoam eca0043b: Merge "Disable canonical prefixes of system headers"
Andrew Hsieh [Fri, 9 May 2014 16:59:04 +0000 (16:59 +0000)]
am eca0043b: Merge "Disable canonical prefixes of system headers"

* commit 'eca0043b869cb10792e2f3e79d4714bde2945bac':
  Disable canonical prefixes of system headers

10 years agoMerge "Disable canonical prefixes of system headers"
Andrew Hsieh [Fri, 9 May 2014 16:55:00 +0000 (16:55 +0000)]
Merge "Disable canonical prefixes of system headers"

10 years agoam 3afc688a: Merge "javac: rename common_flags to avoid conflictions"
Ying Wang [Fri, 9 May 2014 16:45:44 +0000 (16:45 +0000)]
am 3afc688a: Merge "javac: rename common_flags to avoid conflictions"

* commit '3afc688a6acc1753a2b104719a7a27f223f50750':
  javac: rename common_flags to avoid conflictions

10 years agoMerge "javac: rename common_flags to avoid conflictions"
Ying Wang [Fri, 9 May 2014 16:40:33 +0000 (16:40 +0000)]
Merge "javac: rename common_flags to avoid conflictions"

10 years agoDisable canonical prefixes of system headers
Andrew Hsieh [Fri, 9 May 2014 06:13:13 +0000 (14:13 +0800)]
Disable canonical prefixes of system headers

GCC know a few pre-defined paths (relative to its location) to
search for headers, libraries, program, etc.  By default GCC prefixes
its own path(argv[0]) and calls realpath() which result in absolute
path with all symlink, . and .. removed.

It's usually good to have canonicalised paths, but absolute paths
in *.d file can cause unnecessary relinking when stale entries
in ccache cache hit

Add -no-canonical-prefixes (gcc>=4.6) and
-fno-canonical-system-headers (gcc>4.6) to disable realpath() on
prefixed paths

Change-Id: I58d739e61fb013015fb05a9c98b2132b307f915a

10 years agoDisable emulator from platform builds.
David 'Digit' Turner [Fri, 9 May 2014 13:19:45 +0000 (15:19 +0200)]
Disable emulator from platform builds.

Now that emulator prebuilts are available under prebuilts/android-emulator/,
disable building the emulator from source in all platform builds, except
if one defines BUILD_EMULATOR to 'true' in its environment.

NOTE: This patch should be applied after this one to avoid issues
      with the GPU emulation libraries:
            https://android-review.googlesource.com/93980

Change-Id: I53b2ada9ca0c2e159dccee7cdca7f55f6b0d1d42

10 years agoenvsetup.sh: Use prebuilt emulator binaries if available.
David 'Digit' Turner [Mon, 5 May 2014 14:13:50 +0000 (16:13 +0200)]
envsetup.sh: Use prebuilt emulator binaries if available.

This patch changes the setpaths() function in envsetup.sh to probe
for prebuilts/android-emulator/<host>/, and prepend it to PATH if
it exists.

See https://android-review.googlesource.com/#/c/93399/
for a related patch that adds the binaries.

BUG=13747402

Change-Id: I30794ea52f6dfc58908e6271f2c0da8e2f0b68e8

10 years agoexecutable_prefer_symlink: add makefile for creating symlink to prefer version
Yongqin Liu [Wed, 7 May 2014 04:41:24 +0000 (12:41 +0800)]
executable_prefer_symlink: add makefile for creating symlink to prefer version

For a 64bit target, we can have support for both 32bit and 64bit version
binary(like app_process, dalvikvm), and there are some commands like am/pm
will call these commands to implement it's function.

In some targets it will prefer to use the 32bit version, and in other targets
it will prefer to use the 64bit version. So this change is to add the common
work for creating the symlink to the prefer version binary,and avoid the
change on the caller commands side like am/pm.

In this change, it uses TARGET_PREFER_32_BIT_APPS to decide linking to
32bit version or 64bit version.

Change-Id: I96f041c0e0ededd953feead30ec63ad63e945a6f
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
10 years agoDefine __USE_MINGW_ANSI_STDIO for windows build
Andrew Hsieh [Fri, 9 May 2014 03:40:50 +0000 (11:40 +0800)]
Define __USE_MINGW_ANSI_STDIO for windows build

Some printf/scanf functions in Windows aren't C99 compatible.
Define __USE_MINGW_ANSI_STDIO for mingw compiler to use it's own set of
replacement libraries which are more C99-like.

Change-Id: I51dfa582971ec0487409067e8bb7fe3a44577b93

10 years agojavac: rename common_flags to avoid conflictions
Nick Reuter [Fri, 9 May 2014 02:36:05 +0000 (21:36 -0500)]
javac: rename common_flags to avoid conflictions

 * Currently the flag conflicts with one seen in hardware/qcom
   rename to avoid issues.

Change-Id: I876fcd6a254f349dc5260509bcddb0367a7d49d8
Signed-off-by: Nick Reuter <nreuter85@gmail.com>
10 years agoam afe444a5: Merge "Remove SDK Tools from platform builds."
Xavier Ducrohet [Fri, 9 May 2014 00:52:34 +0000 (00:52 +0000)]
am afe444a5: Merge "Remove SDK Tools from platform builds."

* commit 'afe444a564ed72cdda792822a0c9dab57a8c9172':
  Remove SDK Tools from platform builds.

10 years agoMerge "Remove SDK Tools from platform builds."
Xavier Ducrohet [Fri, 9 May 2014 00:46:44 +0000 (00:46 +0000)]
Merge "Remove SDK Tools from platform builds."

10 years agoam 0d4b3df6: Merge "Target "tests" now only builds the modules tagged as "tests""
Ying Wang [Fri, 9 May 2014 00:06:36 +0000 (00:06 +0000)]
am 0d4b3df6: Merge "Target "tests" now only builds the modules tagged as "tests""

* commit '0d4b3df6aa495ab2aaabe3a8d5c9c6ad69ab5667':
  Target "tests" now only builds the modules tagged as "tests"

10 years agoam f6603f75: Merge "Add tool to package up built modules."
Ying Wang [Fri, 9 May 2014 00:06:35 +0000 (00:06 +0000)]
am f6603f75: Merge "Add tool to package up built modules."

* commit 'f6603f753d492823e19d0677d5a9ccfc16f51805':
  Add tool to package up built modules.

10 years agoMerge "Target "tests" now only builds the modules tagged as "tests""
Ying Wang [Fri, 9 May 2014 00:03:03 +0000 (00:03 +0000)]
Merge "Target "tests" now only builds the modules tagged as "tests""

10 years agoMerge "Add tool to package up built modules."
Ying Wang [Fri, 9 May 2014 00:02:50 +0000 (00:02 +0000)]
Merge "Add tool to package up built modules."

10 years agoTarget "tests" now only builds the modules tagged as "tests"
Ying Wang [Wed, 7 May 2014 23:39:21 +0000 (16:39 -0700)]
Target "tests" now only builds the modules tagged as "tests"

But not install them.
This prevents "make tests" polluting system.img or userdata.img.
We have new mechanism to build and package up modules into zip file in
build/core/tasks/tools.
Change package-modules.mk to install DATA/ instead of data/ in the
zip file; Better handle of module name conflicting.

Bug: 13585955
Change-Id: I7586a8c7995b984c9ead0ba2fa84dd5d2dd20bd1

10 years agoAdd tool to package up built modules.
Ying Wang [Mon, 5 May 2014 23:46:52 +0000 (16:46 -0700)]
Add tool to package up built modules.

With this change, you can package up modules while avoiding installing
them to the system.img or userdata.img.
- build/core/tasks/tools/package-modules.mk
  You can use this template to package up modules into a zip file and
  preserve the installed file paths.
- LOCAL_PICKUP_FILES, you can use this variable to package up extra
  files/directories.

Bug: 13585955
Change-Id: I103042b24ccf17cf5dc90c016d97ed1dd293e50b

10 years agoam 41d8760d: Merge "Bump userdata image size from 200 MB to 550 MB"
Tsu Chiang Chuang [Thu, 8 May 2014 22:50:27 +0000 (22:50 +0000)]
am 41d8760d: Merge "Bump userdata image size from 200 MB to 550 MB"

* commit '41d8760d683f21d2868fbfb6872a3cf65b9edbcb':
  Bump userdata image size from 200 MB to 550 MB

10 years agoMerge "Bump userdata image size from 200 MB to 550 MB"
Tsu Chiang Chuang [Thu, 8 May 2014 22:39:00 +0000 (22:39 +0000)]
Merge "Bump userdata image size from 200 MB to 550 MB"

10 years agoam 1e63c2d1: Merge "Add dalvik.vm.dex2oat-flags for eng build"
Brian Carlstrom [Thu, 8 May 2014 21:53:14 +0000 (21:53 +0000)]
am 1e63c2d1: Merge "Add dalvik.vm.dex2oat-flags for eng build"

* commit '1e63c2d15cba608a154bbd563f96dde334691147':
  Add dalvik.vm.dex2oat-flags for eng build

10 years agoRemove SDK Tools from platform builds.
Xavier Ducrohet [Tue, 1 Apr 2014 19:13:58 +0000 (12:13 -0700)]
Remove SDK Tools from platform builds.

(cherry picked from commit edf30221b4890673dc714a1efef3b5faf4ae1522)

Change-Id: Ia74c2ece1528adca10a4eec24e73b4ce361af1a9

10 years agoMerge "Add dalvik.vm.dex2oat-flags for eng build"
Brian Carlstrom [Thu, 8 May 2014 21:49:31 +0000 (21:49 +0000)]
Merge "Add dalvik.vm.dex2oat-flags for eng build"

10 years agoam 3b15cdb8: Merge "Apply LOCAL_LDLIBS to target build rules too."
Ying Wang [Thu, 8 May 2014 00:21:35 +0000 (00:21 +0000)]
am 3b15cdb8: Merge "Apply LOCAL_LDLIBS to target build rules too."

* commit '3b15cdb854dfe79507cace8ce54828861bbe7a8c':
  Apply LOCAL_LDLIBS to target build rules too.

10 years agoMerge "Apply LOCAL_LDLIBS to target build rules too."
Ying Wang [Thu, 8 May 2014 00:15:30 +0000 (00:15 +0000)]
Merge "Apply LOCAL_LDLIBS to target build rules too."

10 years agoApply LOCAL_LDLIBS to target build rules too.
Ying Wang [Wed, 7 May 2014 18:33:19 +0000 (11:33 -0700)]
Apply LOCAL_LDLIBS to target build rules too.

Use LOCAL_LDLIBS to link against prebuilt libraries (such as NDK
libraries).
Previously LOCAL_LDLIBS only applies to host modules and the behaviour
confuses users.

Change-Id: I515546d7b59ef54e8ef09050eb58ec63534c9291

10 years agoAdd dalvik.vm.dex2oat-flags for eng build
Brian Carlstrom [Tue, 11 Feb 2014 01:52:53 +0000 (17:52 -0800)]
Add dalvik.vm.dex2oat-flags for eng build

Bug: 12869646
Change-Id: I794320267c846225931f12075c7f32d7848081e9

10 years agoBump userdata image size from 200 MB to 550 MB
Tsu Chiang Chuang [Wed, 7 May 2014 00:27:20 +0000 (17:27 -0700)]
Bump userdata image size from 200 MB to 550 MB

Change-Id: Ibdf319091a7187dc894f4a923d40868cec4b7b41

10 years agoam a16583a0: Merge "Fix windows/mingw build."
Ying Wang [Tue, 6 May 2014 19:16:12 +0000 (19:16 +0000)]
am a16583a0: Merge "Fix windows/mingw build."

* commit 'a16583a0880f574937f08bf2c86be72b0f4b9274':
  Fix windows/mingw build.

10 years agoMerge "Fix windows/mingw build."
Ying Wang [Tue, 6 May 2014 19:13:21 +0000 (19:13 +0000)]
Merge "Fix windows/mingw build."

10 years agoFix windows/mingw build.
Ying Wang [Tue, 6 May 2014 19:10:55 +0000 (12:10 -0700)]
Fix windows/mingw build.

Bug: 14446414
Change-Id: I9d12ed8afb6d4d5a09ef9b2844eb193b52b74271

10 years agoam a37550ed: Merge "Use prebuilt flex."
Ying Wang [Tue, 6 May 2014 18:43:28 +0000 (18:43 +0000)]
am a37550ed: Merge "Use prebuilt flex."

* commit 'a37550edd39b3520839251b2a4acceca779a8a8b':
  Use prebuilt flex.

10 years agoMerge "Use prebuilt flex."
Ying Wang [Tue, 6 May 2014 18:40:59 +0000 (18:40 +0000)]
Merge "Use prebuilt flex."

10 years agoam 889a93a4: Merge "add silvermont x86 architecture"
Ying Wang [Tue, 6 May 2014 16:20:51 +0000 (16:20 +0000)]
am 889a93a4: Merge "add silvermont x86 architecture"

* commit '889a93a49582fa17049f0424af3c1c06f70db407':
  add silvermont x86 architecture

10 years agoMerge "add silvermont x86 architecture"
Ying Wang [Tue, 6 May 2014 16:18:56 +0000 (16:18 +0000)]
Merge "add silvermont x86 architecture"

10 years agoam b7e0bdc0: Merge "Increase system image size of generic_x86_64 to 750MB."
Ying Wang [Tue, 6 May 2014 02:03:55 +0000 (02:03 +0000)]
am b7e0bdc0: Merge "Increase system image size of generic_x86_64 to 750MB."

* commit 'b7e0bdc02be3c505c72d431c1addd42016d0a7fc':
  Increase system image size of generic_x86_64 to 750MB.

10 years agoMerge "Increase system image size of generic_x86_64 to 750MB."
Ying Wang [Tue, 6 May 2014 02:01:58 +0000 (02:01 +0000)]
Merge "Increase system image size of generic_x86_64 to 750MB."

10 years agoIncrease system image size of generic_x86_64 to 750MB.
Ying Wang [Tue, 6 May 2014 02:01:28 +0000 (19:01 -0700)]
Increase system image size of generic_x86_64 to 750MB.

Change-Id: I0c3264c7f629bc4d8c30539590de00967188807b

10 years agoUse prebuilt flex.
Ying Wang [Tue, 6 May 2014 01:34:57 +0000 (18:34 -0700)]
Use prebuilt flex.

Bug: 14446414
Change-Id: I07fe8d7f246de853e5bae17286834268e36d260c

10 years agoam 5128237a: Merge "build: set TARGET_SUPPORTS_64_BIT_APPS in 64-bit config"
Colin Cross [Mon, 5 May 2014 23:05:14 +0000 (23:05 +0000)]
am 5128237a: Merge "build: set TARGET_SUPPORTS_64_BIT_APPS in 64-bit config"

* commit '5128237ad3312523c5a1390efce33ad77f0f2ff0':
  build: set TARGET_SUPPORTS_64_BIT_APPS in 64-bit config

10 years agoMerge "build: set TARGET_SUPPORTS_64_BIT_APPS in 64-bit config"
Colin Cross [Mon, 5 May 2014 23:02:45 +0000 (23:02 +0000)]
Merge "build: set TARGET_SUPPORTS_64_BIT_APPS in 64-bit config"

10 years agobuild: set TARGET_SUPPORTS_64_BIT_APPS in 64-bit config
Colin Cross [Mon, 5 May 2014 22:25:41 +0000 (15:25 -0700)]
build: set TARGET_SUPPORTS_64_BIT_APPS in 64-bit config

Set TARGET_SUPPORTS_32_BIT_APPS and TARGET_SUPPORTS_64_BIT_APPS,
TARGET_PREFERS_32_BIT_APPS is enough to get apps to build for
32-bit only, and leaving TARGET_SUPPORTS_64_BIT_APPS unset
confuses zygote64 because it finds an empty 64-bit ABI list.

Change-Id: Iadea7f2b42c216710b54aeac6011a4e30e0f2eaa

10 years agoam 2ff8919d: Merge changes I7e809264,I504cea21,Ibd2165e6
Colin Cross [Mon, 5 May 2014 20:14:18 +0000 (20:14 +0000)]
am 2ff8919d: Merge changes I7e809264,I504cea21,Ibd2165e6

* commit '2ff8919de339209412d9da2a524f566dfcf5847f':
  build: add core_64_bit.mk
  build: reverse abi list when TARGET_PREFER_32_BIT_APPS is set
  build: split TARGET_PREFER_32_BIT for apps and executables

10 years agoMerge changes I7e809264,I504cea21,Ibd2165e6
Colin Cross [Mon, 5 May 2014 20:11:28 +0000 (20:11 +0000)]
Merge changes I7e809264,I504cea21,Ibd2165e6

* changes:
  build: add core_64_bit.mk
  build: reverse abi list when TARGET_PREFER_32_BIT_APPS is set
  build: split TARGET_PREFER_32_BIT for apps and executables

10 years agoam 57df0c7b: Merge "Increase system image size of generic_x86_64 to 650MB."
Ying Wang [Mon, 5 May 2014 18:41:32 +0000 (18:41 +0000)]
am 57df0c7b: Merge "Increase system image size of generic_x86_64 to 650MB."

* commit '57df0c7bf5a78b1c4edb7e06d22ccc91ad46b41d':
  Increase system image size of generic_x86_64 to 650MB.

10 years agoMerge "Increase system image size of generic_x86_64 to 650MB."
Ying Wang [Mon, 5 May 2014 18:37:29 +0000 (18:37 +0000)]
Merge "Increase system image size of generic_x86_64 to 650MB."