OSDN Git Service

android-x86/build.git
8 years agoam 4548e7f4: Merge "Remove AndroidConfig.h."
Elliott Hughes [Fri, 28 Aug 2015 19:59:18 +0000 (19:59 +0000)]
am 4548e7f4: Merge "Remove AndroidConfig.h."

* commit '4548e7f49dbec05c8b8187b0ea9e746fc47ec5d3':
  Remove AndroidConfig.h.

8 years agoMerge "Remove AndroidConfig.h."
Elliott Hughes [Fri, 28 Aug 2015 19:47:36 +0000 (19:47 +0000)]
Merge "Remove AndroidConfig.h."

8 years agoam 35da9685: Merge "Use the basename of file_contexts from the info dict."
Tao Bao [Fri, 28 Aug 2015 18:46:31 +0000 (18:46 +0000)]
am 35da9685: Merge "Use the basename of file_contexts from the info dict."

* commit '35da9685f0d3bb367b50aaa4c476b12907099f77':
  Use the basename of file_contexts from the info dict.

8 years agoMerge "Use the basename of file_contexts from the info dict."
Tao Bao [Fri, 28 Aug 2015 18:33:25 +0000 (18:33 +0000)]
Merge "Use the basename of file_contexts from the info dict."

8 years agoUse the basename of file_contexts from the info dict.
Tao Bao [Fri, 28 Aug 2015 17:52:03 +0000 (10:52 -0700)]
Use the basename of file_contexts from the info dict.

Changes in [1] break the backward compatibility of the OTA scripts. Fix
the issue by extracting the file basename from the info dict in
META/misc_info.txt.

[1] commit d3a803e6680e86f7b4960d51ab0b620728b793ca

Bug: 23620049
Change-Id: I40a5625bbe0beb295f34b2328906a4a4283fe59b

8 years agoRemove AndroidConfig.h.
Elliott Hughes [Fri, 28 Aug 2015 17:31:28 +0000 (10:31 -0700)]
Remove AndroidConfig.h.

This change leaves soong references.

Change-Id: Iee32b6b97ad9711f69e999c9d01f01d71562b63f

8 years agoam 57ff23b0: Merge "Add support for LOCAL_SRC_FILES_(host)_(arch)"
Dan Willemsen [Fri, 28 Aug 2015 03:49:02 +0000 (03:49 +0000)]
am 57ff23b0: Merge "Add support for LOCAL_SRC_FILES_(host)_(arch)"

* commit '57ff23b0ed02affce494d14d8a0f5e9e4717baf7':
  Add support for LOCAL_SRC_FILES_(host)_(arch)

8 years agoam d5deac8d: Merge "Add _(darwin|linux|windows)"
Dan Willemsen [Fri, 28 Aug 2015 03:49:01 +0000 (03:49 +0000)]
am d5deac8d: Merge "Add _(darwin|linux|windows)"

* commit 'd5deac8db951ec0a1c9edd806ea1758b836f8c46':
  Add _(darwin|linux|windows)

8 years agoMerge "Add support for LOCAL_SRC_FILES_(host)_(arch)"
Dan Willemsen [Fri, 28 Aug 2015 03:39:34 +0000 (03:39 +0000)]
Merge "Add support for LOCAL_SRC_FILES_(host)_(arch)"

8 years agoAdd support for LOCAL_SRC_FILES_(host)_(arch)
Dan Willemsen [Wed, 19 Aug 2015 00:47:06 +0000 (17:47 -0700)]
Add support for LOCAL_SRC_FILES_(host)_(arch)

For boringssl, which has architecture specific host assembly files

Bug: 23566667

Change-Id: Ia4602d28e93a1b3d1400cf95417b5e446c5fb84b

8 years agoMerge "Add _(darwin|linux|windows)"
Dan Willemsen [Fri, 28 Aug 2015 03:37:30 +0000 (03:37 +0000)]
Merge "Add _(darwin|linux|windows)"

8 years agoAdd _(darwin|linux|windows)
Dan Willemsen [Fri, 14 Aug 2015 00:51:40 +0000 (17:51 -0700)]
Add _(darwin|linux|windows)

So that we can support building both linux and windows binaries at the
same time on a linux host. This replaces the ifeq($(HOST_OS),...) checks
in Android.mk files.

Bug: 23566667

Change-Id: I693e11984e36d55bb6f09fa0d49bc485463e16fb

8 years agoMerge commit '18d9bd19a4fd75fc7951b43ba01167838f8bb2ac' into HEAD
Bill Yi [Thu, 27 Aug 2015 22:09:29 +0000 (15:09 -0700)]
Merge commit '18d9bd19a4fd75fc7951b43ba01167838f8bb2ac' into HEAD

8 years agoam 6458fd96: Merge "rangelib.py: Fix the bug in monotonic check."
Tao Bao [Thu, 27 Aug 2015 20:44:35 +0000 (20:44 +0000)]
am 6458fd96: Merge "rangelib.py: Fix the bug in monotonic check."

* commit '6458fd96d5d0cd3b54a02a5f9c276f49e566cb53':
  rangelib.py: Fix the bug in monotonic check.

8 years agoMerge "rangelib.py: Fix the bug in monotonic check."
Tao Bao [Thu, 27 Aug 2015 19:16:06 +0000 (19:16 +0000)]
Merge "rangelib.py: Fix the bug in monotonic check."

8 years agoam 14342066: Merge "Add unit tests for rangelib.py."
Tao Bao [Thu, 27 Aug 2015 05:23:08 +0000 (05:23 +0000)]
am 14342066: Merge "Add unit tests for rangelib.py."

* commit '14342066dbaec25593c12fdba5396d4ca9cad841':
  Add unit tests for rangelib.py.

8 years agorangelib.py: Fix the bug in monotonic check.
Tao Bao [Thu, 27 Aug 2015 00:07:14 +0000 (17:07 -0700)]
rangelib.py: Fix the bug in monotonic check.

RangeSet("2-10").monotonic gives a wrong result of "False". Fix the bug
and add more tests into test_rangelib.py.

Change-Id: I04780571b45ecafd34040f405756b9745a9e21a5

8 years agoam 4fc14679: am fc168f84: resolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev
Ying Wang [Thu, 27 Aug 2015 01:38:15 +0000 (01:38 +0000)]
am 4fc14679: am fc168f84: resolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev

* commit '4fc1467949aaf9e6a49a6771ed996e3c2c702314':
  Don't fail build of otatools if there are no device certificates

8 years agoam 8f7c08ed: am 1e120181: am 473b6a5f: am fc028e59: Dist the otatools package.
Ying Wang [Thu, 27 Aug 2015 01:38:14 +0000 (01:38 +0000)]
am 8f7c08ed: am 1e120181: am 473b6a5f: am fc028e59: Dist the otatools package.

* commit '8f7c08ed622d733c0997324d5b0464ba7e57c1fa':
  Dist the otatools package.

8 years agoam fc168f84: resolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev
Ying Wang [Thu, 27 Aug 2015 01:33:15 +0000 (01:33 +0000)]
am fc168f84: resolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev

* commit 'fc168f84695f492f2ad0eed3063145f425bebf45':
  Don't fail build of otatools if there are no device certificates

8 years agoam 1e120181: am 473b6a5f: am fc028e59: Dist the otatools package.
Ying Wang [Thu, 27 Aug 2015 01:27:37 +0000 (01:27 +0000)]
am 1e120181: am 473b6a5f: am fc028e59: Dist the otatools package.

* commit '1e120181f0a9240eca61dface4fb4530bf2594ab':
  Dist the otatools package.

8 years agoresolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev
Ying Wang [Thu, 27 Aug 2015 00:03:18 +0000 (17:03 -0700)]
resolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev

Change-Id: Iadb7c55c246705ac10c6822b7bb5d71794ce485b

8 years agoMerge "Add unit tests for rangelib.py."
Tao Bao [Wed, 26 Aug 2015 23:26:54 +0000 (23:26 +0000)]
Merge "Add unit tests for rangelib.py."

8 years agoAdd unit tests for rangelib.py.
Tao Bao [Wed, 26 Aug 2015 23:13:18 +0000 (16:13 -0700)]
Add unit tests for rangelib.py.

Separate the test cases in rangelib.py comments into a python unittest
file.

To invoke:
  $ python -m unittest test_rangelib

Change-Id: I59e4ce0aaccc83bcbb42fee15775683dcd559d99

8 years agoam 473b6a5f: am fc028e59: Dist the otatools package.
Ying Wang [Wed, 26 Aug 2015 20:17:16 +0000 (20:17 +0000)]
am 473b6a5f: am fc028e59: Dist the otatools package.

* commit '473b6a5f2b00f941acb08b5c3df59cbbdf647609':
  Dist the otatools package.

8 years agoam 68319cdf: am 95708eea: Merge "Split large files for BBOTA v3."
Tao Bao [Wed, 26 Aug 2015 19:55:20 +0000 (19:55 +0000)]
am 68319cdf: am 95708eea: Merge "Split large files for BBOTA v3."

* commit '68319cdf4762c7c48cff68ede2b7f4bc267db735':
  Split large files for BBOTA v3.

8 years agoam 95708eea: Merge "Split large files for BBOTA v3."
Tao Bao [Wed, 26 Aug 2015 19:46:39 +0000 (19:46 +0000)]
am 95708eea: Merge "Split large files for BBOTA v3."

* commit '95708eea4e50e9048bad13d129aa2f818b808ea8':
  Split large files for BBOTA v3.

8 years agoMerge "Split large files for BBOTA v3."
Tao Bao [Wed, 26 Aug 2015 19:39:31 +0000 (19:39 +0000)]
Merge "Split large files for BBOTA v3."

8 years agoSplit large files for BBOTA v3.
Tao Bao [Tue, 25 Aug 2015 22:10:10 +0000 (15:10 -0700)]
Split large files for BBOTA v3.

For BBOTA v3, we need to stash source blocks to support resumable
feature. However, with the growth of file size and the shrink of the
cache size, source blocks that represent a file are too large to be
stashed as a whole. CL in [1] solves the issue by replacing the diff
command with a "new" command. However, it may increase the generated
package size substantially (e.g. from ~100MB to ~400MB).

With this CL, if a file spans too many blocks, we split it into smaller
pieces by generating multiple commands. For the same case above, it
reduces the package size to ~150MB.

One potential downside is that after splitting, files like .jar,
.apk and .zip can no longer use imgdiff. We may lose the potential
benefit of using imgdiff for patch size reduction.

[1] commit 82c47981bd0602a1c7b50dfabf9a6a2412993bae

Bug: 22430577
Change-Id: I5684fab0ac41c8d94fe18f52a34cef77e06f741c

8 years agoam 8d771971: Don\'t fail build of otatools if there are no device certificates
Claes Elgemark [Wed, 26 Aug 2015 17:14:49 +0000 (17:14 +0000)]
am 8d771971: Don\'t fail build of otatools if there are no device certificates

* commit '8d771971212069f77851163f437c782f581bf6db':
  Don't fail build of otatools if there are no device certificates

8 years agoDon't fail build of otatools if there are no device certificates
Claes Elgemark [Wed, 1 Apr 2015 09:29:29 +0000 (11:29 +0200)]
Don't fail build of otatools if there are no device certificates

Bug: 23552169
Change-Id: I32723701d952ef2243ce0234132fa9876f0f21b6

8 years agoam c69aa42b: Merge "Set the Security Patch level for MNC" into mnc-dev
Bart Sears [Wed, 26 Aug 2015 03:47:52 +0000 (03:47 +0000)]
am c69aa42b: Merge "Set the Security Patch level for MNC" into mnc-dev

* commit 'c69aa42b4331569814d23336412e6754a0495d65':
  Set the Security Patch level for MNC

8 years agoMerge "Set the Security Patch level for MNC" into mnc-dev
Bart Sears [Wed, 26 Aug 2015 03:40:38 +0000 (03:40 +0000)]
Merge "Set the Security Patch level for MNC" into mnc-dev

8 years agoam afc5ab39: am c6e087ad: resolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev
Tao Bao [Tue, 25 Aug 2015 23:35:45 +0000 (23:35 +0000)]
am afc5ab39: am c6e087ad: resolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev

* commit 'afc5ab39d84e9fc5fecbcd3c5a77fe4f956ff825':
  add otatools-package target

8 years agoam c6e087ad: resolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev
Tao Bao [Tue, 25 Aug 2015 23:30:14 +0000 (23:30 +0000)]
am c6e087ad: resolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev

* commit 'c6e087adc420ca08bfea8613c07aa51e1b4a2e3e':
  add otatools-package target

8 years agoresolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev
Tao Bao [Tue, 25 Aug 2015 23:18:01 +0000 (16:18 -0700)]
resolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev

Change-Id: Ia53581aee207b0a24807767d7e80959a4fc9aff3

8 years agoam 35a075db: am 36d91b53: Merge "Only allow toolbox exec where /system exec was alrea...
Nick Kralevich [Tue, 25 Aug 2015 22:53:03 +0000 (22:53 +0000)]
am 35a075db: am 36d91b53: Merge "Only allow toolbox exec where /system exec was already allowed."

* commit '35a075db60bc5553b57ef3311b9643d3b04ea7da':
  Only allow toolbox exec where /system exec was already allowed.

8 years agoam 36d91b53: Merge "Only allow toolbox exec where /system exec was already allowed."
Nick Kralevich [Tue, 25 Aug 2015 22:47:48 +0000 (22:47 +0000)]
am 36d91b53: Merge "Only allow toolbox exec where /system exec was already allowed."

* commit '36d91b5352035bf5192856b849ddec607ce15b23':
  Only allow toolbox exec where /system exec was already allowed.

8 years agoMerge "Only allow toolbox exec where /system exec was already allowed."
Nick Kralevich [Tue, 25 Aug 2015 22:41:57 +0000 (22:41 +0000)]
Merge "Only allow toolbox exec where /system exec was already allowed."

8 years agoam ca19158e: am e9a8f465: (-s ours) resolved conflicts for merge of 0287a8f6 to lmp...
Konstantinos Menychtas [Tue, 25 Aug 2015 18:30:57 +0000 (18:30 +0000)]
am ca19158e: am e9a8f465: (-s ours) resolved conflicts for merge of 0287a8f6 to lmp-mr1-ub-dev

* commit 'ca19158e034d6e0f5a605698c0f303893a2b9248':
  Increasing all emulator system image sizes

8 years agoam e9a8f465: (-s ours) resolved conflicts for merge of 0287a8f6 to lmp-mr1-ub-dev
Konstantinos Menychtas [Tue, 25 Aug 2015 18:22:28 +0000 (18:22 +0000)]
am e9a8f465: (-s ours) resolved conflicts for merge of 0287a8f6 to lmp-mr1-ub-dev

* commit 'e9a8f465859137ba37786031b804864205900cb4':
  Increasing all emulator system image sizes

8 years agoam fc028e59: Dist the otatools package.
Ying Wang [Tue, 25 Aug 2015 18:21:13 +0000 (18:21 +0000)]
am fc028e59: Dist the otatools package.

* commit 'fc028e59c2bc36297f23cdf2ee4fe9b1b60aa1cd':
  Dist the otatools package.

8 years agoDist the otatools package.
Ying Wang [Tue, 25 Aug 2015 00:13:53 +0000 (17:13 -0700)]
Dist the otatools package.

Bug: 23495952

(cherry picked from commit 267e957373765ad1e3ce89abe61886a305277027)

Change-Id: I49fcb9fed599268a9d37de7b14280eeb65c34788

8 years agoam cf129c53: am a7eaf450: Merge "Dist the otatools package."
Ying Wang [Tue, 25 Aug 2015 17:27:26 +0000 (17:27 +0000)]
am cf129c53: am a7eaf450: Merge "Dist the otatools package."

* commit 'cf129c538266cdc5d185a945218e7f76aa22ca27':
  Dist the otatools package.

8 years agoresolved conflicts for merge of 0287a8f6 to lmp-mr1-ub-dev
Konstantinos Menychtas [Tue, 25 Aug 2015 17:20:11 +0000 (10:20 -0700)]
resolved conflicts for merge of 0287a8f6 to lmp-mr1-ub-dev

Change-Id: I1c5e60988d95e8ee73fb4cee632750ecb69b81f5

8 years agoam a7eaf450: Merge "Dist the otatools package."
Ying Wang [Tue, 25 Aug 2015 17:21:57 +0000 (17:21 +0000)]
am a7eaf450: Merge "Dist the otatools package."

* commit 'a7eaf450781483791b02241fd6ab62767d4d6f99':
  Dist the otatools package.

8 years agoMerge "Dist the otatools package."
Ying Wang [Tue, 25 Aug 2015 17:12:36 +0000 (17:12 +0000)]
Merge "Dist the otatools package."

8 years agoOnly allow toolbox exec where /system exec was already allowed.
Stephen Smalley [Tue, 25 Aug 2015 15:42:17 +0000 (11:42 -0400)]
Only allow toolbox exec where /system exec was already allowed.

When the toolbox domain was introduced, we allowed all domains to exec it
to avoid breakage.  However, only domains that were previously allowed the
ability to exec /system files would have been able to do this prior to the
introduction of the toolbox domain.  Remove the rule from domain.te and add
rules to all domains that are already allowed execute_no_trans to system_file.
Requires coordination with device-specific policy changes with the same Change-Id.

Change-Id: Ie46209f0412f9914857dc3d7c6b0917b7031aae5
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
8 years agoSet the Security Patch level for MNC
Bart Sears [Tue, 25 Aug 2015 06:22:20 +0000 (23:22 -0700)]
Set the Security Patch level for MNC

MNC will include the security patches from the August OEM bulletin
which will have a patch date of September 1.

Bug: 23288951
Change-Id: Ia0f313bf35fa7af1efed1787006bfbb614bc8c29

8 years agoam 32bf3f32: add otatools-package target
Doug Zongker [Tue, 25 Aug 2015 01:20:34 +0000 (01:20 +0000)]
am 32bf3f32: add otatools-package target

* commit '32bf3f32651ddff9ffa2168017d71ec4b151a0a9':
  add otatools-package target

8 years agoDist the otatools package.
Ying Wang [Tue, 25 Aug 2015 00:13:53 +0000 (17:13 -0700)]
Dist the otatools package.

Bug: 23495952
Change-Id: I1f61946580dd8ea29c3d5e1f4e859cc6d1f8554a

8 years agoam 2899727f: am bcbd4eb9: Merge "remove TARGET_PROVIDES_INIT_RC"
Tom Cherry [Mon, 24 Aug 2015 23:35:17 +0000 (23:35 +0000)]
am 2899727f: am bcbd4eb9: Merge "remove TARGET_PROVIDES_INIT_RC"

* commit '2899727fd7c97729df11c59a4ebf76df73379a28':
  remove TARGET_PROVIDES_INIT_RC

8 years agoam bcbd4eb9: Merge "remove TARGET_PROVIDES_INIT_RC"
Tom Cherry [Mon, 24 Aug 2015 23:28:34 +0000 (23:28 +0000)]
am bcbd4eb9: Merge "remove TARGET_PROVIDES_INIT_RC"

* commit 'bcbd4eb9fb9c82f35ca46cc9b976a59b6c1645d4':
  remove TARGET_PROVIDES_INIT_RC

8 years agoMerge "remove TARGET_PROVIDES_INIT_RC"
Tom Cherry [Mon, 24 Aug 2015 23:23:36 +0000 (23:23 +0000)]
Merge "remove TARGET_PROVIDES_INIT_RC"

8 years agoadd otatools-package target
Doug Zongker [Fri, 22 Aug 2014 15:04:58 +0000 (08:04 -0700)]
add otatools-package target

Add a target to zip up all the otatools and releasetools, for easy
copying to the OTA builder machine.

Change-Id: I55a6d93c1de75ac936d941c0e3ae72897407f563
(cherry picked from commit f22b0f43efbc16c548692dc239a387edda15d78f)

8 years agoremove TARGET_PROVIDES_INIT_RC
Tom Cherry [Mon, 24 Aug 2015 20:55:02 +0000 (13:55 -0700)]
remove TARGET_PROVIDES_INIT_RC

Change-Id: I765b80d48333f54fb995e4ccfd77d38683c6cbb9

8 years agoam ed7e864a: fix a few bugs in the studio download button behavior: - make button...
smain@google.com [Mon, 24 Aug 2015 16:41:10 +0000 (16:41 +0000)]
am ed7e864a: fix a few bugs in the studio download button behavior:  - make button text always white (avoid blue on blue during hover)  - revise logic to add the platform name to download button to avoid weird duplicity bug on small screens  - remove the animation scr

* commit 'ed7e864a735f004f1dbb4a2db5261855b5693913':
  fix a few bugs in the studio download button behavior:  - make button text always white (avoid blue on blue during hover)  - revise logic to add the platform name to download button to avoid weird duplicity bug on small screens  - remove the animation script when clicking download before agree because it reloaded the page (unkown cause) depends on: https://googleplex-android-review.git.corp.google.com/#/c/752757/

8 years agoam 2b2c9dff: am 4e719eaf: Merge "Change .dbus.xml extension to .dbus-xml"
Christopher Wiley [Fri, 21 Aug 2015 22:24:31 +0000 (22:24 +0000)]
am 2b2c9dff: am 4e719eaf: Merge "Change .dbus.xml extension to .dbus-xml"

* commit '2b2c9dff35304c21ebe1e793a16443a882920f75':
  Change .dbus.xml extension to .dbus-xml

8 years agoam 4e719eaf: Merge "Change .dbus.xml extension to .dbus-xml"
Christopher Wiley [Fri, 21 Aug 2015 20:51:11 +0000 (20:51 +0000)]
am 4e719eaf: Merge "Change .dbus.xml extension to .dbus-xml"

* commit '4e719eafc4d183dd923518cea6292f37ee1e26c6':
  Change .dbus.xml extension to .dbus-xml

8 years agoMerge "Change .dbus.xml extension to .dbus-xml"
Christopher Wiley [Fri, 21 Aug 2015 20:46:21 +0000 (20:46 +0000)]
Merge "Change .dbus.xml extension to .dbus-xml"

8 years agoam b3cd0a56: am 39c7d243: Merge "Use goma when USE_GOMA=true is set"
Shinichiro Hamaji [Fri, 21 Aug 2015 03:36:12 +0000 (03:36 +0000)]
am b3cd0a56: am 39c7d243: Merge "Use goma when USE_GOMA=true is set"

* commit 'b3cd0a566391726a69d9f0e439268f4caf5df7db':
  Use goma when USE_GOMA=true is set

8 years agoam 39c7d243: Merge "Use goma when USE_GOMA=true is set"
Shinichiro Hamaji [Fri, 21 Aug 2015 03:29:49 +0000 (03:29 +0000)]
am 39c7d243: Merge "Use goma when USE_GOMA=true is set"

* commit '39c7d243395ad3f2015571aaf902dc4d4686e981':
  Use goma when USE_GOMA=true is set

8 years agoMerge "Use goma when USE_GOMA=true is set"
Shinichiro Hamaji [Fri, 21 Aug 2015 03:24:27 +0000 (03:24 +0000)]
Merge "Use goma when USE_GOMA=true is set"

8 years agoam 344c3394: am 6f534125: Merge "Fix Linux host checkbuilds."
Elliott Hughes [Fri, 21 Aug 2015 00:11:53 +0000 (00:11 +0000)]
am 344c3394: am 6f534125: Merge "Fix Linux host checkbuilds."

* commit '344c33949b48ec5f3d27bff36f145f157156cf19':
  Fix Linux host checkbuilds.

8 years agoam 6f534125: Merge "Fix Linux host checkbuilds."
Elliott Hughes [Fri, 21 Aug 2015 00:05:12 +0000 (00:05 +0000)]
am 6f534125: Merge "Fix Linux host checkbuilds."

* commit '6f5341259c6b6684acb4e91d9220593c231abecd':
  Fix Linux host checkbuilds.

8 years agoMerge "Fix Linux host checkbuilds."
Elliott Hughes [Thu, 20 Aug 2015 23:56:07 +0000 (23:56 +0000)]
Merge "Fix Linux host checkbuilds."

8 years agoFix Linux host checkbuilds.
Elliott Hughes [Thu, 20 Aug 2015 23:52:47 +0000 (16:52 -0700)]
Fix Linux host checkbuilds.

Turns out that thanks to 9d59f417767991246848c3e101cb27d2dfea5988 we actually
build *all* the host libraries both 32- and 64-bit. Rather than fix the
libraries (or fixing things so we don't build stuff we don't need) right now,
let's just put _FILE_OFFSET_BITS and _LARGEFILE_SOURCE back.

Change-Id: I6c2d6a6919d1518f775e0d6c050e2c774994c5bd

8 years agoam 30a18bca: am a3fa59b1: Merge "Kill host Linux AndroidConfig.h."
Elliott Hughes [Thu, 20 Aug 2015 23:20:21 +0000 (23:20 +0000)]
am 30a18bca: am a3fa59b1: Merge "Kill host Linux AndroidConfig.h."

* commit '30a18bca6222065d15e1b18d71a29a8fb921d4a8':
  Kill host Linux AndroidConfig.h.

8 years agoam a3fa59b1: Merge "Kill host Linux AndroidConfig.h."
Elliott Hughes [Thu, 20 Aug 2015 23:14:41 +0000 (23:14 +0000)]
am a3fa59b1: Merge "Kill host Linux AndroidConfig.h."

* commit 'a3fa59b12b7346b3d0fbb8c60f890e50c7f51f18':
  Kill host Linux AndroidConfig.h.

8 years agoMerge "Kill host Linux AndroidConfig.h."
Elliott Hughes [Thu, 20 Aug 2015 23:10:05 +0000 (23:10 +0000)]
Merge "Kill host Linux AndroidConfig.h."

8 years agoam 00da9ced: am ded991b4: Merge "Revert "Fix Windows SDK build.""
Elliott Hughes [Thu, 20 Aug 2015 21:54:58 +0000 (21:54 +0000)]
am 00da9ced: am ded991b4: Merge "Revert "Fix Windows SDK build.""

* commit '00da9cede0b4199d3b6dea73b61afa8610b5c339':
  Revert "Fix Windows SDK build."

8 years agoam 0049aecf: am a6065996: Merge "Stop defining WIN32."
Elliott Hughes [Thu, 20 Aug 2015 21:54:57 +0000 (21:54 +0000)]
am 0049aecf: am a6065996: Merge "Stop defining WIN32."

* commit '0049aecf1763ea939cdf91e4e70fda67eb2efbee':
  Stop defining WIN32.

8 years agoam ded991b4: Merge "Revert "Fix Windows SDK build.""
Elliott Hughes [Thu, 20 Aug 2015 21:43:17 +0000 (21:43 +0000)]
am ded991b4: Merge "Revert "Fix Windows SDK build.""

* commit 'ded991b47d0235bd505b5d95e438118d0b7f1041':
  Revert "Fix Windows SDK build."

8 years agoam a6065996: Merge "Stop defining WIN32."
Elliott Hughes [Thu, 20 Aug 2015 21:43:16 +0000 (21:43 +0000)]
am a6065996: Merge "Stop defining WIN32."

* commit 'a6065996cd280acf11f199c1f90e1b8886635207':
  Stop defining WIN32.

8 years agoMerge "Revert "Fix Windows SDK build.""
Elliott Hughes [Thu, 20 Aug 2015 21:23:59 +0000 (21:23 +0000)]
Merge "Revert "Fix Windows SDK build.""

8 years agoRevert "Fix Windows SDK build."
Elliott Hughes [Thu, 20 Aug 2015 21:22:19 +0000 (21:22 +0000)]
Revert "Fix Windows SDK build."

This reverts commit b8dd176441f6ba9527d24a5065d8225437fe39d5.

This wasn't the problem, and mingw doesn't even use _LARGEFILE_SOURCE. The real problem (using WIN32 instead of _WIN32 in external/llvm) is fixed now.

Change-Id: I2b708a006b530cb18d03b1425cd65edda35ee17e

8 years agoMerge "Stop defining WIN32."
Elliott Hughes [Thu, 20 Aug 2015 21:21:01 +0000 (21:21 +0000)]
Merge "Stop defining WIN32."

8 years agoStop defining WIN32.
Elliott Hughes [Thu, 20 Aug 2015 21:04:18 +0000 (14:04 -0700)]
Stop defining WIN32.

Change-Id: Iac0b4745579e6de55bea02571617ae561308e1a9

8 years agoam 8a3241e3: am 11a38e7a: Merge "Support LOCAL_INIT_RC."
Ying Wang [Thu, 20 Aug 2015 21:00:07 +0000 (21:00 +0000)]
am 8a3241e3: am 11a38e7a: Merge "Support LOCAL_INIT_RC."

* commit '8a3241e39ad541666aeff291b088e7277b5519ca':
  Support LOCAL_INIT_RC.

8 years agoam 11a38e7a: Merge "Support LOCAL_INIT_RC."
Ying Wang [Thu, 20 Aug 2015 20:53:32 +0000 (20:53 +0000)]
am 11a38e7a: Merge "Support LOCAL_INIT_RC."

* commit '11a38e7a9164bc3268344ce716c4bd12b08cb05c':
  Support LOCAL_INIT_RC.

8 years agoMerge "Support LOCAL_INIT_RC."
Ying Wang [Thu, 20 Aug 2015 20:47:53 +0000 (20:47 +0000)]
Merge "Support LOCAL_INIT_RC."

8 years agoam 896d0ee2: am 999fd4ea: Merge "Also -DWIN32 to keep llvm building."
Elliott Hughes [Thu, 20 Aug 2015 19:32:39 +0000 (19:32 +0000)]
am 896d0ee2: am 999fd4ea: Merge "Also -DWIN32 to keep llvm building."

* commit '896d0ee2cf123f045af859d7291dba65a0b7d789':
  Also -DWIN32 to keep llvm building.

8 years agoam 9f9d2aed: am 79b199b8: Merge "Fix Windows SDK build."
Elliott Hughes [Thu, 20 Aug 2015 19:32:34 +0000 (19:32 +0000)]
am 9f9d2aed: am 79b199b8: Merge "Fix Windows SDK build."

* commit '9f9d2aedf4e28f0dec1568347ac6a052cdca12b9':
  Fix Windows SDK build.

8 years agoam 896b9c60: am 57069e59: Merge "Remove Windows AndroidConfig.h."
Elliott Hughes [Thu, 20 Aug 2015 19:32:30 +0000 (19:32 +0000)]
am 896b9c60: am 57069e59: Merge "Remove Windows AndroidConfig.h."

* commit '896b9c603938220ea40f75a07aef8ec1a0664f37':
  Remove Windows AndroidConfig.h.

8 years agoam 9e7efdf3: am e7d6f04d: Merge "Add two flags for the latest ckati"
Shinichiro Hamaji [Thu, 20 Aug 2015 19:31:56 +0000 (19:31 +0000)]
am 9e7efdf3: am e7d6f04d: Merge "Add two flags for the latest ckati"

* commit '9e7efdf3e659c2de002b96ec27589f12c1f01512':
  Add two flags for the latest ckati

8 years agoam 54e0b7de: am 6b966aff: Merge "Fix sanitizer choice for global vs module."
Dan Albert [Thu, 20 Aug 2015 19:31:54 +0000 (19:31 +0000)]
am 54e0b7de: am 6b966aff: Merge "Fix sanitizer choice for global vs module."

* commit '54e0b7de2ba60b8c769b985be397317790dcfd75':
  Fix sanitizer choice for global vs module.

8 years agoSupport LOCAL_INIT_RC.
Ying Wang [Thu, 20 Aug 2015 19:02:10 +0000 (12:02 -0700)]
Support LOCAL_INIT_RC.

A module can install a companion init.rc file,
by specifying:
LOCAL_INIT_RC := <init.rc-file-path-replative-to-LOCAL_PATH>
You can also use the variant with _32 or _64 suffix.

Bug: 23186545
Change-Id: I00a96509f5707ae39361a0c5555fa59d46c90322

8 years agoam 999fd4ea: Merge "Also -DWIN32 to keep llvm building."
Elliott Hughes [Thu, 20 Aug 2015 18:18:50 +0000 (18:18 +0000)]
am 999fd4ea: Merge "Also -DWIN32 to keep llvm building."

* commit '999fd4ea850b494f38ac23195ad5c2ee0b9486a2':
  Also -DWIN32 to keep llvm building.

8 years agoKill host Linux AndroidConfig.h.
Elliott Hughes [Thu, 20 Aug 2015 17:16:40 +0000 (10:16 -0700)]
Kill host Linux AndroidConfig.h.

We only build 64-bit now anyway.

Change-Id: I4bc9487522d215234509510bee66e4f210d86765

8 years agoMerge "Also -DWIN32 to keep llvm building."
Elliott Hughes [Thu, 20 Aug 2015 18:11:18 +0000 (18:11 +0000)]
Merge "Also -DWIN32 to keep llvm building."

8 years agoAlso -DWIN32 to keep llvm building.
Elliott Hughes [Thu, 20 Aug 2015 18:10:22 +0000 (11:10 -0700)]
Also -DWIN32 to keep llvm building.

Change-Id: Ic8e70f35dda23226d60010a38cf5633840772310

8 years agoam 79b199b8: Merge "Fix Windows SDK build."
Elliott Hughes [Thu, 20 Aug 2015 17:26:50 +0000 (17:26 +0000)]
am 79b199b8: Merge "Fix Windows SDK build."

* commit '79b199b80e98ff7d0340de8c55f0da6d085e9ef8':
  Fix Windows SDK build.

8 years agoMerge "Fix Windows SDK build."
Elliott Hughes [Thu, 20 Aug 2015 17:20:45 +0000 (17:20 +0000)]
Merge "Fix Windows SDK build."

8 years agoFix Windows SDK build.
Elliott Hughes [Thu, 20 Aug 2015 17:19:26 +0000 (10:19 -0700)]
Fix Windows SDK build.

I forgot that removing a file doesn't cause a rebuild in our lame build
system, so I hadn't actually tested my previous change.

Change-Id: Ida19d4a8fd40e37029031eac4b4ca5f0cc5c895b

8 years agoam 57069e59: Merge "Remove Windows AndroidConfig.h."
Elliott Hughes [Thu, 20 Aug 2015 17:06:48 +0000 (17:06 +0000)]
am 57069e59: Merge "Remove Windows AndroidConfig.h."

* commit '57069e5974c3224550c3cf3a12dbe6ffac4b0c79':
  Remove Windows AndroidConfig.h.

8 years agoMerge "Remove Windows AndroidConfig.h."
Elliott Hughes [Thu, 20 Aug 2015 16:59:03 +0000 (16:59 +0000)]
Merge "Remove Windows AndroidConfig.h."

8 years agoRemove Windows AndroidConfig.h.
Elliott Hughes [Thu, 20 Aug 2015 00:45:17 +0000 (17:45 -0700)]
Remove Windows AndroidConfig.h.

The only things left that we're using are the Windows target version
and _FILE_OFFSET_BITS=64, and they can go in the combo .mk.

Also fix the unused Windows 64 .mk.

Change-Id: I5f2458d67c0a8201196a339573f861bbf18b7eb8

8 years agoChange .dbus.xml extension to .dbus-xml
Christopher Wiley [Thu, 20 Aug 2015 16:08:17 +0000 (09:08 -0700)]
Change .dbus.xml extension to .dbus-xml

Work around gyp's inability to handle compound extensions by expecting
a similar looking simple extension for XML files definine DBus
interfaces.  We'll need to rename these sources in the places we're
using them already.

Bug: 23380180
Change-Id: Ieb2050f3ef05456cd70de65c3e128d57a6a508f8

8 years agoUse goma when USE_GOMA=true is set
Shinichiro Hamaji [Mon, 17 Aug 2015 08:38:24 +0000 (17:38 +0900)]
Use goma when USE_GOMA=true is set

With USE_GOMA, the path to gomacc in $GOMA_DIR or $HOME/goma
will be appended to CC_WRAPPER and CXX_WRAPPER.

Note this works only with USE_NINJA. Unlike ninja, GNU make
cannot change the parallelism depending on targets. Specifying
-j500 to GNU make would mean you may run 500 local jobs in
parallel, but with -j32 goma will just slow down the build.

Change-Id: I0f571454fd2a5b525ee29b445f7ab8715927ca00

8 years agoam e7d6f04d: Merge "Add two flags for the latest ckati"
Shinichiro Hamaji [Thu, 20 Aug 2015 05:31:30 +0000 (05:31 +0000)]
am e7d6f04d: Merge "Add two flags for the latest ckati"

* commit 'e7d6f04d32c26e1355a1a01008941477c1432611':
  Add two flags for the latest ckati