OSDN Git Service

android-x86/build.git
8 years agoMerge "Remove changing uids/timestamps from zip/jar files"
Dan Willemsen [Tue, 3 Nov 2015 21:47:30 +0000 (21:47 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files"
am: a0975edc16

* commit 'a0975edc164f4ff248882e660d95802eabd72fd4':
  Remove changing uids/timestamps from zip/jar files

8 years agoMerge "Remove changing uids/timestamps from zip/jar files"
Dan Willemsen [Tue, 3 Nov 2015 21:38:45 +0000 (21:38 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files"

8 years agoMerge "Don\'t check the host JDK tools when build/core/config.mk is called from envse...
Ying Wang [Tue, 3 Nov 2015 00:45:14 +0000 (00:45 +0000)]
Merge "Don\'t check the host JDK tools when build/core/config.mk is called from envsetup.sh." am: a63d379aab
am: fb89fd36b2

* commit 'fb89fd36b21c557fa4873ad4c707f6dd07752ed0':
  Don't check the host JDK tools when build/core/config.mk is called from envsetup.sh.

8 years agoMerge "Don\'t check the host JDK tools when build/core/config.mk is called from envse...
Ying Wang [Tue, 3 Nov 2015 00:40:38 +0000 (00:40 +0000)]
Merge "Don\'t check the host JDK tools when build/core/config.mk is called from envsetup.sh."
am: a63d379aab

* commit 'a63d379aab75fe3991320319f63faddd3b84b287':
  Don't check the host JDK tools when build/core/config.mk is called from envsetup.sh.

8 years agoMerge "Don't check the host JDK tools when build/core/config.mk is called from envset...
Ying Wang [Tue, 3 Nov 2015 00:17:43 +0000 (00:17 +0000)]
Merge "Don't check the host JDK tools when build/core/config.mk is called from envsetup.sh."

8 years agoDon't check the host JDK tools when build/core/config.mk is called from envsetup.sh.
Ying Wang [Mon, 2 Nov 2015 23:56:58 +0000 (15:56 -0800)]
Don't check the host JDK tools when build/core/config.mk is called from envsetup.sh.

Envsetup.sh (lunch) relies on config.mk to get build varaible values; while
config.mk may rely on envsetup.sh to set up JAVA_HOME/PATH.
Without this change config.mk may be checking the host JDK tools before
JAVA_HOME/PATH get set up.

Change-Id: I1e6b5e33147258832ce2f0a425f9526ef4782c43

8 years agoRemove changing uids/timestamps from zip/jar files
Dan Willemsen [Thu, 29 Oct 2015 23:33:05 +0000 (16:33 -0700)]
Remove changing uids/timestamps from zip/jar files

Pass -X to zip so that Unix UID/GID and extra timestamps aren't
saved into the zip files.

Add a new tool, ziptime, that uses a very stripped down copy of
zipalign. It no longer depends on libandroidfw, and now rewrites the
timestamps in place instead of making a copy of the zipfile. This should
improve speed and reduce disk requirements, especially with the large
packaging zip files.

Bug: 24201956
Change-Id: I50f68669f659da1b4393e964ad40b6aafb00c1e7

8 years agoMerge "envsetup,product,ninja: enable symlink traversal" am: f589c7b442
Gaurav Shah [Mon, 2 Nov 2015 22:30:17 +0000 (22:30 +0000)]
Merge "envsetup,product,ninja: enable symlink traversal" am: f589c7b442
am: af80a461d6

* commit 'af80a461d6ae7d71a2e2976d96bb261cdb0eaed7':
  envsetup,product,ninja: enable symlink traversal

8 years agoMerge "Support build targets with no installable apps/packages" am: aed6805380
Gaurav Shah [Mon, 2 Nov 2015 22:30:10 +0000 (22:30 +0000)]
Merge "Support build targets with no installable apps/packages" am: aed6805380
am: 00b8cd9a15

* commit '00b8cd9a15c81d2660e834a0290c00e6e22d2614':
  Support build targets with no installable apps/packages

8 years agoMerge "build: Add extra build customization for /product" am: a80f1e3257
Gaurav Shah [Mon, 2 Nov 2015 22:30:03 +0000 (22:30 +0000)]
Merge "build: Add extra build customization for /product" am: a80f1e3257
am: 64ea350dd8

* commit '64ea350dd8c2d2b1dc73f753c0bad8e98e12c511':
  build: Add extra build customization for /product

8 years agoMerge "build: Add support for defining products in /product" am: acb8a7c1f8
Gaurav Shah [Mon, 2 Nov 2015 22:29:57 +0000 (22:29 +0000)]
Merge "build: Add support for defining products in /product" am: acb8a7c1f8
am: 881ec090c4

* commit '881ec090c4790bdd588048f17038d167d7b52d87':
  build: Add support for defining products in /product

8 years agoMerge "envsetup,product,ninja: enable symlink traversal"
Gaurav Shah [Mon, 2 Nov 2015 22:27:27 +0000 (22:27 +0000)]
Merge "envsetup,product,ninja: enable symlink traversal"
am: f589c7b442

* commit 'f589c7b442feb02843bdf82305b599b686fc5204':
  envsetup,product,ninja: enable symlink traversal

8 years agoMerge "Support build targets with no installable apps/packages"
Gaurav Shah [Mon, 2 Nov 2015 22:27:20 +0000 (22:27 +0000)]
Merge "Support build targets with no installable apps/packages"
am: aed6805380

* commit 'aed6805380810f51bb0d8b93fc5eac005a6de364':
  Support build targets with no installable apps/packages

8 years agoMerge "build: Add extra build customization for /product"
Gaurav Shah [Mon, 2 Nov 2015 22:27:14 +0000 (22:27 +0000)]
Merge "build: Add extra build customization for /product"
am: a80f1e3257

* commit 'a80f1e32575db5d66f4b4e6efdf79dd10dd2295e':
  build: Add extra build customization for /product

8 years agoMerge "build: Add support for defining products in /product"
Gaurav Shah [Mon, 2 Nov 2015 22:27:08 +0000 (22:27 +0000)]
Merge "build: Add support for defining products in /product"
am: acb8a7c1f8

* commit 'acb8a7c1f8cacaf136edba1a25d64467d352a432':
  build: Add support for defining products in /product

8 years agoMerge "envsetup,product,ninja: enable symlink traversal"
Gaurav Shah [Mon, 2 Nov 2015 22:22:50 +0000 (22:22 +0000)]
Merge "envsetup,product,ninja: enable symlink traversal"

8 years agoMerge "Support build targets with no installable apps/packages"
Gaurav Shah [Mon, 2 Nov 2015 22:22:40 +0000 (22:22 +0000)]
Merge "Support build targets with no installable apps/packages"

8 years agoMerge "build: Add extra build customization for /product"
Gaurav Shah [Mon, 2 Nov 2015 22:22:32 +0000 (22:22 +0000)]
Merge "build: Add extra build customization for /product"

8 years agoMerge "build: Add support for defining products in /product"
Gaurav Shah [Mon, 2 Nov 2015 22:22:22 +0000 (22:22 +0000)]
Merge "build: Add support for defining products in /product"

8 years agoenvsetup,product,ninja: enable symlink traversal
Will Drewry [Wed, 7 Oct 2015 02:40:11 +0000 (19:40 -0700)]
envsetup,product,ninja: enable symlink traversal

When searching device, product, or hardware, allow
find to follow symlinks.

Add KATI_EMULATE_FIND=false to allow disabling the find
emulator which changes findleaves.py behavior wrt
symlinks.

BUG=24605247
TEST=works with CL:783781 (without the find wrapper in that CL)

Change-Id: Ia9d0e4add391a56f34828a09a6cec3f435ccc548

8 years agoSupport build targets with no installable apps/packages
Gaurav Shah [Sun, 23 Aug 2015 16:40:05 +0000 (09:40 -0700)]
Support build targets with no installable apps/packages

Specifically, do not error out if no installable apps are found.

- When creating an archive of all the apps, and if no apps exist
for the target, generate an empty archive file.
- If building for a target with no installable jar(s) or apk(s),
generate an empty package stats file.

The former is just an output artifact. The latter is used
by the upload_pkg_stats.py script which correctly handles
an empty input file.

BUG: 23421592

Change-Id: I48db9f9e1f61914d8fd938130e09b41849685450

8 years agobuild: Add extra build customization for /product
Lee Campbell [Thu, 20 Aug 2015 22:39:56 +0000 (15:39 -0700)]
build: Add extra build customization for /product

This makes /product more consistent with /device & /vendor

BUG: 22030305

Change-Id: Ic65bfde7fb3e9fab8c8fb8d99af15404574abde0

8 years agobuild: Add support for defining products in /product
Lee Campbell [Thu, 20 Aug 2015 20:55:45 +0000 (13:55 -0700)]
build: Add support for defining products in /product

The build will now search for AndroidProducts.mk in /product

BUG: 22030305

Change-Id: I2d067d95d0c8dc1341a55167f9ac7f6926e04ce3

8 years agoMerge "Add _asan suffix to ro.build.flavor for ASAN builds." am: f0a8dd43b2
Ying Wang [Mon, 2 Nov 2015 19:55:12 +0000 (19:55 +0000)]
Merge "Add _asan suffix to ro.build.flavor for ASAN builds." am: f0a8dd43b2
am: cce30b6daa

* commit 'cce30b6daae84f194a3d71a1e7c452345999c925':
  Add _asan suffix to ro.build.flavor for ASAN builds.

8 years agoMerge "Fix "make product-graph" and "make dump-products"." am: 888f30aa44
Ying Wang [Mon, 2 Nov 2015 19:55:06 +0000 (19:55 +0000)]
Merge "Fix "make product-graph" and "make dump-products"." am: 888f30aa44
am: 603e4ed594

* commit '603e4ed594b99b9463a9a67c1f7ba91b2967025e':
  Fix "make product-graph" and "make dump-products".

8 years agoMerge "Add _asan suffix to ro.build.flavor for ASAN builds."
Ying Wang [Mon, 2 Nov 2015 19:52:04 +0000 (19:52 +0000)]
Merge "Add _asan suffix to ro.build.flavor for ASAN builds."
am: f0a8dd43b2

* commit 'f0a8dd43b26d49ad67e2c6c8c936e64a62df8582':
  Add _asan suffix to ro.build.flavor for ASAN builds.

8 years agoMerge "Fix "make product-graph" and "make dump-products"."
Ying Wang [Mon, 2 Nov 2015 19:51:57 +0000 (19:51 +0000)]
Merge "Fix "make product-graph" and "make dump-products"."
am: 888f30aa44

* commit '888f30aa448370206a49ff7df940e134b8ff7017':
  Fix "make product-graph" and "make dump-products".

8 years agoMerge "Add _asan suffix to ro.build.flavor for ASAN builds."
Ying Wang [Mon, 2 Nov 2015 19:47:31 +0000 (19:47 +0000)]
Merge "Add _asan suffix to ro.build.flavor for ASAN builds."

8 years agoMerge "Fix "make product-graph" and "make dump-products"."
Ying Wang [Mon, 2 Nov 2015 19:46:53 +0000 (19:46 +0000)]
Merge "Fix "make product-graph" and "make dump-products"."

8 years agoMerge "Revert "Remove changing uids/timestamps from zip/jar files"" am: 49d8c5196e
Dan Willemsen [Thu, 29 Oct 2015 21:38:10 +0000 (21:38 +0000)]
Merge "Revert "Remove changing uids/timestamps from zip/jar files"" am: 49d8c5196e
am: d8d06da814

* commit 'd8d06da814fa02413bc3e58f3047f9a2ab61bb09':
  Revert "Remove changing uids/timestamps from zip/jar files"

8 years agoMerge "Revert "Remove changing uids/timestamps from zip/jar files""
Dan Willemsen [Thu, 29 Oct 2015 21:33:39 +0000 (21:33 +0000)]
Merge "Revert "Remove changing uids/timestamps from zip/jar files""
am: 49d8c5196e

* commit '49d8c5196eb690fc987673c27cb61087c5886be4':
  Revert "Remove changing uids/timestamps from zip/jar files"

8 years agoMerge "Revert "Remove changing uids/timestamps from zip/jar files""
Dan Willemsen [Thu, 29 Oct 2015 21:28:17 +0000 (21:28 +0000)]
Merge "Revert "Remove changing uids/timestamps from zip/jar files""

8 years agoRevert "Remove changing uids/timestamps from zip/jar files"
Dan Willemsen [Thu, 29 Oct 2015 21:26:18 +0000 (21:26 +0000)]
Revert "Remove changing uids/timestamps from zip/jar files"

This reverts commit 3c2c064c8791ed2d4b9d6780d7b87f406ab78f10.

zipalign depends on libandroidfw, and some setups don't include frameworks/base.

Bug: 24201956
Change-Id: I48ee95808924f6b2221f0a49ab205c2565096b1f

8 years agoMerge "Remove changing uids/timestamps from zip/jar files" am: 9f25219371
Dan Willemsen [Thu, 29 Oct 2015 19:15:52 +0000 (19:15 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files" am: 9f25219371
am: a51b1d532e

* commit 'a51b1d532e998c1668fd991f53c6619e02d9338a':
  Remove changing uids/timestamps from zip/jar files

8 years agoMerge "Remove changing uids/timestamps from zip/jar files"
Dan Willemsen [Thu, 29 Oct 2015 19:12:37 +0000 (19:12 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files"
am: 9f25219371

* commit '9f252193714c82dbce702e8055ffaa7eec4afe66':
  Remove changing uids/timestamps from zip/jar files

8 years agoMerge "Remove changing uids/timestamps from zip/jar files"
Dan Willemsen [Thu, 29 Oct 2015 19:07:36 +0000 (19:07 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files"

8 years agoRemove changing uids/timestamps from zip/jar files
Dan Willemsen [Tue, 27 Oct 2015 23:25:29 +0000 (16:25 -0700)]
Remove changing uids/timestamps from zip/jar files

Pass -X to zip so that Unix UID/GID and extra timestamps aren't
saved into the zip files.

Add a new option to zipalign, -t, to replace all timestamps with static
timestamps (2008 Jan 1 00:00:00). Use this for all non-APK zip files.
APK zip timestamps are set based on the certificate date in SignApk.

Bug: 24201956
Change-Id: Ifb619fc499ba9d99fc624f2acd5f8de36d78ef8e

8 years agoMerge "Honor TARGET_NO_RECOVERY flag." am: c448e91c3d
Tao Bao [Thu, 29 Oct 2015 16:49:53 +0000 (16:49 +0000)]
Merge "Honor TARGET_NO_RECOVERY flag." am: c448e91c3d
am: e5eb4567d4

* commit 'e5eb4567d408808873d7193fcaf7bfea859ea725':
  Honor TARGET_NO_RECOVERY flag.

8 years agoMerge "Error correction: Use block_image_recover in block OTAs" am: fe4e86c7fd
Sami Tolvanen [Thu, 29 Oct 2015 16:49:37 +0000 (16:49 +0000)]
Merge "Error correction: Use block_image_recover in block OTAs" am: fe4e86c7fd
am: a25cced65f

* commit 'a25cced65f3418b86ba7c3707f29838f4794f8b6':
  Error correction: Use block_image_recover in block OTAs

8 years agoMerge "Honor TARGET_NO_RECOVERY flag."
Tao Bao [Thu, 29 Oct 2015 16:45:31 +0000 (16:45 +0000)]
Merge "Honor TARGET_NO_RECOVERY flag."
am: c448e91c3d

* commit 'c448e91c3d3d095f8f200c9925f7db2ad525132f':
  Honor TARGET_NO_RECOVERY flag.

8 years agoMerge "Error correction: Use block_image_recover in block OTAs"
Sami Tolvanen [Thu, 29 Oct 2015 16:45:14 +0000 (16:45 +0000)]
Merge "Error correction: Use block_image_recover in block OTAs"
am: fe4e86c7fd

* commit 'fe4e86c7fd1b9c8903fda194b8515451c477ced9':
  Error correction: Use block_image_recover in block OTAs

8 years agoMerge "Honor TARGET_NO_RECOVERY flag."
Tao Bao [Thu, 29 Oct 2015 16:13:52 +0000 (16:13 +0000)]
Merge "Honor TARGET_NO_RECOVERY flag."

8 years agoMerge "Error correction: Use block_image_recover in block OTAs"
Sami Tolvanen [Thu, 29 Oct 2015 16:05:46 +0000 (16:05 +0000)]
Merge "Error correction: Use block_image_recover in block OTAs"

8 years agoError correction: Use block_image_recover in block OTAs
Sami Tolvanen [Thu, 25 Jun 2015 10:48:29 +0000 (11:48 +0100)]
Error correction: Use block_image_recover in block OTAs

If block_image_verify fails, attempt to recover using FEC before giving up.

Bug: 21893453
Change-Id: Ibc1fe5d28b2a8099d2b5094277b572ec08229c3a

8 years agoAdd _asan suffix to ro.build.flavor for ASAN builds.
Ying Wang [Thu, 29 Oct 2015 01:45:03 +0000 (18:45 -0700)]
Add _asan suffix to ro.build.flavor for ASAN builds.

Bug: 25344475
Change-Id: I27f2472906631239ca725ee09da2ab791cad2195

8 years agoMerge "Normalize the product makefile path in inherit-product." am: aabff90bfe
Ying Wang [Wed, 28 Oct 2015 23:59:12 +0000 (23:59 +0000)]
Merge "Normalize the product makefile path in inherit-product." am: aabff90bfe
am: 3482ea54a2

* commit '3482ea54a2fecc756c79a94f37a66113d21d7558':
  Normalize the product makefile path in inherit-product.

8 years agoMerge "Normalize the product makefile path in inherit-product."
Ying Wang [Wed, 28 Oct 2015 23:55:10 +0000 (23:55 +0000)]
Merge "Normalize the product makefile path in inherit-product."
am: aabff90bfe

* commit 'aabff90bfe2312a95d3cf57564845fef8dc469a2':
  Normalize the product makefile path in inherit-product.

8 years agoMerge "Normalize the product makefile path in inherit-product."
Ying Wang [Wed, 28 Oct 2015 23:51:57 +0000 (23:51 +0000)]
Merge "Normalize the product makefile path in inherit-product."

8 years agoFix "make product-graph" and "make dump-products".
Ying Wang [Wed, 28 Oct 2015 23:42:39 +0000 (16:42 -0700)]
Fix "make product-graph" and "make dump-products".

- For unmodified "make product-graph" and "make dump-products",
  load only the current product configuration makefiles. This is much
  faster than loading all product makefiles.
- For "make product-graph ANDROID_PRODUCT_GRAPH=--all",
  "make dump-products ANDROID_DUMP_PRODUCTS=all", load all product
  makefiles.
- Move product-graph.mk out of build tasks, so we can skip loading all
  the Android.mks, which takes long and we don't really need them.
  More importantly, with all product makefiles loaded, modules in
  Android.mks are prone to clash (if they are conditionally included
  by variables set up in product makefiles) and lead to parse-time
  error.

Change-Id: Idc1d6b0c23eb2c8bb34fdd7a1fa4d56171768d21

8 years agoNormalize the product makefile path in inherit-product.
Ying Wang [Wed, 28 Oct 2015 21:33:40 +0000 (14:33 -0700)]
Normalize the product makefile path in inherit-product.

Some vendor product makefiles call $(inherit-product) on the same
product makefile with different paths, by using "../" in relative paths.
However inherit-product requires unique path as ID for a product
makefile, for bookkeeping purpose.
Normalize the product makefile path in inherit-product, if the path
contains "../".

Change-Id: I1a864ce120c713d8e79ec179213b9fc9352aba53

8 years agoMerge "Remove use of .INTERMEDIATE" am: dda5e96b14
Colin Cross [Wed, 28 Oct 2015 21:15:27 +0000 (21:15 +0000)]
Merge "Remove use of .INTERMEDIATE" am: dda5e96b14
am: 24ef58d163

* commit '24ef58d1638716c1fdbc130e6cf871d052e9d672':
  Remove use of .INTERMEDIATE

8 years agoMerge "Remove use of .INTERMEDIATE"
Colin Cross [Wed, 28 Oct 2015 21:12:02 +0000 (21:12 +0000)]
Merge "Remove use of .INTERMEDIATE"
am: dda5e96b14

* commit 'dda5e96b144c15a75d625ceac7e92b50cf9c363a':
  Remove use of .INTERMEDIATE

8 years agoMerge "Remove use of .INTERMEDIATE"
Colin Cross [Wed, 28 Oct 2015 21:09:05 +0000 (21:09 +0000)]
Merge "Remove use of .INTERMEDIATE"

8 years agoRemove use of .INTERMEDIATE
Colin Cross [Wed, 28 Oct 2015 20:28:11 +0000 (13:28 -0700)]
Remove use of .INTERMEDIATE

make 3.81 has a bug where combining an up-to-date .INTERMEDIATE rule
with -j causes an infinite loop (http://savannah.gnu.org/bugs/?15919).
.INTERMEDIATE was only necessary to support multiple outputs while only
running a command once, remove .INTERMEDIATE by replacing
$(KATI_OUTPUTS) dependencies with $(KATI_BUILD_NINJA).  We can assume
that $(KATI_NINJA_SH) will be updated at the same time as
$(KATI_BUILD_NINJA), and not explicitly depend on it.

Also remove generateonly and fastincremental, which are no longer
necessary and were overcomplicating ninja.mk.  kati now always runs due
to FORCE, and ninja is run by a phony rule that depends on
$(KATI_BUILD_NINJA).

Bug: 25344116
Change-Id: I99d2713b1532ea11d83da9a11b1be26cfe13a5d2

8 years agoHonor TARGET_NO_RECOVERY flag.
Tao Bao [Wed, 28 Oct 2015 02:25:18 +0000 (19:25 -0700)]
Honor TARGET_NO_RECOVERY flag.

Don't generate recovery.img when calling 'make dist' if
TARGET_NO_RECOVERY is set. The build system passes the flag to the
packaging script which then generates recovery.img conditionally.

Bug: 25329471
Change-Id: Ifbc999300d5c31e897878f81e231ae7dd2aca660

8 years agoMerge "Move arm64 target to clang by default." am: befb82f204
Chih-hung Hsieh [Tue, 27 Oct 2015 23:20:46 +0000 (23:20 +0000)]
Merge "Move arm64 target to clang by default." am: befb82f204
am: b7ad8778cd

* commit 'b7ad8778cd054932a6f85bd9b3a010767ffbec04':
  Move arm64 target to clang by default.

8 years agoMerge "Move arm target to clang by default." am: 873d394c54
Chih-hung Hsieh [Tue, 27 Oct 2015 23:20:37 +0000 (23:20 +0000)]
Merge "Move arm target to clang by default." am: 873d394c54
am: 639ab89a11

* commit '639ab89a1183b91e40bb0d4f82cda61962635849':
  Move arm target to clang by default.

8 years agoMerge "Move arm64 target to clang by default."
Chih-hung Hsieh [Tue, 27 Oct 2015 23:12:23 +0000 (23:12 +0000)]
Merge "Move arm64 target to clang by default."
am: befb82f204

* commit 'befb82f20429b469aaebf6c8e7d0a2c4a0d414e3':
  Move arm64 target to clang by default.

8 years agoMerge "Move arm target to clang by default."
Chih-hung Hsieh [Tue, 27 Oct 2015 23:12:13 +0000 (23:12 +0000)]
Merge "Move arm target to clang by default."
am: 873d394c54

* commit '873d394c543e2d0ac96736db77b88e41acb5bc36':
  Move arm target to clang by default.

8 years agoMerge "Move arm64 target to clang by default."
Chih-hung Hsieh [Tue, 27 Oct 2015 23:02:26 +0000 (23:02 +0000)]
Merge "Move arm64 target to clang by default."

8 years agoMerge "Move arm target to clang by default."
Chih-hung Hsieh [Tue, 27 Oct 2015 23:02:10 +0000 (23:02 +0000)]
Merge "Move arm target to clang by default."

8 years agoMove arm64 target to clang by default.
Chih-Hung Hsieh [Tue, 27 Oct 2015 20:44:53 +0000 (13:44 -0700)]
Move arm64 target to clang by default.

Bug: 23163853
Change-Id: I59c311f552ca060bc7bd034fa4f1c03eb24802d5

8 years agoMove arm target to clang by default.
Chih-Hung Hsieh [Tue, 27 Oct 2015 20:42:34 +0000 (13:42 -0700)]
Move arm target to clang by default.

Bug: 23163853
Change-Id: I4cb95ed652ca697461e2fb22811779aa2df8d262

8 years agoMerge "Error out early on nonstandard JDK directory layouts" am: 506113d267
Colin Cross [Tue, 27 Oct 2015 19:22:07 +0000 (19:22 +0000)]
Merge "Error out early on nonstandard JDK directory layouts" am: 506113d267
am: e95cf75293

* commit 'e95cf75293c7111957229ae898ad1afd453ead50':
  Error out early on nonstandard JDK directory layouts

8 years agoMerge "Error out early on nonstandard JDK directory layouts"
Colin Cross [Tue, 27 Oct 2015 19:17:38 +0000 (19:17 +0000)]
Merge "Error out early on nonstandard JDK directory layouts"
am: 506113d267

* commit '506113d2671e8f3dd5a46b63b7996accec6acb35':
  Error out early on nonstandard JDK directory layouts

8 years agoMerge "Error out early on nonstandard JDK directory layouts"
Colin Cross [Tue, 27 Oct 2015 19:12:40 +0000 (19:12 +0000)]
Merge "Error out early on nonstandard JDK directory layouts"

8 years agoMerge "Revert "Enable gold linker for aarch64."" am: edfa0981c9
Ying Wang [Tue, 27 Oct 2015 18:55:19 +0000 (18:55 +0000)]
Merge "Revert "Enable gold linker for aarch64."" am: edfa0981c9
am: 5eccb209d0

* commit '5eccb209d06bcc9c7502d5767dbc6c9e2fc7f8c5':
  Revert "Enable gold linker for aarch64."

8 years agoMerge "Revert "Enable gold linker for aarch64.""
Ying Wang [Tue, 27 Oct 2015 18:49:07 +0000 (18:49 +0000)]
Merge "Revert "Enable gold linker for aarch64.""
am: edfa0981c9

* commit 'edfa0981c958453215fbbfccdcf6d05662cf9583':
  Revert "Enable gold linker for aarch64."

8 years agoMerge "Revert "Enable gold linker for aarch64.""
Ying Wang [Tue, 27 Oct 2015 18:36:47 +0000 (18:36 +0000)]
Merge "Revert "Enable gold linker for aarch64.""

8 years agoRevert "Enable gold linker for aarch64."
Dan Albert [Tue, 27 Oct 2015 18:18:46 +0000 (18:18 +0000)]
Revert "Enable gold linker for aarch64."

Causes build failures on Darwin.

prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: warning: cannot scan executable section 5 of out/target/product/flounder/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o for Cortex-A53 erratum because it has no mapping symbols.

prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: warning: cannot scan executable section 8 of out/target/product/flounder/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o for Cortex-A53 erratum because it has no mapping symbols.

prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: warning: cannot scan executable section 11 of out/target/product/flounder/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o for Cortex-A53 erratum because it has no mapping symbols.

prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: error: treating warnings as errors

This reverts commit 127d110172818c7dce14fefcc72b07a18686ee9c.

Change-Id: I1d3de90f5ae777b66a8f94fbcc9ccde8a9e3001c

8 years agoMerge "Update security string to 2015-12-01" into mnc-dev am: 54cb940c4a am: dfd3524f...
Zach Jang [Tue, 27 Oct 2015 00:55:45 +0000 (00:55 +0000)]
Merge "Update security string to 2015-12-01" into mnc-dev am: 54cb940c4a am: dfd3524f7b am: eca2b655e5
am: e23d93a7f2

* commit 'e23d93a7f2a0d6e0da12123dc8ed6f2e65bd805c':
  Update security string to 2015-12-01

8 years agoMerge "Update security string to 2015-12-01" into mnc-dev am: 54cb940c4a am: dfd3524f7b
Zach Jang [Tue, 27 Oct 2015 00:52:13 +0000 (00:52 +0000)]
Merge "Update security string to 2015-12-01" into mnc-dev am: 54cb940c4a am: dfd3524f7b
am: eca2b655e5

* commit 'eca2b655e5a57f0a13c55d815f6b18d8d03160fb':
  Update security string to 2015-12-01

8 years agoMerge "Update security string to 2015-12-01" into mnc-dev am: 54cb940c4a
Zach Jang [Tue, 27 Oct 2015 00:48:30 +0000 (00:48 +0000)]
Merge "Update security string to 2015-12-01" into mnc-dev am: 54cb940c4a
am: dfd3524f7b

* commit 'dfd3524f7b1fb2f0346eee7fa0dc42e8888f68aa':
  Update security string to 2015-12-01

8 years agoMerge "Update security string to 2015-12-01" into mnc-dev
Zach Jang [Tue, 27 Oct 2015 00:44:56 +0000 (00:44 +0000)]
Merge "Update security string to 2015-12-01" into mnc-dev
am: 54cb940c4a

* commit '54cb940c4a07701212e96f77ee4a89493b0f251b':
  Update security string to 2015-12-01

8 years agoMerge "Update security string to 2015-12-01" into mnc-dev
Zach Jang [Tue, 27 Oct 2015 00:37:40 +0000 (00:37 +0000)]
Merge "Update security string to 2015-12-01" into mnc-dev

8 years agoMerge "Strip LOCAL_MODULE before referencing it." am: 411b2f90a9
Ying Wang [Tue, 27 Oct 2015 00:16:05 +0000 (00:16 +0000)]
Merge "Strip LOCAL_MODULE before referencing it." am: 411b2f90a9
am: fbb85a95b5

* commit 'fbb85a95b5d1089c335106c33ce3613e3e39702a':
  Strip LOCAL_MODULE before referencing it.

8 years agoMerge "Strip LOCAL_MODULE before referencing it."
Ying Wang [Tue, 27 Oct 2015 00:12:53 +0000 (00:12 +0000)]
Merge "Strip LOCAL_MODULE before referencing it."
am: 411b2f90a9

* commit '411b2f90a95e5a471f248ec769826cf22dd12296':
  Strip LOCAL_MODULE before referencing it.

8 years agoMerge "Strip LOCAL_MODULE before referencing it."
Ying Wang [Tue, 27 Oct 2015 00:08:05 +0000 (00:08 +0000)]
Merge "Strip LOCAL_MODULE before referencing it."

8 years agoStrip LOCAL_MODULE before referencing it.
Ying Wang [Fri, 16 Oct 2015 00:47:09 +0000 (17:47 -0700)]
Strip LOCAL_MODULE before referencing it.

Bug: 24985980
Change-Id: Ic97e852aa7a8bf2d9224d3d6656d33145cc67800
(cherry-pick from commit 4d20a32a793a4a52d53b3a3a8e66cf04089093dc)

8 years agoUpdate security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8 am: cc9ac27157...
Zach Jang [Tue, 27 Oct 2015 00:05:35 +0000 (00:05 +0000)]
Update security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8 am: cc9ac27157 am: fe64ce145e  -s ours am: 0e8cf97670 am: 07e2c19536 am: a3b35dec78
am: 3c407e4573

* commit '3c407e457391816eea27e847e9f8d3da9383256a':
  Update security string to 2015-12-01 - DO NOT MERGE

8 years agoUpdate security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8 am: cc9ac27157...
Zach Jang [Tue, 27 Oct 2015 00:02:12 +0000 (00:02 +0000)]
Update security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8 am: cc9ac27157 am: fe64ce145e  -s ours am: 0e8cf97670 am: 07e2c19536
am: a3b35dec78

* commit 'a3b35dec78b8afe7e29e3d6a0fc7524b5fd846a2':
  Update security string to 2015-12-01 - DO NOT MERGE

8 years agoUpdate security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8 am: cc9ac27157...
Zach Jang [Mon, 26 Oct 2015 23:57:13 +0000 (23:57 +0000)]
Update security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8 am: cc9ac27157 am: fe64ce145e  -s ours am: 0e8cf97670
am: 07e2c19536

* commit '07e2c195367119faa4645d3f9f0dcb1c6aba7396':
  Update security string to 2015-12-01 - DO NOT MERGE

8 years agoUpdate security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8 am: cc9ac27157...
Zach Jang [Mon, 26 Oct 2015 23:52:50 +0000 (23:52 +0000)]
Update security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8 am: cc9ac27157 am: fe64ce145e  -s ours
am: 0e8cf97670

* commit '0e8cf97670c0b0a59d326507296829fe1bc01230':
  Update security string to 2015-12-01 - DO NOT MERGE

8 years agoUpdate security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8 am: cc9ac27157
Zach Jang [Mon, 26 Oct 2015 23:49:22 +0000 (23:49 +0000)]
Update security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8 am: cc9ac27157
am: fe64ce145e  -s ours

* commit 'fe64ce145e243fb3fde5a788bcd800c2987da37c':
  Update security string to 2015-12-01 - DO NOT MERGE

8 years agoUpdate security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8
Zach Jang [Mon, 26 Oct 2015 23:46:01 +0000 (23:46 +0000)]
Update security string to 2015-12-01 - DO NOT MERGE am: 6575d4a2a8
am: cc9ac27157

* commit 'cc9ac271575b4c1ef3a2bff3fbdaf2b201c6e75d':
  Update security string to 2015-12-01 - DO NOT MERGE

8 years agoUpdate security string to 2015-12-01 - DO NOT MERGE
Zach Jang [Mon, 26 Oct 2015 23:42:57 +0000 (23:42 +0000)]
Update security string to 2015-12-01 - DO NOT MERGE
am: 6575d4a2a8

* commit '6575d4a2a8c78a703e5c2e2889ecb358668d1bbd':
  Update security string to 2015-12-01 - DO NOT MERGE

8 years agoMerge "Drop GCC back to C++11." am: dba46710fe
Dan Albert [Mon, 26 Oct 2015 21:14:46 +0000 (21:14 +0000)]
Merge "Drop GCC back to C++11." am: dba46710fe
am: a01ec70d92

* commit 'a01ec70d92fa95d0851171f9f40eeb6d4dcb7dd3':
  Drop GCC back to C++11.

8 years agoMerge "Drop GCC back to C++11."
Dan Albert [Mon, 26 Oct 2015 21:10:15 +0000 (21:10 +0000)]
Merge "Drop GCC back to C++11."
am: dba46710fe

* commit 'dba46710fe5bb0ea3bea8c3c0fea76273d343ff3':
  Drop GCC back to C++11.

8 years agoMerge "Drop GCC back to C++11."
Dan Albert [Mon, 26 Oct 2015 21:05:39 +0000 (21:05 +0000)]
Merge "Drop GCC back to C++11."

8 years agoDrop GCC back to C++11.
Dan Albert [Mon, 26 Oct 2015 18:09:24 +0000 (11:09 -0700)]
Drop GCC back to C++11.

Our GCC does not use a valid C++14 ABI.

Bug: http://b/25022512
Change-Id: I6f4b3450137c24a6a0c00bf956bae7a0ba280094

8 years agoMerge "Enable gold linker for aarch64." am: 14c2d968b9
Than McIntosh [Mon, 26 Oct 2015 12:31:34 +0000 (12:31 +0000)]
Merge "Enable gold linker for aarch64." am: 14c2d968b9
am: 52cc54dcee

* commit '52cc54dceeb17fa6818b6a3e1496c894cb2bd231':
  Enable gold linker for aarch64.

8 years agoMerge "Enable gold linker for aarch64."
Than McIntosh [Mon, 26 Oct 2015 12:27:28 +0000 (12:27 +0000)]
Merge "Enable gold linker for aarch64."
am: 14c2d968b9

* commit '14c2d968b913573e7a21fe72723254c9cc277210':
  Enable gold linker for aarch64.

8 years agoMerge "Enable gold linker for aarch64."
Than McIntosh [Mon, 26 Oct 2015 12:22:26 +0000 (12:22 +0000)]
Merge "Enable gold linker for aarch64."

8 years agoMerge "Add dummy description for GET-INSTALL-PATH" am: 9d192f1c10
Colin Cross [Sat, 24 Oct 2015 21:15:53 +0000 (21:15 +0000)]
Merge "Add dummy description for GET-INSTALL-PATH" am: 9d192f1c10
am: bc20982b40

* commit 'bc20982b405a228984f9242957a23db6d463aad2':
  Add dummy description for GET-INSTALL-PATH

8 years agoMerge "Add dummy description for GET-INSTALL-PATH"
Colin Cross [Sat, 24 Oct 2015 21:13:05 +0000 (21:13 +0000)]
Merge "Add dummy description for GET-INSTALL-PATH"
am: 9d192f1c10

* commit '9d192f1c1090a757c9218296457482d2ba737989':
  Add dummy description for GET-INSTALL-PATH

8 years agoMerge "Add dummy description for GET-INSTALL-PATH"
Colin Cross [Sat, 24 Oct 2015 21:09:34 +0000 (21:09 +0000)]
Merge "Add dummy description for GET-INSTALL-PATH"

8 years agoAdd dummy description for GET-INSTALL-PATH
Colin Cross [Sat, 24 Oct 2015 04:38:12 +0000 (21:38 -0700)]
Add dummy description for GET-INSTALL-PATH

kati takes the first @echo command in a rule and turns it in to a ninja
description that gets pretty-printed.  The GET-INSTALL-PATH is only
@echo commands and is parsed by development/testrunner/runtest.py, so
it fails to parse the pretty-printed first test.

Add a dummy @echo to GET-INSTALL-PATH for kati to use as the
description, so the rest of the @echo commands are left unmodified.

Change-Id: I192fde48b26726a2f6760448f819243bd2f21312

8 years agoError out early on nonstandard JDK directory layouts
Colin Cross [Fri, 23 Oct 2015 21:33:51 +0000 (14:33 -0700)]
Error out early on nonstandard JDK directory layouts

On Darwin, javac may be located in a nonstandard directory layout such as:
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javac
The sed command to replace bin/javac with lib/tools.jar would fail to
match, resulting in the HOST_JDK_TOOLS_JAR being set to the javac path.
Since javac exists, the checks for missing tools.jar would all pass, and
javac would be added to the classpath instead of tools.jar, and causing
hard to debug errors about missing com.sun.javadoc when building doclava.

Change the sed command to replace /javac$, which should always be found,
with /../lib/tools.jar.

Change-Id: I5072f04636a5c14b3aeaa3a5cc3b366feae89c37

8 years agoMerge "Normalize java source file paths before running "sort -u"." am: 0d4dad46f4
Ying Wang [Fri, 23 Oct 2015 20:28:15 +0000 (20:28 +0000)]
Merge "Normalize java source file paths before running "sort -u"." am: 0d4dad46f4
am: 471d347b89

* commit '471d347b8928e6b030d94869a2a9229086b79528':
  Normalize java source file paths before running "sort -u".

8 years agoMerge "Normalize java source file paths before running "sort -u"."
Ying Wang [Fri, 23 Oct 2015 20:24:52 +0000 (20:24 +0000)]
Merge "Normalize java source file paths before running "sort -u"."
am: 0d4dad46f4

* commit '0d4dad46f44d6f4a498a1a8205a4b26ae2e55ac5':
  Normalize java source file paths before running "sort -u".