OSDN Git Service

android-x86/build.git
10 years agoam cd958154: Merge "Refactor a little bit and do the validation on also default.prop."
Ying Wang [Wed, 12 Feb 2014 21:01:03 +0000 (21:01 +0000)]
am cd958154: Merge "Refactor a little bit and do the validation on also default.prop."

* commit 'cd958154a5bdb753274a338e799c3ece96ea9c5c':
  Refactor a little bit and do the validation on also default.prop.

10 years agoam fd841351: Merge "Support custom sdk.atree files." into klp-modular-dev
Ying Wang [Wed, 12 Feb 2014 20:58:02 +0000 (20:58 +0000)]
am fd841351: Merge "Support custom sdk.atree files." into klp-modular-dev

* commit 'fd841351efaeb241f0b499231671772caa21f19e':
  Support custom sdk.atree files.

10 years agoMerge "Refactor a little bit and do the validation on also default.prop."
Ying Wang [Wed, 12 Feb 2014 20:56:31 +0000 (20:56 +0000)]
Merge "Refactor a little bit and do the validation on also default.prop."

10 years agoMerge "Support custom sdk.atree files." into klp-modular-dev
Ying Wang [Wed, 12 Feb 2014 20:54:30 +0000 (20:54 +0000)]
Merge "Support custom sdk.atree files." into klp-modular-dev

10 years agoam de90b030: Merge "A build property\'s value is returned empty in runtime when its...
Ying Wang [Wed, 12 Feb 2014 19:22:53 +0000 (19:22 +0000)]
am de90b030: Merge "A build property\'s value is returned empty in runtime when its length exceeds 92 symbols (91 valid symbols + \0). It is better to catch that issue on earlier stage, i.e. fail the build with an appropriate message."

* commit 'de90b0307a603449354bb2d265c5b2315b7b6850':
  A build property's value is returned empty in runtime when its length exceeds 92 symbols (91 valid symbols + \0). It is better to catch that issue on earlier stage, i.e. fail the build with an appropriate message.

10 years agoam bec954d0: Merge "Clean up dangling module names"
Ying Wang [Wed, 12 Feb 2014 19:22:52 +0000 (19:22 +0000)]
am bec954d0: Merge "Clean up dangling module names"

* commit 'bec954d05e0eeec178c796d2332ee9a86becb5dc':
  Clean up dangling module names

10 years agoam b12cce10: Merge "Refine module name resolving in multilib build"
Ying Wang [Wed, 12 Feb 2014 19:22:51 +0000 (19:22 +0000)]
am b12cce10: Merge "Refine module name resolving in multilib build"

* commit 'b12cce10fab8c9adda213506be4ce675104655da':
  Refine module name resolving in multilib build

10 years agoam 993ffb80: Merge "Add all-S-files-under."
Elliott Hughes [Wed, 12 Feb 2014 19:22:29 +0000 (19:22 +0000)]
am 993ffb80: Merge "Add all-S-files-under."

* commit '993ffb802ee90e07e73e67e523fd040395dfd74d':
  Add all-S-files-under.

10 years agoRefactor a little bit and do the validation on also default.prop.
Ying Wang [Wed, 12 Feb 2014 04:44:09 +0000 (20:44 -0800)]
Refactor a little bit and do the validation on also default.prop.

Change-Id: I76c2344d9033eadede7048689a879c9a69a05b7f

10 years agoam 83aeb2f9: am e2652df8: am 22866695: am 2c2c0534: set a smaller line height for...
Scott Main [Wed, 12 Feb 2014 16:10:51 +0000 (16:10 +0000)]
am 83aeb2f9: am e2652df8: am 22866695: am 2c2c0534: set a smaller line height for sidebox headers to avoid whitespace at the top

* commit '83aeb2f942aa5d9e062e8e06916a6d1d24409d6c':
  set a smaller line height for sidebox headers to avoid whitespace at the top

10 years agoam e2652df8: am 22866695: am 2c2c0534: set a smaller line height for sidebox headers...
Scott Main [Wed, 12 Feb 2014 16:08:32 +0000 (16:08 +0000)]
am e2652df8: am 22866695: am 2c2c0534: set a smaller line height for sidebox headers to avoid whitespace at the top

* commit 'e2652df8d7411854b3b00adf7c6a6a0af99a545d':
  set a smaller line height for sidebox headers to avoid whitespace at the top

10 years agoam 22866695: am 2c2c0534: set a smaller line height for sidebox headers to avoid...
Scott Main [Wed, 12 Feb 2014 16:06:03 +0000 (16:06 +0000)]
am 22866695: am 2c2c0534: set a smaller line height for sidebox headers to avoid whitespace at the top

* commit '228666956ade81aa8f993eed70f361ec93073bad':
  set a smaller line height for sidebox headers to avoid whitespace at the top

10 years agoam 2c2c0534: set a smaller line height for sidebox headers to avoid whitespace at...
Scott Main [Wed, 12 Feb 2014 16:02:57 +0000 (16:02 +0000)]
am 2c2c0534: set a smaller line height for sidebox headers to avoid whitespace at the top

* commit '2c2c053490aa3a2102c0dce95fcae0d22b77a71b':
  set a smaller line height for sidebox headers to avoid whitespace at the top

10 years agoMerge "A build property's value is returned empty in runtime when its length exceeds...
Ying Wang [Wed, 12 Feb 2014 03:56:42 +0000 (03:56 +0000)]
Merge "A build property's value is returned empty in runtime when its length exceeds 92 symbols (91 valid symbols + \0). It is better to catch that issue on earlier stage, i.e. fail the build with an appropriate message."

10 years agoset a smaller line height for sidebox headers to avoid whitespace at the top
Scott Main [Wed, 12 Feb 2014 02:16:20 +0000 (18:16 -0800)]
set a smaller line height for sidebox headers to avoid whitespace at the top

Change-Id: I8f1c4de275f3d7b2f55460bf4dc32a9a3d6b04ae

10 years agoMerge "Clean up dangling module names"
Ying Wang [Wed, 12 Feb 2014 01:31:21 +0000 (01:31 +0000)]
Merge "Clean up dangling module names"

10 years agoClean up dangling module names
Ying Wang [Wed, 12 Feb 2014 01:28:30 +0000 (17:28 -0800)]
Clean up dangling module names

Those modules have disappeared from the source tree.

https://code.google.com/p/android/issues/detail?id=61210

Change-Id: Iab369d2f591f46eb86b9fccf2087515edf974662

10 years agoMerge "Refine module name resolving in multilib build"
Ying Wang [Wed, 12 Feb 2014 01:26:10 +0000 (01:26 +0000)]
Merge "Refine module name resolving in multilib build"

10 years agoA build property's value is returned empty in runtime when its length
Yu Liu [Tue, 11 Feb 2014 03:20:36 +0000 (19:20 -0800)]
A build property's value is returned empty in runtime when its length
exceeds 92 symbols (91 valid symbols + \0). It is better to catch that
issue on earlier stage, i.e. fail the build with an appropriate message.

For developer's build, show warning message instead of failing the build
(in the latter case, as developers do not usually care about build properties
too much).

Change-Id: I03ced7b486d43a71b1921e0a9c48b43aa30727c7

10 years agoMerge "Add all-S-files-under."
Elliott Hughes [Tue, 11 Feb 2014 22:01:32 +0000 (22:01 +0000)]
Merge "Add all-S-files-under."

10 years agoAdd all-S-files-under.
Elliott Hughes [Tue, 11 Feb 2014 21:48:35 +0000 (13:48 -0800)]
Add all-S-files-under.

Change-Id: I25416e2acc850c61226bc7a8e0536384f6eb2dce

10 years agoam 90ed06ef: Merge "fix 2nd target clang prebuilt paths"
Colin Cross [Tue, 11 Feb 2014 21:03:55 +0000 (21:03 +0000)]
am 90ed06ef: Merge "fix 2nd target clang prebuilt paths"

* commit '90ed06ef84aee84dfc1edba1503a2b2036fc867d':
  fix 2nd target clang prebuilt paths

10 years agoMerge "fix 2nd target clang prebuilt paths"
Colin Cross [Tue, 11 Feb 2014 20:58:08 +0000 (20:58 +0000)]
Merge "fix 2nd target clang prebuilt paths"

10 years agofix 2nd target clang prebuilt paths
Colin Cross [Tue, 11 Feb 2014 20:47:52 +0000 (12:47 -0800)]
fix 2nd target clang prebuilt paths

Change-Id: I4c196221bd377e30bbff1aafa265952e29c85cb5

10 years agoam ba46260f: Merge "Runtime resource overlay, iteration 2"
Ying Wang [Tue, 11 Feb 2014 19:34:55 +0000 (19:34 +0000)]
am ba46260f: Merge "Runtime resource overlay, iteration 2"

* commit 'ba46260f8dee97138d2eb456560b45eb9f914930':
  Runtime resource overlay, iteration 2

10 years agoMerge "Runtime resource overlay, iteration 2"
Ying Wang [Tue, 11 Feb 2014 19:27:59 +0000 (19:27 +0000)]
Merge "Runtime resource overlay, iteration 2"

10 years agoam f0c58da0: Change core_tiny to not be minimal font footprint.
Justin Koh [Tue, 11 Feb 2014 18:59:47 +0000 (18:59 +0000)]
am f0c58da0: Change core_tiny to not be minimal font footprint.

* commit 'f0c58da07d6ebcff215338c1cd1f4410786c1858':
  Change core_tiny to not be minimal font footprint.

10 years agoChange core_tiny to not be minimal font footprint.
Justin Koh [Tue, 11 Feb 2014 03:28:15 +0000 (19:28 -0800)]
Change core_tiny to not be minimal font footprint.

Change core_tiny to not be minimal font footprint: UX really wants roboto
condensed. Checked /proc/meminfo before and after the change and didn't
see much difference.

Change-Id: I94072f674ff678dfdbddd66d3792e63245e5e7da

10 years agoRefine module name resolving in multilib build
Ying Wang [Tue, 11 Feb 2014 06:26:23 +0000 (22:26 -0800)]
Refine module name resolving in multilib build

-- Added TARGET_PREFER_32_BIT, which sets LOCAL_32_BIT_ONLY for an
   executable, if LOCAL_NO_2ND_ARCH is not true.

Name resolving in 64-bit multilib build:
-- Name resolving in PRODUCT_PACKAGES:
   foo:32 resolves to foo_32;
   foo:64 resolves to foo;
   foo resolves to both foo and foo_32 (if foo_32 is defined).

-- Name resolving for LOCAL_REQUIRED_MODULES:
   If a module is built for 2nd arch, its required module resolves to
   32-bit variant, if it exits;
   Otherwise for executable and shared library, a required module
   resolves to the default 64-bit variant; for other module classes,
   required module foo resolves to both foo and foo_32 (if foo_32 is
   defined)

Bug: 12898862
Change-Id: I5fda1a77f58814097b10b5ad2743ee25adfaecc4

10 years agoam 145562fc: Merge "Add missing font files to SDK system images."
David 'Digit' Turner [Mon, 10 Feb 2014 12:10:22 +0000 (12:10 +0000)]
am 145562fc: Merge "Add missing font files to SDK system images."

* commit '145562fcef979e4fea946987717618dba6148aeb':
  Add missing font files to SDK system images.

10 years agoMerge "Add missing font files to SDK system images."
David 'Digit' Turner [Mon, 10 Feb 2014 11:31:17 +0000 (11:31 +0000)]
Merge "Add missing font files to SDK system images."

10 years agoam 2d72094f: am 960d919e: resolved conflicts for merge of 4df82b3e to klp-dev-plus...
Ying Wang [Sat, 8 Feb 2014 18:37:33 +0000 (18:37 +0000)]
am 2d72094f: am 960d919e: resolved conflicts for merge of 4df82b3e to klp-dev-plus-aosp

* commit '2d72094f06e3cdfc78a3cfda9163cdb45ea7dbbb':
  Allow proguarding the main app and the test app in a single run.

10 years agoam 960d919e: resolved conflicts for merge of 4df82b3e to klp-dev-plus-aosp
Ying Wang [Sat, 8 Feb 2014 18:35:13 +0000 (18:35 +0000)]
am 960d919e: resolved conflicts for merge of 4df82b3e to klp-dev-plus-aosp

* commit '960d919e814726f05ad1a9b82e6a9677f9977f15':
  Allow proguarding the main app and the test app in a single run.

10 years agoresolved conflicts for merge of 4df82b3e to klp-dev-plus-aosp
Ying Wang [Sat, 8 Feb 2014 18:31:36 +0000 (10:31 -0800)]
resolved conflicts for merge of 4df82b3e to klp-dev-plus-aosp

Change-Id: I7a1d9e1954ede06a818814bd05a77c69f1ed3bc6

10 years agoam 6c5d8976: Merge "Refreshed gcc predefines __ANDROID__"
Ben Cheng [Fri, 7 Feb 2014 21:40:49 +0000 (21:40 +0000)]
am 6c5d8976: Merge "Refreshed gcc predefines __ANDROID__"

* commit '6c5d89764848b604c01d0dca7104d9e075aed2b2':
  Refreshed gcc predefines __ANDROID__

10 years agoMerge "Refreshed gcc predefines __ANDROID__"
Ben Cheng [Fri, 7 Feb 2014 21:36:45 +0000 (21:36 +0000)]
Merge "Refreshed gcc predefines __ANDROID__"

10 years agoRefreshed gcc predefines __ANDROID__
Ben Cheng [Fri, 7 Feb 2014 21:16:18 +0000 (13:16 -0800)]
Refreshed gcc predefines __ANDROID__

Change-Id: Id76f5a7490fba8190329e5ce3c4b138976a034ce

10 years agoam 5cc7f8a7: Merge "Select the arch_variant_cflags for the 2nd arch."
Ying Wang [Fri, 7 Feb 2014 20:37:28 +0000 (20:37 +0000)]
am 5cc7f8a7: Merge "Select the arch_variant_cflags for the 2nd arch."

* commit '5cc7f8a720fdeb2c2ec46b6ec212d05587e76163':
  Select the arch_variant_cflags for the 2nd arch.

10 years agoMerge "Select the arch_variant_cflags for the 2nd arch."
Ying Wang [Fri, 7 Feb 2014 20:32:01 +0000 (20:32 +0000)]
Merge "Select the arch_variant_cflags for the 2nd arch."

10 years agoAllow proguarding the main app and the test app in a single run.
Mihail Dumitrescu [Fri, 7 Feb 2014 15:18:59 +0000 (15:18 +0000)]
Allow proguarding the main app and the test app in a single run.

Bug: 12895101
Change-Id: I6804d73306a164d3e3ec0cab4743f9582b5ef2cf

10 years agoSelect the arch_variant_cflags for the 2nd arch.
Ying Wang [Fri, 7 Feb 2014 18:40:37 +0000 (10:40 -0800)]
Select the arch_variant_cflags for the 2nd arch.

Change-Id: Id2f9d7073a4aae3ba0fe5e5464045761f4d42b4e

10 years agoam 737a51dd: Merge "Refactor llvm_config.mk and support the 2nd arch"
Ying Wang [Fri, 7 Feb 2014 18:09:13 +0000 (18:09 +0000)]
am 737a51dd: Merge "Refactor llvm_config.mk and support the 2nd arch"

* commit '737a51dd7294b0443b4f1ac55372310d635c5121':
  Refactor llvm_config.mk and support the 2nd arch

10 years agoMerge "Refactor llvm_config.mk and support the 2nd arch"
Ying Wang [Fri, 7 Feb 2014 18:03:33 +0000 (18:03 +0000)]
Merge "Refactor llvm_config.mk and support the 2nd arch"

10 years agoRefactor llvm_config.mk and support the 2nd arch
Ying Wang [Fri, 7 Feb 2014 02:08:44 +0000 (18:08 -0800)]
Refactor llvm_config.mk and support the 2nd arch

1. Following the setup of gcc in build/core/combo/,
we added the [HOST|TARGET]_<arch>.mk clang config files,
and load only the configs needed by the current product.
2. Added support for the 2nd arch.

Change-Id: I2a383418a9688a050b39492f8e489d40eeeb5f2d

10 years agoam 5e9a2033: Merge "don\'t rename 32-bit packages to *_32"
Colin Cross [Fri, 7 Feb 2014 07:53:23 +0000 (07:53 +0000)]
am 5e9a2033: Merge "don\'t rename 32-bit packages to *_32"

* commit '5e9a20337e1110868296c27f201e4579e5e3fb9e':
  don't rename 32-bit packages to *_32

10 years agoMerge "don't rename 32-bit packages to *_32"
Colin Cross [Fri, 7 Feb 2014 05:00:21 +0000 (05:00 +0000)]
Merge "don't rename 32-bit packages to *_32"

10 years agodon't rename 32-bit packages to *_32
Colin Cross [Tue, 4 Feb 2014 19:16:16 +0000 (11:16 -0800)]
don't rename 32-bit packages to *_32

Renaming 32-bit packages to *_32 breaks PRODUCT_PACKAGES dependencies.

Change-Id: I5457c07b64885d77a6bd8fbcbba97d28393c581d

10 years agoam 8b20d5b9: Merge "Turn 64-bit-related warnings into errors on 64-bit builds."
Elliott Hughes [Thu, 6 Feb 2014 20:59:33 +0000 (20:59 +0000)]
am 8b20d5b9: Merge "Turn 64-bit-related warnings into errors on 64-bit builds."

* commit '8b20d5b97e98ddac6031cb555078f425aef1da8f':
  Turn 64-bit-related warnings into errors on 64-bit builds.

10 years agoMerge "Turn 64-bit-related warnings into errors on 64-bit builds."
Elliott Hughes [Thu, 6 Feb 2014 20:54:04 +0000 (20:54 +0000)]
Merge "Turn 64-bit-related warnings into errors on 64-bit builds."

10 years agoam efb9603a: Merge "[MIPS64] Add mips64 target"
Elliott Hughes [Thu, 6 Feb 2014 20:21:41 +0000 (20:21 +0000)]
am efb9603a: Merge "[MIPS64] Add mips64 target"

* commit 'efb9603aeb5ac71e23fa2a3ade6aa4fc2efdeb5e':
  [MIPS64] Add mips64 target

10 years agoMerge "[MIPS64] Add mips64 target"
Elliott Hughes [Thu, 6 Feb 2014 20:14:55 +0000 (20:14 +0000)]
Merge "[MIPS64] Add mips64 target"

10 years agoam dc7fee9f: Set up rules to merge AndroidManifest.xmls
Ying Wang [Thu, 6 Feb 2014 18:07:51 +0000 (18:07 +0000)]
am dc7fee9f: Set up rules to merge AndroidManifest.xmls

* commit 'dc7fee9fbf46ac06c840c7edfd51fbefeece63e4':
  Set up rules to merge AndroidManifest.xmls

10 years ago[MIPS64] Add mips64 target
Chris Dearman [Mon, 3 Feb 2014 23:01:24 +0000 (15:01 -0800)]
[MIPS64] Add mips64 target

Change-Id: Ice1621101c0d5a3314db288542ca8020e3f406bf
Signed-off-by: Duane Sand <duane.sand@imgtec.com>
10 years agoam afbbce3f: Merge "Add library test makefile solutions."
Christopher Ferris [Thu, 6 Feb 2014 02:59:39 +0000 (02:59 +0000)]
am afbbce3f: Merge "Add library test makefile solutions."

* commit 'afbbce3ff1d2d94e54f48d748d18796ce671fce9':
  Add library test makefile solutions.

10 years agoSet up rules to merge AndroidManifest.xmls
Ying Wang [Thu, 6 Feb 2014 02:24:45 +0000 (18:24 -0800)]
Set up rules to merge AndroidManifest.xmls

Now you can merge the library manifest files to the main app's
AndroidManifest.xml with LOCAL_FULL_LIBS_MANIFEST_FILES.
LOCAL_FULL_LIBS_MANIFEST_FILES is a list of paths relative to the top of
the source tree.

Bug: 12907528
Change-Id: I16a347c83dfb6fbbb7d5d40284b7c65aa682fdd2

10 years agoMerge "Add library test makefile solutions."
Christopher Ferris [Thu, 6 Feb 2014 02:16:35 +0000 (02:16 +0000)]
Merge "Add library test makefile solutions."

10 years agoTurn 64-bit-related warnings into errors on 64-bit builds.
Elliott Hughes [Thu, 6 Feb 2014 00:23:47 +0000 (16:23 -0800)]
Turn 64-bit-related warnings into errors on 64-bit builds.

I don't think we can realistically turn this on for 32-bit builds any
time soon.

Also, fix the arm64 stack-protector hack.

Change-Id: Ie1e7c875bbc06fb21bb372b8ca99879a23ef53d4

10 years agoAdd library test makefile solutions.
Christopher Ferris [Wed, 5 Feb 2014 06:09:16 +0000 (22:09 -0800)]
Add library test makefile solutions.

Change-Id: Ibc8df9b0e2342683158936bf011425780df8f02a

10 years agoam 054b0274: Merge topic \'arm64\'
Colin Cross [Thu, 6 Feb 2014 00:01:38 +0000 (00:01 +0000)]
am 054b0274: Merge topic \'arm64\'

* commit '054b0274fc27babb42a60002ad25c9e608eac257':
  add support for more LOCAL_*_arch variables
  don't rename 32-bit executables to *_32
  remove 2nd arch from ARCH_ARM_* defines

10 years agoam 717de0f5: Merge "Fix installing 2nd arch shared libraries"
Colin Cross [Thu, 6 Feb 2014 00:01:37 +0000 (00:01 +0000)]
am 717de0f5: Merge "Fix installing 2nd arch shared libraries"

* commit '717de0f553dc3c1a2baa0cc988af1adc5b26dba8':
  Fix installing 2nd arch shared libraries

10 years agoMerge topic 'arm64'
Colin Cross [Wed, 5 Feb 2014 23:57:08 +0000 (23:57 +0000)]
Merge topic 'arm64'

* changes:
  add support for more LOCAL_*_arch variables
  don't rename 32-bit executables to *_32
  remove 2nd arch from ARCH_ARM_* defines

10 years agoMerge "Fix installing 2nd arch shared libraries"
Colin Cross [Wed, 5 Feb 2014 23:55:54 +0000 (23:55 +0000)]
Merge "Fix installing 2nd arch shared libraries"

10 years agoadd support for more LOCAL_*_arch variables
Colin Cross [Tue, 4 Feb 2014 22:53:25 +0000 (14:53 -0800)]
add support for more LOCAL_*_arch variables

Add support for:
LOCAL_SHARED_LIBRARIES_arch
LOCAL_STATIC_LIBRARIES_arch
LOCAL_WHOLE_STATIC_LIBRARIES_arch
LOCAL_GENERATED_SOURCES_arch
LOCAL_REQUIRED_MODULES_arch

Change-Id: Iad91702e140d8dba7dcaee13f236c77b1e626a34

10 years agoFix installing 2nd arch shared libraries
Colin Cross [Wed, 5 Feb 2014 03:42:32 +0000 (19:42 -0800)]
Fix installing 2nd arch shared libraries

2ND_TARGET_DEPENDENCIES_ON_SHARED_LIBRARIES was not set,
which was causing the later += to act like = instead of
:=, and the dependencies would disappear as soon as
LOCAL_MODULE was cleared.

Change-Id: Idea291524fc06377deafec62f37d20eaa7f93bca

10 years agodon't rename 32-bit executables to *_32
Colin Cross [Tue, 4 Feb 2014 19:16:16 +0000 (11:16 -0800)]
don't rename 32-bit executables to *_32

Renaming 32-bit executables to *_32 breaks PRODUCT_PACKAGES
dependencies.

Change-Id: I53d89991633ef4af03c4e618c463769937a70e38

10 years agoremove 2nd arch from ARCH_ARM_* defines
Colin Cross [Tue, 4 Feb 2014 19:15:26 +0000 (11:15 -0800)]
remove 2nd arch from ARCH_ARM_* defines

Users of ARCH_ARM_* defines don't care about first vs. second arch,
set ARCH_ARM_* regardless of which arch is arm.

Change-Id: I2ae83ec5c3f839ff91a0e352c95d76ec2cbd5dc5

10 years agoam 7b734fd8: Merge "Allow multiple asset directories in aapt" into klp-modular-dev
Adam Lesinski [Wed, 5 Feb 2014 00:49:37 +0000 (00:49 +0000)]
am 7b734fd8: Merge "Allow multiple asset directories in aapt" into klp-modular-dev

* commit '7b734fd8d163f7a71254b909fbbcd358129924b7':
  Allow multiple asset directories in aapt

10 years agoMerge "Allow multiple asset directories in aapt" into klp-modular-dev
Adam Lesinski [Wed, 5 Feb 2014 00:46:59 +0000 (00:46 +0000)]
Merge "Allow multiple asset directories in aapt" into klp-modular-dev

10 years agoAllow multiple asset directories in aapt
Adam Lesinski [Tue, 28 Jan 2014 00:08:28 +0000 (16:08 -0800)]
Allow multiple asset directories in aapt

AAPT already supports this.

Change-Id: I293c7543fb43b15eedf2162416da48915ce02db8

10 years agoresolved conflicts for merge of 303d2755 to klp-modular-dev-plus-aosp
Justin Koh [Tue, 4 Feb 2014 23:16:15 +0000 (15:16 -0800)]
resolved conflicts for merge of 303d2755 to klp-modular-dev-plus-aosp

Change-Id: I653cac50cf71b75d47974dde833468fa61024ae9

10 years agoAdd missing font files to SDK system images.
David 'Digit' Turner [Tue, 4 Feb 2014 13:49:23 +0000 (14:49 +0100)]
Add missing font files to SDK system images.

This adds a few missing font families to SDK system images.
This allows, in particular, support for the Korean language.

Note that this depends on other patches under device/generic/
to fix some board and product configuration files, otherwise
this change will have no effect.

See http://b.android.com/40340

Change-Id: Idba6471de32232833f511a4da97fd652906fec51

10 years agoChange PLATFORM_VERSION and PLATFORM_VERSION_CODENAME to KKWT.
Justin Koh [Tue, 4 Feb 2014 00:26:43 +0000 (16:26 -0800)]
Change PLATFORM_VERSION and PLATFORM_VERSION_CODENAME to KKWT.

Change PLATFORM_VERSION and PLATFORM_VERSION_CODENAME to KKWT, as discussed.

Change-Id: Ia2d8628c4e9ee6b3cf654c8bdfc966a4af5c573c

10 years agoam 5352018b: Merge "Add new rs directory to list of Java subdirs of fw/base."
Tim Murray [Mon, 3 Feb 2014 22:44:31 +0000 (22:44 +0000)]
am 5352018b: Merge "Add new rs directory to list of Java subdirs of fw/base."

* commit '5352018b0b115061bce7a2aac14780ffea3885c7':
  Add new rs directory to list of Java subdirs of fw/base.

10 years agoMerge "Add new rs directory to list of Java subdirs of fw/base."
Tim Murray [Mon, 3 Feb 2014 22:35:54 +0000 (22:35 +0000)]
Merge "Add new rs directory to list of Java subdirs of fw/base."

10 years agoam a77456b8: Merge "Dedup the targets and dependencies of required modules."
Ying Wang [Mon, 3 Feb 2014 00:45:03 +0000 (00:45 +0000)]
am a77456b8: Merge "Dedup the targets and dependencies of required modules."

* commit 'a77456b8e8a5e66705e48e1ec4eebc1889553c6a':
  Dedup the targets and dependencies of required modules.

10 years agoMerge "Dedup the targets and dependencies of required modules."
Ying Wang [Sat, 1 Feb 2014 03:25:47 +0000 (03:25 +0000)]
Merge "Dedup the targets and dependencies of required modules."

10 years agoDedup the targets and dependencies of required modules.
Ying Wang [Sat, 1 Feb 2014 03:22:35 +0000 (19:22 -0800)]
Dedup the targets and dependencies of required modules.

For whatever reason, two modules may have the same file as their
installed module. In that case circular dependency is created if the two
modules have requited-by relation.

Change-Id: I15ed271ca3f3c343e4662182ded5ccc63d6c42cc

10 years agoam c816e061: Merge "(DO NOT MERGE) Revert "Make libart the default runtime"" into...
Noreen Tolland [Fri, 31 Jan 2014 23:17:33 +0000 (23:17 +0000)]
am c816e061: Merge "(DO NOT MERGE) Revert "Make libart the default runtime"" into klp-modular-dev

* commit 'c816e061270327d3e2b73ae3c848e1fefc6ec6ef':
  (DO NOT MERGE) Revert "Make libart the default runtime"

10 years agoMerge "(DO NOT MERGE) Revert "Make libart the default runtime"" into klp-modular-dev
Noreen Tolland [Fri, 31 Jan 2014 23:13:24 +0000 (23:13 +0000)]
Merge "(DO NOT MERGE) Revert "Make libart the default runtime"" into klp-modular-dev

10 years agoAdd new rs directory to list of Java subdirs of fw/base.
Tim Murray [Tue, 17 Dec 2013 21:27:28 +0000 (13:27 -0800)]
Add new rs directory to list of Java subdirs of fw/base.

Change-Id: I3213a314e7700162e781526c0450678495442759

10 years agoRuntime resource overlay, iteration 2
Mårten Kongstad [Fri, 31 Jan 2014 13:43:49 +0000 (14:43 +0100)]
Runtime resource overlay, iteration 2

Support any number of overlay packages. Support any target package.

UPDATED PACKAGE MATCHING
------------------------
In Runtime resource overlay, iteration 1, only a single overlay package
was considered. Package matching was based on file paths:
/vendor/overlay/system/framework-res.apk corresponded to
/system/framework-res.apk. Introduce a more flexible matching scheme
where any package is an overlay package if its manifest includes

    <overlay targetPackage="com.target.package"/>

For security reasons, an overlay package must fulfill certain criteria
to take effect: see below.

THE IDMAP TOOL AND IDMAP FILES
------------------------------
Idmap files are created by the 'idmap' binary; idmap files must be
present when loading packages. For the Android system, Zygote calls
'idmap' as part of the resource pre-loading. For application packages,
'idmap' is invoked via 'installd' during package installation (similar
to 'dexopt').

UPDATED FLOW
------------
The following is an outline of the start-up sequences for the Android
system and Android apps. Steps marked with '+' are introduced by this
commit.

Zygote initialization
   Initial AssetManager object created
+    idmap --scan creates idmaps for overlays targeting 'android', \
           stores list of overlays in /data/resource-cache/overlays.list
   AssetManager caches framework-res.apk
+  AssetManager caches overlay packages listed in overlays.list

Android boot
   New AssetManager's ResTable acquired
     AssetManager re-uses cached framework-res.apk
+    AssetManager re-uses cached 'android' overlays (if any)

App boot
   ActivityThread prepares AssetManager to load app.apk
+  ActivityThread prepares AssetManager to load app overlays (if any)
   New AssetManager's ResTable acquired as per Android boot

SECURITY
--------
Overlay packages are required to be pre-loaded (in /vendor/overlay).
These packages are trusted by definition. A future iteration of runtime
resource overlay may add support for downloaded overlays, which would
likely require target and overlay signatures match for the overlay to
be trusted.

LOOKUP PRIORITY
---------------
During resource lookup, packages are sequentially queried to provide a
best match, given the constraints of the current configuration. If any
package provide a better match than what has been found so far, it
replaces the previous match. The target package is always queried last.

When loading a package with more than one overlay, the order in which
the overlays are added become significant if several packages overlay
the same resource.

Had downloaded overlays been supported, the install time could have been
used to determine the load order. Regardless, for pre-installed
overlays, the install time is randomly determined by the order in which
the Package Manager locates the packages during initial boot. To support
a well-defined order, pre-installed overlay packages are expected to
define an additional 'priority' attribute in their <overlay> tags:

    <overlay targetPackage="com.target.package" priority="1234"/>

Pre-installed overlays are loaded in order of their priority attributes,
sorted in ascending order.

Assigning the same priority to several overlays targeting the same base
package leads to undefined behaviour. It is the responsibility of the
vendor to avoid this.

The following example shows the ResTable and PackageGroups after loading
an application and two overlays. The resource lookup framework will
query the packages in the order C, B, A.

        +------+------+-     -+------+------+
        | 0x01 |      |  ...  |      | 0x7f |
        +------+------+-     -+------+------+
            |                           |
        "android"                Target package A
                                        |
                       Pre-installed overlay B (priority 1)
                                        |
                       Pre-installed overlay C (priority 2)

Change-Id: If49c963149369b1957f7d2303b3dd27f669ed24e

10 years agoam 5608a8c6: Merge "Add 64-bit gdbclients."
Ben Cheng [Fri, 31 Jan 2014 12:34:18 +0000 (12:34 +0000)]
am 5608a8c6: Merge "Add 64-bit gdbclients."

* commit '5608a8c6e86381cdabc46c3a9b90564411771796':
  Add 64-bit gdbclients.

10 years agoam aae47044: Merge "CleanSpec for 49f1fab8a5b82f6224ff1be601037270ecdb734b: Rename...
Brian Carlstrom [Fri, 31 Jan 2014 12:34:18 +0000 (12:34 +0000)]
am aae47044: Merge "CleanSpec for 49f1fab8a5b82f6224ff1be601037270ecdb734b: Rename persist.sys.dalvik.vm.lib to allow new default"

* commit 'aae470446504a869db05f9b70b7146ea47d746d5':
  CleanSpec for 49f1fab8a5b82f6224ff1be601037270ecdb734b: Rename persist.sys.dalvik.vm.lib to allow new default

10 years agoam 601d39b6: Merge "build: Rename persist.sys.dalvik.vm.lib to allow new default"
Brian Carlstrom [Fri, 31 Jan 2014 12:34:17 +0000 (12:34 +0000)]
am 601d39b6: Merge "build: Rename persist.sys.dalvik.vm.lib to allow new default"

* commit '601d39b688bcbb1789e145d1b72753206c24d374':
  build: Rename persist.sys.dalvik.vm.lib to allow new default

10 years agoMerge "resolved conflicts for merge of 084209e2 to klp-modular-dev-plus-aosp" into...
Narayan Kamath [Fri, 31 Jan 2014 12:33:12 +0000 (12:33 +0000)]
Merge "resolved conflicts for merge of 084209e2 to klp-modular-dev-plus-aosp" into klp-modular-dev-plus-aosp

10 years agoresolved conflicts for merge of 084209e2 to klp-modular-dev-plus-aosp
Narayan Kamath [Fri, 31 Jan 2014 12:23:28 +0000 (12:23 +0000)]
resolved conflicts for merge of 084209e2 to klp-modular-dev-plus-aosp

Change-Id: Ibf80470cfcaf553335d07c6fb220f7e9ec81ed87

10 years agoam e854276d: Merge "Disable WITH_HOST_DALVIK on 64bit host builds."
Ian Rogers [Fri, 31 Jan 2014 12:17:16 +0000 (12:17 +0000)]
am e854276d: Merge "Disable WITH_HOST_DALVIK on 64bit host builds."

* commit 'e854276dd19ee0ce139cc35f98b49189b7750b2d':
  Disable WITH_HOST_DALVIK on 64bit host builds.

10 years agoam ad9209ad: Merge "Define __STDC_FORMAT_MACROS on Windows host builds."
Narayan Kamath [Fri, 31 Jan 2014 12:17:03 +0000 (12:17 +0000)]
am ad9209ad: Merge "Define __STDC_FORMAT_MACROS on Windows host builds."

* commit 'ad9209adff8d2f94c57387ee3d3abcff28049091':
  Define __STDC_FORMAT_MACROS on Windows host builds.

10 years agoam a8e6166f: Merge "build: rename LOCAL_32BIT_ONLY to LOCAL_32_BIT_ONLY"
Colin Cross [Fri, 31 Jan 2014 10:27:06 +0000 (10:27 +0000)]
am a8e6166f: Merge "build: rename LOCAL_32BIT_ONLY to LOCAL_32_BIT_ONLY"

* commit 'a8e6166fa482782719dce28a9ae1869f017e7cee':
  build: rename LOCAL_32BIT_ONLY to LOCAL_32_BIT_ONLY

10 years agoam 2dcaf9f4: Merge "build: support LOCAL_*_32 and LOCAL_*_64"
Colin Cross [Fri, 31 Jan 2014 10:27:05 +0000 (10:27 +0000)]
am 2dcaf9f4: Merge "build: support LOCAL_*_32 and LOCAL_*_64"

* commit '2dcaf9f489e5dba385ae4ab75c53d184a6fb780a':
  build: support LOCAL_*_32 and LOCAL_*_64

10 years agoam 805cb8fa: Merge "Fix the host inttypes.h problem globally."
Ian Rogers [Fri, 31 Jan 2014 10:26:52 +0000 (10:26 +0000)]
am 805cb8fa: Merge "Fix the host inttypes.h problem globally."

* commit '805cb8fa40f71b3e1f6566bf10ca169d4a2ff86f':
  Fix the host inttypes.h problem globally.

10 years agoam cece05e2: Merge "Bump generic_mips BOARD_SYSTEMIMAGE_PARTITION_SIZE for PRODUCT_RU...
Brian Carlstrom [Fri, 31 Jan 2014 10:26:48 +0000 (10:26 +0000)]
am cece05e2: Merge "Bump generic_mips BOARD_SYSTEMIMAGE_PARTITION_SIZE for PRODUCT_RUNTIME := libart_runtime_default"

* commit 'cece05e273dc1c9d4ea140b294df72005ac8ac53':
  Bump generic_mips BOARD_SYSTEMIMAGE_PARTITION_SIZE for PRODUCT_RUNTIME := libart_runtime_default

10 years ago(DO NOT MERGE) Revert "Make libart the default runtime"
Justin Mattson [Thu, 30 Jan 2014 23:30:08 +0000 (15:30 -0800)]
(DO NOT MERGE) Revert "Make libart the default runtime"

This reverts commit 08d410f53249c18d752f56a881ed2335403080d4.

10 years agoMerge "Add 64-bit gdbclients."
Ben Cheng [Thu, 30 Jan 2014 22:01:32 +0000 (22:01 +0000)]
Merge "Add 64-bit gdbclients."

10 years agoMerge "CleanSpec for 49f1fab8a5b82f6224ff1be601037270ecdb734b: Rename persist.sys...
Brian Carlstrom [Thu, 30 Jan 2014 22:00:33 +0000 (22:00 +0000)]
Merge "CleanSpec for 49f1fab8a5b82f6224ff1be601037270ecdb734b: Rename persist.sys.dalvik.vm.lib to allow new default"

10 years agoCleanSpec for 49f1fab8a5b82f6224ff1be601037270ecdb734b: Rename persist.sys.dalvik...
Brian Carlstrom [Thu, 30 Jan 2014 21:56:51 +0000 (13:56 -0800)]
CleanSpec for 49f1fab8a5b82f6224ff1be601037270ecdb734b: Rename persist.sys.dalvik.vm.lib to allow new default

Change-Id: I3ed55460864c17a199053a058b2482c6c4579622

10 years agoAdd 64-bit gdbclients.
Serban Constantinescu [Tue, 14 Jan 2014 10:33:53 +0000 (10:33 +0000)]
Add 64-bit gdbclients.

This patch adds gdbclient combo for arm64, mips64, and x86_64.

Change-Id: I659b662276c93e5cce92aadc203a4bc111f5c2af
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoMerge "build: Rename persist.sys.dalvik.vm.lib to allow new default"
Brian Carlstrom [Thu, 30 Jan 2014 21:50:48 +0000 (21:50 +0000)]
Merge "build: Rename persist.sys.dalvik.vm.lib to allow new default"

10 years agobuild: Rename persist.sys.dalvik.vm.lib to allow new default
Brian Carlstrom [Thu, 30 Jan 2014 21:14:00 +0000 (13:14 -0800)]
build: Rename persist.sys.dalvik.vm.lib to allow new default

Bug: 12798969
Change-Id: Ie73a3f2b6655d0ae3e3a905a1c64747343c525a0

10 years agoMerge "CleanSpec for 08d410f53249c18d752f56a881ed2335403080d4: Make libart the defaul...
Brian Carlstrom [Thu, 30 Jan 2014 21:10:25 +0000 (21:10 +0000)]
Merge "CleanSpec for 08d410f53249c18d752f56a881ed2335403080d4: Make libart the default runtime"