OSDN Git Service

android-x86/build.git
10 years agoam 294301bb: Merge "Exclude libstdc++ and libgcc if libc++ is requested."
Ying Wang [Tue, 27 May 2014 17:52:10 +0000 (17:52 +0000)]
am 294301bb: Merge "Exclude libstdc++ and libgcc if libc++ is requested."

* commit '294301bb34b62d51305d70780ac031a905fa9efe':
  Exclude libstdc++ and libgcc if libc++ is requested.

10 years agoMerge "Exclude libstdc++ and libgcc if libc++ is requested."
Ying Wang [Tue, 27 May 2014 17:49:12 +0000 (17:49 +0000)]
Merge "Exclude libstdc++ and libgcc if libc++ is requested."

10 years agoam 8d3b9c9e: Merge "Switch x86_64 emulator to 64 bit primary."
Narayan Kamath [Tue, 27 May 2014 11:15:57 +0000 (11:15 +0000)]
am 8d3b9c9e: Merge "Switch x86_64 emulator to 64 bit primary."

* commit '8d3b9c9e456e1d62a025d2eb3a03f2566823d2e3':
  Switch x86_64 emulator to 64 bit primary.

10 years agoam 7b31bd3e: Merge "Remove hardcoded TARGET_PREFER_32_BIT_APPS."
Narayan Kamath [Tue, 27 May 2014 11:15:56 +0000 (11:15 +0000)]
am 7b31bd3e: Merge "Remove hardcoded TARGET_PREFER_32_BIT_APPS."

* commit '7b31bd3e8f25b9b232204d4b64399d78d6e41163':
  Remove hardcoded TARGET_PREFER_32_BIT_APPS.

10 years agoMerge "Switch x86_64 emulator to 64 bit primary."
Narayan Kamath [Tue, 27 May 2014 11:13:42 +0000 (11:13 +0000)]
Merge "Switch x86_64 emulator to 64 bit primary."

10 years agoMerge "Remove hardcoded TARGET_PREFER_32_BIT_APPS."
Narayan Kamath [Tue, 27 May 2014 11:12:33 +0000 (11:12 +0000)]
Merge "Remove hardcoded TARGET_PREFER_32_BIT_APPS."

10 years agoSwitch x86_64 emulator to 64 bit primary.
Narayan Kamath [Wed, 21 May 2014 11:44:37 +0000 (12:44 +0100)]
Switch x86_64 emulator to 64 bit primary.

Also siezes the opportunity to remove the hardcoded
TARGET_PREFER_32_BIT_APPS directing in core_64_bit.mk.
This avoids the need for further hacks but needs supporting
changes to a few apps to force them to 32 bit.

Change-Id: I36ba9e5f5b08dd87d6a4afc27961a436306eed99

10 years agoRemove hardcoded TARGET_PREFER_32_BIT_APPS.
Narayan Kamath [Tue, 6 May 2014 14:14:09 +0000 (15:14 +0100)]
Remove hardcoded TARGET_PREFER_32_BIT_APPS.

This isn't required any longer, besides individual products
should be allowed to set this value themselves.

(cherry picked from commit 7b9347a7f9d870e149ef38438ad547abe2709ee2)

Change-Id: If459eab32c6e7831596224ad3503baefbf028133

10 years agoExclude libstdc++ and libgcc if libc++ is requested.
Ying Wang [Fri, 23 May 2014 23:42:37 +0000 (16:42 -0700)]
Exclude libstdc++ and libgcc if libc++ is requested.

Bug: 15174002
Change-Id: I24fe428c3520f76cd61f0660b59ba18a1f2d2dad

10 years agoam 6cb69bd4: Merge "Add HOST_PREFER_32_BIT to support 32-bit-by-default multilib...
Ying Wang [Fri, 23 May 2014 17:44:31 +0000 (17:44 +0000)]
am 6cb69bd4: Merge "Add HOST_PREFER_32_BIT to support 32-bit-by-default multilib build"

* commit '6cb69bd4f20ac3ae3a7d5b5cc323c4480cf8ef75':
  Add HOST_PREFER_32_BIT to support 32-bit-by-default multilib build

10 years agoMerge "Add HOST_PREFER_32_BIT to support 32-bit-by-default multilib build"
Ying Wang [Fri, 23 May 2014 17:39:40 +0000 (17:39 +0000)]
Merge "Add HOST_PREFER_32_BIT to support 32-bit-by-default multilib build"

10 years agoam e45c8607: Merge changes Ibc943b75,Ib4ccf373,I30ff439b,I7bde0130
Colin Cross [Thu, 22 May 2014 19:31:26 +0000 (19:31 +0000)]
am e45c8607: Merge changes Ibc943b75,Ib4ccf373,I30ff439b,I7bde0130

* commit 'e45c8607b3e2cf7a428a91898aea2752a54389a1':
  set a prebuilt directory name for the 2nd arch
  add vendor directories to gdb shared library search path
  add 2nd arch gcc to the path
  fix paths when 2nd arch gcc is a different version

10 years agoMerge changes Ibc943b75,Ib4ccf373,I30ff439b,I7bde0130
Colin Cross [Thu, 22 May 2014 19:28:01 +0000 (19:28 +0000)]
Merge changes Ibc943b75,Ib4ccf373,I30ff439b,I7bde0130

* changes:
  set a prebuilt directory name for the 2nd arch
  add vendor directories to gdb shared library search path
  add 2nd arch gcc to the path
  fix paths when 2nd arch gcc is a different version

10 years agoset a prebuilt directory name for the 2nd arch
Colin Cross [Thu, 22 May 2014 19:01:23 +0000 (12:01 -0700)]
set a prebuilt directory name for the 2nd arch

In order to install 32-bit gdbserver on a 64-bit build,
prebuilts/misc/Android.mk needs to know the prebuilt directory name
for the 2nd arch.

Change-Id: Ibc943b758eb9404f7f5f9fbbd8720cc67f6a6f01

10 years agoadd vendor directories to gdb shared library search path
Colin Cross [Thu, 22 May 2014 18:59:10 +0000 (11:59 -0700)]
add vendor directories to gdb shared library search path

Change-Id: Ib4ccf3739d6b2f14597605ce06f00e4776f67976

10 years agoadd 2nd arch gcc to the path
Colin Cross [Thu, 22 May 2014 18:58:40 +0000 (11:58 -0700)]
add 2nd arch gcc to the path

Add the 2nd arch gcc to the path so users can manually run gdb,
addr2line, objdump, etc.

Change-Id: I30ff439bb6548b897d13bfa87151991d5f2948b3

10 years agofix paths when 2nd arch gcc is a different version
Colin Cross [Thu, 22 May 2014 18:57:43 +0000 (11:57 -0700)]
fix paths when 2nd arch gcc is a different version

arm64 is using gcc 4.9, arm is using gcc 4.8.  Fix setpaths() to
get a separate version for the 2nd arch.

Change-Id: I7bde01308fc7718360e7d0fbd46b3ae8c5f55fa7

10 years agoam b0143e2f: Merge "Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS"
Ying Wang [Thu, 22 May 2014 17:43:14 +0000 (17:43 +0000)]
am b0143e2f: Merge "Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS"

* commit 'b0143e2fffbd3183175e8c1873d3466598ca9457':
  Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS

10 years agoMerge "Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS"
Ying Wang [Thu, 22 May 2014 17:38:01 +0000 (17:38 +0000)]
Merge "Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS"

10 years agoam 8a3f514d: Merge "Split the rules to build the odex file"
Ying Wang [Thu, 22 May 2014 02:29:52 +0000 (02:29 +0000)]
am 8a3f514d: Merge "Split the rules to build the odex file"

* commit '8a3f514d44e2c1d4920126b3edd47f7a7616b732':
  Split the rules to build the odex file

10 years agoMerge "Split the rules to build the odex file"
Ying Wang [Thu, 22 May 2014 02:24:59 +0000 (02:24 +0000)]
Merge "Split the rules to build the odex file"

10 years agoam 5caca89c: Merge "Clarify multiarch warnings"
Dmitriy Ivanov [Thu, 22 May 2014 01:24:48 +0000 (01:24 +0000)]
am 5caca89c: Merge "Clarify multiarch warnings"

* commit '5caca89c5d66e9999e26905522bf2eed958d0961':
  Clarify multiarch warnings

10 years agoMerge "Clarify multiarch warnings"
Dmitriy Ivanov [Thu, 22 May 2014 01:22:00 +0000 (01:22 +0000)]
Merge "Clarify multiarch warnings"

10 years agoClarify multiarch warnings
Dmitriy Ivanov [Wed, 21 May 2014 23:38:03 +0000 (16:38 -0700)]
Clarify multiarch warnings

 * Show multiarch related warnings only if my_module_multilib is both

Change-Id: If0c467c1d9b953bd3f40949ab4b97d9329ec021f

10 years agoSplit the rules to build the odex file
Ying Wang [Wed, 21 May 2014 23:13:33 +0000 (16:13 -0700)]
Split the rules to build the odex file

Previously the odex file is byproduct generated by the package.apk rule.
Though we have the odex file depend on the package.apk it doesn't have
its own build recipe. In case package.apk isn't updated but we still
need to update the odex file (such as changed LOCAL_MULTILIB), the odex
file will never be rebuilt.
This change split out the rules to build the odex file and make sure the
build recipe get executed if the odex file needs rebuild.

Change-Id: I60c2f32b536b3d59045301ee863aae1451734aad

10 years agoam ea65c191: Merge "libctest: zap"
Mark Salyzyn [Wed, 21 May 2014 21:08:24 +0000 (21:08 +0000)]
am ea65c191: Merge "libctest: zap"

* commit 'ea65c191e7c08233c97c5b854537d2a0d2127733':
  libctest: zap

10 years agoMerge "libctest: zap"
Mark Salyzyn [Wed, 21 May 2014 21:02:10 +0000 (21:02 +0000)]
Merge "libctest: zap"

10 years agolibctest: zap
Mark Salyzyn [Wed, 21 May 2014 20:27:58 +0000 (13:27 -0700)]
libctest: zap

Change-Id: Ia3ff0cad0995af428adf2dbdf10587dae904ec7d

10 years agoam 90a0edbc: Merge "Remove netd_client. It has moved to the internal tree."
Sreeram Ramachandran [Wed, 21 May 2014 17:01:40 +0000 (17:01 +0000)]
am 90a0edbc: Merge "Remove netd_client. It has moved to the internal tree."

* commit '90a0edbc0b6dfee222ff630973308c737202a6b7':
  Remove netd_client. It has moved to the internal tree.

10 years agoMerge "Remove netd_client. It has moved to the internal tree."
Sreeram Ramachandran [Wed, 21 May 2014 16:59:25 +0000 (16:59 +0000)]
Merge "Remove netd_client. It has moved to the internal tree."

10 years agoRemove netd_client. It has moved to the internal tree.
Sreeram Ramachandran [Wed, 21 May 2014 16:55:44 +0000 (09:55 -0700)]
Remove netd_client. It has moved to the internal tree.

Change-Id: Iffcdb4900373c05086fd1085b861b6520065b7a3

10 years agoam 4e151105: Merge "Support to extract JNI libs from prebuilt APK"
Ying Wang [Wed, 21 May 2014 01:06:03 +0000 (01:06 +0000)]
am 4e151105: Merge "Support to extract JNI libs from prebuilt APK"

* commit '4e151105a02ba09acb277c6a084252d01c561a5f':
  Support to extract JNI libs from prebuilt APK

10 years agoAdd HOST_PREFER_32_BIT to support 32-bit-by-default multilib build
Ying Wang [Tue, 20 May 2014 21:43:51 +0000 (14:43 -0700)]
Add HOST_PREFER_32_BIT to support 32-bit-by-default multilib build

We already support pure 32-bit and 64-bit-by-default multilib build.
With HOST_PREFER_32_BIT we can build 32-bit-by-default multilib build.
This will be lest disruptive during the period we transition to
64-bit-by-default.

Bug: 13751317
Change-Id: I0d56ce4abbe4afeaacfd70d709f6a349791c0722

10 years agoMerge "Support to extract JNI libs from prebuilt APK"
Ying Wang [Wed, 21 May 2014 01:02:57 +0000 (01:02 +0000)]
Merge "Support to extract JNI libs from prebuilt APK"

10 years agoSupport to extract JNI libs from prebuilt APK
Ying Wang [Sat, 19 Apr 2014 03:13:41 +0000 (20:13 -0700)]
Support to extract JNI libs from prebuilt APK

Use LOCAL_PREBUILT_JNI_LIBS to install prebuilt JNI libraries extracted
from the prebuilt apk, or prebuilts as source, to the app specific lib path.
LOCAL_PREBUILT_JNI_LIBS accepts 2 kinds of files:
- Files like @path/to/libfoo.so (path inside the apk) are JNI libs
  extracted from the prebuilt apk. In this case, all embedded JNI libs
  inside the prebuilt apk are stripped.
- Files like path/to/libfoo.so (path relative to LOCAL_PATH) are
  prebuilts in the source tree.

Those prebuilt JNI libs are not defined as modules in the build system,
so this works around possible module name conflict.

Bug: 13170859
Change-Id: I91bb844cc11b3621a85733bc7e8910f168957ef0

10 years agoam 0dbcff95: Merge "The generic_arm64 system image is full."
Elliott Hughes [Tue, 20 May 2014 23:36:30 +0000 (23:36 +0000)]
am 0dbcff95: Merge "The generic_arm64 system image is full."

* commit '0dbcff9599be1f999df467b7d17b4f2785a8452a':
  The generic_arm64 system image is full.

10 years agoam a2cd924b: Merge "Fix extra/missing : in path setup."
Christopher Ferris [Tue, 20 May 2014 23:36:28 +0000 (23:36 +0000)]
am a2cd924b: Merge "Fix extra/missing : in path setup."

* commit 'a2cd924bef556cb6ceccca1098cae338d37200a6':
  Fix extra/missing : in path setup.

10 years agoMerge "The generic_arm64 system image is full."
Elliott Hughes [Tue, 20 May 2014 21:48:10 +0000 (21:48 +0000)]
Merge "The generic_arm64 system image is full."

10 years agoThe generic_arm64 system image is full.
Elliott Hughes [Tue, 20 May 2014 21:37:51 +0000 (14:37 -0700)]
The generic_arm64 system image is full.

Change-Id: I454c674033525f2f7847d2c91979dff8093c335b

10 years agoMerge "Fix extra/missing : in path setup."
Christopher Ferris [Tue, 20 May 2014 21:18:50 +0000 (21:18 +0000)]
Merge "Fix extra/missing : in path setup."

10 years agoFix extra/missing : in path setup.
Christopher Ferris [Tue, 20 May 2014 20:56:00 +0000 (13:56 -0700)]
Fix extra/missing : in path setup.

Change-Id: I4d95efc781c58af704012922d95841e009bf6286

10 years agoam 54bea362: Merge "Use aarch64-linux-android-4.9 for arm64 build (attempt #4)"
Ben Cheng [Tue, 20 May 2014 16:04:17 +0000 (16:04 +0000)]
am 54bea362: Merge "Use aarch64-linux-android-4.9 for arm64 build (attempt #4)"

* commit '54bea362ab7f33791bd6ea54d77a76dc8d9e005d':
  Use aarch64-linux-android-4.9 for arm64 build (attempt #4)

10 years agoMerge "Use aarch64-linux-android-4.9 for arm64 build (attempt #4)"
Ben Cheng [Tue, 20 May 2014 16:00:07 +0000 (16:00 +0000)]
Merge "Use aarch64-linux-android-4.9 for arm64 build (attempt #4)"

10 years agoUse aarch64-linux-android-4.9 for arm64 build (attempt #4)
Ben Cheng [Mon, 19 May 2014 23:22:21 +0000 (16:22 -0700)]
Use aarch64-linux-android-4.9 for arm64 build (attempt #4)

GCC: 4.9 (which supports -fstack-protector)
Binutils: 2.24 (which supports gc-sections)
GDB: 7.7

NDK libraries are still picked up from prebuilts/ndk/*/4.8/*

GCC has been patched to disable codegen for calling
__cxa_throw_bad_array_new_length.

Source code has been sync'ed against the 2014-05-14 snapshot which
contains many important fixes (devirtualization, codegen, ...).

Change-Id: I43229360ad0132193d5208cb0d1acba55084853c

10 years agoam 64f3a191: Merge "Multilib support for odex"
Brian Carlstrom [Mon, 19 May 2014 16:53:35 +0000 (16:53 +0000)]
am 64f3a191: Merge "Multilib support for odex"

* commit '64f3a191f92a6ab84a8175ad480633b8c58ac900':
  Multilib support for odex

10 years agoMerge "Multilib support for odex"
Brian Carlstrom [Mon, 19 May 2014 16:50:16 +0000 (16:50 +0000)]
Merge "Multilib support for odex"

10 years agoam 13b48588: Merge "Allow qemu_device read-write access to various processes"
Ji-Hwan Lee [Mon, 19 May 2014 16:48:51 +0000 (16:48 +0000)]
am 13b48588: Merge "Allow qemu_device read-write access to various processes"

* commit '13b485889d95597a839f27f7774d55142bb8b5a7':
  Allow qemu_device read-write access to various processes

10 years agoMerge "Allow qemu_device read-write access to various processes"
Ji-Hwan Lee [Mon, 19 May 2014 16:46:30 +0000 (16:46 +0000)]
Merge "Allow qemu_device read-write access to various processes"

10 years agoAllow qemu_device read-write access to various processes
Ji-Hwan Lee [Mon, 19 May 2014 11:43:23 +0000 (20:43 +0900)]
Allow qemu_device read-write access to various processes

Basically, allow access of qemu_device where gpu_device is allowed, for the
case when the emulator runs with OpenGL/ES emulation.  Most noticably,
surfaceflinger crashes without qemu_device access.

Bug: 15052949
Change-Id: Ib891365a6d503309bced64e2512c4d8f29d9a07e

10 years agoMultilib support for odex
Ying Wang [Tue, 13 May 2014 20:57:28 +0000 (13:57 -0700)]
Multilib support for odex

If the VM is libart and DEXPREOPT is enabled,
- For a Java library and the boot image, we build for both 1st arch and
  2nd arch.
- For an app, we build for the multilib arch the module is targeted for.
The odex file will be in <arch_name>/<module_name>.odex inside the same
dir where the jar/apk file gets installed.
Nothing changed if it's built for libdvm.

Bug: 14694978
Change-Id: I45118a83758b41d52d6c9e38f93f0ba2775a6c74

10 years agoam e624fd28: Merge "Put prebuilt emulator path after host output"
Ji-Hwan Lee [Sun, 18 May 2014 06:50:32 +0000 (06:50 +0000)]
am e624fd28: Merge "Put prebuilt emulator path after host output"

* commit 'e624fd281a74b42828a1902dfff11503f95fe28d':
  Put prebuilt emulator path after host output

10 years agoam c60783c9: Merge "Increase system image size to 650M for generic_arm64"
Ji-Hwan Lee [Sun, 18 May 2014 06:50:32 +0000 (06:50 +0000)]
am c60783c9: Merge "Increase system image size to 650M for generic_arm64"

* commit 'c60783c9a291dc03a11326caac920c295ed999dc':
  Increase system image size to 650M for generic_arm64

10 years agoMerge "Put prebuilt emulator path after host output"
Ji-Hwan Lee [Sun, 18 May 2014 06:39:50 +0000 (06:39 +0000)]
Merge "Put prebuilt emulator path after host output"

10 years agoMerge "Increase system image size to 650M for generic_arm64"
Ji-Hwan Lee [Sun, 18 May 2014 06:38:16 +0000 (06:38 +0000)]
Merge "Increase system image size to 650M for generic_arm64"

10 years agoIncrease system image size to 650M for generic_arm64
Ji-Hwan Lee [Sat, 17 May 2014 17:41:41 +0000 (02:41 +0900)]
Increase system image size to 650M for generic_arm64

Change-Id: I7969ec54dc4225bbe36651c4d9c6a09de1eb89f4

10 years agoam 4636abe5: Merge "Real "LOCAL_MULTILIB := both" for prebuilts"
Ying Wang [Sat, 17 May 2014 03:06:42 +0000 (03:06 +0000)]
am 4636abe5: Merge "Real "LOCAL_MULTILIB := both" for prebuilts"

* commit '4636abe5899272e1e9051e2c98516409107c4e8c':
  Real "LOCAL_MULTILIB := both" for prebuilts

10 years agoMerge "Real "LOCAL_MULTILIB := both" for prebuilts"
Ying Wang [Sat, 17 May 2014 03:03:43 +0000 (03:03 +0000)]
Merge "Real "LOCAL_MULTILIB := both" for prebuilts"

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 agoReal "LOCAL_MULTILIB := both" for prebuilts
Ying Wang [Fri, 16 May 2014 17:38:43 +0000 (10:38 -0700)]
Real "LOCAL_MULTILIB := both" for prebuilts

This uses the fact that unsetting LOCAL_MULTILIB equals "either".
It's useful to build for both 32-bit and 64-bit in the same prebuilt
module definition.

Bug: 13751317
Change-Id: I4f1625a83e13f22f807039afebae73f69ed35918

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 agoPut prebuilt emulator path after host output
Ji-Hwan Lee [Thu, 15 May 2014 13:03:08 +0000 (22:03 +0900)]
Put prebuilt emulator path after host output

So that built emulator is used instead of prebuilt one when
BUILD_EMULATOR=true.

Change-Id: I67dfbfc2c3bf9bf051e56de425caa07b08d4b2e4

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"