OSDN Git Service

android-x86/build.git
8 years agoam 2124d7e1: Merge "Only use a fixed timestamp when packaging."
Tao Bao [Wed, 30 Sep 2015 23:50:49 +0000 (23:50 +0000)]
am 2124d7e1: Merge "Only use a fixed timestamp when packaging."

* commit '2124d7e1e2dec91ce4ab15c6a215d61f7693a8d6':
  Only use a fixed timestamp when packaging.

8 years agoMerge "Only use a fixed timestamp when packaging."
Tao Bao [Wed, 30 Sep 2015 23:45:45 +0000 (23:45 +0000)]
Merge "Only use a fixed timestamp when packaging."

8 years agoam edc3e6cd: Merge "Sort more instances of wildcard and find"
Dan Willemsen [Wed, 30 Sep 2015 23:44:10 +0000 (23:44 +0000)]
am edc3e6cd: Merge "Sort more instances of wildcard and find"

* commit 'edc3e6cd6a0d6af4df3d6f07f40de17980b66ad0':
  Sort more instances of wildcard and find

8 years agoam 604e532f: Merge "Add all-cpp-files-under"
Dan Willemsen [Wed, 30 Sep 2015 23:44:01 +0000 (23:44 +0000)]
am 604e532f: Merge "Add all-cpp-files-under"

* commit '604e532f842fa38982eb47708e3afb5415ba4b72':
  Add all-cpp-files-under

8 years agoOnly use a fixed timestamp when packaging.
Tao Bao [Wed, 30 Sep 2015 23:01:14 +0000 (16:01 -0700)]
Only use a fixed timestamp when packaging.

[1] changed to use a fixed timestamp for all the generated images
(either the one under $ANDROID_PRODUCT_OUT/ or the one added into the
target_files zip). It makes 'adb sync' after 'fastboot flashall' to
resync all the files. This CL changes to use a fixed timestamp only when
packaging into the target_files zip.

[1]: commit 052ae3542be93d30108e742c5c21d5c45d9b7cf8

Bug: 24377993
Bug: 24536411
Change-Id: I209318966109fd4902468dfe96caf777464f9fe1

8 years agoMerge "Sort more instances of wildcard and find"
Dan Willemsen [Wed, 30 Sep 2015 22:36:30 +0000 (22:36 +0000)]
Merge "Sort more instances of wildcard and find"

8 years agoSort more instances of wildcard and find
Dan Willemsen [Tue, 29 Sep 2015 23:30:21 +0000 (16:30 -0700)]
Sort more instances of wildcard and find

Many of these may not make a difference in the output images, but it's a
good idea to keep the make system as repeatable as possible.

Change-Id: I31804b8ad5805148ed08be7426a242a16f4d0df3

8 years agoMerge "Add all-cpp-files-under"
Dan Willemsen [Wed, 30 Sep 2015 22:15:50 +0000 (22:15 +0000)]
Merge "Add all-cpp-files-under"

8 years agoam 0238e879: Merge "envsetup.sh: Add \'provision\' function."
David Zeuthen [Wed, 30 Sep 2015 21:51:55 +0000 (21:51 +0000)]
am 0238e879: Merge "envsetup.sh: Add \'provision\' function."

* commit '0238e879893bbbbab4e75b0fd1355c43547ca31e':
  envsetup.sh: Add 'provision' function.

8 years agoMerge "envsetup.sh: Add 'provision' function."
David Zeuthen [Wed, 30 Sep 2015 21:45:40 +0000 (21:45 +0000)]
Merge "envsetup.sh: Add 'provision' function."

8 years agoam cd7bcd86: Merge "Move ninja files to "
Colin Cross [Wed, 30 Sep 2015 21:43:14 +0000 (21:43 +0000)]
am cd7bcd86: Merge "Move ninja files to "

* commit 'cd7bcd86e5b7a8ba5cd6dde7dda04cadcf656e56':
  Move ninja files to $(OUT_DIR)

8 years agoMerge "Move ninja files to $(OUT_DIR)"
Colin Cross [Wed, 30 Sep 2015 21:35:52 +0000 (21:35 +0000)]
Merge "Move ninja files to $(OUT_DIR)"

8 years agoMove ninja files to $(OUT_DIR)
Colin Cross [Wed, 30 Sep 2015 04:37:40 +0000 (21:37 -0700)]
Move ninja files to $(OUT_DIR)

Move the ninja files from $(PRODUCT_OUT)/build.ninja to
$(OUT_DIR)/build-$(TARGET_PRODUCT).ninja.  This will improve incremental
builds of host modules after swithing target products, because the
.ninja_deps file will be accurate across builds.

Change-Id: Ia12746ccde0de31f6fccd111b2bdbd48fc6900d7

8 years agoenvsetup.sh: Add 'provision' function.
David Zeuthen [Wed, 30 Sep 2015 21:10:48 +0000 (17:10 -0400)]
envsetup.sh: Add 'provision' function.

This will run ${ANDROID_PRODUCT_OUT}/provision-device which in turn can
run fastboot (and other vendor-specific bits, if needed) to repartition
the device and reflash all partitions with known versions. Options
passed to the 'provision' command will be passed on to said script which
is expected to pass them on to fastboot.

Since this is a rather destructive operation involving data loss etc.,
user confirmation is required. This confirmation can be bypassed using
the option --no-confirmation.

Change-Id: Iec5667f2f5070b95d2eb70ad1b2984909ae4184c

8 years agoam 06ba28c3: Merge "Pack the update_engine_config.txt when using the A/B OTA updater."
Alex Deymo [Wed, 30 Sep 2015 20:10:45 +0000 (20:10 +0000)]
am 06ba28c3: Merge "Pack the update_engine_config.txt when using the A/B OTA updater."

* commit '06ba28c31e9bea93ae3e3994bfe766a0a4a0073e':
  Pack the update_engine_config.txt when using the A/B OTA updater.

8 years agoMerge "Pack the update_engine_config.txt when using the A/B OTA updater."
Alex Deymo [Wed, 30 Sep 2015 18:08:20 +0000 (18:08 +0000)]
Merge "Pack the update_engine_config.txt when using the A/B OTA updater."

8 years agoPack the update_engine_config.txt when using the A/B OTA updater.
Alex Deymo [Wed, 30 Sep 2015 02:05:37 +0000 (19:05 -0700)]
Pack the update_engine_config.txt when using the A/B OTA updater.

This config file pulled directly from the source specifies the update
payload version supported by the code. When generating an incremental
update payload for the A/B updater, the generated payload format will
match the version supported by the old version.

Bug: 24406755
Test: `make dist` on Brillo.

Change-Id: Ib7ac6828d0d34eb31e786dbaae5d59ecf26c3576

8 years agoam 2ce7528a: Merge "makeparallel needs global CFLAGS now"
Colin Cross [Wed, 30 Sep 2015 05:17:20 +0000 (05:17 +0000)]
am 2ce7528a: Merge "makeparallel needs global CFLAGS now"

* commit '2ce7528a92d132523317dcb1252cf0c47459038b':
  makeparallel needs global CFLAGS now

8 years agoMerge "makeparallel needs global CFLAGS now"
Colin Cross [Wed, 30 Sep 2015 05:12:33 +0000 (05:12 +0000)]
Merge "makeparallel needs global CFLAGS now"

8 years agomakeparallel needs global CFLAGS now
Colin Cross [Wed, 30 Sep 2015 04:54:33 +0000 (21:54 -0700)]
makeparallel needs global CFLAGS now

After 3ad354951923f5c3593dd5f957ecd518126b41bc (Don't add CFLAGS to
CPPFLAGS), makeparallel now needs to explicitly include CFLAGS like
kati.

Change-Id: Ib50328da147f03647bb5b99f6d69948d644eece9

8 years agoAdd all-cpp-files-under
Dan Willemsen [Tue, 29 Sep 2015 23:26:28 +0000 (16:26 -0700)]
Add all-cpp-files-under

There are multiple versions of this in the tree. Let's standardize on
one that will work for everyone, and will sort the results.

Bug: 24204119
Change-Id: I09fcd80e1e8e35e64d8a8a62bbc096f87b02603f

8 years agoam 12d7867f: Merge changes If34a7900,Iaea1f158
Colin Cross [Tue, 29 Sep 2015 22:47:50 +0000 (22:47 +0000)]
am 12d7867f: Merge changes If34a7900,Iaea1f158

* commit '12d7867f5fe23203de952b7f876d01d63f8294d1':
  Revert "Have all targets in build.ninja"
  Revert "Pass all goals to kati when "dist" is in goals"

8 years agoMerge changes If34a7900,Iaea1f158
Colin Cross [Tue, 29 Sep 2015 22:41:42 +0000 (22:41 +0000)]
Merge changes If34a7900,Iaea1f158

* changes:
  Revert "Have all targets in build.ninja"
  Revert "Pass all goals to kati when "dist" is in goals"

8 years agoRevert "Have all targets in build.ninja"
Colin Cross [Tue, 29 Sep 2015 21:15:58 +0000 (14:15 -0700)]
Revert "Have all targets in build.ninja"

--gen_all_targets seems to be dropping some intermediate targets,
causing problems when kati is passed a goal and then ninja is run with
checkbuild as a goal, for example with:
m -j PRODUCT-aosp_flounder-userdebug checkbuild

This reverts commit 92bbf5667d2d16682477556cb55e0d2f0a3b1e14.

Change-Id: If34a790028f8da98fcc713e3f7000d06c63dcf80

8 years agoRevert "Pass all goals to kati when "dist" is in goals"
Colin Cross [Tue, 29 Sep 2015 20:20:47 +0000 (13:20 -0700)]
Revert "Pass all goals to kati when "dist" is in goals"

This isn't actually necessary, dist doesn't use MAKEDISTGOALS other than
to check if it contains any other real targets.  The real issue is
caused by --gen_all_targets, and is broader than just "dist".

This reverts commit d3701e9e967a7e1e97aa365af4c0080d3bad929e.

Change-Id: Iaea1f158dbd1d4b9035954efef40b33485e6c6b3

8 years agoam 7e9b4ec4: Merge "Pack libdivsufsort.so into otatools.zip."
Tao Bao [Tue, 29 Sep 2015 17:42:44 +0000 (17:42 +0000)]
am 7e9b4ec4: Merge "Pack libdivsufsort.so into otatools.zip."

* commit '7e9b4ec44c63cb2e89388250aa6547aa6eddcab8':
  Pack libdivsufsort.so into otatools.zip.

8 years agoMerge "Pack libdivsufsort.so into otatools.zip."
Tao Bao [Tue, 29 Sep 2015 17:38:14 +0000 (17:38 +0000)]
Merge "Pack libdivsufsort.so into otatools.zip."

8 years agoam 02d04b4d: Merge "Pass all goals to kati when "dist" is in goals"
Colin Cross [Tue, 29 Sep 2015 17:13:24 +0000 (17:13 +0000)]
am 02d04b4d: Merge "Pass all goals to kati when "dist" is in goals"

* commit '02d04b4ddceba1a949f2d3d3abf0e5bcb8508cbc':
  Pass all goals to kati when "dist" is in goals

8 years agoMerge "Pass all goals to kati when "dist" is in goals"
Colin Cross [Tue, 29 Sep 2015 17:09:03 +0000 (17:09 +0000)]
Merge "Pass all goals to kati when "dist" is in goals"

8 years agoam 506857e9: Merge "Make linker configurable through environment."
Nicolas Geoffray [Tue, 29 Sep 2015 09:04:59 +0000 (09:04 +0000)]
am 506857e9: Merge "Make linker configurable through environment."

* commit '506857e974ed1aac60bff96a71d0eb182865bed8':
  Make linker configurable through environment.

8 years agoMerge "Make linker configurable through environment."
Nicolas Geoffray [Tue, 29 Sep 2015 08:34:28 +0000 (08:34 +0000)]
Merge "Make linker configurable through environment."

8 years agoam 03d8b188: Merge "Have all targets in build.ninja"
Shinichiro Hamaji [Tue, 29 Sep 2015 06:58:51 +0000 (06:58 +0000)]
am 03d8b188: Merge "Have all targets in build.ninja"

* commit '03d8b18881d845a22c44727c8156cada16630b49':
  Have all targets in build.ninja

8 years agoMerge "Have all targets in build.ninja"
Shinichiro Hamaji [Tue, 29 Sep 2015 06:55:33 +0000 (06:55 +0000)]
Merge "Have all targets in build.ninja"

8 years agoPass all goals to kati when "dist" is in goals
Shinichiro Hamaji [Tue, 29 Sep 2015 06:50:28 +0000 (15:50 +0900)]
Pass all goals to kati when "dist" is in goals

Bug: 24339367
Change-Id: Iee80d65fe169ec005900a96446aa7a432fc68872

8 years agoHave all targets in build.ninja
Shinichiro Hamaji [Tue, 29 Sep 2015 05:18:59 +0000 (14:18 +0900)]
Have all targets in build.ninja

We should pass --gen_all_targets instead of --gen_all_phony_targets
to have targets which are not declared as .PHONY.

Bug: 24384320
Change-Id: I616d8c74e6efd9d69b1a935cfc5116b716f100ff

8 years agoam ad8df5ad: Merge "Reland: Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"
Shinichiro Hamaji [Tue, 29 Sep 2015 04:03:44 +0000 (04:03 +0000)]
am ad8df5ad: Merge "Reland: Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"

* commit 'ad8df5adac7d844014f74c60ce40e3cae02e5eaf':
  Reland: Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS

8 years agoMerge "Reland: Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"
Shinichiro Hamaji [Tue, 29 Sep 2015 03:54:59 +0000 (03:54 +0000)]
Merge "Reland: Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS"

8 years agoresolved conflicts for 953981db to stage-aosp-master
Colin Cross [Tue, 29 Sep 2015 01:45:23 +0000 (18:45 -0700)]
resolved conflicts for 953981db to stage-aosp-master

Change-Id: Ic1003a594ac5e5e91b124f249a569fb81123e973

8 years agoMerge "Don't add dependencies on Makefiles when using ninja"
Colin Cross [Tue, 29 Sep 2015 01:09:51 +0000 (01:09 +0000)]
Merge "Don't add dependencies on Makefiles when using ninja"

8 years agoPack libdivsufsort.so into otatools.zip.
Tao Bao [Mon, 28 Sep 2015 23:37:27 +0000 (16:37 -0700)]
Pack libdivsufsort.so into otatools.zip.

This is to support the change to bsdiff which depends on
libdivsufsort.so and libdivsufsort64.so now.

Bug: 24332905
Change-Id: I232fc1b2abda67456f012a83fa4f69a99bc6ea14

8 years agoresolved conflicts for 6c3bf1b8 to stage-aosp-master
Colin Cross [Mon, 28 Sep 2015 23:41:45 +0000 (16:41 -0700)]
resolved conflicts for 6c3bf1b8 to stage-aosp-master

Change-Id: If93ed1d9229f7fbe750f85ea4b3c3e4fce5dbb29

8 years agoDon't add dependencies on Makefiles when using ninja
Colin Cross [Mon, 28 Sep 2015 23:26:00 +0000 (16:26 -0700)]
Don't add dependencies on Makefiles when using ninja

Ninja has an implicit dependency on the command being run, and kati will
regenerate the ninja manifest if any read makefile changes, so there is no
need to have dependencies on makefiles.
This won't catch all the cases where LOCAL_ADDITIONAL_DEPENDENCIES contains
a .mk file, because a few users of LOCAL_ADDITIONAL_DEPENDENCIES don't
include base_rules.mk, but it will fix the most common ones.

Bug: 23566977
Change-Id: I66de882421376303ab7233c8ce7274548f6b2199

8 years agoMerge "Use zip -q for adding shared libraries"
Colin Cross [Mon, 28 Sep 2015 23:23:40 +0000 (23:23 +0000)]
Merge "Use zip -q for adding shared libraries"

8 years agoUse zip -q for adding shared libraries
Colin Cross [Mon, 28 Sep 2015 23:15:09 +0000 (16:15 -0700)]
Use zip -q for adding shared libraries

Make zip quiet when adding shared libraries to apks.

Bug: 24409581
Change-Id: I540510eb6e051b5fc9d1d2a7fa5565a5b774a602

8 years agoam 7edec14c: Merge "Set BUILDING_WITH_NINJA flag when parsing makefiles for ninja...
Colin Cross [Mon, 28 Sep 2015 23:04:57 +0000 (23:04 +0000)]
am 7edec14c: Merge "Set BUILDING_WITH_NINJA flag when parsing makefiles for ninja build"

* commit '7edec14c8dfe4e499cba0d77dc20bc985af1f586':
  Set BUILDING_WITH_NINJA flag when parsing makefiles for ninja build

8 years agoReland: Only put PARSE_TIME_MAKE_GOALS into KATI_TARGETS
Shinichiro Hamaji [Thu, 24 Sep 2015 05:33:27 +0000 (14:33 +0900)]
Reland: 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.

This is a reland attempt of
https://android-review.googlesource.com/#/c/172800/

The two issues should have been fixed by Ying in internal trees.

Bug: 24339367
Change-Id: I8ba2254f9bff271da2a7aa7684fd3d987e07c9d3

8 years agoMerge "Set BUILDING_WITH_NINJA flag when parsing makefiles for ninja build"
Colin Cross [Mon, 28 Sep 2015 23:00:46 +0000 (23:00 +0000)]
Merge "Set BUILDING_WITH_NINJA flag when parsing makefiles for ninja build"

8 years agoSet BUILDING_WITH_NINJA flag when parsing makefiles for ninja build
Colin Cross [Mon, 28 Sep 2015 22:36:05 +0000 (15:36 -0700)]
Set BUILDING_WITH_NINJA flag when parsing makefiles for ninja build

Distinguish between parsing makefiles in make for a pre-ninja build,
parsing makefiles in kati for a ninja build, and parsing makefiles in
make for a non-ninja build by leaving USE_NINJA=true enabled for the
kati pass but also setting BUILDING_WITH_NINJA.

Change-Id: I63f1ce1efe08cd86fdf41f8051901f720b38cfaf

8 years agoam f262f906: Merge "Remove "preparing StaticLib" messages"
Colin Cross [Mon, 28 Sep 2015 22:26:54 +0000 (22:26 +0000)]
am f262f906: Merge "Remove "preparing StaticLib" messages"

* commit 'f262f906f28f1abedb32b1645b7f1ed5c0abbe45':
  Remove "preparing StaticLib" messages

8 years agoMerge "Remove "preparing StaticLib" messages"
Colin Cross [Mon, 28 Sep 2015 22:24:02 +0000 (22:24 +0000)]
Merge "Remove "preparing StaticLib" messages"

8 years agoRemove "preparing StaticLib" messages
Colin Cross [Mon, 28 Sep 2015 21:51:19 +0000 (14:51 -0700)]
Remove "preparing StaticLib" messages

The preparing StaticLib messages don't provide any useful information,
remove them to clean up build output.

Bug: 24409581
Change-Id: I81fa7c47fd0d10846a21667b6421b4777260d0e9

8 years agoam 5e23069b: Merge "build_image.py: Use a fixed timestamp in the generated image."
Tao Bao [Mon, 28 Sep 2015 21:16:34 +0000 (21:16 +0000)]
am 5e23069b: Merge "build_image.py: Use a fixed timestamp in the generated image."

* commit '5e23069bceebfbf17f67c709bad495d707b194dc':
  build_image.py: Use a fixed timestamp in the generated image.

8 years agoMerge "build_image.py: Use a fixed timestamp in the generated image."
Tao Bao [Mon, 28 Sep 2015 21:09:23 +0000 (21:09 +0000)]
Merge "build_image.py: Use a fixed timestamp in the generated image."

8 years agobuild_image.py: Use a fixed timestamp in the generated image.
Tao Bao [Mon, 28 Sep 2015 20:44:13 +0000 (13:44 -0700)]
build_image.py: Use a fixed timestamp in the generated image.

Bug: 24377993
Change-Id: I9b1433c8c877dc2a391615bb016b8970426e9f70

8 years agoam 562ad0b5: Merge "Package breakpad symbols in target files zip"
Steve Fung [Mon, 28 Sep 2015 20:24:32 +0000 (20:24 +0000)]
am 562ad0b5: Merge "Package breakpad symbols in target files zip"

* commit '562ad0b5e4f5d49fc62e72ca1d6eb18acab6e90b':
  Package breakpad symbols in target files zip

8 years agoMerge "Package breakpad symbols in target files zip"
Steve Fung [Mon, 28 Sep 2015 20:07:55 +0000 (20:07 +0000)]
Merge "Package breakpad symbols in target files zip"

8 years agoMake linker configurable through environment.
Nicolas Geoffray [Fri, 25 Sep 2015 12:54:09 +0000 (13:54 +0100)]
Make linker configurable through environment.

Change-Id: I152ad7b41cfa05f2f59f51c6d8bd1e427f1a1649

8 years agoam cf448ddb: Merge "Use gomacc even for FDO build"
Shinichiro Hamaji [Mon, 28 Sep 2015 04:43:25 +0000 (04:43 +0000)]
am cf448ddb: Merge "Use gomacc even for FDO build"

* commit 'cf448ddb4f95f511575e56a729e0d60a45d84e1e':
  Use gomacc even for FDO build

8 years agoMerge "Use gomacc even for FDO build"
Shinichiro Hamaji [Mon, 28 Sep 2015 04:38:53 +0000 (04:38 +0000)]
Merge "Use gomacc even for FDO build"

8 years agoam 581a028f: Merge "Remove checkbuild and test from parse time goals"
Colin Cross [Sat, 26 Sep 2015 03:37:54 +0000 (03:37 +0000)]
am 581a028f: Merge "Remove checkbuild and test from parse time goals"

* commit '581a028fb562b1d877de2b82d6a08df045d73ec8':
  Remove checkbuild and test from parse time goals

8 years agoMerge "Remove checkbuild and test from parse time goals"
Colin Cross [Sat, 26 Sep 2015 03:33:35 +0000 (03:33 +0000)]
Merge "Remove checkbuild and test from parse time goals"

8 years agoUse gomacc even for FDO build
Shinichiro Hamaji [Thu, 24 Sep 2015 08:51:20 +0000 (17:51 +0900)]
Use gomacc even for FDO build

Goma's client recognizes -fprofile-use= flag so shoulde be
compatible with Android's FDO build.

Change-Id: I0d21d6f530cd05770f8dc12e9dc33a5db49a9c7d

8 years agoPackage breakpad symbols in target files zip
Steve Fung [Fri, 25 Sep 2015 01:12:33 +0000 (18:12 -0700)]
Package breakpad symbols in target files zip

When BREAKPAD_GENERATE_SYMBOLS is set to true, package the breakpad
symbols into the target files zip thats generated with `make dist`.

Bug: 24165970
Change-Id: I11c0d9a9d9e159475bfdb7bc338f9e9ac60aeada

8 years agoam 094116f0: Merge "Remove the unnecessary rs_compatibility_jni_libs install rules."
Ying Wang [Sat, 26 Sep 2015 01:06:38 +0000 (01:06 +0000)]
am 094116f0: Merge "Remove the unnecessary rs_compatibility_jni_libs install rules."

* commit '094116f0374da3dcba3ff1425f0cb42caf1c6d59':
  Remove the unnecessary rs_compatibility_jni_libs install rules.

8 years agoMerge "Remove the unnecessary rs_compatibility_jni_libs install rules."
Ying Wang [Sat, 26 Sep 2015 01:00:14 +0000 (01:00 +0000)]
Merge "Remove the unnecessary rs_compatibility_jni_libs install rules."

8 years agoam aaa9d8dc: Merge "Fix windows build"
Colin Cross [Sat, 26 Sep 2015 00:15:44 +0000 (00:15 +0000)]
am aaa9d8dc: Merge "Fix windows build"

* commit 'aaa9d8dc0aba0446fb11238f2aa869ce0b33df2f':
  Fix windows build

8 years agoMerge "Fix windows build"
Colin Cross [Sat, 26 Sep 2015 00:09:58 +0000 (00:09 +0000)]
Merge "Fix windows build"

8 years agoFix windows build
Colin Cross [Sat, 26 Sep 2015 00:00:14 +0000 (17:00 -0700)]
Fix windows build

The windows toolchain doesn't support color, only apply
-fdiagnostics-color to HOST and TARGET, not HOST_CROSS.

Change-Id: I17b999a2852b8d70b2d39a58befa10e2e32c4608

8 years agoRemove checkbuild and test from parse time goals
Colin Cross [Fri, 25 Sep 2015 23:43:36 +0000 (16:43 -0700)]
Remove checkbuild and test from parse time goals

The tests goal is not a parse time goal.

The checkbuild goal is only a parse time goal so that it doesn't result
in a circular dependency between droid and checkbuild when
ANDROID_BUILD_EVERYTHING_BY_DEFAULT is set.  Get rid of the circular
dependency by making droid depend on droid_targets, and droid_targets
depend on the targets that are normally built for droid.  checkbuild can
then always depend on droid_targets, and droid can condtionally depend
on checkbuild without introducing a circular dependency.

Bug: 24413153
Change-Id: I231d80e05ffe321384a5efbcdf5578f86ad84da0

8 years agoam 67020d23: Merge "Link libgtest_main before libgtest"
Colin Cross [Fri, 25 Sep 2015 23:38:29 +0000 (23:38 +0000)]
am 67020d23: Merge "Link libgtest_main before libgtest"

* commit '67020d2338dd51af5daa3479624acaa494be51a9':
  Link libgtest_main before libgtest

8 years agoMerge "Link libgtest_main before libgtest"
Colin Cross [Fri, 25 Sep 2015 23:30:48 +0000 (23:30 +0000)]
Merge "Link libgtest_main before libgtest"

8 years agoam 0d97557d: Merge "Enable color output from gcc and clang"
Colin Cross [Fri, 25 Sep 2015 23:17:02 +0000 (23:17 +0000)]
am 0d97557d: Merge "Enable color output from gcc and clang"

* commit '0d97557d3d6f56cf6dfdb7552d4f1471d56dfabe':
  Enable color output from gcc and clang

8 years agoRemove the unnecessary rs_compatibility_jni_libs install rules.
Ying Wang [Fri, 25 Sep 2015 23:06:48 +0000 (16:06 -0700)]
Remove the unnecessary rs_compatibility_jni_libs install rules.

We only build rs_compatibility_jni_libs for unbundled build or when
FORCE_BUILD_RS_COMPAT is set. We don't need to install the
rs_compatibility_jni_libs to system.img in either case.

It's bad idea to install them to system.img, because when two modules
have .rs files with the same name, their installed files conflict.

Change-Id: I7524a301c59396db464f28b17b8f8bf1f15523ca

8 years agoLink libgtest_main before libgtest
Colin Cross [Fri, 25 Sep 2015 23:11:31 +0000 (16:11 -0700)]
Link libgtest_main before libgtest

libgtest_main uses symbols from libgtest.  If libgtest_main is linked
after libgtest, and the test .o files don't reference libgtest (which is
unlikely), then the libgtest .o files will be ignored and libgtest_main
won't be able to find its symbols from libgtest.

Change-Id: Ica3bc679bd9d14e9a3065be927f085cf52faab64

8 years agoMerge "Enable color output from gcc and clang"
Colin Cross [Fri, 25 Sep 2015 23:10:45 +0000 (23:10 +0000)]
Merge "Enable color output from gcc and clang"

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 agoEnable color output from gcc and clang
Colin Cross [Fri, 25 Sep 2015 05:14:25 +0000 (22:14 -0700)]
Enable color output from gcc and clang

Force gcc and clang to always output color diagnostics.  Ninja will
strip the ANSI color codes if it is not running in a terminal.

Bug: 24273983
Change-Id: Ic9252549bfacf3bbb3f4b9d20f63010fc24ac21d

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."