OSDN Git Service

android-x86/build.git
8 years agoMerge "Rename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS."
Alex Deymo [Fri, 23 Oct 2015 14:48:30 +0000 (14:48 +0000)]
Merge "Rename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS."
am: c82b873b9b

* commit 'c82b873b9b6c234da128cdbc0dde6624e45f5b6d':
  Rename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS.

8 years agoMerge "Rename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS."
Alex Deymo [Fri, 23 Oct 2015 14:45:05 +0000 (14:45 +0000)]
Merge "Rename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS."

8 years agoRename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS.
Alex Deymo [Fri, 23 Oct 2015 01:15:27 +0000 (18:15 -0700)]
Rename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS.

In order to have all the A/B updater variables in the same AB_OTA_
namespace we rename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS.

Bug: None
Test: `make dist` includes the partitions.txt file if properly configured.

Change-Id: Ied4faabd7e2f0ab8a5007afb44ad2f38df8d630d

8 years agoMerge "Move x86_64 target to clang by default."
Chih-hung Hsieh [Fri, 23 Oct 2015 00:30:05 +0000 (00:30 +0000)]
Merge "Move x86_64 target to clang by default."
am: 373a1e36a9

* commit '373a1e36a99c7af15a00723c7561db3906281ab5':
  Move x86_64 target to clang by default.

8 years agoMerge "Move x86_64 target to clang by default."
Chih-hung Hsieh [Fri, 23 Oct 2015 00:26:20 +0000 (00:26 +0000)]
Merge "Move x86_64 target to clang by default."

8 years agoMove x86_64 target to clang by default.
Chih-Hung Hsieh [Thu, 22 Oct 2015 23:29:59 +0000 (16:29 -0700)]
Move x86_64 target to clang by default.

Bug: 23163853
Change-Id: I0587ec75c0000ac99562233de33147ec8e120e65

8 years agoMerge "use `find -exec ... +` everywhere"
Mike Frysinger [Thu, 22 Oct 2015 19:44:08 +0000 (19:44 +0000)]
Merge "use `find -exec ... +` everywhere"
am: 6ff6e9552c

* commit '6ff6e9552c90d091adf4e3f686d2922585d8060f':
  use `find -exec ... +` everywhere

8 years agoMerge "use `find -exec ... +` everywhere"
Mike Frysinger [Thu, 22 Oct 2015 19:40:43 +0000 (19:40 +0000)]
Merge "use `find -exec ... +` everywhere"

8 years agoMerge "Fix calculation of stashed blocks."
Tao Bao [Thu, 22 Oct 2015 19:11:12 +0000 (19:11 +0000)]
Merge "Fix calculation of stashed blocks."
am: db08d835d0

* commit 'db08d835d0d071b27fc6fcf14e0cf261a5f18f68':
  Fix calculation of stashed blocks.

8 years agoMerge "Fix calculation of stashed blocks."
Tao Bao [Thu, 22 Oct 2015 18:57:42 +0000 (18:57 +0000)]
Merge "Fix calculation of stashed blocks."

8 years agoMerge "blockimgdiff.py: Fix the script error for BBOTA v1."
Tao Bao [Thu, 22 Oct 2015 18:12:56 +0000 (18:12 +0000)]
Merge "blockimgdiff.py: Fix the script error for BBOTA v1."
am: bcb9240a2b

* commit 'bcb9240a2b168c711e4a9543e9d34f9c58a6f0c2':
  blockimgdiff.py: Fix the script error for BBOTA v1.

8 years agoMerge "blockimgdiff.py: Fix the script error for BBOTA v1."
Tao Bao [Thu, 22 Oct 2015 18:09:27 +0000 (18:09 +0000)]
Merge "blockimgdiff.py: Fix the script error for BBOTA v1."

8 years agouse `find -exec ... +` everywhere
Mike Frysinger [Tue, 22 Sep 2015 22:13:48 +0000 (18:13 -0400)]
use `find -exec ... +` everywhere

This is more efficient as find itself can handle correctly passing
arguments down to the command, and this is in POSIX.  The current
versions of OS X also support this form.

BUG=None
TEST=mgrep still works

Change-Id: Ie570867609113868daaf068658c4f7e6f4ae42fa

8 years agoMerge changes from topic \'jack-server-1.3-a3\'
Yohann Roussel [Thu, 22 Oct 2015 10:50:40 +0000 (10:50 +0000)]
Merge changes from topic \'jack-server-1.3-a3\'
am: e0c7b4ec96

* commit 'e0c7b4ec96d4aa584f79a24aea7c682a114143d8':
  Remove LOCAL_JACK_EXTRA_ARGS
  Allow control of jack used for compilation
  Clean call-jack and its callers

8 years agoMerge changes from topic 'jack-server-1.3-a3'
Yohann Roussel [Thu, 22 Oct 2015 10:46:37 +0000 (10:46 +0000)]
Merge changes from topic 'jack-server-1.3-a3'

* changes:
  Remove LOCAL_JACK_EXTRA_ARGS
  Allow control of jack used for compilation
  Clean call-jack and its callers

8 years agoFix calculation of stashed blocks.
caozhiyuan [Wed, 21 Oct 2015 07:14:03 +0000 (15:14 +0800)]
Fix calculation of stashed blocks.

Change-Id: Ic3d607cb6691fc58e189a54a7244942cf3f3c387
Signed-off-by: caozhiyuan <cao.zhiyuan@zte.com.cn>
8 years agoblockimgdiff.py: Fix the script error for BBOTA v1.
Tao Bao [Wed, 21 Oct 2015 20:36:01 +0000 (13:36 -0700)]
blockimgdiff.py: Fix the script error for BBOTA v1.

CL in [1] added an assertion to make sure an empty RangeSet cannot call
RangeSet.to_raw_string(). However, we may unintentionally hit that when
generating BBOTA v1 script (e.g. for "new" commands that always have
empty src_ranges).

[1] commit e8f756137c39fc3292014f2eab5f84c6e5135797

Change-Id: I1723606967f354ace9286d2b888fdbc80ba10e39

8 years agoMerge "allow qemu_props to set opengles.version"
Nick Kralevich [Wed, 21 Oct 2015 18:19:49 +0000 (18:19 +0000)]
Merge "allow qemu_props to set opengles.version"
am: c5a33b0570

* commit 'c5a33b057071a0c2ea0374bbb28ba02ba2495aba':
  allow qemu_props to set opengles.version

8 years agoMerge "allow qemu_props to set opengles.version"
Nick Kralevich [Wed, 21 Oct 2015 18:10:53 +0000 (18:10 +0000)]
Merge "allow qemu_props to set opengles.version"

8 years agoallow qemu_props to set opengles.version
Nick Kralevich [Wed, 21 Oct 2015 17:55:21 +0000 (10:55 -0700)]
allow qemu_props to set opengles.version

Addresses the following denial:

  init: avc:  denied  { set } for property=opengles.version scontext=u:r:qemu_props:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service

Bug: 25148690
Change-Id: I4b197eeabfe37e794104e4e686e9e388b5bc3e0c

8 years agoMerge "Revert "Switch from clang 3.6 to new clang repository (with 3.8).""
Stephen Hines [Wed, 21 Oct 2015 16:39:12 +0000 (16:39 +0000)]
Merge "Revert "Switch from clang 3.6 to new clang repository (with 3.8).""
am: a7918b4948

* commit 'a7918b49488ad0daed6def7459fbf0f9d281b4b5':
  Revert "Switch from clang 3.6 to new clang repository (with 3.8)."

8 years agoMerge "Revert "Switch from clang 3.6 to new clang repository (with 3.8).""
Stephen Hines [Wed, 21 Oct 2015 16:29:28 +0000 (16:29 +0000)]
Merge "Revert "Switch from clang 3.6 to new clang repository (with 3.8).""

8 years agoRevert "Switch from clang 3.6 to new clang repository (with 3.8)."
Stephen Hines [Wed, 21 Oct 2015 15:32:45 +0000 (08:32 -0700)]
Revert "Switch from clang 3.6 to new clang repository (with 3.8)."

This reverts commit 1332828b6ea25250c497609a1d4b2c7e28227ff9.

Bug: 25141123

Change-Id: Idd5d8757095b2b370046a84aea76bc95e16f3876

8 years agoRemove LOCAL_JACK_EXTRA_ARGS
Yohann Roussel [Mon, 12 Oct 2015 16:02:51 +0000 (18:02 +0200)]
Remove LOCAL_JACK_EXTRA_ARGS

Use of DEFAULT_JACK_EXTRA_ARGS and LOCAL_JACK_FLAGS provides all needed
support.

(cherry picked from commit d2b2983cc791f90a0d052699603723335ab94f5a)

Change-Id: I1cd76836792e7332bc3750408a860400b0957485

8 years agoAllow control of jack used for compilation
Yohann Roussel [Fri, 3 Jul 2015 13:46:51 +0000 (15:46 +0200)]
Allow control of jack used for compilation

Version of Jack used to compile a module can now be control from
a dedicated mk located in prebuilts/sdk/tools

Bug: 24564814

(cherry picked from commit b68c9a498d1e2c631eb6e8c9092d4d5775402083)

Change-Id: I7809dc966026ff94b5cb2daa7e2c63762ca4768d

8 years agoClean call-jack and its callers
Yohann Roussel [Thu, 2 Jul 2015 10:10:17 +0000 (12:10 +0200)]
Clean call-jack and its callers

This is possible now that we have the new Jack server.
Also fix dependency from dex/jack target to jack script
instead of jack.jar.

(cherry picked from commit 5e50b342218fe2b9c1af20fd7da3c173bfac0499)

Change-Id: I8e7aa5087ba8d73cc93140ddfca8f4ab2f505175

8 years agoMerge "Switch from clang 3.6 to new clang repository (with 3.8)."
Stephen Hines [Wed, 21 Oct 2015 00:22:02 +0000 (00:22 +0000)]
Merge "Switch from clang 3.6 to new clang repository (with 3.8)."
am: f5782d6097

* commit 'f5782d609724b5f41506433392ca51e1bed9c828':
  Switch from clang 3.6 to new clang repository (with 3.8).

8 years agoMerge changes I2ba90314,I5f47307d
Colin Cross [Wed, 21 Oct 2015 00:21:52 +0000 (00:21 +0000)]
Merge changes I2ba90314,I5f47307d
am: fc8b331858

* commit 'fc8b331858747f8207e3861c0ada2c4fd359f648':
  makeparallel: prepend flags to ninja command line
  Put NINJA_ARGS last

8 years agoMerge "Switch from clang 3.6 to new clang repository (with 3.8)."
Stephen Hines [Wed, 21 Oct 2015 00:18:05 +0000 (00:18 +0000)]
Merge "Switch from clang 3.6 to new clang repository (with 3.8)."

8 years agoMerge changes I2ba90314,I5f47307d
Colin Cross [Wed, 21 Oct 2015 00:15:33 +0000 (00:15 +0000)]
Merge changes I2ba90314,I5f47307d

* changes:
  makeparallel: prepend flags to ninja command line
  Put NINJA_ARGS last

8 years agomakeparallel: prepend flags to ninja command line
Colin Cross [Tue, 20 Oct 2015 22:41:05 +0000 (15:41 -0700)]
makeparallel: prepend flags to ninja command line

Ninja stops parsing top level options after -t is used to select a
tool.  Put any inserted command line options at the beginning of the
command.

Change-Id: I2ba903143366aaded63e21d749476248617c8962

8 years agoMerge "Build: Fix DEX2OAT_TARGET_CPU_VARIANT setting"
Andreas Gampe [Tue, 20 Oct 2015 23:50:59 +0000 (23:50 +0000)]
Merge "Build: Fix DEX2OAT_TARGET_CPU_VARIANT setting"
am: 6c45f4493e

* commit '6c45f4493e125f4632ee0d0ed95d0198018cbb80':
  Build: Fix DEX2OAT_TARGET_CPU_VARIANT setting

8 years agoMerge "Build: Fix DEX2OAT_TARGET_CPU_VARIANT setting"
Andreas Gampe [Tue, 20 Oct 2015 23:37:36 +0000 (23:37 +0000)]
Merge "Build: Fix DEX2OAT_TARGET_CPU_VARIANT setting"

8 years agoPut NINJA_ARGS last
Colin Cross [Mon, 5 Oct 2015 22:12:08 +0000 (15:12 -0700)]
Put NINJA_ARGS last

Put NINJA_ARGS at the end of the command line so it can contain tools,
which expect to be last.

Change-Id: I5f47307d01aa52eb74a333b19ffe3a7cd8950b01

8 years agoMerge "Typos in envsetup.sh."
Roland Levillain [Tue, 20 Oct 2015 21:44:10 +0000 (21:44 +0000)]
Merge "Typos in envsetup.sh."
am: 8503cfb49c

* commit '8503cfb49c797bffa2568cffaab483071230fef0':
  Typos in envsetup.sh.

8 years agoMerge "Typos in envsetup.sh."
Roland Levillain [Tue, 20 Oct 2015 21:30:10 +0000 (21:30 +0000)]
Merge "Typos in envsetup.sh."

8 years agoMerge "Stop encoding absolute paths in symbols"
Dan Willemsen [Tue, 20 Oct 2015 20:52:09 +0000 (20:52 +0000)]
Merge "Stop encoding absolute paths in symbols"
am: 9f576acde6

* commit '9f576acde6c27149c9ca563f0a73e9f1c5e0e768':
  Stop encoding absolute paths in symbols

8 years agoMerge "Stop encoding absolute paths in symbols"
Dan Willemsen [Tue, 20 Oct 2015 20:46:21 +0000 (20:46 +0000)]
Merge "Stop encoding absolute paths in symbols"

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

* commit 'a993bfff361b22902387fc66d734abe385ca3338':
  Move x86 target to clang by default.

8 years agoMerge "Move x86 target to clang by default."
Chih-hung Hsieh [Tue, 20 Oct 2015 19:47:55 +0000 (19:47 +0000)]
Merge "Move x86 target to clang by default."

8 years agoMove x86 target to clang by default.
Chih-Hung Hsieh [Tue, 20 Oct 2015 19:16:57 +0000 (12:16 -0700)]
Move x86 target to clang by default.

Bug: 23163853
Change-Id: Ib5e9beddbeca8968d6e4365abeb44ae97cbe9981

8 years agoTypos in envsetup.sh.
Roland Levillain [Tue, 20 Oct 2015 11:48:19 +0000 (12:48 +0100)]
Typos in envsetup.sh.

Change-Id: I31cc811e1352b9c924bdf164561f334b032d6f5c

8 years agoBuild: Fix DEX2OAT_TARGET_CPU_VARIANT setting
Andreas Gampe [Fri, 16 Oct 2015 03:43:29 +0000 (20:43 -0700)]
Build: Fix DEX2OAT_TARGET_CPU_VARIANT setting

The secondary variant fallback was not set. The build system expects
the variants, so system properties were malformed for x86-64:

  [dalvik.vm.isa.x86.variant]: [dalvik.vm.isa.x86.features=default]

Bug: 24989387
Change-Id: Idbf54f81494f2650ad56080305807fd6b7ed4161

8 years agoMerge "Invoke the aidl-cpp compiler to generate C++"
Christopher Wiley [Mon, 19 Oct 2015 23:49:58 +0000 (23:49 +0000)]
Merge "Invoke the aidl-cpp compiler to generate C++"
am: ba39c5690a

* commit 'ba39c5690aae0bcd7102c0030a31b705ce1b92f1':
  Invoke the aidl-cpp compiler to generate C++

8 years agoMerge "Invoke the aidl-cpp compiler to generate C++"
Christopher Wiley [Mon, 19 Oct 2015 23:44:21 +0000 (23:44 +0000)]
Merge "Invoke the aidl-cpp compiler to generate C++"

8 years agoMerge "envsetup: Show error when supplied dir isn\'t present with mmm"
Ying Wang [Mon, 19 Oct 2015 23:21:46 +0000 (23:21 +0000)]
Merge "envsetup: Show error when supplied dir isn\'t present with mmm"
am: 475054a16a

* commit '475054a16ad57b184fa476c093cf1ce8e9ec3e15':
  envsetup: Show error when supplied dir isn't present with mmm

8 years agoInvoke the aidl-cpp compiler to generate C++
Christopher Wiley [Thu, 15 Oct 2015 00:27:24 +0000 (17:27 -0700)]
Invoke the aidl-cpp compiler to generate C++

Bug: 23599697
Test: test application compiles generated code

Change-Id: I35255517dd0b7ef7a82134be1c862093eaa3ce6b

8 years agoMerge "envsetup: Show error when supplied dir isn't present with mmm"
Ying Wang [Mon, 19 Oct 2015 22:44:03 +0000 (22:44 +0000)]
Merge "envsetup: Show error when supplied dir isn't present with mmm"

8 years agoam 77493047: Merge "Add support for LOCAL_SRC_FILES_EXCLUDE"
Dan Willemsen [Mon, 19 Oct 2015 21:24:53 +0000 (14:24 -0700)]
am 77493047: Merge "Add support for LOCAL_SRC_FILES_EXCLUDE"

* commit '7749304741070af8239e02f68d688fc45fd877d1':
  Add support for LOCAL_SRC_FILES_EXCLUDE

8 years agoMerge "Add support for LOCAL_SRC_FILES_EXCLUDE"
Dan Willemsen [Mon, 19 Oct 2015 21:21:40 +0000 (21:21 +0000)]
Merge "Add support for LOCAL_SRC_FILES_EXCLUDE"

8 years agoenvsetup: Show error when supplied dir isn't present with mmm
Abhinav1997 [Sun, 18 Oct 2015 18:25:48 +0000 (20:25 +0200)]
envsetup: Show error when supplied dir isn't present with mmm

When a directory isn't present with mmm, don't show "No Android.mk present", rather show that the directory isn't present

Change-Id: I7259a60012c6f30c470daa60d5a5097d01ffc4c7
Signed-off-by: Abhinav1997 <abhinav.jhanwar.august2@gmail.com>
8 years agoam 87f58261: Merge "Error correction: Append codes to verified partitions"
Sami Tolvanen [Mon, 19 Oct 2015 09:55:51 +0000 (02:55 -0700)]
am 87f58261: Merge "Error correction: Append codes to verified partitions"

* commit '87f582611a5a5c23abf3237abe0e467e46111567':
  Error correction: Append codes to verified partitions

8 years agoMerge "Error correction: Append codes to verified partitions"
Sami Tolvanen [Mon, 19 Oct 2015 09:49:18 +0000 (09:49 +0000)]
Merge "Error correction: Append codes to verified partitions"

8 years agoam 4f6f0f92: Merge "If a console doesn\'t exist, read password from stdin."
Ying Wang [Sun, 18 Oct 2015 17:12:27 +0000 (10:12 -0700)]
am 4f6f0f92: Merge "If a console doesn\'t exist, read password from stdin."

* commit '4f6f0f924eba9f80493861a9e7ff7f40f9924aa2':
  If a console doesn't exist, read password from stdin.

8 years agoMerge "If a console doesn't exist, read password from stdin."
Ying Wang [Sun, 18 Oct 2015 17:07:28 +0000 (17:07 +0000)]
Merge "If a console doesn't exist, read password from stdin."

8 years agoAdd support for LOCAL_SRC_FILES_EXCLUDE
Colin Cross [Tue, 30 Jun 2015 19:21:59 +0000 (12:21 -0700)]
Add support for LOCAL_SRC_FILES_EXCLUDE

LOCAL_SRC_FILES_EXCLUDE will be used to filter files out of
LOCAL_SRC_FILES.  A common usage will be to use
LOCAL_SRC_FILES_EXCLUDE_<arch> to remove a source file that will be
replaced with an arch-optimized version.

Change-Id: I75cc6114c47fb784bab65cae8f618c4f395f07bb

8 years agoam ac39bef4: Merge "common.py: Fix the build."
Tao Bao [Fri, 16 Oct 2015 22:46:31 +0000 (15:46 -0700)]
am ac39bef4: Merge "common.py: Fix the build."

* commit 'ac39bef43fb032bff75b8558f54107e733355265':
  common.py: Fix the build.

8 years agoMerge "common.py: Fix the build."
Tao Bao [Fri, 16 Oct 2015 22:41:45 +0000 (22:41 +0000)]
Merge "common.py: Fix the build."

8 years agocommon.py: Fix the build.
Tao Bao [Fri, 16 Oct 2015 22:26:34 +0000 (15:26 -0700)]
common.py: Fix the build.

Should only use source_info_dict when creating incremental OTAs.

Change-Id: I6a4e5f8fa3613a1b36563ec915e433247965a2b8

8 years agoam 543b28d4: Merge "Pass source\'s info_dict to vendor\'s releasetools.py."
Tao Bao [Fri, 16 Oct 2015 21:49:40 +0000 (14:49 -0700)]
am 543b28d4: Merge "Pass source\'s info_dict to vendor\'s releasetools.py."

* commit '543b28d42f8fdebe011a906826251ab8df70a226':
  Pass source's info_dict to vendor's releasetools.py.

8 years agoMerge "Pass source's info_dict to vendor's releasetools.py."
Tao Bao [Fri, 16 Oct 2015 21:42:34 +0000 (21:42 +0000)]
Merge "Pass source's info_dict to vendor's releasetools.py."

8 years agoam 19e4741d: Merge "Use direct dependency on the JNI so files."
Ying Wang [Fri, 16 Oct 2015 01:25:15 +0000 (01:25 +0000)]
am 19e4741d: Merge "Use direct dependency on the JNI so files."

* commit '19e4741df60643d4fdb876e77069bb63857a12b2':
  Use direct dependency on the JNI so files.

8 years agoMerge "Use direct dependency on the JNI so files."
Ying Wang [Fri, 16 Oct 2015 01:19:48 +0000 (01:19 +0000)]
Merge "Use direct dependency on the JNI so files."

8 years agoUse direct dependency on the JNI so files.
Ying Wang [Thu, 15 Oct 2015 22:29:01 +0000 (15:29 -0700)]
Use direct dependency on the JNI so files.

With the order-only dependency if the jni so files is updated,
make won't rebuild the system.img, which has dependency only on the apk
file.

Bug: 24865400
Change-Id: I9d5bee82b8a712a2c24dabaa0cd4c50174ea219f

8 years agoam 5baea143: Merge "Use libgcov OR libclang_rt.profile, not both."
Dan Albert [Thu, 15 Oct 2015 18:48:42 +0000 (18:48 +0000)]
am 5baea143: Merge "Use libgcov OR libclang_rt.profile, not both."

* commit '5baea1436371dea7e14562b17431bcd2b6a55f7d':
  Use libgcov OR libclang_rt.profile, not both.

8 years agoam f1b066b5: Merge "Remove duplicate local_time.default"
Ying Wang [Thu, 15 Oct 2015 18:39:45 +0000 (18:39 +0000)]
am f1b066b5: Merge "Remove duplicate local_time.default"

* commit 'f1b066b5ce3ebec905cb38dbb48a77dc58d4c457':
  Remove duplicate local_time.default

8 years agoMerge "Use libgcov OR libclang_rt.profile, not both."
Dan Albert [Thu, 15 Oct 2015 18:39:42 +0000 (18:39 +0000)]
Merge "Use libgcov OR libclang_rt.profile, not both."

8 years agoMerge "Remove duplicate local_time.default"
Ying Wang [Thu, 15 Oct 2015 18:35:26 +0000 (18:35 +0000)]
Merge "Remove duplicate local_time.default"

8 years agoam 2af58637: Merge "Add the Product ID to target_files.zip"
Steve Fung [Thu, 15 Oct 2015 18:19:52 +0000 (18:19 +0000)]
am 2af58637: Merge "Add the Product ID to target_files.zip"

* commit '2af586376d2b99c75a5672c72a704f2031adc0fe':
  Add the Product ID to target_files.zip

8 years agoMerge "Add the Product ID to target_files.zip"
Steve Fung [Thu, 15 Oct 2015 18:13:41 +0000 (18:13 +0000)]
Merge "Add the Product ID to target_files.zip"

8 years agoam 5c24a50e: Merge "generic_x86: delete system_server execmem"
Nick Kralevich [Thu, 15 Oct 2015 09:46:45 +0000 (09:46 +0000)]
am 5c24a50e: Merge "generic_x86: delete system_server execmem"

* commit '5c24a50e5fba6aad3319edc0770005e20ac0b9e1':
  generic_x86: delete system_server execmem

8 years agoMerge "generic_x86: delete system_server execmem"
Nick Kralevich [Thu, 15 Oct 2015 09:42:17 +0000 (09:42 +0000)]
Merge "generic_x86: delete system_server execmem"

8 years agogeneric_x86: delete system_server execmem
Nick Kralevich [Thu, 15 Oct 2015 09:37:40 +0000 (02:37 -0700)]
generic_x86: delete system_server execmem

https://android-review.googlesource.com/175922 removed all uses
of system_server execmem and neverallowed it. The x86 emulator policy
inappropriately includes this rule. Delete it.

Fixes the following build breakage:

  libsepol.report_failure: neverallow on line 473 of external/sepolicy/system_server.te (or line 12452 of policy.conf) violated by allow system_server system_server:process { execmem };
  libsepol.check_assertions: 1 neverallow failures occurred
  Error while expanding policy

Change-Id: I7fbfaa0a09e8f4e8a372d2f1a64bbe58d5302204

8 years agoam 7d3690eb: Merge "Export include path to D-Bus headers for multilib builds"
Peter Qiu [Thu, 15 Oct 2015 04:08:50 +0000 (04:08 +0000)]
am 7d3690eb: Merge "Export include path to D-Bus headers for multilib builds"

* commit '7d3690eb3572477b65c04c7a7964a3367c2f69a6':
  Export include path to D-Bus headers for multilib builds

8 years agoMerge "Export include path to D-Bus headers for multilib builds"
Peter Qiu [Thu, 15 Oct 2015 04:00:38 +0000 (04:00 +0000)]
Merge "Export include path to D-Bus headers for multilib builds"

8 years agoam 84c5ae52: Merge "Use @arg-lsit-file for jar in add-carried-jack-resources"
Ying Wang [Thu, 15 Oct 2015 01:15:34 +0000 (01:15 +0000)]
am 84c5ae52: Merge "Use @arg-lsit-file for jar in add-carried-jack-resources"

* commit '84c5ae523201f17b94b5b0afe85a9af3f26c8231':
  Use @arg-lsit-file for jar in add-carried-jack-resources

8 years agoMerge "Use @arg-lsit-file for jar in add-carried-jack-resources"
Ying Wang [Thu, 15 Oct 2015 01:10:44 +0000 (01:10 +0000)]
Merge "Use @arg-lsit-file for jar in add-carried-jack-resources"

8 years agoUse @arg-lsit-file for jar in add-carried-jack-resources
Ying Wang [Wed, 14 Oct 2015 01:40:37 +0000 (18:40 -0700)]
Use @arg-lsit-file for jar in add-carried-jack-resources

Don't pass the arg list as argument in any bash command;
Instead store the arg list to the arg list file and
run "jar @arg-lsit-file".
Note we need to quote the arguments in the arg list file.

This fixed "argument list too long" build error on Mac.

Bug: 24789595
Change-Id: I718f84e540d82bb83516824894a473b2961da278

8 years agoStop encoding absolute paths in symbols
Dan Willemsen [Wed, 14 Oct 2015 23:44:53 +0000 (16:44 -0700)]
Stop encoding absolute paths in symbols

GCC & Clang encode the current working directory into the symbol files.
Even if the binaries are stripped before being installed, the build-id
hash will be different. This means that two different checkouts will
produce different installed binaries, even if the sources are identical.

To prevent this, set PWD=/proc/self/cwd, so that it replaces the
absolute path with the static path /proc/self/cwd. With GCC, use
-fdebug-prefix-map to remove that static path. Our clang does not yet
support this flag, but it was merged in r250094.

This does change the behavior when using gdb -- you now need to be in
$ANDROID_BUILD_TOP before gdb will load the sources.

Bug: 24204119
Change-Id: I792d65b042b7a3fdc78d567c5a6e93cdf0141b9b

8 years agoExport include path to D-Bus headers for multilib builds
Peter Qiu [Wed, 14 Oct 2015 23:46:41 +0000 (16:46 -0700)]
Export include path to D-Bus headers for multilib builds

Bug:None

Change-Id: I6e3898c71f54ede08a27f5be93e95a2b219e5ea6

8 years agoam ed4b0eeb: Merge "Revert "Use @arg-lsit-file for jar in add-carried-jack-resources""
Ying Wang [Wed, 14 Oct 2015 23:32:18 +0000 (23:32 +0000)]
am ed4b0eeb: Merge "Revert "Use @arg-lsit-file for jar in add-carried-jack-resources""

* commit 'ed4b0eeb435903d9be502dcebd2c000f143df575':
  Revert "Use @arg-lsit-file for jar in add-carried-jack-resources"

8 years agoMerge "Revert "Use @arg-lsit-file for jar in add-carried-jack-resources""
Ying Wang [Wed, 14 Oct 2015 23:09:14 +0000 (23:09 +0000)]
Merge "Revert "Use @arg-lsit-file for jar in add-carried-jack-resources""

8 years agoRevert "Use @arg-lsit-file for jar in add-carried-jack-resources"
Ying Wang [Wed, 14 Oct 2015 23:08:53 +0000 (23:08 +0000)]
Revert "Use @arg-lsit-file for jar in add-carried-jack-resources"

This reverts commit 16f93d5661afe23229ab3b08ddd5fde9bc9c7eb8.

Change-Id: I925dae6a2d07792c61fcd3b6fd8718391ab993f8

8 years agoAdd the Product ID to target_files.zip
Steve Fung [Wed, 14 Oct 2015 22:54:51 +0000 (15:54 -0700)]
Add the Product ID to target_files.zip

When using the A/B updater, include the product id string to
target_files.zip.
This is needed by the Omaha backend.

Bug: 24946811
Change-Id: I2ce5f6cffe440c29a1820348ee215c71cec07861

8 years agoam 37572684: Merge "Use @arg-lsit-file for jar in add-carried-jack-resources"
Ying Wang [Wed, 14 Oct 2015 21:47:50 +0000 (21:47 +0000)]
am 37572684: Merge "Use @arg-lsit-file for jar in add-carried-jack-resources"

* commit '3757268466d8fe9438e45e989728a74f14a162c6':
  Use @arg-lsit-file for jar in add-carried-jack-resources

8 years agoMerge "Use @arg-lsit-file for jar in add-carried-jack-resources"
Ying Wang [Wed, 14 Oct 2015 21:43:41 +0000 (21:43 +0000)]
Merge "Use @arg-lsit-file for jar in add-carried-jack-resources"

8 years agoam f635a586: Merge "Disable verity metadata for eng builds"
Sami Tolvanen [Wed, 14 Oct 2015 20:53:28 +0000 (20:53 +0000)]
am f635a586: Merge "Disable verity metadata for eng builds"

* commit 'f635a586e8f4790455ef3dad8c1291c9eb95747e':
  Disable verity metadata for eng builds

8 years agoMerge "Disable verity metadata for eng builds"
Sami Tolvanen [Wed, 14 Oct 2015 20:49:32 +0000 (20:49 +0000)]
Merge "Disable verity metadata for eng builds"

8 years agoam 191da9bc: Merge "Let get-prebuilt-src-arch return empty if the input is empty"
Ying Wang [Wed, 14 Oct 2015 20:45:49 +0000 (20:45 +0000)]
am 191da9bc: Merge "Let get-prebuilt-src-arch return empty if the input is empty"

* commit '191da9bc08360409fa2951567e427168a8d1f76d':
  Let get-prebuilt-src-arch return empty if the input is empty

8 years agoMerge "Let get-prebuilt-src-arch return empty if the input is empty"
Ying Wang [Wed, 14 Oct 2015 20:41:30 +0000 (20:41 +0000)]
Merge "Let get-prebuilt-src-arch return empty if the input is empty"

8 years agoError correction: Append codes to verified partitions
Sami Tolvanen [Wed, 20 May 2015 06:30:57 +0000 (07:30 +0100)]
Error correction: Append codes to verified partitions

Append error-correcting codes to verified partitions provided that
PRODUCT_SUPPORTS_VERITY_FEC is true.

This moves verity metadata to be after the hash tree, and requires
matching changes from
  Ide48f581bbba77aed6132f77b309db71630d81ed

Bug: 21893453
Change-Id: I6945cbab99e214566a1f9d3702333f2dbbc35816

8 years agoDisable verity metadata for eng builds
Sami Tolvanen [Tue, 15 Sep 2015 16:21:15 +0000 (17:21 +0100)]
Disable verity metadata for eng builds

We don't have dm-verity enabled on eng builds, so don't waste time
generating metadata for images.

Change-Id: Ib2c8d459bb50c30dc32a4ea1fdedc152c09a3a0f
(cherry picked from commit beae6395fc934ae24955a5e96ec04cda5535d952)

8 years agoLet get-prebuilt-src-arch return empty if the input is empty
Chih-Wei Huang [Sun, 4 Oct 2015 16:28:47 +0000 (00:28 +0800)]
Let get-prebuilt-src-arch return empty if the input is empty

The list of archs of a pure java apk (no native libs) is empty.
In this case get-prebuilt-src-arch still return 'none'.
If it's set to LOCAL_MODULE_TARGET_ARCH, it makes the apk
be incompatible with the building target. It's not good.

Just return empty in this case.

Change-Id: Ide75cdb08c8480c8e7d3a0ac59f41831fbc18bd5

8 years agoUse @arg-lsit-file for jar in add-carried-jack-resources
Ying Wang [Wed, 14 Oct 2015 01:40:37 +0000 (18:40 -0700)]
Use @arg-lsit-file for jar in add-carried-jack-resources

Don't pass the arg list as argument in any bash command;
Instead store the arg list to the arg list file and
run "jar @arg-lsit-file".

This fixed "argument list too long" build error on Mac.

Bug: 24789595
Change-Id: I3e5cd18fd988f12f0876b152b8bf07d07b56119e

8 years agoam 723a2653: Merge "Allow to build against Mac OS X SDK 10.11."
Ying Wang [Wed, 14 Oct 2015 01:05:41 +0000 (01:05 +0000)]
am 723a2653: Merge "Allow to build against Mac OS X SDK 10.11."

* commit '723a26530f801640e8fb9fe037a9f6ca9abe1f39':
  Allow to build against Mac OS X SDK 10.11.

8 years agoMerge "Allow to build against Mac OS X SDK 10.11."
Ying Wang [Wed, 14 Oct 2015 01:03:10 +0000 (01:03 +0000)]
Merge "Allow to build against Mac OS X SDK 10.11."

8 years agoAllow to build against Mac OS X SDK 10.11.
Ying Wang [Wed, 14 Oct 2015 01:00:45 +0000 (18:00 -0700)]
Allow to build against Mac OS X SDK 10.11.

Bug: 24739158
Change-Id: I7c57e141dd02a0d2de5a7a1ccbc72ffe422a8d6f

8 years agoPass source's info_dict to vendor's releasetools.py.
Tao Bao [Tue, 13 Oct 2015 23:37:12 +0000 (16:37 -0700)]
Pass source's info_dict to vendor's releasetools.py.

When building incremental packages, the info_dict from the source build
should be the one in use. We have done that for most of the partitions
(system and etc.), and should pass that to vendor's script as well.

Bug: 24898607
Change-Id: Ie2973d41b905637862616286663baf80df83bd88

8 years agoam f698ca63: Merge "Add the product version to target_files.zip."
Bertrand Simonnet [Tue, 13 Oct 2015 20:08:37 +0000 (20:08 +0000)]
am f698ca63: Merge "Add the product version to target_files.zip."

* commit 'f698ca63d970e1ed7f9b5c4090d2cf5cfa659e55':
  Add the product version to target_files.zip.

8 years agoMerge "Add the product version to target_files.zip."
Bertrand Simonnet [Tue, 13 Oct 2015 19:59:42 +0000 (19:59 +0000)]
Merge "Add the product version to target_files.zip."