OSDN Git Service

android-x86/build.git
8 years agoUse Jack to check build
Yohann Roussel [Tue, 18 Aug 2015 17:18:18 +0000 (19:18 +0200)]
Use Jack to check build

Run jack with no outputs as a quick check for compilation errors and use
a timestamp to store that check was made.

Change-Id: I9a1a6e7f770d0a704ae8e52defb4a04f76c91045

8 years agoSwitch to CTSv2 am: 794308f169
Stuart Scott [Tue, 1 Mar 2016 07:44:30 +0000 (07:44 +0000)]
Switch to CTSv2 am: 794308f169
am: c0f9deb222

* commit 'c0f9deb222ce9778201b608bb73a623ac2d3f0d1':
  Switch to CTSv2

8 years agoSwitch to CTSv2
Stuart Scott [Tue, 1 Mar 2016 07:43:37 +0000 (07:43 +0000)]
Switch to CTSv2
am: 794308f169

* commit '794308f1690cd4cca632efa9bacc22548d9f89ee':
  Switch to CTSv2

8 years agoSwitch to CTSv2
Stuart Scott [Fri, 19 Feb 2016 19:15:15 +0000 (11:15 -0800)]
Switch to CTSv2

bug:21762834
Change-Id: If91fd4de148241760ff29cbe227864e301a9fca7

8 years agoMerge "sandybridge setup: no AES_NI, AVX, MOVBE" am: b044f082e6 am: 5cbf049710
Olof Johansson [Mon, 29 Feb 2016 23:33:44 +0000 (23:33 +0000)]
Merge "sandybridge setup: no AES_NI, AVX, MOVBE" am: b044f082e6 am: 5cbf049710
am: 760a463e5b

* commit '760a463e5b087e7342176b48084235f66bbd72ee':
  sandybridge setup: no AES_NI, AVX, MOVBE

8 years agoMerge "sandybridge setup: no AES_NI, AVX, MOVBE" am: b044f082e6
Olof Johansson [Mon, 29 Feb 2016 23:29:23 +0000 (23:29 +0000)]
Merge "sandybridge setup: no AES_NI, AVX, MOVBE" am: b044f082e6
am: 5cbf049710

* commit '5cbf049710392924a72ba586e9260cb1e24cb485':
  sandybridge setup: no AES_NI, AVX, MOVBE

8 years agoMerge "sandybridge setup: no AES_NI, AVX, MOVBE"
Olof Johansson [Mon, 29 Feb 2016 23:27:59 +0000 (23:27 +0000)]
Merge "sandybridge setup: no AES_NI, AVX, MOVBE"
am: b044f082e6

* commit 'b044f082e62dd8ac3d2a08b209c95842fb30838e':
  sandybridge setup: no AES_NI, AVX, MOVBE

8 years agoMerge "sandybridge setup: no AES_NI, AVX, MOVBE"
Olof Johansson [Mon, 29 Feb 2016 23:27:04 +0000 (23:27 +0000)]
Merge "sandybridge setup: no AES_NI, AVX, MOVBE"

8 years agoMerge "Remove USE_NINJA=false" am: 3bfc095f53 am: d73633c082
Dan Willemsen [Mon, 29 Feb 2016 22:21:51 +0000 (22:21 +0000)]
Merge "Remove USE_NINJA=false" am: 3bfc095f53 am: d73633c082
am: 9ffa38b193

* commit '9ffa38b193e939d8c2a3ab9818eebf66a0b62ef3':
  Remove USE_NINJA=false

8 years agoMerge "Remove USE_NINJA=false" am: 3bfc095f53
Dan Willemsen [Mon, 29 Feb 2016 22:19:29 +0000 (22:19 +0000)]
Merge "Remove USE_NINJA=false" am: 3bfc095f53
am: d73633c082

* commit 'd73633c0824a63f7104bddf9a798bccc952b545c':
  Remove USE_NINJA=false

8 years agoMerge "Remove USE_NINJA=false"
Dan Willemsen [Mon, 29 Feb 2016 22:17:29 +0000 (22:17 +0000)]
Merge "Remove USE_NINJA=false"
am: 3bfc095f53

* commit '3bfc095f5373ca1756923f8aacdebdadc8ebd4ea':
  Remove USE_NINJA=false

8 years agoMerge "Remove USE_NINJA=false"
Dan Willemsen [Mon, 29 Feb 2016 22:16:14 +0000 (22:16 +0000)]
Merge "Remove USE_NINJA=false"

8 years agodelete recovery policy on changing build types am: 133e1e1f16
Nick Kralevich [Mon, 29 Feb 2016 17:06:37 +0000 (17:06 +0000)]
delete recovery policy on changing build types am: 133e1e1f16
am: fc873baf4c

* commit 'fc873baf4c67430897ab7f43c02ff46fca500cd1':
  delete recovery policy on changing build types

8 years agodelete recovery policy on changing build types
Nick Kralevich [Mon, 29 Feb 2016 17:05:02 +0000 (17:05 +0000)]
delete recovery policy on changing build types
am: 133e1e1f16

* commit '133e1e1f16968998bdb47b509ec2c46922f9d99d':
  delete recovery policy on changing build types

8 years agoMerge "delete recovery policy on changing build types" am: 1888ea5fef am: 7cf7bc0956
Nick Kralevich [Mon, 29 Feb 2016 16:48:04 +0000 (16:48 +0000)]
Merge "delete recovery policy on changing build types" am: 1888ea5fef am: 7cf7bc0956
am: 2f995877ea

* commit '2f995877ea7180acdbd9118b6e9693c985a79003':
  delete recovery policy on changing build types

8 years agoMerge "delete recovery policy on changing build types" am: 1888ea5fef
Nick Kralevich [Mon, 29 Feb 2016 16:47:30 +0000 (16:47 +0000)]
Merge "delete recovery policy on changing build types" am: 1888ea5fef
am: 7cf7bc0956

* commit '7cf7bc0956b876842191b193df46abdcc21384a8':
  delete recovery policy on changing build types

8 years agoMerge "delete recovery policy on changing build types"
Nick Kralevich [Mon, 29 Feb 2016 16:46:08 +0000 (16:46 +0000)]
Merge "delete recovery policy on changing build types"
am: 1888ea5fef

* commit '1888ea5fef5f41ec3298bfd67f14b06e6dfb6f9c':
  delete recovery policy on changing build types

8 years agodelete recovery policy on changing build types
Nick Kralevich [Sat, 27 Feb 2016 18:41:41 +0000 (10:41 -0800)]
delete recovery policy on changing build types

When the build type changes (for example, from "shamu-userdebug"
to "shamu-user"), the build system doesn't delete all files
and start over. Rather, build artifacts from the old build type
are reused for the new build type.

This is problematic for the recovery SELinux policy, which differs
between build types. Reusing a userdebug policy on a user build
is inappropriate and could lead to security bugs.

Force the deletion of the recovery SELinux policy when changing
build types, so it can be properly regenerated. This is consistent
with how we treat the normal SELinux policy (see commit
a8b3d54101eccb9950651103c199edf0ce2520f7).

(cherry picked from commit 3cb10bbd3b376aecbbefffbe4d43105665bad345)

Change-Id: I1d8ad7e06112777c66abed4546dadb85d35e33e1

8 years agoMerge "delete recovery policy on changing build types"
Nick Kralevich [Mon, 29 Feb 2016 16:44:37 +0000 (16:44 +0000)]
Merge "delete recovery policy on changing build types"

8 years agoMerge "Check LEGACY_USE_JAVA7 before using 1.8." am: 239783a7ff am: efe15f7429
Nicolas Geoffray [Mon, 29 Feb 2016 12:31:05 +0000 (12:31 +0000)]
Merge "Check LEGACY_USE_JAVA7 before using 1.8." am: 239783a7ff am: efe15f7429
am: d7e28fa261

* commit 'd7e28fa2610fbe732a7bb52619054de07f183006':
  Check LEGACY_USE_JAVA7 before using 1.8.

8 years agoMerge "Check LEGACY_USE_JAVA7 before using 1.8." am: 239783a7ff
Nicolas Geoffray [Mon, 29 Feb 2016 12:30:53 +0000 (12:30 +0000)]
Merge "Check LEGACY_USE_JAVA7 before using 1.8." am: 239783a7ff
am: efe15f7429

* commit 'efe15f7429bf235437587994c6c45fc8c4682fab':
  Check LEGACY_USE_JAVA7 before using 1.8.

8 years agoMerge "Check LEGACY_USE_JAVA7 before using 1.8."
Nicolas Geoffray [Mon, 29 Feb 2016 12:29:31 +0000 (12:29 +0000)]
Merge "Check LEGACY_USE_JAVA7 before using 1.8."
am: 239783a7ff

* commit '239783a7ff9691ec92034f0268eeebbe75e906e3':
  Check LEGACY_USE_JAVA7 before using 1.8.

8 years agoMerge "Check LEGACY_USE_JAVA7 before using 1.8."
Nicolas Geoffray [Mon, 29 Feb 2016 12:27:58 +0000 (12:27 +0000)]
Merge "Check LEGACY_USE_JAVA7 before using 1.8."

8 years agoCheck LEGACY_USE_JAVA7 before using 1.8.
Nicolas Geoffray [Mon, 29 Feb 2016 12:07:00 +0000 (12:07 +0000)]
Check LEGACY_USE_JAVA7 before using 1.8.

Fixes current bots not updated to Java8 yet.

Change-Id: I61f5a3f0de6ca0ee9eca64f0ee08454f93e59704

8 years agoMerge "Link everything in libpthread.a to ckati" am: a9b464770b am: 8f9b8ddf00
Shinichiro Hamaji [Mon, 29 Feb 2016 11:07:30 +0000 (11:07 +0000)]
Merge "Link everything in libpthread.a to ckati" am: a9b464770b am: 8f9b8ddf00
am: 312215557e

* commit '312215557e4a8b285d7346fb49a2b91270b493d7':
  Link everything in libpthread.a to ckati

8 years agoMerge "Link everything in libpthread.a to ckati" am: a9b464770b
Shinichiro Hamaji [Mon, 29 Feb 2016 11:07:11 +0000 (11:07 +0000)]
Merge "Link everything in libpthread.a to ckati" am: a9b464770b
am: 8f9b8ddf00

* commit '8f9b8ddf00d4ab32e680933304474518011a092d':
  Link everything in libpthread.a to ckati

8 years agoMerge "Link everything in libpthread.a to ckati"
Shinichiro Hamaji [Mon, 29 Feb 2016 11:05:46 +0000 (11:05 +0000)]
Merge "Link everything in libpthread.a to ckati"
am: a9b464770b

* commit 'a9b464770bf2a2a2cff279eb6042477786798d24':
  Link everything in libpthread.a to ckati

8 years agoMerge "Link everything in libpthread.a to ckati"
Shinichiro Hamaji [Mon, 29 Feb 2016 11:04:36 +0000 (11:04 +0000)]
Merge "Link everything in libpthread.a to ckati"

8 years agoMerge "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8" am: 008ebe...
Neil Fuller [Mon, 29 Feb 2016 11:02:49 +0000 (11:02 +0000)]
Merge "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8" am: 008ebe4f04 am: 59a8afcc88
am: 9edeb85474

* commit '9edeb854746a12a9b8e8a57e859dd9e5a80796a6':
  Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8

8 years agoMerge "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8" am: 008ebe4f04
Neil Fuller [Mon, 29 Feb 2016 11:01:10 +0000 (11:01 +0000)]
Merge "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8" am: 008ebe4f04
am: 59a8afcc88

* commit '59a8afcc884473c30b90a35d0c25335cec1cbf59':
  Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8

8 years agoMerge "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8"
Neil Fuller [Mon, 29 Feb 2016 10:59:44 +0000 (10:59 +0000)]
Merge "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8"
am: 008ebe4f04

* commit '008ebe4f04e41ef500bdbcab1b58cadcaec54cb5':
  Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8

8 years agoMerge "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8"
Neil Fuller [Mon, 29 Feb 2016 10:58:09 +0000 (10:58 +0000)]
Merge "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8"

8 years agodelete recovery policy on changing build types
Nick Kralevich [Sat, 27 Feb 2016 18:41:41 +0000 (10:41 -0800)]
delete recovery policy on changing build types

When the build type changes (for example, from "shamu-userdebug"
to "shamu-user"), the build system doesn't delete all files
and start over. Rather, build artifacts from the old build type
are reused for the new build type.

This is problematic for the recovery SELinux policy, which differs
between build types. Reusing a userdebug policy on a user build
is inappropriate and could lead to security bugs.

Force the deletion of the recovery SELinux policy when changing
build types, so it can be properly regenerated. This is consistent
with how we treat the normal SELinux policy (see commit
a8b3d54101eccb9950651103c199edf0ce2520f7).

Change-Id: I4ebafe3712dc121644828f6538865061aad58cc0

8 years agoRemove USE_NINJA=false
Dan Willemsen [Wed, 6 Jan 2016 22:28:36 +0000 (14:28 -0800)]
Remove USE_NINJA=false

And everything special-cased on that. Add a warning if USE_NINJA is
set to let users know that it no longer changes anything.

Change-Id: Ib8739151fe26ea6bf8f76b7ac2b8f4097dab0b47

8 years agoMerge "Make multiple rules to generate a file an error" am: 5e2e53e421 am: 44c7b4b80b
Colin Cross [Sat, 27 Feb 2016 05:17:50 +0000 (05:17 +0000)]
Merge "Make multiple rules to generate a file an error" am: 5e2e53e421 am: 44c7b4b80b
am: a27a591042

* commit 'a27a5910427e737a639dc5dcb7e3059f824928ee':
  Make multiple rules to generate a file an error

8 years agoMerge "Make multiple rules to generate a file an error" am: 5e2e53e421
Colin Cross [Sat, 27 Feb 2016 05:15:34 +0000 (05:15 +0000)]
Merge "Make multiple rules to generate a file an error" am: 5e2e53e421
am: 44c7b4b80b

* commit '44c7b4b80bdf69fc1d44a593a78510e85c941689':
  Make multiple rules to generate a file an error

8 years agoMerge "Make multiple rules to generate a file an error"
Colin Cross [Sat, 27 Feb 2016 05:14:02 +0000 (05:14 +0000)]
Merge "Make multiple rules to generate a file an error"
am: 5e2e53e421

* commit '5e2e53e4216300aa841d65f95dd607be58983a14':
  Make multiple rules to generate a file an error

8 years agoMerge "Make multiple rules to generate a file an error"
Dan Willemsen [Sat, 27 Feb 2016 05:12:28 +0000 (05:12 +0000)]
Merge "Make multiple rules to generate a file an error"

8 years agoMerge "releasetools: Add --oem_no_mount option." am: 1e0367410d am: f457860e46
Tao Bao [Sat, 27 Feb 2016 00:29:11 +0000 (00:29 +0000)]
Merge "releasetools: Add --oem_no_mount option." am: 1e0367410d am: f457860e46
am: 25e45b6d63

* commit '25e45b6d631280bcadc0961ffe15c6b60fabdf7b':
  releasetools: Add --oem_no_mount option.

8 years agoMerge "releasetools: Add --oem_no_mount option." am: 1e0367410d
Tao Bao [Sat, 27 Feb 2016 00:15:30 +0000 (00:15 +0000)]
Merge "releasetools: Add --oem_no_mount option." am: 1e0367410d
am: f457860e46

* commit 'f457860e468dfa25b51980aa2aa37aeb77e9134a':
  releasetools: Add --oem_no_mount option.

8 years agoMerge "releasetools: Add --oem_no_mount option."
Tao Bao [Sat, 27 Feb 2016 00:12:08 +0000 (00:12 +0000)]
Merge "releasetools: Add --oem_no_mount option."
am: 1e0367410d

* commit '1e0367410d3c79fcd7e64a584029a3c756757c80':
  releasetools: Add --oem_no_mount option.

8 years agoMerge "releasetools: Add --oem_no_mount option."
Tao Bao [Sat, 27 Feb 2016 00:08:39 +0000 (00:08 +0000)]
Merge "releasetools: Add --oem_no_mount option."

8 years agoreleasetools: Add --oem_no_mount option.
Tao Bao [Fri, 26 Feb 2016 03:49:55 +0000 (19:49 -0800)]
releasetools: Add --oem_no_mount option.

We may have devices with OEM-specific properties but without an OEM
partition (e.g. the properties might be set by init based on hardware
SKUs). For such devices, we supply --oem_no_mount to skip mounting the
OEM partition in the updater-script. The option is only meaningful when
-o (--oem_settings) is specified.

Bug: 27359929
Change-Id: Ic08396e478a82be4188e980e704b33b4f704a8d7

8 years agoMerge "AAPT2: library resource compilation" into nyc-dev am: 6dece90534
Ying Wang [Fri, 26 Feb 2016 23:21:43 +0000 (23:21 +0000)]
Merge "AAPT2: library resource compilation" into nyc-dev am: 6dece90534
am: 64ef18e840

* commit '64ef18e840df69c549832b239fbf8ce7f8c502ea':
  AAPT2: library resource compilation

8 years agoMerge "AAPT2: library resource compilation" into nyc-dev
Ying Wang [Fri, 26 Feb 2016 23:02:04 +0000 (23:02 +0000)]
Merge "AAPT2: library resource compilation" into nyc-dev
am: 6dece90534

* commit '6dece90534af8b290ccc385fda2e4cf0f3a37454':
  AAPT2: library resource compilation

8 years agoMerge "AAPT2: library resource compilation" into nyc-dev
Ying Wang [Fri, 26 Feb 2016 22:58:12 +0000 (22:58 +0000)]
Merge "AAPT2: library resource compilation" into nyc-dev

8 years ago[Emulator] Add comment about including AOSP messaging on AOSP images. am: 98afd8ab2a
Prathmesh Prabhu [Fri, 26 Feb 2016 21:35:32 +0000 (21:35 +0000)]
[Emulator] Add comment about including AOSP messaging on AOSP images. am: 98afd8ab2a
am: eda2466661

* commit 'eda24666611188abb949b50f3195ca4f6b273392':
  [Emulator] Add comment about including AOSP messaging on AOSP images.

8 years ago[Emulator] Add comment about including AOSP messaging on AOSP images.
Prathmesh Prabhu [Fri, 26 Feb 2016 21:33:14 +0000 (21:33 +0000)]
[Emulator] Add comment about including AOSP messaging on AOSP images.
am: 98afd8ab2a

* commit '98afd8ab2a6a942c84da360534fe9a8e1ca1ecc7':
  [Emulator] Add comment about including AOSP messaging on AOSP images.

8 years agoMerge "build file change for vts to use the existing cts-tradefed infrastructure...
Keun Soo Yim [Fri, 26 Feb 2016 19:30:58 +0000 (19:30 +0000)]
Merge "build file change for vts to use the existing cts-tradefed infrastructure" into nyc-dev am: 4773d29ab7
am: e575822d53

* commit 'e575822d530b680be5d69626a283305286b2f3dd':
  build file change for vts to use the existing cts-tradefed infrastructure

8 years agoMerge "build file change for vts to use the existing cts-tradefed infrastructure...
Keun Soo Yim [Fri, 26 Feb 2016 19:27:37 +0000 (19:27 +0000)]
Merge "build file change for vts to use the existing cts-tradefed infrastructure" into nyc-dev
am: 4773d29ab7

* commit '4773d29ab74b15895550d04bf5ac72899d036385':
  build file change for vts to use the existing cts-tradefed infrastructure

8 years ago[Emulator] Add comment about including AOSP messaging on AOSP images.
Prathmesh Prabhu [Fri, 26 Feb 2016 19:17:20 +0000 (11:17 -0800)]
[Emulator] Add comment about including AOSP messaging on AOSP images.

We've gone back and forth on this a few times.
Just state clearly why we're including the AOSP messaging APP here.

BUG:22097835
Change-Id: I26864ba033f0a211d038fa3526241c869d677217

8 years agoMerge "build file change for vts to use the existing cts-tradefed infrastructure...
Keun Soo Yim [Fri, 26 Feb 2016 19:24:09 +0000 (19:24 +0000)]
Merge "build file change for vts to use the existing cts-tradefed infrastructure" into nyc-dev

8 years agoAAPT2: library resource compilation
Ying Wang [Wed, 24 Feb 2016 22:11:55 +0000 (14:11 -0800)]
AAPT2: library resource compilation

- Switch to static library's package-res.apk as the link artifact.
- For prebuilt AAR file, build package-res.apk using aapt2's "--dir"
  option.
- New LOCAL variables:
  LOCAL_USE_AAPT2: a module can opt-in with "LOCAL_USE_AAPT2 := true".
  LOCAL_STATIC_ANDROID_LIBRARIES: static Java libraries with compiled
                   resources.
  LOCAL_SHARED_ANDROID_LIBRARIES: shared Java libraries with compiled
                   resources.

Bug: 25958912
Change-Id: I4be2d1e8137555986338c2583cb39b0c97391751

8 years agoChange the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8
Neil Fuller [Tue, 16 Feb 2016 13:04:51 +0000 (13:04 +0000)]
Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8

Modify the compiler flags for Jack and javac.

This has the following effects:
1) Generally, some of the type inference rules changed.
2) javac: bytecode is generated with the v52 major version (not v51)
3) jack: Java 8 language features are supported.

The javac / dx toolchain does not support Java 8 language features.

Bug: 26753820
(cherry picked from commit fda1ace26116a6677cc77c92c24e5259817fb86e)

Change-Id: I07769de473775d95b13feb38c0eb37086eb120f7

8 years agoLink everything in libpthread.a to ckati
Shinichiro Hamaji [Fri, 26 Feb 2016 07:58:13 +0000 (16:58 +0900)]
Link everything in libpthread.a to ckati

With this workaround, we can delete a lot of unnecessary code
in ckati: https://github.com/google/kati/commit/8380fb8525adfb5

Change-Id: I3de1bf4cd6f2a65ee9322e8504459621871612fc

8 years agoRemove dhcpcd from the base target makefile. am: a8f699a6a2
Lorenzo Colitti [Fri, 26 Feb 2016 01:59:09 +0000 (01:59 +0000)]
Remove dhcpcd from the base target makefile. am: a8f699a6a2
am: 7c51f3cd0f

* commit '7c51f3cd0fef3d94e3281cf141042f7d5c5c5665':
  Remove dhcpcd from the base target makefile.

8 years agoRemove dhcpcd from the base target makefile.
Lorenzo Colitti [Fri, 26 Feb 2016 01:55:16 +0000 (01:55 +0000)]
Remove dhcpcd from the base target makefile.
am: a8f699a6a2

* commit 'a8f699a6a246a839678f60a3f422680f34ba995c':
  Remove dhcpcd from the base target makefile.

8 years agoRemove dhcpcd from the base target makefile.
Lorenzo Colitti [Thu, 25 Feb 2016 06:50:28 +0000 (15:50 +0900)]
Remove dhcpcd from the base target makefile.

Bug: 27192644
Change-Id: Iacac58e05c441dd267c7f09f91dbfcb94f54167c

8 years agoreleasetools: Support generating downgrade incremental OTAs. am: 4da324e1a4
Tao Bao [Fri, 26 Feb 2016 00:56:56 +0000 (00:56 +0000)]
releasetools: Support generating downgrade incremental OTAs. am: 4da324e1a4
am: 9bf1d5f92a

* commit '9bf1d5f92a07f7aee12a95ec92d9cb9f25834e95':
  releasetools: Support generating downgrade incremental OTAs.

8 years agoMerge "releasetools: Support generating downgrade incremental OTAs." am: 1284954db0...
Tao Bao [Fri, 26 Feb 2016 00:56:47 +0000 (00:56 +0000)]
Merge "releasetools: Support generating downgrade incremental OTAs." am: 1284954db0 am: 5a697261fd
am: 313f63c99e

* commit '313f63c99ef377e349b7263be70cb56103659ac7':
  releasetools: Support generating downgrade incremental OTAs.

8 years agoreleasetools: Support generating downgrade incremental OTAs.
Tao Bao [Fri, 26 Feb 2016 00:43:56 +0000 (00:43 +0000)]
releasetools: Support generating downgrade incremental OTAs.
am: 4da324e1a4

* commit '4da324e1a4f0103d2f8af857b37d7bb90e98252a':
  releasetools: Support generating downgrade incremental OTAs.

8 years agoMerge "releasetools: Support generating downgrade incremental OTAs." am: 1284954db0
Tao Bao [Fri, 26 Feb 2016 00:43:39 +0000 (00:43 +0000)]
Merge "releasetools: Support generating downgrade incremental OTAs." am: 1284954db0
am: 5a697261fd

* commit '5a697261fd97c05ca8cc29c5696b29819fc6aad9':
  releasetools: Support generating downgrade incremental OTAs.

8 years agoMerge "releasetools: Support generating downgrade incremental OTAs."
Tao Bao [Fri, 26 Feb 2016 00:41:29 +0000 (00:41 +0000)]
Merge "releasetools: Support generating downgrade incremental OTAs."
am: 1284954db0

* commit '1284954db036e5c2fdf5576bd03f415b8a201078':
  releasetools: Support generating downgrade incremental OTAs.

8 years agoreleasetools: Support generating downgrade incremental OTAs.
Tao Bao [Tue, 23 Feb 2016 19:38:39 +0000 (11:38 -0800)]
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 agoMerge "releasetools: Support generating downgrade incremental OTAs."
Tao Bao [Fri, 26 Feb 2016 00:39:09 +0000 (00:39 +0000)]
Merge "releasetools: Support generating downgrade incremental OTAs."

8 years agoMerge "Add a global define for non-external code." am: 036b4fce25 am: 2b8c384da3
Dan Albert [Thu, 25 Feb 2016 22:22:37 +0000 (22:22 +0000)]
Merge "Add a global define for non-external code." am: 036b4fce25 am: 2b8c384da3
am: 12ce3e2b79

* commit '12ce3e2b7942f482fad2f14a69a42ff662b01bba':
  Add a global define for non-external code.

8 years agoMerge "Add a global define for non-external code." am: 036b4fce25
Dan Albert [Thu, 25 Feb 2016 22:21:16 +0000 (22:21 +0000)]
Merge "Add a global define for non-external code." am: 036b4fce25
am: 2b8c384da3

* commit '2b8c384da3ae091527f465cbff2950129ac17e0b':
  Add a global define for non-external code.

8 years agoMerge "Add a global define for non-external code."
Dan Albert [Thu, 25 Feb 2016 22:20:40 +0000 (22:20 +0000)]
Merge "Add a global define for non-external code."
am: 036b4fce25

* commit '036b4fce2516dfa755f6f9e5566b537ca81de5db':
  Add a global define for non-external code.

8 years agoMerge "Add a global define for non-external code."
Dan Albert [Thu, 25 Feb 2016 22:17:42 +0000 (22:17 +0000)]
Merge "Add a global define for non-external code."

8 years agoAdd a global define for non-external code.
Dan Albert [Sat, 30 Jan 2016 00:51:51 +0000 (16:51 -0800)]
Add a global define for non-external code.

There are some code policies we want to enforce more strictly, but
it's hard to do so for third party code because we have to either
carry the diff burden or upstream the patch, and in the latter case
the turnaround time for fixes can be problematic, and sometimes
upstream won't accept changes (sometimes people just need to win the
obfuscated C contest).

We define ANDROID_STRICT for any code that we expect to be able to
make these policy fixes as we change policies.

Change-Id: I15faf62cec1932dd859a082f66942b2606d0ff45

8 years agoMerge "Don\'t ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used." am: 0e0e95e592...
Ying Wang [Thu, 25 Feb 2016 18:40:26 +0000 (18:40 +0000)]
Merge "Don\'t ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used." am: 0e0e95e592 am: 7daeda5b80
am: ea4ac87272

* commit 'ea4ac87272ee8516e305ed381bd3d3a899969e40':
  Don't ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used.

8 years agoMerge "Don\'t ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used." am: 0e0e95e592
Ying Wang [Thu, 25 Feb 2016 18:35:20 +0000 (18:35 +0000)]
Merge "Don\'t ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used." am: 0e0e95e592
am: 7daeda5b80

* commit '7daeda5b80f44bb11f7bd63a70dbd5bb511bf90d':
  Don't ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used.

8 years agoMerge "Don\'t ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used."
Ying Wang [Thu, 25 Feb 2016 18:32:54 +0000 (18:32 +0000)]
Merge "Don\'t ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used."
am: 0e0e95e592

* commit '0e0e95e592d3538dc2e816e6d5291231b0cd47c7':
  Don't ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used.

8 years agoMerge "Don't ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used."
Ying Wang [Thu, 25 Feb 2016 18:28:57 +0000 (18:28 +0000)]
Merge "Don't ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used."

8 years agoMerge "Use new clang scan-build script." am: 1b460584d2 am: 20aecac087
Chih-hung Hsieh [Thu, 25 Feb 2016 17:32:33 +0000 (17:32 +0000)]
Merge "Use new clang scan-build script." am: 1b460584d2 am: 20aecac087
am: 06c682caa0

* commit '06c682caa03861a75e50a87e1420e0a319f8f2b8':
  Use new clang scan-build script.

8 years agoMerge "Use new clang scan-build script." am: 1b460584d2
Chih-hung Hsieh [Thu, 25 Feb 2016 17:27:08 +0000 (17:27 +0000)]
Merge "Use new clang scan-build script." am: 1b460584d2
am: 20aecac087

* commit '20aecac087f1cbafbe8d50c8c10f2fc88288f672':
  Use new clang scan-build script.

8 years agoMerge "Use new clang scan-build script."
Chih-hung Hsieh [Thu, 25 Feb 2016 17:22:07 +0000 (17:22 +0000)]
Merge "Use new clang scan-build script."
am: 1b460584d2

* commit '1b460584d2556132f3c8aacac028414755e68887':
  Use new clang scan-build script.

8 years agoMerge "Use new clang scan-build script."
Chih-hung Hsieh [Thu, 25 Feb 2016 17:16:54 +0000 (17:16 +0000)]
Merge "Use new clang scan-build script."

8 years agoUse new clang scan-build script.
Chih-Hung Hsieh [Thu, 25 Feb 2016 00:42:15 +0000 (16:42 -0800)]
Use new clang scan-build script.

The actual clang compiler called for static analysis is decided
by build/core/binary.mk, not the one given to --use-analyzer.

BUG: 13287788
Change-Id: I58105c20b56ce17ddf329a275c750d14284d1e25

8 years agoDon't ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used.
Ying Wang [Thu, 25 Feb 2016 01:34:52 +0000 (17:34 -0800)]
Don't ignore LOCAL_INIT_RC if LOCAL_INIT_RC_32/64 is used.

It's a valid situation for all three of LOCAL_INIT_RC, LOCAL_INIT_RC_32,
and LOCAL_INIT_RC_64 to be used.

Bug: 26773181
Change-Id: If9661f93b1823279075fc3d55195f7a939e01b6f

8 years agoMerge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE" into nyc-dev am...
Alex Light [Thu, 25 Feb 2016 00:19:33 +0000 (00:19 +0000)]
Merge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE" into nyc-dev am: f68339b025
am: b61742037e

* commit 'b61742037e419aecbe80440541f739df0b95bc2f':
  Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE

8 years agobuild file change for vts to use the existing cts-tradefed infrastructure
Keun Soo Yim [Wed, 24 Feb 2016 23:41:01 +0000 (15:41 -0800)]
build file change for vts to use the existing cts-tradefed infrastructure

Mostly done by stuartscott@

Change-Id: I016405757f39df833d532bc01fd2237e5e961a8a

8 years agoMerge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE" into nyc-dev
Alex Light [Thu, 25 Feb 2016 00:11:27 +0000 (00:11 +0000)]
Merge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE" into nyc-dev
am: f68339b025

* commit 'f68339b02500c9a22afe6eec9e1185cfc7f3a7c1':
  Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE

8 years agoMerge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE" am: 4859b22e7d am...
Alex Light [Thu, 25 Feb 2016 00:05:03 +0000 (00:05 +0000)]
Merge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE" am: 4859b22e7d am: e7e8cfb849
am: cd1f001bc1

* commit 'cd1f001bc1a4582b1cab8da0039f64a5bf4e166f':
  Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE

8 years agoMerge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE" am: 4859b22e7d
Alex Light [Wed, 24 Feb 2016 23:48:36 +0000 (23:48 +0000)]
Merge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE" am: 4859b22e7d
am: e7e8cfb849

* commit 'e7e8cfb849b59a8464658772e7faf2d3100ba00a':
  Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE

8 years agoMerge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE" into nyc-dev
Alex Light [Wed, 24 Feb 2016 23:34:06 +0000 (23:34 +0000)]
Merge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE" into nyc-dev

8 years agoMerge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE"
Alex Light [Wed, 24 Feb 2016 23:30:52 +0000 (23:30 +0000)]
Merge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE"
am: 4859b22e7d

* commit '4859b22e7ddd9ee95e603cf93676eb1dfc392b71':
  Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE

8 years agoMark the cortex-{a7,a53,a53.57} chips as supporting LPAE
Alex Light [Wed, 24 Feb 2016 21:08:58 +0000 (13:08 -0800)]
Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE

(cherry picked from commit bdfeb3e760feb080b449cc58129e5473bda54dec)

Bug: 27340895
Bug: 27324856

Change-Id: Id3994c6d334c8bb673fc3849550f591136a8dd6a

8 years agoMerge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE"
Alex Light [Wed, 24 Feb 2016 23:26:02 +0000 (23:26 +0000)]
Merge "Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE"

8 years agoMerge "Update to use the latest clang-2629532." am: 78014dbaf6 am: 7882922ed0
Stephen Hines [Wed, 24 Feb 2016 22:37:46 +0000 (22:37 +0000)]
Merge "Update to use the latest clang-2629532." am: 78014dbaf6 am: 7882922ed0
am: 82f0744379

* commit '82f0744379ec2230ca366d148756cadb9a008afb':
  Update to use the latest clang-2629532.

8 years agoMerge "Update to use the latest clang-2629532." am: 78014dbaf6
Stephen Hines [Wed, 24 Feb 2016 21:54:42 +0000 (21:54 +0000)]
Merge "Update to use the latest clang-2629532." am: 78014dbaf6
am: 7882922ed0

* commit '7882922ed084939084e43b33926c8afc5e07e004':
  Update to use the latest clang-2629532.

8 years agoMark the cortex-{a7,a53,a53.57} chips as supporting LPAE
Alex Light [Wed, 24 Feb 2016 21:08:58 +0000 (13:08 -0800)]
Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE

Bug: 27340895
Bug: 27324856

Change-Id: Id3994c6d334c8bb673fc3849550f591136a8dd6a

8 years agoMerge "Update to use the latest clang-2629532."
Stephen Hines [Wed, 24 Feb 2016 21:40:16 +0000 (21:40 +0000)]
Merge "Update to use the latest clang-2629532."
am: 78014dbaf6

* commit '78014dbaf6f7dc4894ab96a18da3635bc83df665':
  Update to use the latest clang-2629532.

8 years agoMerge "Update to use the latest clang-2629532."
Stephen Hines [Wed, 24 Feb 2016 21:11:13 +0000 (21:11 +0000)]
Merge "Update to use the latest clang-2629532."

8 years agoreleasetools: Support generating downgrade incremental OTAs.
Tao Bao [Tue, 23 Feb 2016 19:38:39 +0000 (11:38 -0800)]
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

8 years agoMerge "Warn more clearly when there are duplicate copied headers" into nyc-dev am...
Dan Willemsen [Wed, 24 Feb 2016 18:42:47 +0000 (18:42 +0000)]
Merge "Warn more clearly when there are duplicate copied headers" into nyc-dev am: ce330e5f91
am: 72f1166597

* commit '72f1166597c308c168217dc2b3da47780b648f10':
  Warn more clearly when there are duplicate copied headers

8 years agoMerge "Warn more clearly when there are duplicate copied headers" into nyc-dev
Dan Willemsen [Wed, 24 Feb 2016 18:36:29 +0000 (18:36 +0000)]
Merge "Warn more clearly when there are duplicate copied headers" into nyc-dev
am: ce330e5f91

* commit 'ce330e5f914856530630f284b66cb5bfc7742ca8':
  Warn more clearly when there are duplicate copied headers

8 years agoMerge "Warn more clearly when there are duplicate copied headers" into nyc-dev
Dan Willemsen [Wed, 24 Feb 2016 18:31:42 +0000 (18:31 +0000)]
Merge "Warn more clearly when there are duplicate copied headers" into nyc-dev

8 years agoMerge "Revert "Revert "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1...
Neil Fuller [Wed, 24 Feb 2016 10:23:54 +0000 (10:23 +0000)]
Merge "Revert "Revert "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8""" into nyc-dev am: 74c78f950c
am: 0768633486

* commit '076863348663beff3e8e59f01a7fa537bb4cd6ee':
  Revert "Revert "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8""

8 years agoMerge "Revert "Revert "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1...
Neil Fuller [Wed, 24 Feb 2016 10:21:13 +0000 (10:21 +0000)]
Merge "Revert "Revert "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8""" into nyc-dev
am: 74c78f950c

* commit '74c78f950c93f156e5c38eb3cea8a82d5cb70269':
  Revert "Revert "Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8""