OSDN Git Service

android-x86/build.git
8 years agochange name of offline doc tab to "API reference" and put the version number in the...
smain@google.com [Thu, 10 Mar 2016 18:09:18 +0000 (18:09 +0000)]
change name of offline doc tab to "API reference" and put the version number in the secondary nav bar (it was there anyway).
am: 5e37eef425

* commit '5e37eef4255bb1b3709d0d99e004003728eaf3c7':
  change name of offline doc tab to "API reference" and put the version number in the secondary nav bar (it was there anyway).

8 years agochange name of offline doc tab to "API reference"
smain@google.com [Wed, 9 Mar 2016 23:36:12 +0000 (15:36 -0800)]
change name of offline doc tab to "API reference"
and put the version number in the secondary nav bar (it was there anyway).

Change-Id: I4b49581eca6afa445a434cd6ae31572d01f276ef
(cherry picked from commit 06bdd78284057b399da728c1cfa1e2238ba84c37)

8 years agoresolve merge conflicts of e82f56c4f7 to nyc-dev-plus-aosp
Neil Fuller [Thu, 10 Mar 2016 10:00:14 +0000 (10:00 +0000)]
resolve merge conflicts of e82f56c4f7 to nyc-dev-plus-aosp

Change-Id: I7b673e680240d0a597af971b6d903327875c4734

8 years agoMerge "Make the language version selection smarter" into nyc-dev
Neil Fuller [Thu, 10 Mar 2016 09:45:55 +0000 (09:45 +0000)]
Merge "Make the language version selection smarter" into nyc-dev

8 years agoMerge "Use hermetic ckati/makeparallel prebuilts"
Dan Willemsen [Thu, 10 Mar 2016 07:28:56 +0000 (07:28 +0000)]
Merge "Use hermetic ckati/makeparallel prebuilts"
am: b8744a26e4

* commit 'b8744a26e45d269c8fdad98d56c5df45984a6d5d':
  Use hermetic ckati/makeparallel prebuilts

8 years agoMerge "Use hermetic ckati/makeparallel prebuilts"
Dan Willemsen [Thu, 10 Mar 2016 07:22:37 +0000 (07:22 +0000)]
Merge "Use hermetic ckati/makeparallel prebuilts"

8 years agoMerge "Turn off excess printing during the build which makes errors harder to find."
Joe Onorato [Thu, 10 Mar 2016 02:16:14 +0000 (02:16 +0000)]
Merge "Turn off excess printing during the build which makes errors harder to find."
am: a778fa1976

* commit 'a778fa197634aa888548ec1171c57d2553508980':
  Turn off excess printing during the build which makes errors harder to find.

8 years agoMerge "Turn off excess printing during the build which makes errors harder to find."
Ying Wang [Thu, 10 Mar 2016 02:09:59 +0000 (02:09 +0000)]
Merge "Turn off excess printing during the build which makes errors harder to find."

8 years agoTurn off excess printing during the build which makes errors harder to find.
Joe Onorato [Wed, 9 Mar 2016 22:48:46 +0000 (14:48 -0800)]
Turn off excess printing during the build which makes errors harder to find.

Change-Id: I588de5ddc0aa7dcaacc4ea185c13c2fa3748888a
(cherry-pick from commit 401ffaeb7560fa088d540ed1c150c3f196ebf993)

8 years agoTurn off excess printing during the build which makes errors harder to find.
Joe Onorato [Thu, 10 Mar 2016 02:06:11 +0000 (02:06 +0000)]
Turn off excess printing during the build which makes errors harder to find.
am: 401ffaeb75

* commit '401ffaeb7560fa088d540ed1c150c3f196ebf993':
  Turn off excess printing during the build which makes errors harder to find.

8 years agoUse hermetic ckati/makeparallel prebuilts
Dan Willemsen [Tue, 8 Mar 2016 19:12:40 +0000 (11:12 -0800)]
Use hermetic ckati/makeparallel prebuilts

Currently, we're building against the native host version of libc++ and
other headers. Instead, use prebuilts of ckati/makeparallel built with
Soong against the included libc++ and sysroot. Building ckati /
makeparallel doesn't work well in unbundled branches that don't have all
of the libc++ dependencies to do successful host builds.

KATI is default variable defined when running under Kati, don't use it
for other purposes. Use CKATI instead.

Bug: 27533820
Change-Id: I82d66f5e34e3341a3cee4c5c83cd1d9a54d057ff

8 years agoTurn off excess printing during the build which makes errors harder to find.
Joe Onorato [Wed, 9 Mar 2016 22:48:46 +0000 (14:48 -0800)]
Turn off excess printing during the build which makes errors harder to find.

Change-Id: I588de5ddc0aa7dcaacc4ea185c13c2fa3748888a

8 years agoMerge "Define TARGET_OUT_VENDOR_APPS_PRIVILEGED"
Benjamin Pujol [Wed, 9 Mar 2016 21:08:10 +0000 (21:08 +0000)]
Merge "Define TARGET_OUT_VENDOR_APPS_PRIVILEGED"
am: 27c3223a77

* commit '27c3223a7705dc8141002c87893fd507cb91732e':
  Define TARGET_OUT_VENDOR_APPS_PRIVILEGED

8 years agoMerge "Hook incremental ext4 image generation into build" into nyc-dev
Mohamad Ayyash [Wed, 9 Mar 2016 21:07:30 +0000 (21:07 +0000)]
Merge "Hook incremental ext4 image generation into build" into nyc-dev
am: 6a3185f23d

* commit '6a3185f23d820f31cc928d5467eda94f3a93e31c':
  Hook incremental ext4 image generation into build

8 years agoMerge "Hook incremental ext4 image generation into build" into nyc-dev
Mohamad Ayyash [Wed, 9 Mar 2016 20:56:18 +0000 (20:56 +0000)]
Merge "Hook incremental ext4 image generation into build" into nyc-dev

8 years agoMerge "Define TARGET_OUT_VENDOR_APPS_PRIVILEGED"
Todd Kennedy [Wed, 9 Mar 2016 20:54:22 +0000 (20:54 +0000)]
Merge "Define TARGET_OUT_VENDOR_APPS_PRIVILEGED"

8 years agoMerge "OSX: Use the oldest SDK, but always set our target to 10.8"
Dan Willemsen [Wed, 9 Mar 2016 20:33:51 +0000 (20:33 +0000)]
Merge "OSX: Use the oldest SDK, but always set our target to 10.8"
am: 010c630f63

* commit '010c630f63dc948c4ef328a7735e0d18d5dda67e':
  OSX: Use the oldest SDK, but always set our target to 10.8

8 years agoMerge "OSX: Use the oldest SDK, but always set our target to 10.8"
Dan Willemsen [Wed, 9 Mar 2016 20:27:57 +0000 (20:27 +0000)]
Merge "OSX: Use the oldest SDK, but always set our target to 10.8"

8 years agoresolve merge conflicts of e607224349 to nyc-dev-plus-aosp
Dan Willemsen [Wed, 9 Mar 2016 19:28:51 +0000 (11:28 -0800)]
resolve merge conflicts of e607224349 to nyc-dev-plus-aosp

Change-Id: I659925e8169cb90eb9e6066eadd09b6789092a8d

8 years agoOSX: Use the oldest SDK, but always set our target to 10.8
Dan Willemsen [Tue, 8 Mar 2016 23:20:30 +0000 (15:20 -0800)]
OSX: Use the oldest SDK, but always set our target to 10.8

Build binaries usable on older machines even if older SDKs are not
installed. Older SDKs can no longer be installed on newer Xcode
versions.

Change-Id: I0c9f2534466a127a19107820879c2856bfac0076

8 years agoMerge changes I1fccee8d,Ib343df6d,I2f1984c2
Dan Willemsen [Wed, 9 Mar 2016 18:31:17 +0000 (18:31 +0000)]
Merge changes I1fccee8d,Ib343df6d,I2f1984c2

* changes:
  Fix C++ on Darwin
  Remove support for /Developer
  Remove support for Darwin 10.6 SDK

8 years agoMerge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark." into nyc-dev
Elliott Hughes [Wed, 9 Mar 2016 16:49:44 +0000 (16:49 +0000)]
Merge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark." into nyc-dev
am: b59457f852

* commit 'b59457f852e4d011f4ad0b2b17d351c9427dcf6c':
  Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark.

8 years agoMerge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark." into nyc-dev
Elliott Hughes [Wed, 9 Mar 2016 15:56:50 +0000 (15:56 +0000)]
Merge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark." into nyc-dev

8 years agoresolve merge conflicts of 2ad8b97577 to nyc-dev
Tao Bao [Wed, 9 Mar 2016 05:43:17 +0000 (05:43 +0000)]
resolve merge conflicts of 2ad8b97577 to nyc-dev
am: 00ed831a11

* commit '00ed831a11f1fd55414299fc5d549472d0454a19':
  Use the update-binary in the source build for downgrade OTAs.

8 years agoresolve merge conflicts of 2ad8b97577 to nyc-dev
Tao Bao [Wed, 9 Mar 2016 05:39:13 +0000 (21:39 -0800)]
resolve merge conflicts of 2ad8b97577 to nyc-dev

Change-Id: Ifa7501e58dd25e73ed760b1383a1873e4d449885

8 years agoUse the update-binary in the source build for downgrade OTAs. am: fa41fb2705
Tao Bao [Wed, 9 Mar 2016 05:29:30 +0000 (05:29 +0000)]
Use the update-binary in the source build for downgrade OTAs. am: fa41fb2705
am: 7302eb7dd6

* commit '7302eb7dd6bd22c6123bd0b252889732e215592e':
  Use the update-binary in the source build for downgrade OTAs.

8 years agoUse the update-binary in the source build for downgrade OTAs.
Tao Bao [Wed, 9 Mar 2016 05:27:36 +0000 (05:27 +0000)]
Use the update-binary in the source build for downgrade OTAs.
am: fa41fb2705

* commit 'fa41fb27054185b3fba0519d01dabd21444fe772':
  Use the update-binary in the source build for downgrade OTAs.

8 years agoMerge "Install boot.art extra files individually" into nyc-dev
Colin Cross [Wed, 9 Mar 2016 04:49:49 +0000 (04:49 +0000)]
Merge "Install boot.art extra files individually" into nyc-dev
am: 8e47cb7d82

* commit '8e47cb7d821d52fd85191f6bdb8c7998fbdb29f5':
  Install boot.art extra files individually

8 years agoMerge "Install boot.art extra files individually" into nyc-dev
Colin Cross [Wed, 9 Mar 2016 04:45:39 +0000 (04:45 +0000)]
Merge "Install boot.art extra files individually" into nyc-dev

8 years agoFix C++ on Darwin
Dan Willemsen [Tue, 8 Mar 2016 23:25:02 +0000 (15:25 -0800)]
Fix C++ on Darwin

We've been including the system libc++ headers even if we're building
against our version of libc++. Stop doing that, and only add the headers
to our path if we're using the system libraries.

If nothing is specified, on recent OSX versions, libc++ is the default
c++ library instead of libstdc++. We've been explicitly including the
libc++ headers on all versions, but that breaks old versions. Force us
over to libc++, since the system libstdc++ does not support C++11, and
libc++ is still supported on our oldest version (10.8).

Change-Id: I1fccee8da0f425e10ccc9d3247ed40664eb6ada0

8 years agoMerge "Use the update-binary in the source build for downgrade OTAs."
Tao Bao [Wed, 9 Mar 2016 03:32:44 +0000 (03:32 +0000)]
Merge "Use the update-binary in the source build for downgrade OTAs."
am: 6be54d774b

* commit '6be54d774ba13c79e96b12b797e95bd5bdba0344':
  Use the update-binary in the source build for downgrade OTAs.

8 years agoMerge "Use the update-binary in the source build for downgrade OTAs."
Tao Bao [Wed, 9 Mar 2016 03:26:19 +0000 (03:26 +0000)]
Merge "Use the update-binary in the source build for downgrade OTAs."

8 years agoreleasetools: Fix the bug in AssertSequenceGood.
Tao Bao [Wed, 9 Mar 2016 03:05:28 +0000 (03:05 +0000)]
releasetools: Fix the bug in AssertSequenceGood.
am: ff75c23086

* commit 'ff75c230860ff3e88c1e73cfcc62270d76af29bc':
  releasetools: Fix the bug in AssertSequenceGood.

8 years agoreleasetools: Fix the bug in AssertSequenceGood.
Tao Bao [Fri, 4 Mar 2016 23:23:34 +0000 (15:23 -0800)]
releasetools: Fix the bug in AssertSequenceGood.

We use a bitset for blocks in the target image to assert a block hasn't
been touched before reading. Skip checking the blocks that are in the
source image only.

Bug: 27556903
Change-Id: I3a77292da673c813bd20d8dc177ff36419d8ecae
(cherry picked from commit dca2200c8aa09b08ba0d37410a7826b737caecf2)

8 years agoUse the update-binary in the source build for downgrade OTAs.
Tao Bao [Wed, 9 Mar 2016 01:53:39 +0000 (17:53 -0800)]
Use the update-binary in the source build for downgrade OTAs.

We used to use the update-binary from the target build when creating
incremental OTAs. But for downgrade OTAs, we should use the one in the
source build instead, which is actually newer.

Bug: 27556903
Change-Id: Ib6415729b979dbffdebdda24902f7f560942801a
(cherry picked from commit 4996cf03d2321eef56a8163c7fc73ba9976e1021)

8 years agoInstall boot.art extra files individually
Colin Cross [Tue, 8 Mar 2016 21:21:49 +0000 (13:21 -0800)]
Install boot.art extra files individually

The rule that builds boot.art also produces boot.oat, boot-*.art, and
boot-*.oat as a side effect, and the install rule for boot.art was
installing them using *.art and *.oat.  This meant that PDK builds had
no rule to install the extra files, so it used the ones from the
platform.zip file instead of the locally built ones.

Generate a list of the files that should be produced by the boot.art
build, and manually create install rules for them that depend on the
built boot.art and are depended on by the installed boot.art.

Bug: 27546601
Change-Id: I9734491c3179bca2d4b2ae13b0c6a03e4c26b0b2

8 years agoUse the update-binary in the source build for downgrade OTAs.
Tao Bao [Wed, 9 Mar 2016 01:53:39 +0000 (17:53 -0800)]
Use the update-binary in the source build for downgrade OTAs.

We used to use the update-binary from the target build when creating
incremental OTAs. But for downgrade OTAs, we should use the one in the
source build instead, which is actually newer.

Bug: 27556903
Change-Id: Ib6415729b979dbffdebdda24902f7f560942801a

8 years agoMove BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark.
Elliott Hughes [Fri, 4 Mar 2016 21:37:43 +0000 (13:37 -0800)]
Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark.

Bug: http://b/24803663

(cherry picked from commit 577f8407e915fd278d089968bdafdad171f8c3d1)

Change-Id: If1af37c419abe284677253c33de45dcb5ef6ea8d

8 years agoRemove support for /Developer
Dan Willemsen [Tue, 8 Mar 2016 21:23:23 +0000 (13:23 -0800)]
Remove support for /Developer

/Developer was removed in Xcode 4.3. Our minimum SDK version is 10.8,
which implies at least Xcode 4.4, and our documentation requires
Xcode 4.5.2.

Change-Id: Ib343df6ded6e98222d8ee2e542e1f3fadd2b1397

8 years agoAdd new templates directory for "reference only" builds. The only difference is that...
smain@google.com [Tue, 8 Mar 2016 21:36:29 +0000 (21:36 +0000)]
Add new templates directory for "reference only" builds. The only difference is that this changes the masthead.cs file to show a different header.
am: b8b72c14e5

* commit 'b8b72c14e5eaaabcb630a1174a1e03a809f340f0':
  Add new templates directory for "reference only" builds. The only difference is that this changes the masthead.cs file to show a different header.

8 years agoAdd new templates directory for "reference only" builds.
smain@google.com [Tue, 8 Mar 2016 02:43:21 +0000 (18:43 -0800)]
Add new templates directory for "reference only" builds.
The only difference is that this changes the masthead.cs file to show a different header.

Change-Id: Id58eb7e8c42a8ab0886f2f5da794fcd108f299ff
(cherry picked from commit 5fea5df99cc93dba5388e0f033c2af931ac2cb33)

8 years agoRemove support for Darwin 10.6 SDK
Dan Willemsen [Tue, 8 Mar 2016 21:22:36 +0000 (13:22 -0800)]
Remove support for Darwin 10.6 SDK

Our minimum version is 10.8

Change-Id: I2f1984c2227861a3c784f2a5070853c2d1b250d6

8 years agobuild: pass version and patch level to mkbootimg
Sami Tolvanen [Tue, 8 Mar 2016 17:03:42 +0000 (17:03 +0000)]
build: pass version and patch level to mkbootimg
am: e555f77962

* commit 'e555f779626faeeddd8d23339241fa6a9240fa28':
  build: pass version and patch level to mkbootimg

8 years agobuild: pass version and patch level to mkbootimg
Sami Tolvanen [Fri, 4 Mar 2016 23:41:02 +0000 (15:41 -0800)]
build: pass version and patch level to mkbootimg

Add --os_version and --os_patch_level arguments to mkbootimg.

Needs matching changes from
  I57682611e0c27fec5ed284da7d9a788383ff98b1

Bug: 27498078
Bug: 22914603
Change-Id: I04e20b0de40d864aac92ac7bcf466a6cbde3d0e4
(cherry pick from commit 8fb47f191f804d21e252ef7bb66886ea087c2d56)

8 years agoMerge "build: pass version and patch level to mkbootimg" am: b32d845090
Sami Tolvanen [Tue, 8 Mar 2016 16:10:23 +0000 (16:10 +0000)]
Merge "build: pass version and patch level to mkbootimg" am: b32d845090
am: 450f15111c

* commit '450f15111ccd9fa54382e159a145954273f45b15':
  build: pass version and patch level to mkbootimg

8 years agoMerge "build: pass version and patch level to mkbootimg"
Sami Tolvanen [Tue, 8 Mar 2016 16:08:14 +0000 (16:08 +0000)]
Merge "build: pass version and patch level to mkbootimg"
am: b32d845090

* commit 'b32d845090d19d2dfbbf32d4628ef81478325927':
  build: pass version and patch level to mkbootimg

8 years agoMerge "build: pass version and patch level to mkbootimg"
Sami Tolvanen [Tue, 8 Mar 2016 16:02:24 +0000 (16:02 +0000)]
Merge "build: pass version and patch level to mkbootimg"

8 years agoMake the language version selection smarter
Neil Fuller [Fri, 4 Mar 2016 18:00:00 +0000 (18:00 +0000)]
Make the language version selection smarter

Any artifacts that are targeting SDK versions < 24
and not explicitly setting the LOCAL_JAVA_LANGUAGE_VERSION
are now defaulted to 1.7.

Bug: 27495650
Bug: 26753820
Bug: 27377071
Change-Id: Ia903cd5bf14c1947c485384d095a93c0aa23d272

8 years agoMerge "Reexport include dirs for whole static libs" am: e2379484ab
Dan Willemsen [Tue, 8 Mar 2016 07:46:03 +0000 (07:46 +0000)]
Merge "Reexport include dirs for whole static libs" am: e2379484ab
am: 90074f7f1f

* commit '90074f7f1f128cbd528d6d709bb3aa2d22783884':
  Reexport include dirs for whole static libs

8 years agoMerge "Removed duplicate definition of E2FSCK" am: d7a4e56a87
Martin Blumenstingl [Tue, 8 Mar 2016 07:45:51 +0000 (07:45 +0000)]
Merge "Removed duplicate definition of E2FSCK" am: d7a4e56a87
am: 7b578cbf10

* commit '7b578cbf10aab7460a0cc4e5735870a714ddac1b':
  Removed duplicate definition of E2FSCK

8 years agoMerge "releasetools: Fix the bug in AssertSequenceGood." am: 236e664efa
Tao Bao [Tue, 8 Mar 2016 07:45:37 +0000 (07:45 +0000)]
Merge "releasetools: Fix the bug in AssertSequenceGood." am: 236e664efa
am: cc9c8ce966

* commit 'cc9c8ce96639e0e7c100744703733ff3bb5c75ce':
  releasetools: Fix the bug in AssertSequenceGood.

8 years agoMerge "Use ulimit -p rather than prlimit." am: 74d4d98be1
Elliott Hughes [Tue, 8 Mar 2016 07:45:25 +0000 (07:45 +0000)]
Merge "Use ulimit -p rather than prlimit." am: 74d4d98be1
am: e9f81ac2cd

* commit 'e9f81ac2cd94f637078c9c8267fd3d9ee70a8c5f':
  Use ulimit -p rather than prlimit.

8 years agoMerge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark." am: ef0c20621d
Elliott Hughes [Tue, 8 Mar 2016 07:45:11 +0000 (07:45 +0000)]
Merge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark." am: ef0c20621d
am: 9c34174b76

* commit '9c34174b7620142ae7f8116d097996a4a0f15d30':
  Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark.

8 years agoresolve merge conflicts of 08a3a32fa9 to nyc-dev
Tao Bao [Tue, 8 Mar 2016 05:53:27 +0000 (05:53 +0000)]
resolve merge conflicts of 08a3a32fa9 to nyc-dev
am: 84bc4b78cc

* commit '84bc4b78cc188e795e94eedc437cf9c5567c6506':
  DO NOT MERGE releasetools: Support generating downgrade incremental OTAs.

8 years agoresolve merge conflicts of 08a3a32fa9 to nyc-dev
Tao Bao [Tue, 8 Mar 2016 05:49:33 +0000 (21:49 -0800)]
resolve merge conflicts of 08a3a32fa9 to nyc-dev

Change-Id: I6fd55b3d2bd0c396018163dd4f54970cb55432cd

8 years agoresolve merge conflicts of 177c610e7f to cw-e-dev
Tao Bao [Tue, 8 Mar 2016 05:37:27 +0000 (05:37 +0000)]
resolve merge conflicts of 177c610e7f to cw-e-dev
am: bd25fcdc02

* commit 'bd25fcdc02a94ec9f50fc431a3731484b9812e23':
  DO NOT MERGE releasetools: Support generating downgrade incremental OTAs.

8 years agoresolve merge conflicts of 177c610e7f to cw-e-dev
Tao Bao [Tue, 8 Mar 2016 05:24:40 +0000 (21:24 -0800)]
resolve merge conflicts of 177c610e7f to cw-e-dev

Change-Id: Iba7820247d0b53d7f9553290eb0db3547f31beda

8 years agoDO NOT MERGE releasetools: Support generating downgrade incremental OTAs.
Tao Bao [Tue, 23 Feb 2016 19:38:39 +0000 (11:38 -0800)]
DO NOT MERGE releasetools: Support generating downgrade incremental OTAs.

Add --downgrade flag to ota_from_target_files.py script. It allows
generating an incremental OTA that updates from a newer build to an
older one (based on timestamp comparison). "post-timestamp" line in the
metadata file will be replaced by "ota-downgrade=yes". A data wipe will
always be enforced, so "ota-wipe=yes" will also be included in the
metadata file.

Bug: 26883782
Change-Id: Iaa05f662d948b7ab632a9fbb7051cc3f8bf68c21
(cherry picked from commit 5d1825664a0fec256fa28d62aadcac96f59a41b2)

8 years agoEnable LOCAL_POST_LINK_CMD for non-static executables.
Yabin Cui [Tue, 8 Mar 2016 00:19:32 +0000 (00:19 +0000)]
Enable LOCAL_POST_LINK_CMD for non-static executables.
am: 9963b699f3

* commit '9963b699f3b58043bf6fd5720a4a816eb8219bd2':
  Enable LOCAL_POST_LINK_CMD for non-static executables.

8 years agoMerge "Reexport include dirs for whole static libs"
Dan Willemsen [Tue, 8 Mar 2016 00:16:45 +0000 (00:16 +0000)]
Merge "Reexport include dirs for whole static libs"
am: e2379484ab

* commit 'e2379484ab96e7e5f9a60061557e492068ef1789':
  Reexport include dirs for whole static libs

8 years agoMerge "Reexport include dirs for whole static libs"
Dan Willemsen [Tue, 8 Mar 2016 00:14:02 +0000 (00:14 +0000)]
Merge "Reexport include dirs for whole static libs"

8 years agoMerge "Removed duplicate definition of E2FSCK"
Martin Blumenstingl [Tue, 8 Mar 2016 00:05:12 +0000 (00:05 +0000)]
Merge "Removed duplicate definition of E2FSCK"
am: d7a4e56a87

* commit 'd7a4e56a87c324378e60f5989a14a5d5addfd456':
  Removed duplicate definition of E2FSCK

8 years agoMerge "Removed duplicate definition of E2FSCK"
Colin Cross [Mon, 7 Mar 2016 23:54:40 +0000 (23:54 +0000)]
Merge "Removed duplicate definition of E2FSCK"

8 years agoMerge "releasetools: Fix the bug in AssertSequenceGood."
Tao Bao [Mon, 7 Mar 2016 22:35:40 +0000 (22:35 +0000)]
Merge "releasetools: Fix the bug in AssertSequenceGood."
am: 236e664efa

* commit '236e664efa04bd92ce28ba553afebf8e79ca17fa':
  releasetools: Fix the bug in AssertSequenceGood.

8 years agoMerge "releasetools: Fix the bug in AssertSequenceGood."
Tao Bao [Mon, 7 Mar 2016 22:25:02 +0000 (22:25 +0000)]
Merge "releasetools: Fix the bug in AssertSequenceGood."

8 years agoMerge "Use ulimit -p rather than prlimit."
Elliott Hughes [Mon, 7 Mar 2016 22:17:37 +0000 (22:17 +0000)]
Merge "Use ulimit -p rather than prlimit."
am: 74d4d98be1

* commit '74d4d98be1156982a1ab9a26be1dac26ee4e51d1':
  Use ulimit -p rather than prlimit.

8 years agoMerge "Use ulimit -p rather than prlimit."
Elliott Hughes [Mon, 7 Mar 2016 22:10:44 +0000 (22:10 +0000)]
Merge "Use ulimit -p rather than prlimit."

8 years agoUse ulimit -p rather than prlimit.
Elliott Hughes [Mon, 7 Mar 2016 21:53:53 +0000 (13:53 -0800)]
Use ulimit -p rather than prlimit.

Neither is standard, but ulimit is toybox and therefore a bit more
regular and at least has help text.

Change-Id: Id7ba9adc9ca256b821d8060506010abef30dee28

8 years agoFix dumping variables of absolute paths.
Ying Wang [Mon, 7 Mar 2016 21:34:55 +0000 (21:34 +0000)]
Fix dumping variables of absolute paths.
am: f56ffa5851

* commit 'f56ffa5851f0f51a8e19693d44fb6e1c3d9debb9':
  Fix dumping variables of absolute paths.

8 years agoMerge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark."
Elliott Hughes [Mon, 7 Mar 2016 21:22:53 +0000 (21:22 +0000)]
Merge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark."
am: ef0c20621d

* commit 'ef0c20621d7b82f25f8fa669a0b2d8031588169d':
  Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark.

8 years agoEnable LOCAL_POST_LINK_CMD for non-static executables.
Yabin Cui [Wed, 2 Mar 2016 22:03:41 +0000 (14:03 -0800)]
Enable LOCAL_POST_LINK_CMD for non-static executables.

It is needed to insert testdata section into simpleperf cts test.

Bug: 27387280
Change-Id: I58cea106d135f535626d8624a016bd2aaceeb8ea
(cherry picked from commit 273e9109c1cefb760d96b8707d75704d733cc38b)

8 years agoMerge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark."
Elliott Hughes [Mon, 7 Mar 2016 21:17:45 +0000 (21:17 +0000)]
Merge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark."

8 years agoMerge "Fix dumping variables of absolute paths." am: dd70b91060
Ying Wang [Mon, 7 Mar 2016 20:06:03 +0000 (20:06 +0000)]
Merge "Fix dumping variables of absolute paths." am: dd70b91060
am: ad68d904a1

* commit 'ad68d904a1bdcb1a64f4a5b1e35cd38e085021e2':
  Fix dumping variables of absolute paths.

8 years agoMerge "Fix dumping variables of absolute paths."
Ying Wang [Mon, 7 Mar 2016 20:04:13 +0000 (20:04 +0000)]
Merge "Fix dumping variables of absolute paths."
am: dd70b91060

* commit 'dd70b9106079f39738c129c6f874576748f92d3e':
  Fix dumping variables of absolute paths.

8 years agoFix dumping variables of absolute paths.
Ying Wang [Mon, 7 Mar 2016 19:27:20 +0000 (11:27 -0800)]
Fix dumping variables of absolute paths.

Calling $(abspath) is better than checking and prepending $(PWD) if
necessary.

Bug: 27429759
Change-Id: Ia156f8a5d6b88b6090f4d23c7f9166bd62d3ab70
(cherry-pick from commit 80ceadc94526d6c48c0022bf25281bb522914a3d)

8 years agoMerge "Fix dumping variables of absolute paths."
Ying Wang [Mon, 7 Mar 2016 19:58:14 +0000 (19:58 +0000)]
Merge "Fix dumping variables of absolute paths."

8 years agobuild: pass version and patch level to mkbootimg
Sami Tolvanen [Fri, 4 Mar 2016 23:41:02 +0000 (15:41 -0800)]
build: pass version and patch level to mkbootimg

Add --os_version and --os_patch_level arguments to mkbootimg.

Needs matching changes from
  I57682611e0c27fec5ed284da7d9a788383ff98b1

Bug: 27498078
Bug: 22914603
Change-Id: I04e20b0de40d864aac92ac7bcf466a6cbde3d0e4

8 years agoFix dumping variables of absolute paths.
Ying Wang [Mon, 7 Mar 2016 19:27:20 +0000 (11:27 -0800)]
Fix dumping variables of absolute paths.

Calling $(abspath) is better than checking and prepending $(PWD) if
necessary.

Bug: 27429759
Change-Id: Ia156f8a5d6b88b6090f4d23c7f9166bd62d3ab70

8 years agoSupport build old version of cts
Julien Desprez [Mon, 7 Mar 2016 19:19:25 +0000 (19:19 +0000)]
Support build old version of cts
am: ffc9c52243

* commit 'ffc9c52243499d5d65edfd7f795ae44370f64a29':
  Support build old version of cts

8 years agoSupport build old version of cts
Julien Desprez [Sat, 5 Mar 2016 12:05:49 +0000 (12:05 +0000)]
Support build old version of cts

Bug: 27508747
Change-Id: I3d474f6f6534e172ecf1d0a6c833a9dfa6164344

8 years agoRemoved duplicate definition of E2FSCK
Martin Blumenstingl [Sun, 6 Mar 2016 21:38:19 +0000 (22:38 +0100)]
Removed duplicate definition of E2FSCK

Change-Id: I810711ad05e198ee1f9606c37649e80df7b55fa5

8 years agoMerge "Delete relics left behind by commit 86e6b7ed51dab3e ." am: 880c9ffe7a
Ying Wang [Sat, 5 Mar 2016 00:34:29 +0000 (00:34 +0000)]
Merge "Delete relics left behind by commit 86e6b7ed51dab3e ." am: 880c9ffe7a
am: 87545466a8

* commit '87545466a81490794dc086b84f489c5327dfa7c4':
  Delete relics left behind by commit 86e6b7ed51dab3e .

8 years agoMerge "Delete relics left behind by commit 86e6b7ed51dab3e ."
Ying Wang [Sat, 5 Mar 2016 00:32:27 +0000 (00:32 +0000)]
Merge "Delete relics left behind by commit 86e6b7ed51dab3e ."
am: 880c9ffe7a

* commit '880c9ffe7a47c163f986f7bc02963bbde1c83c0f':
  Delete relics left behind by commit 86e6b7ed51dab3e .

8 years agoMerge "Delete relics left behind by commit 86e6b7ed51dab3e ."
Ying Wang [Sat, 5 Mar 2016 00:29:00 +0000 (00:29 +0000)]
Merge "Delete relics left behind by commit 86e6b7ed51dab3e ."

8 years agoDelete relics left behind by commit 86e6b7ed51dab3e .
Ying Wang [Sat, 5 Mar 2016 00:24:36 +0000 (16:24 -0800)]
Delete relics left behind by commit 86e6b7ed51dab3e .

Change-Id: I81febc28f471727fc37335b11e47749753a57997
(cherry-pick from commit 0f59fdf30db2209cf30ea042d86ef60dcf807838)

8 years agoMerge "Tell soong about MALLOC_SVELTE" am: fd2691c35f
Dan Willemsen [Fri, 4 Mar 2016 23:57:42 +0000 (23:57 +0000)]
Merge "Tell soong about MALLOC_SVELTE" am: fd2691c35f
am: 14950e0db7

* commit '14950e0db7f77c43f4bac695b3d0268d3ebaf929':
  Tell soong about MALLOC_SVELTE

8 years agoMerge "emulator: Add a product packages overlay." into nyc-dev
Prathmesh Prabhu [Fri, 4 Mar 2016 23:55:54 +0000 (23:55 +0000)]
Merge "emulator: Add a product packages overlay." into nyc-dev
am: f585b02bed

* commit 'f585b02bed939f81e3f35f75a69ae4fe45cbc406':
  emulator: Add a product packages overlay.

8 years agoMerge "Tell soong about MALLOC_SVELTE"
Dan Willemsen [Fri, 4 Mar 2016 23:55:48 +0000 (23:55 +0000)]
Merge "Tell soong about MALLOC_SVELTE"
am: fd2691c35f

* commit 'fd2691c35f6e0c7b5339befa8afefaebdfb72283':
  Tell soong about MALLOC_SVELTE

8 years agoMerge "Tell soong about MALLOC_SVELTE"
Dan Willemsen [Fri, 4 Mar 2016 23:53:36 +0000 (23:53 +0000)]
Merge "Tell soong about MALLOC_SVELTE"

8 years agoMerge "emulator: Add a product packages overlay." into nyc-dev
Prathmesh Prabhu [Fri, 4 Mar 2016 23:49:07 +0000 (23:49 +0000)]
Merge "emulator: Add a product packages overlay." into nyc-dev

8 years agoreleasetools: Fix the bug in AssertSequenceGood.
Tao Bao [Fri, 4 Mar 2016 23:23:34 +0000 (15:23 -0800)]
releasetools: Fix the bug in AssertSequenceGood.

We use a bitset for blocks in the target image to assert a block hasn't
been touched before reading. Skip checking the blocks that are in the
source image only.

Change-Id: I3a77292da673c813bd20d8dc177ff36419d8ecae

8 years agoMerge "Get gtest includes from the exported headers." am: f8b170dc52
Dan Albert [Fri, 4 Mar 2016 22:36:56 +0000 (22:36 +0000)]
Merge "Get gtest includes from the exported headers." am: f8b170dc52
am: 1bbd4dac85

* commit '1bbd4dac858316b924ba231ca123c6ac5ac14157':
  Get gtest includes from the exported headers.

8 years agoMerge "Get gtest includes from the exported headers."
Dan Albert [Fri, 4 Mar 2016 22:34:39 +0000 (22:34 +0000)]
Merge "Get gtest includes from the exported headers."
am: f8b170dc52

* commit 'f8b170dc52575f16a63bfd6b6710efb46580c8b2':
  Get gtest includes from the exported headers.

8 years agoMerge "Get gtest includes from the exported headers."
Dan Albert [Fri, 4 Mar 2016 22:30:58 +0000 (22:30 +0000)]
Merge "Get gtest includes from the exported headers."

8 years agoMerge "Small fixes." am: dfa0d1063a
Ying Wang [Fri, 4 Mar 2016 22:12:38 +0000 (22:12 +0000)]
Merge "Small fixes." am: dfa0d1063a
am: 058ebbc1cc

* commit '058ebbc1cc30f618a6fdede9bbfaf98adbef3a5f':
  Small fixes.

8 years agoSmall fixes.
Ying Wang [Fri, 4 Mar 2016 22:10:41 +0000 (22:10 +0000)]
Small fixes.
am: ac9092730e

* commit 'ac9092730ed0ac74a02a0384891aca198e0c42f8':
  Small fixes.

8 years agoMerge "Small fixes."
Ying Wang [Fri, 4 Mar 2016 22:10:23 +0000 (22:10 +0000)]
Merge "Small fixes."
am: dfa0d1063a

* commit 'dfa0d1063a8b07c22d79116be799ffda537211e8':
  Small fixes.

8 years agoSpeed up lunch/tapas/etc. shell utility functions.
Ying Wang [Fri, 4 Mar 2016 22:10:22 +0000 (22:10 +0000)]
Speed up lunch/tapas/etc. shell utility functions.
am: 7dfdb843b2

* commit '7dfdb843b25b4ef04c47b148e0095f292eceacd4':
  Speed up lunch/tapas/etc. shell utility functions.

8 years agoSmall fixes.
Ying Wang [Fri, 4 Mar 2016 21:56:23 +0000 (13:56 -0800)]
Small fixes.

Change-Id: Ia949ed0bc93edb78d0b029f3bd3dd584e9a00dc8
(cherry-pick from commit f0cb397a9e204c86be7730f94ae5fba84d88f89a)

8 years agoSpeed up lunch/tapas/etc. shell utility functions.
Ying Wang [Fri, 4 Mar 2016 04:57:21 +0000 (20:57 -0800)]
Speed up lunch/tapas/etc. shell utility functions.

1. Combined ~10 calls to the make build system to only one.
   We added a phony target "dump-many-vars" to the build system to dump
   "<var>=<value>" pairs. We then store the pairs as shell variables.
   With this cache get_build_var/get_abs_build_var can just return
   the shell variables instead of querying the build system.
2. Prune .git when we search for AndroidProduct.mks.

In internal source tree lunch time was reduced from ~15s to ~1.5s.

Bug: 27429759

(cherry picked from commit 08800fd905e70faf01d9392d00ff3f49d99097b7)

Change-Id: I862a0ec3c1aae97c552054dacec133e857042edf