OSDN Git Service

android-x86/build.git
8 years agoMerge \\"Do not force turn off of Jack warning\\" am: 0a26fc0ace
Yohann Roussel [Mon, 13 Jun 2016 14:48:53 +0000 (14:48 +0000)]
Merge \\"Do not force turn off of Jack warning\\" am: 0a26fc0ace
am: 5185323de9

Change-Id: I054396d9bdb88822ca75be61a88e18f08213242d

8 years agoMerge \"Do not force turn off of Jack warning\"
Yohann Roussel [Mon, 13 Jun 2016 14:44:56 +0000 (14:44 +0000)]
Merge \"Do not force turn off of Jack warning\"
am: 0a26fc0ace

Change-Id: Iddfabd648876281596bc8c571968d18589f1f581

8 years agoMerge "Do not force turn off of Jack warning"
Yohann Roussel [Mon, 13 Jun 2016 14:33:47 +0000 (14:33 +0000)]
Merge "Do not force turn off of Jack warning"

8 years agoMerge \\"Redirect subprocess stderr to stdout in verbose mode.\\" am: 1318ec93e7
Alex Deymo [Sat, 11 Jun 2016 01:12:06 +0000 (01:12 +0000)]
Merge \\"Redirect subprocess stderr to stdout in verbose mode.\\" am: 1318ec93e7
am: 74d7b31f7d

Change-Id: Ia9757f09dead577349b0cf4b97cb062f30d0f45d

8 years agoMerge \"Redirect subprocess stderr to stdout in verbose mode.\"
Alex Deymo [Sat, 11 Jun 2016 01:08:11 +0000 (01:08 +0000)]
Merge \"Redirect subprocess stderr to stdout in verbose mode.\"
am: 1318ec93e7

Change-Id: If411ad0cd8aba960e4ab8600a5dd1532e5bd9dca

8 years agoMerge "Redirect subprocess stderr to stdout in verbose mode."
Treehugger Robot [Sat, 11 Jun 2016 00:56:31 +0000 (00:56 +0000)]
Merge "Redirect subprocess stderr to stdout in verbose mode."

8 years agoRedirect subprocess stderr to stdout in verbose mode.
Alex Deymo [Fri, 10 Jun 2016 23:38:31 +0000 (16:38 -0700)]
Redirect subprocess stderr to stdout in verbose mode.

This patch uses subprocess.communicate instead of subprocess.wait to
prevent deadlock if any of the child processes outputs too much data,
and redirects the subprocess output to stdout when running in verbose
mode.

With this patch `ota_from_target_files -v` prints the delta_generator
output in stdout, and no output if '-v' is not passed.

Bug: None
TEST=ota_from_target_files -v ...

Change-Id: Id66e4f3360a6f91d61a3ce96d53afbccdaa19da5

8 years agoMerge \\"goldfish_setup: grant /system/bin/sh exec access\\" am: 7a866d783c
David Turner [Fri, 10 Jun 2016 18:18:37 +0000 (18:18 +0000)]
Merge \\"goldfish_setup: grant /system/bin/sh exec access\\" am: 7a866d783c
am: 0db549d72c

Change-Id: I861c80be973d94e666aa9c26c1519c93b220c094

8 years agoMerge \"goldfish_setup: grant /system/bin/sh exec access\"
Nick Kralevich [Fri, 10 Jun 2016 18:15:13 +0000 (18:15 +0000)]
Merge \"goldfish_setup: grant /system/bin/sh exec access\"
am: 7a866d783c

Change-Id: I340d78d01171de2eda4f25a2b4dbe0d637f35d59

8 years agoMerge "goldfish_setup: grant /system/bin/sh exec access"
David Turner [Fri, 10 Jun 2016 18:04:26 +0000 (18:04 +0000)]
Merge "goldfish_setup: grant /system/bin/sh exec access"

8 years agoAdd build.version.incremental to metadata
Tianjie Xu [Fri, 10 Jun 2016 17:24:52 +0000 (17:24 +0000)]
Add build.version.incremental to metadata
am: d06f07eef4

Change-Id: I4f0b89d69154ef32bbb04fa905fdc014c911d571

8 years agoAdd build.version.incremental to metadata
Tianjie Xu [Thu, 9 Jun 2016 21:18:45 +0000 (14:18 -0700)]
Add build.version.incremental to metadata

Add the build property "build.version.incremental" of the source (if
present) and target files to the metadata of the ota update package.

Example of metadata:
....
post-build-incremental=2951741
post-timestamp=1465345123
pre-build-incremental=2943039
pre-device=bullhead
...

Bug: 28658632
Change-Id: I889e8ccf39633b1b35590751001a42d1b05d5514

8 years agogoldfish_setup: grant /system/bin/sh exec access
Nick Kralevich [Wed, 25 May 2016 00:36:23 +0000 (17:36 -0700)]
goldfish_setup: grant /system/bin/sh exec access

The goldfish_setup shell script needs the ability to execute
the shell script interpreter. Allow it.

Addresses the following denial:

avc: denied { getattr } for pid=1220 comm="init.goldfish.s"
path="/system/bin/sh" dev="vda" ino=442 scontext=u:r:goldfish_setup:s0
tcontext=u:object_r:shell_exec:s0 tclass=file permissive=0

(cherrypicked from commit 501c88c0290eb2308c110398f106411260863bb8)

Bug: 28941573
Change-Id: I22d26e90f107c8d801229354a5e0513c37e6c31d

8 years agoresolve merge conflicts of 07886f1 to nyc-dev-plus-aosp
Vikas Marwaha [Thu, 9 Jun 2016 03:14:48 +0000 (20:14 -0700)]
resolve merge conflicts of 07886f1 to nyc-dev-plus-aosp

Change-Id: Iae0444b9e9e7b4db3bfd94f5712e22aa08a122b5

8 years agoMerge \"Add variable PRODUCT_SHIPPING_API_LEVEL and make files with the new read...
Vikas Marwaha [Thu, 9 Jun 2016 02:38:50 +0000 (02:38 +0000)]
Merge \"Add variable PRODUCT_SHIPPING_API_LEVEL and make files with the new read only product property ro.product.first_api_level.\"
am: e5c1af2dd0

Change-Id: I0dd1cd7ebe6b7ede5f019566d844b12fe40fb40c

8 years agoMerge "Add variable PRODUCT_SHIPPING_API_LEVEL and make files with the new read only...
Vikas Marwaha [Thu, 9 Jun 2016 02:30:57 +0000 (02:30 +0000)]
Merge "Add variable PRODUCT_SHIPPING_API_LEVEL and make files with the new read only product property ro.product.first_api_level."

8 years agoMerge \\"Rewrite LDLIBS and SHARED_LIBRARIES\\" am: a8d13592ac
Dan Willemsen [Wed, 8 Jun 2016 21:17:05 +0000 (21:17 +0000)]
Merge \\"Rewrite LDLIBS and SHARED_LIBRARIES\\" am: a8d13592ac
am: d8210177af

Change-Id: If466674f33ba7d98a0f8da249bc0dc57efdcf621

8 years agoMerge \"Rewrite LDLIBS and SHARED_LIBRARIES\"
Dan Willemsen [Wed, 8 Jun 2016 21:14:36 +0000 (21:14 +0000)]
Merge \"Rewrite LDLIBS and SHARED_LIBRARIES\"
am: a8d13592ac

Change-Id: Ic1cdfd510ff26c279a2628b58c3a1db7ef172b5c

8 years agoMerge "Rewrite LDLIBS and SHARED_LIBRARIES"
Dan Willemsen [Wed, 8 Jun 2016 21:09:34 +0000 (21:09 +0000)]
Merge "Rewrite LDLIBS and SHARED_LIBRARIES"

8 years agoMerge \\"APK Signature Scheme v2 APK verifier.\\" am: 4f8bde47ae
Alex Klyubin [Wed, 8 Jun 2016 21:06:41 +0000 (21:06 +0000)]
Merge \\"APK Signature Scheme v2 APK verifier.\\" am: 4f8bde47ae
am: 9cf15a318b

Change-Id: Iada08b1831d737ab702b6f7aee7cb21648a06bf0

8 years agoMerge \"APK Signature Scheme v2 APK verifier.\"
Alex Klyubin [Wed, 8 Jun 2016 21:04:12 +0000 (21:04 +0000)]
Merge \"APK Signature Scheme v2 APK verifier.\"
am: 4f8bde47ae

Change-Id: I0a9476be7b5da7166a1d20c2b64b82fcdfae4973

8 years agoMerge "APK Signature Scheme v2 APK verifier."
Alex Klyubin [Wed, 8 Jun 2016 20:51:58 +0000 (20:51 +0000)]
Merge "APK Signature Scheme v2 APK verifier."

8 years agoMerge \\"Fix DSA APK signatures for API Level 8 and lower.\\" am: ebe68ec237
Alex Klyubin [Wed, 8 Jun 2016 15:31:24 +0000 (15:31 +0000)]
Merge \\"Fix DSA APK signatures for API Level 8 and lower.\\" am: ebe68ec237
am: b926969a84

Change-Id: Ie93b77c066e7637cdb704d3167dc65936aca16b1

8 years agoMerge \"Fix DSA APK signatures for API Level 8 and lower.\"
Alex Klyubin [Wed, 8 Jun 2016 15:26:16 +0000 (15:26 +0000)]
Merge \"Fix DSA APK signatures for API Level 8 and lower.\"
am: ebe68ec237

Change-Id: I1bb11e4d47a572f5e0b9e9205910ca4dc675f671

8 years agoAPK Signature Scheme v2 APK verifier.
Alex Klyubin [Tue, 7 Jun 2016 20:18:57 +0000 (13:18 -0700)]
APK Signature Scheme v2 APK verifier.

This adds the ApkVerifier class which verifies APKs using APK
Signature Scheme v2 only. In a follow-up commit this class will be
extended to verify APKs using JAR signature scheme when necessary.

The APK verifier is designed to not just verify an APK, but also
report errors, warnings, and information about signers in a structured
way, to enable tools to surface this information to users in various
ways.

Bug: 27461702
Change-Id: I10c6ba436021d86b6dbf6d3cf44494652adacb66

8 years agoMerge "Fix DSA APK signatures for API Level 8 and lower."
Alex Klyubin [Wed, 8 Jun 2016 15:17:42 +0000 (15:17 +0000)]
Merge "Fix DSA APK signatures for API Level 8 and lower."

8 years agoDo not force turn off of Jack warning
Yohann Roussel [Wed, 8 Jun 2016 15:00:09 +0000 (17:00 +0200)]
Do not force turn off of Jack warning

When ANDROID_JACK_EXTRA_ARGS is defined there is no reason to still turn
off those warnings.

Change-Id: Ic7ac02c72ed3b7b0eaca9394c9fc7d92d5dfa871

8 years agoRewrite LDLIBS and SHARED_LIBRARIES
Dan Willemsen [Tue, 7 Jun 2016 23:55:57 +0000 (16:55 -0700)]
Rewrite LDLIBS and SHARED_LIBRARIES

LOCAL_LDLIBS was the only correct way to use NDK libraries, but few used
it correctly. It also often got confused with LOCAL_LDFLAGS, so move the
flags to the correct variable.

For binaries that weren't using the NDK (empty LOCAL_SDK_VERSION), it
was never valid to use LOCAL_LDLIBS, as dependencies would not be
properly set up, and could lead to random build failures. So convert any
-l linker flags to using LOCAL_SHARED_LIBRARIES automatically.

For binaries built using the NDK (LOCAL_SDK_VERSION set), they were
required to use LOCAL_LDLIBS for prebuilt NDK libraries, otherwise they
would get headers and dependencies to the platform versions. Any
non-prebuilt LOCAL_LDLIBS would miss dependencies. So move the NDK
prebuilt libraries to LDLIBS from SHARED_LIBRARIES, and move everything
else to SHARED_LIBRARIES.

So now, for device modules, LOCAL_SHARED_LIBRARIES should always be
used, and we'll do the right thing. LOCAL_LDLIBS should only be used for
host libraries from the system.

Change-Id: Ide34c7afdcfb6507a378d45a42471729e489a9e0

8 years agoMerge \"Removing N from PLATFORM_VERSION_ALL_CODENAMES\" into nyc-dev
Ian Pedowitz [Wed, 8 Jun 2016 03:09:44 +0000 (03:09 +0000)]
Merge \"Removing N from PLATFORM_VERSION_ALL_CODENAMES\" into nyc-dev
am: ddc0c5e0a0

Change-Id: I1f68aa77d52fb85a3d87a3155b9eefb1ff647c31

8 years agoMerge "Removing N from PLATFORM_VERSION_ALL_CODENAMES" into nyc-dev
Ian Pedowitz [Wed, 8 Jun 2016 03:05:39 +0000 (03:05 +0000)]
Merge "Removing N from PLATFORM_VERSION_ALL_CODENAMES" into nyc-dev

8 years agoMerge "Add variable PRODUCT_SHIPPING_API_LEVEL." into nyc-dev
Gustav Sennton [Tue, 7 Jun 2016 16:32:33 +0000 (16:32 +0000)]
Merge "Add variable PRODUCT_SHIPPING_API_LEVEL." into nyc-dev
am: 837b86aa56

* commit '837b86aa5696fea28a0acfde7361a3c5d5824624':
  Add variable PRODUCT_SHIPPING_API_LEVEL.

Change-Id: I692a44938baa8e462041786b1f394dc5b41ac8e0

8 years agoMerge "Add variable PRODUCT_SHIPPING_API_LEVEL." into nyc-dev
Gustav Sennton [Tue, 7 Jun 2016 16:21:15 +0000 (16:21 +0000)]
Merge "Add variable PRODUCT_SHIPPING_API_LEVEL." into nyc-dev

8 years agoMerge "Add NATIVE_TESTS class, move host native tests" am: e72fc63901
Dan Willemsen [Tue, 7 Jun 2016 00:09:39 +0000 (00:09 +0000)]
Merge "Add NATIVE_TESTS class, move host native tests" am: e72fc63901
am: 10461b78f0

* commit '10461b78f0955d9dba8d32045d1e35ff0f9a5c8c':
  Add NATIVE_TESTS class, move host native tests

Change-Id: Ia11b54676d3b33e58c177a5a375f29233657524e

8 years agoMerge "Add NATIVE_TESTS class, move host native tests"
Dan Willemsen [Tue, 7 Jun 2016 00:05:35 +0000 (00:05 +0000)]
Merge "Add NATIVE_TESTS class, move host native tests"
am: e72fc63901

* commit 'e72fc639014809b4d4239d7f7754c6950f1ad546':
  Add NATIVE_TESTS class, move host native tests

Change-Id: Ifb0401242afe1e6e16666001faf3d55471200c3f

8 years agoMerge "Add NATIVE_TESTS class, move host native tests"
Dan Willemsen [Mon, 6 Jun 2016 23:59:23 +0000 (23:59 +0000)]
Merge "Add NATIVE_TESTS class, move host native tests"

8 years agoMerge "Switch some build tools to Soong" am: c52d09e694
Dan Willemsen [Mon, 6 Jun 2016 23:05:06 +0000 (23:05 +0000)]
Merge "Switch some build tools to Soong" am: c52d09e694
am: 8a78c90a95

* commit '8a78c90a95a3a0c5886b333e90994721eeb92734':
  Switch some build tools to Soong

Change-Id: I481784785375dfb6790d14681eb110e0f67bf65c

8 years agoMerge "Switch some build tools to Soong"
Dan Willemsen [Mon, 6 Jun 2016 22:58:28 +0000 (22:58 +0000)]
Merge "Switch some build tools to Soong"
am: c52d09e694

* commit 'c52d09e6944e531e02242cf971020cb2c0cf9844':
  Switch some build tools to Soong

Change-Id: I4ba945cad1eda7c696cd770243e226a09ff735ac

8 years agoMerge "Switch some build tools to Soong"
Treehugger Robot [Mon, 6 Jun 2016 22:51:56 +0000 (22:51 +0000)]
Merge "Switch some build tools to Soong"

8 years agoFix DSA APK signatures for API Level 8 and lower.
Alex Klyubin [Mon, 6 Jun 2016 21:58:23 +0000 (14:58 -0700)]
Fix DSA APK signatures for API Level 8 and lower.

This modifies JAR signing code to produce DSA signatures which are
accepted by all Android platforms rather than only API Level 9 and
higher.

The issue is that by default Bouncy Castle uses OID 1.2.840.10040.4.3
(dsaWithSha1) in PKCS #7 CMS SignerInfo whereas Android accepts that
only since API Level 9. However, OID 1.2.840.10040.4.1 (dsa) is
accepted by all Android platforms.

Bug: 27461702
Change-Id: I24256a255bcdc2108bdb447557af7568a2c096e3

8 years agoSwitch some build tools to Soong
Dan Willemsen [Mon, 6 Jun 2016 21:41:32 +0000 (14:41 -0700)]
Switch some build tools to Soong

In preparation for including them in prebuilts/build-tools.

acp: We use a prebuilt in prebuilts/sdk, but it's not part of the sdk.

ijar: We use the host libstdc++ to workaround the lack of libc++ on
some unbundled branches.

ziptime: We disable this on unbundled builds, due to the lack of libc++.

Change-Id: Ib9766b1dbddd151c38ff27c529865200ab37fce1

8 years agoMerge "Remove dead rgb2565" am: a571e83095
Dan Willemsen [Mon, 6 Jun 2016 21:43:16 +0000 (21:43 +0000)]
Merge "Remove dead rgb2565" am: a571e83095
am: d1f0eb15c8

* commit 'd1f0eb15c812b8c4ea8697b9e2171846e6510884':
  Remove dead rgb2565

Change-Id: I6a95c5cf31a05822d85fce16d1e9b311dd759cee

8 years agoMerge "Remove dead rgb2565"
Dan Willemsen [Mon, 6 Jun 2016 21:39:48 +0000 (21:39 +0000)]
Merge "Remove dead rgb2565"
am: a571e83095

* commit 'a571e83095a72d595e5e4e365e0ae52aefd64356':
  Remove dead rgb2565

Change-Id: I6dae3bbd804591a0e91f3467f021c5ee2dde4bf7

8 years agoMerge "Remove dead rgb2565"
Treehugger Robot [Mon, 6 Jun 2016 21:35:47 +0000 (21:35 +0000)]
Merge "Remove dead rgb2565"

8 years agoMerge "Drop CLANG and CLANG_CXX in the environment" am: 27a55cd3c7
Dan Willemsen [Mon, 6 Jun 2016 21:33:07 +0000 (21:33 +0000)]
Merge "Drop CLANG and CLANG_CXX in the environment" am: 27a55cd3c7
am: f03398b651

* commit 'f03398b6519e1d9695c61da450346d5a0f0f8528':
  Drop CLANG and CLANG_CXX in the environment

Change-Id: I9fce3d3c203b89295529c72de4d094ff62d178fd

8 years agoMerge "Drop CLANG and CLANG_CXX in the environment"
Dan Willemsen [Mon, 6 Jun 2016 21:27:10 +0000 (21:27 +0000)]
Merge "Drop CLANG and CLANG_CXX in the environment"
am: 27a55cd3c7

* commit '27a55cd3c703c190f933630e503d963ef7478183':
  Drop CLANG and CLANG_CXX in the environment

Change-Id: I3850b1783fb47cda05f1a7799ff8ceddb589e033

8 years agoMerge "Improve efficiency of using the DataSource abstraction." am: 7353eabd14
Alex Klyubin [Mon, 6 Jun 2016 21:23:05 +0000 (21:23 +0000)]
Merge "Improve efficiency of using the DataSource abstraction." am: 7353eabd14
am: 732b29a5c3

* commit '732b29a5c38a3a33bdffea662875e6a8dab894b3':
  Improve efficiency of using the DataSource abstraction.

Change-Id: I4b2e05ffc80d59ef19a1b78c3560f0d21c5b04b2

8 years agoMerge "Drop CLANG and CLANG_CXX in the environment"
Treehugger Robot [Mon, 6 Jun 2016 21:22:57 +0000 (21:22 +0000)]
Merge "Drop CLANG and CLANG_CXX in the environment"

8 years agoMerge "Improve efficiency of using the DataSource abstraction."
Alex Klyubin [Mon, 6 Jun 2016 21:17:02 +0000 (21:17 +0000)]
Merge "Improve efficiency of using the DataSource abstraction."
am: 7353eabd14

* commit '7353eabd14cbfae2c123a58cae4ce1e770ee351d':
  Improve efficiency of using the DataSource abstraction.

Change-Id: Ia1ab6c7d0b94c59ab6d7b41828e8e5d676c212e5

8 years agoMerge "Improve efficiency of using the DataSource abstraction."
Alex Klyubin [Mon, 6 Jun 2016 21:07:52 +0000 (21:07 +0000)]
Merge "Improve efficiency of using the DataSource abstraction."

8 years agoRemove dead rgb2565
Dan Willemsen [Mon, 6 Jun 2016 20:32:11 +0000 (13:32 -0700)]
Remove dead rgb2565

Change-Id: I2397dc97768f24a7c416bff96dd983fc796cbb53

8 years agoDrop CLANG and CLANG_CXX in the environment
Dan Willemsen [Mon, 6 Jun 2016 19:21:06 +0000 (12:21 -0700)]
Drop CLANG and CLANG_CXX in the environment

We'll explicitly pass these variables to the static analyzer builds in
binary.mk

Bug: 29071982
Change-Id: Ifc7633d36f5785fe16b63f54b885396c2cab542a

8 years agoMerge "Switch signapk to apksigner-core." am: 1a39e8eb34
Alex Klyubin [Mon, 6 Jun 2016 19:59:12 +0000 (19:59 +0000)]
Merge "Switch signapk to apksigner-core." am: 1a39e8eb34
am: 2f24b771ea

* commit '2f24b771eac14924ba9d5ab1a0e69da1641df582':
  Switch signapk to apksigner-core.

Change-Id: I3b8ddfcf2369247713b1570cb901cc5604622c75

8 years agoMerge "Switch signapk to apksigner-core."
Alex Klyubin [Mon, 6 Jun 2016 19:52:25 +0000 (19:52 +0000)]
Merge "Switch signapk to apksigner-core."
am: 1a39e8eb34

* commit '1a39e8eb3408f45d5f75b261fc073843ab83645b':
  Switch signapk to apksigner-core.

Change-Id: I39af8650adfc9ee12f5d6256e4a2083d4f87acfb

8 years agoMerge "Switch signapk to apksigner-core."
Alex Klyubin [Mon, 6 Jun 2016 19:40:23 +0000 (19:40 +0000)]
Merge "Switch signapk to apksigner-core."

8 years agoImprove efficiency of using the DataSource abstraction.
Alex Klyubin [Mon, 6 Jun 2016 18:12:50 +0000 (11:12 -0700)]
Improve efficiency of using the DataSource abstraction.

This adds getByteBuffer and copyTo methods to the DataSource
abstraction. These methods enable the client to avoid unnecessary
copying of the data source's data.

Bug: 27461702
Change-Id: If4e9f902ea75c1ca5c7be0e20c0e7218faf9c504

8 years agoNYC is 7.0
Ian Pedowitz [Mon, 6 Jun 2016 17:13:06 +0000 (17:13 +0000)]
NYC is 7.0
am: 7a50757731

* commit '7a5075773145704fbc08dbb08bd6e859e04e9859':
  NYC is 7.0

Change-Id: Ia2d810debba042e21e34c340081369bff970db60

8 years agoNYC is 7.0
Ian Pedowitz [Wed, 1 Jun 2016 00:36:44 +0000 (17:36 -0700)]
NYC is 7.0

Bug: 29056633
Change-Id: Ib0186c5affd16b5223ba547b2cfff49d830dac1c

8 years agoRemoving N from PLATFORM_VERSION_ALL_CODENAMES
Ian Pedowitz [Mon, 6 Jun 2016 17:06:39 +0000 (10:06 -0700)]
Removing N from PLATFORM_VERSION_ALL_CODENAMES

Change-Id: I328dfa703faf2bd3232f68102d5c7f4b379df030
Fixes: 29117805

8 years agoMerge "Add default values for pm.dexopt.core-app." into nyc-dev
Narayan Kamath [Mon, 6 Jun 2016 15:15:01 +0000 (15:15 +0000)]
Merge "Add default values for pm.dexopt.core-app." into nyc-dev
am: da147a7c20

* commit 'da147a7c20bf73f9b3736f6c479f3a8f3f56ab9e':
  Add default values for pm.dexopt.core-app.

Change-Id: I566fc87539166998340617bbcc7336b5fcc691bc

8 years agoMerge "Add default values for pm.dexopt.core-app." into nyc-dev
Narayan Kamath [Mon, 6 Jun 2016 14:48:03 +0000 (14:48 +0000)]
Merge "Add default values for pm.dexopt.core-app." into nyc-dev

8 years agoMerge "Error on external includes" am: 4b33f51043
Dan Willemsen [Sat, 4 Jun 2016 01:13:07 +0000 (01:13 +0000)]
Merge "Error on external includes" am: 4b33f51043
am: d983b78a6f

* commit 'd983b78a6fac17bbfb26d61f28510476f8edb99a':
  Error on external includes

Change-Id: I82ba6748ea08cb861e3cf4f0fbade2f277433413

8 years agoMerge "Error on external includes"
Dan Willemsen [Sat, 4 Jun 2016 01:09:52 +0000 (01:09 +0000)]
Merge "Error on external includes"
am: 4b33f51043

* commit '4b33f510436f88774f5217b472835973fd8d5b2b':
  Error on external includes

Change-Id: Ib2fb1470cee531cb043e7fe4a8e310fb026dcb3c

8 years agoMerge "Error on external includes"
Dan Willemsen [Sat, 4 Jun 2016 01:03:20 +0000 (01:03 +0000)]
Merge "Error on external includes"

8 years agoAdd variable PRODUCT_SHIPPING_API_LEVEL and make files with the
Vikas Marwaha [Fri, 3 Jun 2016 22:02:06 +0000 (15:02 -0700)]
Add variable PRODUCT_SHIPPING_API_LEVEL and make files with the
new read only product property ro.product.first_api_level.

PRODUCT_SHIPPING_API_LEVEL declares which API level a device first
shipped with. We use this variable to set a read-only property that
can be used in CTS/GTS tests.

Change-Id: If54202075d3b92ed380655cde8b3fc50c5ba73b3

8 years agoNYC is now REL
Ian Pedowitz [Fri, 3 Jun 2016 19:26:30 +0000 (19:26 +0000)]
NYC is now REL
am: f2304ce367

* commit 'f2304ce36778a95793b48fb9ccf83f6b03c19433':
  NYC is now REL

Change-Id: I8d8021b1f9cf89f92b147cb29779b6295a5926d1

8 years agoNYC is now REL
Ian Pedowitz [Tue, 31 May 2016 22:32:31 +0000 (15:32 -0700)]
NYC is now REL

PLATFORM_VERSION_ALL_CODENAMES needs to include N for now

Bug: 28810934
Bug: 29117805
Change-Id: Ibf44e1e02077e7830d9bf92b87fb8ccae029c121

8 years agoAdd variable PRODUCT_SHIPPING_API_LEVEL.
Gustav Sennton [Fri, 27 May 2016 13:07:54 +0000 (14:07 +0100)]
Add variable PRODUCT_SHIPPING_API_LEVEL.

PRODUCT_SHIPPING_API_LEVEL declares which API level a device first
shipped with.

We use this variable to set a read-only property that can be used in
CTS/GTS tests.

Bug: 26381401
Change-Id: I9dfeaf423146c35f57e69ac26c27e8a9e205bc4f

8 years agoMerge "Default to enable tidy warnings in header files." am: 6a7cf55a7d
Chih-Hung Hsieh [Thu, 2 Jun 2016 23:29:55 +0000 (23:29 +0000)]
Merge "Default to enable tidy warnings in header files." am: 6a7cf55a7d
am: b764f7d0d6

* commit 'b764f7d0d662f7fd9d797ca796a85972596023d6':
  Default to enable tidy warnings in header files.

Change-Id: Ied47b955b1e0d11a1711c1d76c7ef90e6394ef5a

8 years agoMerge "Default to enable tidy warnings in header files."
Chih-Hung Hsieh [Thu, 2 Jun 2016 23:27:17 +0000 (23:27 +0000)]
Merge "Default to enable tidy warnings in header files."
am: 6a7cf55a7d

* commit '6a7cf55a7dfe844b4df173520890b4daee60ea63':
  Default to enable tidy warnings in header files.

Change-Id: Ib4ca529f2f81d05db8392a4f501bea3400f17d57

8 years agoMerge "Default to enable tidy warnings in header files."
Treehugger Robot [Thu, 2 Jun 2016 23:17:59 +0000 (23:17 +0000)]
Merge "Default to enable tidy warnings in header files."

8 years agoMerge "Add support for TARGET_RECOVERY_BRICK." am: daf55776be
Tao Bao [Thu, 2 Jun 2016 22:56:43 +0000 (22:56 +0000)]
Merge "Add support for TARGET_RECOVERY_BRICK." am: daf55776be
am: 88df5bee3a

* commit '88df5bee3addaacddd32adf7f78fd5fe1493c38a':
  Add support for TARGET_RECOVERY_BRICK.

Change-Id: I90717df1ee18cadb89bec8afa5280b3ebf434a13

8 years agoMerge "Add support for TARGET_RECOVERY_BRICK."
Tao Bao [Thu, 2 Jun 2016 22:54:25 +0000 (22:54 +0000)]
Merge "Add support for TARGET_RECOVERY_BRICK."
am: daf55776be

* commit 'daf55776beefeb3f59d2f7ca61796ad07fa1d738':
  Add support for TARGET_RECOVERY_BRICK.

Change-Id: I70a4682caca250d557975dcf19bfbf63bc567a24

8 years agoMerge "Add support for TARGET_RECOVERY_BRICK."
Treehugger Robot [Thu, 2 Jun 2016 22:44:55 +0000 (22:44 +0000)]
Merge "Add support for TARGET_RECOVERY_BRICK."

8 years agoDefault to enable tidy warnings in header files.
Chih-Hung Hsieh [Thu, 2 Jun 2016 22:20:05 +0000 (15:20 -0700)]
Default to enable tidy warnings in header files.

Change-Id: I3831f03facbbd6d17117d82f9ccac49bc2645237

8 years agoAdd support for TARGET_RECOVERY_BRICK.
Tao Bao [Wed, 1 Jun 2016 06:56:23 +0000 (23:56 -0700)]
Add support for TARGET_RECOVERY_BRICK.

TARGET_RECOVERY_BRICK specifies the file that lists all the partitions
to be bricked under recovery. The file, if present, will be copied to
'$(TARGET_RECOVERY_ROOT_OUT)/etc/recovery.brick'.

Bug: 27253717
Change-Id: Id84195b5ee1031a83bf7a077be070a3728416580
(cherry picked from commit 3051f4f11aef75af1d7cf623506ad6b4b648f3bd)

8 years agoAdd default values for pm.dexopt.core-app.
Narayan Kamath [Thu, 2 Jun 2016 15:34:37 +0000 (16:34 +0100)]
Add default values for pm.dexopt.core-app.

bug: 28998083

Change-Id: Iec4415ad7e5122c1168024f6ccf39b5e342cc7fd

8 years agodisable unpriv perf by default in user{,debug} builds
Daniel Micay [Thu, 2 Jun 2016 02:05:17 +0000 (02:05 +0000)]
disable unpriv perf by default in user{,debug} builds
am: 888a623881

* commit '888a6238810b4c3c00108cb92f9755e74acd9ecf':
  disable unpriv perf by default in user{,debug} builds

Change-Id: I79c426595949e10b0eeab7e897be6e5a25060629

8 years agodisable unpriv perf by default in user{,debug} builds
Daniel Micay [Tue, 17 May 2016 04:40:52 +0000 (00:40 -0400)]
disable unpriv perf by default in user{,debug} builds

(Cherry picked from commit fe01f56c0d5c42508e1e82f5976e4c10bb00f632)

Bug: 29054680

Change-Id: If04bc63fc366006cde842a50b7c764f89d7449a6

8 years agoMerge "Add LOCAL_LOGTAGS_FILES that prebuilts can use" am: 476b5b1616
Dan Willemsen [Wed, 1 Jun 2016 23:53:44 +0000 (23:53 +0000)]
Merge "Add LOCAL_LOGTAGS_FILES that prebuilts can use" am: 476b5b1616
am: 58b7c1c744

* commit '58b7c1c744aa49fb0686848b281ae75c2485f420':
  Add LOCAL_LOGTAGS_FILES that prebuilts can use

Change-Id: I76a6077c3945463a5b52fb8a4f5146a2590de716

8 years agoMerge "disable unpriv perf by default in user{,debug} builds" am: 4bc8280a98
Jeffrey Vander Stoep [Wed, 1 Jun 2016 23:53:42 +0000 (23:53 +0000)]
Merge "disable unpriv perf by default in user{,debug} builds" am: 4bc8280a98
am: 13f2b4cf2f

* commit '13f2b4cf2f9ec4e17bedf75b01263b88d08982d6':
  disable unpriv perf by default in user{,debug} builds

Change-Id: Id14069a95cba23aff3540b3a43998cedd52b6ac7

8 years agoMerge "Add LOCAL_LOGTAGS_FILES that prebuilts can use"
Dan Willemsen [Wed, 1 Jun 2016 23:47:18 +0000 (23:47 +0000)]
Merge "Add LOCAL_LOGTAGS_FILES that prebuilts can use"
am: 476b5b1616

* commit '476b5b161613cc352961414b549a0553361d533b':
  Add LOCAL_LOGTAGS_FILES that prebuilts can use

Change-Id: Ib0b5bb5aac8b2d1c9896d58bb2c7928a63de4241

8 years agoMerge "disable unpriv perf by default in user{,debug} builds"
Daniel Micay [Wed, 1 Jun 2016 23:47:15 +0000 (23:47 +0000)]
Merge "disable unpriv perf by default in user{,debug} builds"
am: 4bc8280a98

* commit '4bc8280a9886d93870fab02eea73986d8ca08965':
  disable unpriv perf by default in user{,debug} builds

Change-Id: Icb4e1ad8ec0bd491a99b541ac98dc95bf509aa63

8 years agoMerge "Add LOCAL_LOGTAGS_FILES that prebuilts can use"
Treehugger Robot [Wed, 1 Jun 2016 23:28:10 +0000 (23:28 +0000)]
Merge "Add LOCAL_LOGTAGS_FILES that prebuilts can use"

8 years agoMerge "disable unpriv perf by default in user{,debug} builds"
Jeffrey Vander Stoep [Wed, 1 Jun 2016 23:18:45 +0000 (23:18 +0000)]
Merge "disable unpriv perf by default in user{,debug} builds"

8 years agoAdd LOCAL_LOGTAGS_FILES that prebuilts can use
Dan Willemsen [Wed, 1 Jun 2016 22:27:11 +0000 (15:27 -0700)]
Add LOCAL_LOGTAGS_FILES that prebuilts can use

Soong modules can define logtags files that need to be combined into
/system/etc/event-log-tags, so add a new LOCAL_LOGTAGS_FILES variable
that can be used to specify *.logtags file outside of LOCAL_SRC_FILES.

Bug: 28989759
Change-Id: I53c5d396dfb7c6006806758f351eb5cdde90fe74

8 years agoMerge "Update default NINJA_STATUS to show finished edges" am: 27032630c0
Colin Cross [Wed, 1 Jun 2016 05:05:34 +0000 (05:05 +0000)]
Merge "Update default NINJA_STATUS to show finished edges" am: 27032630c0
am: 91fbe6006a

* commit '91fbe6006a1422611e7ec2956d641c18b62f1f4f':
  Update default NINJA_STATUS to show finished edges

Change-Id: Iaf65cd8a7fcccdb7e4f06a6708788161885c0dc5

8 years agoMerge "Update Android.mk finder to work with Android.bp files" am: 520442f053
Colin Cross [Wed, 1 Jun 2016 05:05:33 +0000 (05:05 +0000)]
Merge "Update Android.mk finder to work with Android.bp files" am: 520442f053
am: 18023b557b

* commit '18023b557b6d33836de380df397fce10598931a9':
  Update Android.mk finder to work with Android.bp files

Change-Id: I87915d75c3bda9c41c926a7c8ad7c650ac085199

8 years agoMerge "Update default NINJA_STATUS to show finished edges"
Colin Cross [Wed, 1 Jun 2016 05:01:30 +0000 (05:01 +0000)]
Merge "Update default NINJA_STATUS to show finished edges"
am: 27032630c0

* commit '27032630c0683c30fa78a7bf9432c5b651707f7b':
  Update default NINJA_STATUS to show finished edges

Change-Id: I8e9989722cc5855640a0fcd68597926ce7f0dfda

8 years agoMerge "Update Android.mk finder to work with Android.bp files"
Colin Cross [Wed, 1 Jun 2016 05:01:28 +0000 (05:01 +0000)]
Merge "Update Android.mk finder to work with Android.bp files"
am: 520442f053

* commit '520442f0537c72276147e86116a1170ea1ddc9d7':
  Update Android.mk finder to work with Android.bp files

Change-Id: Ic737bc2d3e693dc7398fff665f7557c3e2e2a72b

8 years agoMerge "Update default NINJA_STATUS to show finished edges"
Colin Cross [Wed, 1 Jun 2016 04:52:59 +0000 (04:52 +0000)]
Merge "Update default NINJA_STATUS to show finished edges"

8 years agoMerge "Update Android.mk finder to work with Android.bp files"
Colin Cross [Wed, 1 Jun 2016 04:52:47 +0000 (04:52 +0000)]
Merge "Update Android.mk finder to work with Android.bp files"

8 years agoMerge "Add Soong tools to PATH" am: b09e644e1d
Dan Willemsen [Wed, 1 Jun 2016 02:49:05 +0000 (02:49 +0000)]
Merge "Add Soong tools to PATH" am: b09e644e1d
am: 28874dc0c1

* commit '28874dc0c1c790005672406ea50729579096d6f4':
  Add Soong tools to PATH

Change-Id: I5a8f9a27a651c1c79469e53daa1cc34a6febbbc8

8 years agoMerge "Add Soong tools to PATH"
Dan Willemsen [Wed, 1 Jun 2016 02:45:03 +0000 (02:45 +0000)]
Merge "Add Soong tools to PATH"
am: b09e644e1d

* commit 'b09e644e1db3439d85ce6dd9e371ac6514a4343c':
  Add Soong tools to PATH

Change-Id: I7ba514ee46489e44ff64b5e1be8459567102a33c

8 years agoMerge "Add Soong tools to PATH"
Dan Willemsen [Wed, 1 Jun 2016 02:37:18 +0000 (02:37 +0000)]
Merge "Add Soong tools to PATH"

8 years agoAdd Soong tools to PATH
Dan Willemsen [Fri, 27 May 2016 22:15:47 +0000 (15:15 -0700)]
Add Soong tools to PATH

Change-Id: I8f8649106df4ba7cefbfa37a724ebe0635d90b76

8 years agoMerge "Allow arm prebuilts for x86_arm builds" am: fcaae6bee8
Dan Willemsen [Tue, 31 May 2016 22:23:11 +0000 (22:23 +0000)]
Merge "Allow arm prebuilts for x86_arm builds" am: fcaae6bee8
am: 99e2c216b4

* commit '99e2c216b42bc2d7cad75f1f3aab432f12678b1d':
  Allow arm prebuilts for x86_arm builds

Change-Id: Ife14aedec2f2cae4869f3ed0fb02206bcd29bbb7

8 years agoMerge "Allow arm prebuilts for x86_arm builds"
Dan Willemsen [Tue, 31 May 2016 22:20:19 +0000 (22:20 +0000)]
Merge "Allow arm prebuilts for x86_arm builds"
am: fcaae6bee8

* commit 'fcaae6bee83c62703339f0e54751b244ef7fd7b7':
  Allow arm prebuilts for x86_arm builds

Change-Id: Ia8a3cd4736afbf7920f4b5383cb24c99a0f9df41

8 years agoMerge "Allow arm prebuilts for x86_arm builds"
Treehugger Robot [Tue, 31 May 2016 22:08:15 +0000 (22:08 +0000)]
Merge "Allow arm prebuilts for x86_arm builds"

8 years agodisable unpriv perf by default in user{,debug} builds
Daniel Micay [Tue, 17 May 2016 04:40:52 +0000 (00:40 -0400)]
disable unpriv perf by default in user{,debug} builds

Bug: 29054680

Change-Id: If04bc63fc366006cde842a50b7c764f89d7449a6

8 years agoAllow arm prebuilts for x86_arm builds
Dan Willemsen [Tue, 31 May 2016 20:59:38 +0000 (13:59 -0700)]
Allow arm prebuilts for x86_arm builds

But only for static and shared libraries -- we disable building other
types of modules for arm, so don't support the prebuilts for them
either.

This is needed so that we can build these libraries under Soong, and
expose them to Make using BUILD_PREBUILT.

Bug: 27526885
Change-Id: I4f6ec922aed37591b6257b7022b81fb65d05b0fe