OSDN Git Service

android-x86/build.git
8 years agoam 251d56b8: Merge "releasetools: Update the fingerprint when signing."
Tao Bao [Fri, 25 Sep 2015 21:14:17 +0000 (21:14 +0000)]
am 251d56b8: Merge "releasetools: Update the fingerprint when signing."

* commit '251d56b851af2159df8139639b4a1a1602d60163':
  releasetools: Update the fingerprint when signing.

8 years agoMerge "releasetools: Update the fingerprint when signing."
Tao Bao [Fri, 25 Sep 2015 19:42:28 +0000 (19:42 +0000)]
Merge "releasetools: Update the fingerprint when signing."

8 years agoreleasetools: Update the fingerprint when signing.
Tao Bao [Fri, 11 Sep 2015 22:27:56 +0000 (15:27 -0700)]
releasetools: Update the fingerprint when signing.

ro.bootimage.build.fingerprint should be updated when signing.

Bug: 22720426
Bug: 24009888
Change-Id: Ib246a257581fd31f90ad6b3d21f39d1a2de24ba8
(cherry picked from commit 265d9aeb622c5829787b16b903f028cacaa99c18)

8 years agoam c6444855: Merge "GPU: add gralloc.ranchu library"
David Turner [Fri, 25 Sep 2015 17:06:22 +0000 (17:06 +0000)]
am c6444855: Merge "GPU: add gralloc.ranchu library"

* commit 'c64448550a5148489346f7ba3ac0a686b32dbc26':
  GPU: add gralloc.ranchu library

8 years agoMerge "GPU: add gralloc.ranchu library"
David Turner [Fri, 25 Sep 2015 16:59:31 +0000 (16:59 +0000)]
Merge "GPU: add gralloc.ranchu library"

8 years agoam 76ec0c4c: Merge "Set mcpu targets based on cpu variant."
Christopher Ferris [Fri, 25 Sep 2015 16:35:56 +0000 (16:35 +0000)]
am 76ec0c4c: Merge "Set mcpu targets based on cpu variant."

* commit '76ec0c4c53aab6fca7af1badab882518962a9755':
  Set mcpu targets based on cpu variant.

8 years agoMerge "Set mcpu targets based on cpu variant."
Christopher Ferris [Fri, 25 Sep 2015 16:29:33 +0000 (16:29 +0000)]
Merge "Set mcpu targets based on cpu variant."

8 years agoam 77d17b6c: Merge "Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS""
Shinichiro Hamaji [Fri, 25 Sep 2015 05:31:51 +0000 (05:31 +0000)]
am 77d17b6c: Merge "Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS""

* commit '77d17b6c0b485a9ac45f52e9c5b908b4efec593f':
  Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"

8 years agoMerge "Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS""
Shinichiro Hamaji [Fri, 25 Sep 2015 05:27:59 +0000 (05:27 +0000)]
Merge "Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS""

8 years agoRevert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"
Shinichiro Hamaji [Fri, 25 Sep 2015 05:20:42 +0000 (14:20 +0900)]
Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"

This reverts commit cb31f040e304e7d7b2a08d3fd8eceb72c878c37e.

This could be the cause of an internal build breakage.

Change-Id: Ic5d2a2ce1f2d214a8201db5c570682d8336763b9

8 years agoam 4f40525f: Merge "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"
Shinichiro Hamaji [Fri, 25 Sep 2015 05:07:34 +0000 (05:07 +0000)]
am 4f40525f: Merge "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"

* commit '4f40525f782348a64674222be54f5aae3367157c':
  Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS

8 years agoMerge "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"
Shinichiro Hamaji [Fri, 25 Sep 2015 04:59:29 +0000 (04:59 +0000)]
Merge "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"

8 years agoOnly put PARSE_TIME_MAKE_GOALS into KATI_TARGETS
Shinichiro Hamaji [Thu, 24 Sep 2015 05:33:27 +0000 (14:33 +0900)]
Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS

Only goals that modify the parsing need to be passed to kati, filter out
everything else and only pass it to ninja.

Also, always specify --gen_all_phony_targets. With this flag, kati emits
all phony targets in the ninja file so a ninja file generated only with
PARSE_TIME_MAKE_GOALS can handle targets which don't change the parsing.

Bug: 24339367
Change-Id: I63237160c3c86817b53635665d56906790ec4e6a

8 years agoam 3c524993: Merge "Make it possible to change the number of remote jobs"
Shinichiro Hamaji [Fri, 25 Sep 2015 04:42:46 +0000 (04:42 +0000)]
am 3c524993: Merge "Make it possible to change the number of remote jobs"

* commit '3c524993c7d18cd9396a4d014c58039478c21e3e':
  Make it possible to change the number of remote jobs

8 years agoMerge "Make it possible to change the number of remote jobs"
Shinichiro Hamaji [Fri, 25 Sep 2015 04:34:37 +0000 (04:34 +0000)]
Merge "Make it possible to change the number of remote jobs"

8 years agoam 6b37c7b3: Merge "Allow USE_GOMA=true without explicit USE_NINJA=true"
Shinichiro Hamaji [Fri, 25 Sep 2015 04:28:50 +0000 (04:28 +0000)]
am 6b37c7b3: Merge "Allow USE_GOMA=true without explicit USE_NINJA=true"

* commit '6b37c7b32af667f6a42b397a27add34d3c59e5fa':
  Allow USE_GOMA=true without explicit USE_NINJA=true

8 years agoMerge "Allow USE_GOMA=true without explicit USE_NINJA=true"
Shinichiro Hamaji [Fri, 25 Sep 2015 04:23:28 +0000 (04:23 +0000)]
Merge "Allow USE_GOMA=true without explicit USE_NINJA=true"

8 years agoam c180dd0b: Merge "Revert "disable Krait for Mac builds to avoid assembler issues""
Colin Cross [Fri, 25 Sep 2015 01:11:48 +0000 (01:11 +0000)]
am c180dd0b: Merge "Revert "disable Krait for Mac builds to avoid assembler issues""

* commit 'c180dd0bfc55ae222f143dc86a333caf000cbf03':
  Revert "disable Krait for Mac builds to avoid assembler issues"

8 years agoMerge "Revert "disable Krait for Mac builds to avoid assembler issues""
Colin Cross [Fri, 25 Sep 2015 01:07:52 +0000 (01:07 +0000)]
Merge "Revert "disable Krait for Mac builds to avoid assembler issues""

8 years agoRevert "disable Krait for Mac builds to avoid assembler issues"
Colin Cross [Fri, 25 Sep 2015 00:30:34 +0000 (00:30 +0000)]
Revert "disable Krait for Mac builds to avoid assembler issues"

This doesn't seem to be a problem any more, and mac builds
that differ from linux builds is causing other problems.

This reverts commit 7c40fb95dc90ed092f435c769b4bbb494d453674.

Bug: 24339250
Change-Id: I8a0da11df42d58ba9c3ded4571f1db870f400a21

8 years agoam fdec88c9: Merge "Generate breakpad symbols"
Steve Fung [Fri, 25 Sep 2015 00:03:21 +0000 (00:03 +0000)]
am fdec88c9: Merge "Generate breakpad symbols"

* commit 'fdec88c9726687f98448ccff7670bc843f77bf66':
  Generate breakpad symbols

8 years agoam 92facb1f: Merge "Substitue "/" with "-" in the MODULES-IN phony goal names."
Ying Wang [Thu, 24 Sep 2015 23:59:29 +0000 (23:59 +0000)]
am 92facb1f: Merge "Substitue "/" with "-" in the MODULES-IN phony goal names."

* commit '92facb1fed26492746aca267df51b6082286521c':
  Substitue "/" with "-" in the MODULES-IN phony goal names.

8 years agoMerge "Generate breakpad symbols"
Steve Fung [Thu, 24 Sep 2015 23:57:42 +0000 (23:57 +0000)]
Merge "Generate breakpad symbols"

8 years agoMerge "Substitue "/" with "-" in the MODULES-IN phony goal names."
Ying Wang [Thu, 24 Sep 2015 23:53:24 +0000 (23:53 +0000)]
Merge "Substitue "/" with "-" in the MODULES-IN phony goal names."

8 years agoGenerate breakpad symbols
Steve Fung [Thu, 24 Sep 2015 08:40:52 +0000 (01:40 -0700)]
Generate breakpad symbols

When BREAKPAD_GENERATE_SYMBOLS is set to true, generate breakpad
symbols for binaries.

Bug: 23900817
Change-Id: I7b992d819350f4f80df5868d16f13016502dfca0

8 years agoSubstitue "/" with "-" in the MODULES-IN phony goal names.
Ying Wang [Thu, 24 Sep 2015 23:19:19 +0000 (16:19 -0700)]
Substitue "/" with "-" in the MODULES-IN phony goal names.

This avoids Ninja's path canonicalization on those goal names.
Without this, Ninja complains about duplicate rules for
MODULES-IN/a/b/.. and MODULES-IN/a.

Bug: 24309760
Change-Id: Id3aa9da5d3887a2cd1426cbb5fdf35659c65805e

8 years agoam 43bbbf8a: Merge "Remove more of the pathmap."
Elliott Hughes [Thu, 24 Sep 2015 21:59:58 +0000 (21:59 +0000)]
am 43bbbf8a: Merge "Remove more of the pathmap."

* commit '43bbbf8a15cfc03ce99d0b6a49992b25cf51fc39':
  Remove more of the pathmap.

8 years agoMerge "Remove more of the pathmap."
Elliott Hughes [Thu, 24 Sep 2015 21:50:42 +0000 (21:50 +0000)]
Merge "Remove more of the pathmap."

8 years agoam 880f05f4: Merge "Use exported includes for libc++."
Dan Albert [Thu, 24 Sep 2015 21:43:54 +0000 (21:43 +0000)]
am 880f05f4: Merge "Use exported includes for libc++."

* commit '880f05f4f28df672eb4ff4ce6b7735480deb13ae':
  Use exported includes for libc++.

8 years agoam aeaa0f5c: Merge "Turn shared library multilib warnings into errors"
Dan Willemsen [Thu, 24 Sep 2015 21:38:46 +0000 (21:38 +0000)]
am aeaa0f5c: Merge "Turn shared library multilib warnings into errors"

* commit 'aeaa0f5c580356c0d74dd11e00fb29ae67d97f2b':
  Turn shared library multilib warnings into errors

8 years agoMerge "Use exported includes for libc++."
Dan Albert [Thu, 24 Sep 2015 21:38:21 +0000 (21:38 +0000)]
Merge "Use exported includes for libc++."

8 years agoUse exported includes for libc++.
Dan Albert [Wed, 23 Sep 2015 23:16:51 +0000 (16:16 -0700)]
Use exported includes for libc++.

Change-Id: Ia5d9c857a43975448a8c2b489cc29be0fa67ddf6

8 years agoSet mcpu targets based on cpu variant.
Christopher Ferris [Fri, 18 Sep 2015 01:49:27 +0000 (18:49 -0700)]
Set mcpu targets based on cpu variant.

Make cortex-a53 and cortex-a53.a57 use cortex-a7.

Change-Id: I89d5b3f044c867ec99aae319eafc33f2edf1f9f2

8 years agoMerge "Turn shared library multilib warnings into errors"
Dan Willemsen [Thu, 24 Sep 2015 20:59:20 +0000 (20:59 +0000)]
Merge "Turn shared library multilib warnings into errors"

8 years agoTurn shared library multilib warnings into errors
Dan Willemsen [Thu, 24 Sep 2015 20:05:53 +0000 (13:05 -0700)]
Turn shared library multilib warnings into errors

When caught later, these just get turned into warnings with
unpredictable results, or non-obvious errors.

Change-Id: Ie7ba88e97dc5bedd6cf850748d79693711ac41da

8 years agoGPU: add gralloc.ranchu library
Miroslav Tisma [Wed, 23 Sep 2015 10:53:41 +0000 (12:53 +0200)]
GPU: add gralloc.ranchu library

Change-Id: I76b21f67e081d82ec76242c051569f32b2b6b638

8 years agoam 3f107055: Merge "The pattern %tests is too broad."
Ying Wang [Thu, 24 Sep 2015 18:45:23 +0000 (18:45 +0000)]
am 3f107055: Merge "The pattern %tests is too broad."

* commit '3f10705579deae60d9b903a4587a66a26112ee4a':
  The pattern %tests is too broad.

8 years agoMerge "The pattern %tests is too broad."
Ying Wang [Thu, 24 Sep 2015 18:40:15 +0000 (18:40 +0000)]
Merge "The pattern %tests is too broad."

8 years agoThe pattern %tests is too broad.
Ying Wang [Thu, 24 Sep 2015 18:34:46 +0000 (11:34 -0700)]
The pattern %tests is too broad.

We had fixed the filtering of %tests in art/Android.mk.
Actually the %tests leads to false build<suffix>.ninja when you run:
$ mmma cts/tests/tests/nativeopengl/libnativeopengltests
because the new mmma calls make with goals like
MODULES-IN/cts/tests/tests/nativeopengl/libnativeopengltests .

Bug: 24309760
Change-Id: I35af2e8d046ae40f3b90ec0a92473fcab8ff5db5

8 years agoRemove more of the pathmap.
Elliott Hughes [Thu, 24 Sep 2015 16:02:19 +0000 (09:02 -0700)]
Remove more of the pathmap.

I've fixed libpagemap to export its headers, the only user of the
libnativehelper entry was in this file anyway, and no one was using
the libhost entry.

Change-Id: Id0d1773e55c0114ccc56cefd783689193a6204f9

8 years agoMake it possible to change the number of remote jobs
Shinichiro Hamaji [Thu, 24 Sep 2015 07:22:44 +0000 (16:22 +0900)]
Make it possible to change the number of remote jobs

User can overwrite NINJA_REMOTE_NUM_JOBS for this purpose. The
number is passed to ninja instead of to kati so no we don't
need to regenerate a ninja file when a user changes this value.

Change-Id: I2ccfaaae4492d84a8b8045dff612cb5f6ebe2c79

8 years agoAllow USE_GOMA=true without explicit USE_NINJA=true
Shinichiro Hamaji [Thu, 24 Sep 2015 06:19:08 +0000 (15:19 +0900)]
Allow USE_GOMA=true without explicit USE_NINJA=true

Now ninja build is disabled only with USE_NINJA=false. So goma.mk
should fail with an error only when USE_NINJA=false is explicitly
specified.

Change-Id: I2fb913433d5c1e93ed2a9bd93bb5000cabd835a4

8 years agoresolved conflicts for 964f06b1 to stage-aosp-master
Ying Wang [Thu, 24 Sep 2015 02:31:44 +0000 (19:31 -0700)]
resolved conflicts for 964f06b1 to stage-aosp-master

Change-Id: I0cebad2e440ec7d605afafac893352f06ca2f419

8 years agoam bd1b9e33: Merge "Sort all files found via "
Dan Willemsen [Thu, 24 Sep 2015 02:20:39 +0000 (02:20 +0000)]
am bd1b9e33: Merge "Sort all files found via "

* commit 'bd1b9e3332de46e1f08b4b5ca8f53d0a096b4793':
  Sort all files found via $(shell find)

8 years agoam b6a3ede5: Merge "Remove trailing / for HOST_TOOLCHAIN_FOR_CLANG"
Dan Willemsen [Thu, 24 Sep 2015 02:20:38 +0000 (02:20 +0000)]
am b6a3ede5: Merge "Remove trailing / for HOST_TOOLCHAIN_FOR_CLANG"

* commit 'b6a3ede5506bec89618519bf4a8adb635e570e89':
  Remove trailing / for HOST_TOOLCHAIN_FOR_CLANG

8 years agoam 58350dee: Merge "Don\'t add CFLAGS to CPPFLAGS"
Dan Willemsen [Thu, 24 Sep 2015 02:20:36 +0000 (02:20 +0000)]
am 58350dee: Merge "Don\'t add CFLAGS to CPPFLAGS"

* commit '58350dee77bbfadaea7bce9ee83555dba4963d92':
  Don't add CFLAGS to CPPFLAGS

8 years agoMerge "Re-implement mma/mmma using make goals."
Ying Wang [Thu, 24 Sep 2015 01:20:05 +0000 (01:20 +0000)]
Merge "Re-implement mma/mmma using make goals."

8 years agoMerge "Sort all files found via $(shell find)"
Dan Willemsen [Thu, 24 Sep 2015 00:55:27 +0000 (00:55 +0000)]
Merge "Sort all files found via $(shell find)"

8 years agoMerge "Remove trailing / for HOST_TOOLCHAIN_FOR_CLANG"
Dan Willemsen [Thu, 24 Sep 2015 00:42:26 +0000 (00:42 +0000)]
Merge "Remove trailing / for HOST_TOOLCHAIN_FOR_CLANG"

8 years agoMerge "Don't add CFLAGS to CPPFLAGS"
Dan Willemsen [Thu, 24 Sep 2015 00:23:27 +0000 (00:23 +0000)]
Merge "Don't add CFLAGS to CPPFLAGS"

8 years agoam 782b98ea: Merge changes I3ca9ed36,Ibd7eec5c
Dan Albert [Wed, 23 Sep 2015 23:47:37 +0000 (23:47 +0000)]
am 782b98ea: Merge changes I3ca9ed36,Ibd7eec5c

* commit '782b98eaa1c02d935b338f7317fef139067291bb':
  Revert "Default to hiding libgcc symbols in each object."
  Revert "Don't apply --exclude-libs for the host."

8 years agoRemove trailing / for HOST_TOOLCHAIN_FOR_CLANG
Dan Willemsen [Tue, 22 Sep 2015 23:52:18 +0000 (16:52 -0700)]
Remove trailing / for HOST_TOOLCHAIN_FOR_CLANG

The darwin version doesn't have a trailing slash. The common case is to
append a path to it:

  $(HOST_TOOLCHAIN_FOR_CLANG)/lib/...

Which means we end up with two slashes.

Change-Id: I74e88924ecfd092c5f7871e188ede0aab29cf65b

8 years agoMerge changes I3ca9ed36,Ibd7eec5c
Dan Albert [Wed, 23 Sep 2015 23:42:13 +0000 (23:42 +0000)]
Merge changes I3ca9ed36,Ibd7eec5c

* changes:
  Revert "Default to hiding libgcc symbols in each object."
  Revert "Don't apply --exclude-libs for the host."

8 years agoRe-implement mma/mmma using make goals.
Ying Wang [Wed, 23 Sep 2015 23:08:55 +0000 (16:08 -0700)]
Re-implement mma/mmma using make goals.

Previously we use command line variable BUILD_MODULES_IN_PATHS which
causes kati to regenerate build.ninja if any variable value changes.

TODO: Remove the old rules of BUILD_MODULES_IN_PATHS in
build/core/main.mk and ninja.mk once users have re-sourced envsetup.sh.
Probably in a few weeks.

Caveat: With this change, if a user sources the new envsetup.sh, mma/mmma
won't work in old branches from the same shell.

Bug: 24309760
Change-Id: I212e82aeebaaa2bd4114e2066f1995da8886b5e2

8 years agoDon't add CFLAGS to CPPFLAGS
Dan Willemsen [Tue, 22 Sep 2015 23:52:58 +0000 (16:52 -0700)]
Don't add CFLAGS to CPPFLAGS

Except for kati, we never use COMMON_GLOBAL_CPPFLAGS without also using
COMMON_GLOBAL_CFLAGS, which leads to duplicate command line entries.

Change-Id: I25d625924e9d157175a9e88bc3f15b7214cfb4ed

8 years agoRevert "Default to hiding libgcc symbols in each object."
Dan Albert [Wed, 23 Sep 2015 23:17:28 +0000 (16:17 -0700)]
Revert "Default to hiding libgcc symbols in each object."

This reverts commit 021b7651a5fcb806d1b8a767c7f4a0a81bc8e4ff.

Bug: http://b/24166967
Change-Id: I3ca9ed36fa3b55c7eb129c209903676879720acd

8 years agoRevert "Don't apply --exclude-libs for the host."
Dan Albert [Wed, 23 Sep 2015 23:17:15 +0000 (16:17 -0700)]
Revert "Don't apply --exclude-libs for the host."

This reverts commit 1576da248c4a061d906778c2c1dac7478abcc510.

Bug: http://b/24166967
Change-Id: Ibd7eec5c261e85a0474243991be7ee1860c9e14d

8 years agoSort all files found via $(shell find)
Dan Willemsen [Tue, 22 Sep 2015 23:54:12 +0000 (16:54 -0700)]
Sort all files found via $(shell find)

Don't rely on filesystem ordering to make these the same for all builds.

Change-Id: I7313062157764091acecf45f4b57405c28858546

8 years agoam 87e0e8a7: Merge "Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS""
Colin Cross [Wed, 23 Sep 2015 22:00:23 +0000 (22:00 +0000)]
am 87e0e8a7: Merge "Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS""

* commit '87e0e8a7642bd1f5bfdb7b8313df60a77119690a':
  Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"

8 years agoMerge "Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS""
Colin Cross [Wed, 23 Sep 2015 21:53:08 +0000 (21:53 +0000)]
Merge "Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS""

8 years agoRevert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"
Colin Cross [Wed, 23 Sep 2015 21:48:34 +0000 (21:48 +0000)]
Revert "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"

If there are any goals on the command line, kati hides targets that are
not dependencies of those goals.  Revert this until kati is modified to
include all targets.

This reverts commit b71d24931c7a18799249e3c7f7f6de20ac76cc75.

Bug: 24339367
Change-Id: I7c3a950aef8efc9a0eb72bd29ee07710d2faca99

8 years agoam f8579330: Merge "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"
Colin Cross [Wed, 23 Sep 2015 21:03:03 +0000 (21:03 +0000)]
am f8579330: Merge "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"

* commit 'f8579330a5f6dea88a4d96e4d34ec165a7563030':
  Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS

8 years agoMerge "Restore AOSP-style version numbers - DO NOT MERGE" into stage-aosp-master
Bill Yi [Wed, 23 Sep 2015 20:54:42 +0000 (20:54 +0000)]
Merge "Restore AOSP-style version numbers - DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"
Colin Cross [Wed, 23 Sep 2015 20:54:16 +0000 (20:54 +0000)]
Merge "Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"

8 years agoam a41dd0a9: Merge "Don\'t apply --exclude-libs for the host."
Dan Albert [Wed, 23 Sep 2015 20:42:33 +0000 (20:42 +0000)]
am a41dd0a9: Merge "Don\'t apply --exclude-libs for the host."

* commit 'a41dd0a973ad9b890a4e2fe558ad6ed038bacdef':
  Don't apply --exclude-libs for the host.

8 years agoMerge "Don't apply --exclude-libs for the host."
Dan Albert [Wed, 23 Sep 2015 20:34:47 +0000 (20:34 +0000)]
Merge "Don't apply --exclude-libs for the host."

8 years agoDon't apply --exclude-libs for the host.
Dan Albert [Wed, 23 Sep 2015 20:32:14 +0000 (13:32 -0700)]
Don't apply --exclude-libs for the host.

The Mac linker doesn't support this flag, and we don't actually need
it there anyway because we link dynamically to the system's compiler
runtime lib.

Bug: http://b/24166967
Change-Id: I62a926ed39d9fc487638e0c1a172762503dd633e

8 years agoam c496b259: Merge "Default to hiding libgcc symbols in each object."
Dan Albert [Wed, 23 Sep 2015 20:15:37 +0000 (20:15 +0000)]
am c496b259: Merge "Default to hiding libgcc symbols in each object."

* commit 'c496b259b8dddf0eac71a50f5e258da4a353d6bb':
  Default to hiding libgcc symbols in each object.

8 years agoMerge "Default to hiding libgcc symbols in each object."
Dan Albert [Wed, 23 Sep 2015 20:08:09 +0000 (20:08 +0000)]
Merge "Default to hiding libgcc symbols in each object."

8 years agoRestore AOSP-style version numbers - DO NOT MERGE
Bill Yi [Wed, 23 Sep 2015 19:38:58 +0000 (12:38 -0700)]
Restore AOSP-style version numbers - DO NOT MERGE

Change-Id: Icc9bc2c03d47e1c02d3b535719862e55a9f9b7cd

8 years agoam 56dca5b5: Merge "Use md5sum as the build.ninja filename suffix if the suffix gets...
Ying Wang [Tue, 22 Sep 2015 23:50:34 +0000 (23:50 +0000)]
am 56dca5b5: Merge "Use md5sum as the build.ninja filename suffix if the suffix gets too long."

* commit '56dca5b5408834ff36455d8112e737e968bb6320':
  Use md5sum as the build.ninja filename suffix if the suffix gets too long.

8 years agoDefault to hiding libgcc symbols in each object.
Dan Albert [Mon, 21 Sep 2015 23:36:41 +0000 (16:36 -0700)]
Default to hiding libgcc symbols in each object.

Bug: http://b/24166967
Change-Id: I3dba264ae70a2e13b3edee7575139e86ef49be71

8 years agoMerge "Use md5sum as the build.ninja filename suffix if the suffix gets too long."
Ying Wang [Tue, 22 Sep 2015 23:44:41 +0000 (23:44 +0000)]
Merge "Use md5sum as the build.ninja filename suffix if the suffix gets too long."

8 years agoUse md5sum as the build.ninja filename suffix if the suffix gets too long.
Ying Wang [Tue, 22 Sep 2015 21:37:53 +0000 (14:37 -0700)]
Use md5sum as the build.ninja filename suffix if the suffix gets too long.

Use md5sum as the build.ninja filename suffix if the suffix is longer
than 64 characters. Also store the original suffix in a corresponding
.suf file for human lookup.
This fixes the "File name too long" error when kati tries to write to
build.ninja with the long original suffix.

Bug: 24302576
Change-Id: Ie04b0c14e1a9d593aa5c2a6b357b19a9e8a7158e

8 years agoam 17a41e36: Merge "Add ld.mc as a requirement for core_tiny.mk as well."
Stephen Hines [Tue, 22 Sep 2015 22:06:34 +0000 (22:06 +0000)]
am 17a41e36: Merge "Add ld.mc as a requirement for core_tiny.mk as well."

* commit '17a41e36dbe75b94bde05a1c511903ae2162aea8':
  Add ld.mc as a requirement for core_tiny.mk as well.

8 years agoMerge "Add ld.mc as a requirement for core_tiny.mk as well."
Stephen Hines [Tue, 22 Sep 2015 22:00:34 +0000 (22:00 +0000)]
Merge "Add ld.mc as a requirement for core_tiny.mk as well."

8 years agoOnly put PARSE_TIME_MAKE_GOALS into KATI_TARGETS
Colin Cross [Tue, 22 Sep 2015 21:24:00 +0000 (14:24 -0700)]
Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS

Only goals that modify the parsing need to be passed to kati, filter out
everything else and only pass it to ninja.

Change-Id: I28788a3409d601fe838749bcf15394bc8f3d775b

8 years agoAdd ld.mc as a requirement for core_tiny.mk as well.
Stephen Hines [Tue, 22 Sep 2015 19:49:39 +0000 (12:49 -0700)]
Add ld.mc as a requirement for core_tiny.mk as well.

Bug: 24171451

I missed this when I initially added ld.mc as a requirement for
core_minimal.mk. This is required for RenderScript linking on the
device.

Change-Id: Ie3ffa2454214f886c38387f45b34df2dcbebd6e6

8 years agoam 9412efdc: Merge "Don\'t build otatools.zip if we don\'t build the ota package."
Ying Wang [Tue, 22 Sep 2015 18:50:52 +0000 (18:50 +0000)]
am 9412efdc: Merge "Don\'t build otatools.zip if we don\'t build the ota package."

* commit '9412efdc1b9f54e1bc8df3ea3e8e34b7d899cc70':
  Don't build otatools.zip if we don't build the ota package.

8 years agoMerge "Don't build otatools.zip if we don't build the ota package."
Ying Wang [Tue, 22 Sep 2015 18:42:49 +0000 (18:42 +0000)]
Merge "Don't build otatools.zip if we don't build the ota package."

8 years agoDon't build otatools.zip if we don't build the ota package.
Ying Wang [Tue, 22 Sep 2015 18:17:52 +0000 (11:17 -0700)]
Don't build otatools.zip if we don't build the ota package.

Also added flag TARGET_SKIP_OTA_PACKAGE to allow product to skip ota
package.

Bug: 24295339
Change-Id: Ib613ed747528661a6572b577cd54ccb6c2d1fdc8

8 years agoam 9ff24387: Merge "Make USE_NINJA=true the default"
Colin Cross [Tue, 22 Sep 2015 17:12:43 +0000 (17:12 +0000)]
am 9ff24387: Merge "Make USE_NINJA=true the default"

* commit '9ff24387c205da60e3d7deb042530b1d0b2d881c':
  Make USE_NINJA=true the default

8 years agoMerge "Make USE_NINJA=true the default"
Colin Cross [Tue, 22 Sep 2015 17:05:22 +0000 (17:05 +0000)]
Merge "Make USE_NINJA=true the default"

8 years agoam 30b32620: Merge "Revert "Don\'t re-export libgcc symbols from every object.""
Dan Albert [Mon, 21 Sep 2015 19:40:55 +0000 (19:40 +0000)]
am 30b32620: Merge "Revert "Don\'t re-export libgcc symbols from every object.""

* commit '30b326206ba0148da32c1419f210bd6e6890236d':
  Revert "Don't re-export libgcc symbols from every object."

8 years agoMerge "Revert "Don't re-export libgcc symbols from every object.""
Dan Albert [Mon, 21 Sep 2015 19:20:24 +0000 (19:20 +0000)]
Merge "Revert "Don't re-export libgcc symbols from every object.""

8 years agoRevert "Don't re-export libgcc symbols from every object."
Dan Albert [Mon, 21 Sep 2015 19:19:02 +0000 (19:19 +0000)]
Revert "Don't re-export libgcc symbols from every object."

For some reason shamu doesn't boot after this change.

Bug: http://b/24166967

This reverts commit e92d25f296af266ebf15bafcc599a91f1f87bd38.

Change-Id: Ibd90c0fccb1fe7446f959c937963d1aa4e43c37c

8 years agoam 86e1aa1a: Merge "Move python-adb to development/python-packages."
Dan Albert [Mon, 21 Sep 2015 17:34:25 +0000 (17:34 +0000)]
am 86e1aa1a: Merge "Move python-adb to development/python-packages."

* commit '86e1aa1a1d3593861f3a127e337fbdb8d965ee4f':
  Move python-adb to development/python-packages.

8 years agoMerge "Move python-adb to development/python-packages."
Dan Albert [Mon, 21 Sep 2015 17:26:15 +0000 (17:26 +0000)]
Merge "Move python-adb to development/python-packages."

8 years agoam 3c4c3418: Merge "Don\'t add build number to apps\' version name for platform build."
Ying Wang [Sun, 20 Sep 2015 03:41:43 +0000 (03:41 +0000)]
am 3c4c3418: Merge "Don\'t add build number to apps\' version name for platform build."

* commit '3c4c34183a10fd3deac81a8fc1fed8c774f12190':
  Don't add build number to apps' version name for platform build.

8 years agoMerge "Don't add build number to apps' version name for platform build."
Ying Wang [Sun, 20 Sep 2015 03:22:07 +0000 (03:22 +0000)]
Merge "Don't add build number to apps' version name for platform build."

8 years agoam 0881ce18: Merge changes Ic1be7572,Id6481430
Colin Cross [Sat, 19 Sep 2015 19:52:44 +0000 (19:52 +0000)]
am 0881ce18: Merge changes Ic1be7572,Id6481430

* commit '0881ce1817395d62d2746a14350767bf411f89d4':
  Pass --ninja to makeparallel for ninja
  makeparallel: improve support for wrapping ninja

8 years agoam 9bc462c1: Merge "Add the common directory back to kernel headers."
Christopher Ferris [Sat, 19 Sep 2015 19:52:16 +0000 (19:52 +0000)]
am 9bc462c1: Merge "Add the common directory back to kernel headers."

* commit '9bc462c12a5c4519b00e988b738c029c688c12d5':
  Add the common directory back to kernel headers.

8 years agoDon't add build number to apps' version name for platform build.
Ying Wang [Sat, 19 Sep 2015 17:56:35 +0000 (10:56 -0700)]
Don't add build number to apps' version name for platform build.

Bug: 24201956
Change-Id: I4a4bb483bb7b1bf7b7a856050d548bee4db0fe93

8 years agoMerge changes Ic1be7572,Id6481430
Colin Cross [Fri, 18 Sep 2015 23:33:59 +0000 (23:33 +0000)]
Merge changes Ic1be7572,Id6481430

* changes:
  Pass --ninja to makeparallel for ninja
  makeparallel: improve support for wrapping ninja

8 years agoMake USE_NINJA=true the default
Colin Cross [Fri, 18 Sep 2015 22:09:06 +0000 (15:09 -0700)]
Make USE_NINJA=true the default

Build with kati + ninja by default, unless specifically disabled with
USE_NINJA=false in the environment or on the make command line.

Bug: 23565895
Change-Id: I1fa9f5c6eb4d4ed3f5b81454f89d19fd2f1f6abb

8 years agoPass --ninja to makeparallel for ninja
Colin Cross [Fri, 18 Sep 2015 21:54:40 +0000 (14:54 -0700)]
Pass --ninja to makeparallel for ninja

When parallelism is being handled by ninja, pass --ninja to makeparallel
to have it translate -j with no number to default ninja parallelism, and
-k to -k0.

Bug: 24199503
Change-Id: Ic1be7572f93b33e4a71ed23e9e73dea1d4255703

8 years agomakeparallel: improve support for wrapping ninja
Colin Cross [Fri, 18 Sep 2015 21:50:26 +0000 (14:50 -0700)]
makeparallel: improve support for wrapping ninja

Allow makeparallel to pass better -j and -k arguments to ninja if the
first argument to makeparallel is --ninja.  Uses getopt to parse
MAKEFLAGS to get values for --jobserver-fds, -k, and -j, and uses the
result to not pass any -j argument to ninja for make -j with no number,
and pass -k0 to ninja for make -k.

Also improve the test makefile to provide many more tests.

Bug: 24199503
Change-Id: Id6481430f77e9e952213be58a98fe78c46ee5d6a

8 years agoMerge "Add the common directory back to kernel headers."
Christopher Ferris [Fri, 18 Sep 2015 20:44:58 +0000 (20:44 +0000)]
Merge "Add the common directory back to kernel headers."

8 years agoMove python-adb to development/python-packages.
Dan Albert [Fri, 18 Sep 2015 20:23:56 +0000 (13:23 -0700)]
Move python-adb to development/python-packages.

Nothing else was being imported from system/core yet, and a path under
development makes more sense for this.

Bug: http://b/22881740
Change-Id: Ib0beb02137805b3e382535514a2bc067b7fd1d33

8 years agoam 908260a5: Merge "Add support of SANITIZE_TARGET=\'address coverage\' for fuzzing."
Evgenii Stepanov [Fri, 18 Sep 2015 20:31:54 +0000 (20:31 +0000)]
am 908260a5: Merge "Add support of SANITIZE_TARGET=\'address coverage\' for fuzzing."

* commit '908260a56631cad51196c7b197f720bc88d7f5c7':
  Add support of SANITIZE_TARGET='address coverage' for fuzzing.