OSDN Git Service

android-x86/build.git
9 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.

9 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."

9 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.

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

9 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>
9 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

9 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

9 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"

9 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

9 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

9 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"

9 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

9 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"

9 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.

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

9 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

9 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.

9 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."

9 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."

9 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.

9 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.""

9 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

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

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

Change-Id: Iac0b4745579e6de55bea02571617ae561308e1a9

9 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.

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

9 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

9 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.

9 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

9 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."

9 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

9 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.

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

9 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

9 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.

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

9 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

9 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

9 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

9 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

9 years agoMerge "Add two flags for the latest ckati"
Shinichiro Hamaji [Thu, 20 Aug 2015 05:25:34 +0000 (05:25 +0000)]
Merge "Add two flags for the latest ckati"

9 years agoam 6b966aff: Merge "Fix sanitizer choice for global vs module."
Dan Albert [Thu, 20 Aug 2015 05:13:56 +0000 (05:13 +0000)]
am 6b966aff: Merge "Fix sanitizer choice for global vs module."

* commit '6b966aff43fc4d80b8f35ef2a333107f68ac2be0':
  Fix sanitizer choice for global vs module.

9 years agoMerge "Fix sanitizer choice for global vs module."
Dan Albert [Thu, 20 Aug 2015 05:07:34 +0000 (05:07 +0000)]
Merge "Fix sanitizer choice for global vs module."

9 years agoFix sanitizer choice for global vs module.
Dan Albert [Thu, 20 Aug 2015 03:13:33 +0000 (20:13 -0700)]
Fix sanitizer choice for global vs module.

The sanitizer chosen by the environment (either by SANITIZE_TARGET or
SANITIZE_HOST) should be chosen over the one specified by the module.

Bug: http://b/23330588
Change-Id: I835b7d76e071fc0db2f859f98dfb9d7ff76af245

9 years agoam b3c585d7: Merge "Stop defining HAVE_MS_C_RUNTIME."
Elliott Hughes [Wed, 19 Aug 2015 22:18:33 +0000 (22:18 +0000)]
am b3c585d7: Merge "Stop defining HAVE_MS_C_RUNTIME."

* commit 'b3c585d745918bebb6e4ea72ad60875adf53337e':
  Stop defining HAVE_MS_C_RUNTIME.

9 years agoMerge "Stop defining HAVE_MS_C_RUNTIME."
Elliott Hughes [Wed, 19 Aug 2015 22:09:32 +0000 (22:09 +0000)]
Merge "Stop defining HAVE_MS_C_RUNTIME."

9 years agoam 9e3b4ed4: Merge "Fix DBus proxies to use all definitions"
Christopher Wiley [Wed, 19 Aug 2015 21:47:27 +0000 (21:47 +0000)]
am 9e3b4ed4: Merge "Fix DBus proxies to use all definitions"

* commit '9e3b4ed4991eb19e60346858bfdbb494d9324252':
  Fix DBus proxies to use all definitions

9 years agoMerge "Fix DBus proxies to use all definitions"
Christopher Wiley [Wed, 19 Aug 2015 21:39:28 +0000 (21:39 +0000)]
Merge "Fix DBus proxies to use all definitions"

9 years agoStop defining HAVE_MS_C_RUNTIME.
Elliott Hughes [Wed, 19 Aug 2015 21:22:59 +0000 (14:22 -0700)]
Stop defining HAVE_MS_C_RUNTIME.

Change-Id: Ie491547552ba64d60d669b74115da96a0fcced18

9 years agoFix DBus proxies to use all definitions
Christopher Wiley [Wed, 19 Aug 2015 20:48:53 +0000 (13:48 -0700)]
Fix DBus proxies to use all definitions

Bug: 22608897
Change-Id: Id17cf4b896c1c62be874599c7f346f3045e36819

9 years agoam 4d2b79f9: Merge "Generate DBus proxies and adaptors separately"
Christopher Wiley [Wed, 19 Aug 2015 18:37:48 +0000 (18:37 +0000)]
am 4d2b79f9: Merge "Generate DBus proxies and adaptors separately"

* commit '4d2b79f99ef34a504fe9f7e362a861d7ddee5659':
  Generate DBus proxies and adaptors separately

9 years agoMerge "Generate DBus proxies and adaptors separately"
Christopher Wiley [Wed, 19 Aug 2015 18:30:20 +0000 (18:30 +0000)]
Merge "Generate DBus proxies and adaptors separately"

9 years agoGenerate DBus proxies and adaptors separately
Christopher Wiley [Fri, 14 Aug 2015 21:55:32 +0000 (14:55 -0700)]
Generate DBus proxies and adaptors separately

Enable daemons exposing an interface over DBus to easily
build client libraries.  Now daemons can write rules like:

include $(CLEAR_VARS)
LOCAL_MODULE := libdbus-binding-example-client
LOCAL_DBUS_PROXY_PREFIX := dbus-example-example
LOCAL_SRC_FILES := \
    dbus_bindings/org.chromium.Example.Manager.dbus.xml \
    dbus_bindings/dbus-service-config.json
include $(BUILD_SHARED_LIBRARY)

to expose a client library.

While here, add support for generating independent adaptor header
files on a per interface basis.

Bug: 22608897
Change-Id: I011f9afc234811c31e445898321c2731c482fa77

9 years agoam 123a7d38: Merge "build: Don\'t call make_recovery_patch if there\'s no recovery."
Tao Bao [Wed, 19 Aug 2015 02:39:21 +0000 (02:39 +0000)]
am 123a7d38: Merge "build: Don\'t call make_recovery_patch if there\'s no recovery."

* commit '123a7d380ee29941639a1fce10ba2051d37f860b':
  build: Don't call make_recovery_patch if there's no recovery.

9 years agoMerge "build: Don't call make_recovery_patch if there's no recovery."
Tao Bao [Wed, 19 Aug 2015 02:34:27 +0000 (02:34 +0000)]
Merge "build: Don't call make_recovery_patch if there's no recovery."

9 years agobuild: Don't call make_recovery_patch if there's no recovery.
Tao Bao [Wed, 19 Aug 2015 01:03:56 +0000 (18:03 -0700)]
build: Don't call make_recovery_patch if there's no recovery.

Change-Id: Iea1bd529eca9cd607da3b420bc4287f95c18219d

9 years agoam 59c858fc: Merge "Remove special x86 flag that disables tail call optimization."
Chih-hung Hsieh [Tue, 18 Aug 2015 22:17:31 +0000 (22:17 +0000)]
am 59c858fc: Merge "Remove special x86 flag that disables tail call optimization."

* commit '59c858fc94d4cf45a260da81176372ca2a4b77ef':
  Remove special x86 flag that disables tail call optimization.

9 years agoMerge "Remove special x86 flag that disables tail call optimization."
Chih-hung Hsieh [Tue, 18 Aug 2015 22:11:03 +0000 (22:11 +0000)]
Merge "Remove special x86 flag that disables tail call optimization."

9 years agoam 42fa1948: Merge "Rename libnanopb-c-2.8.0 to libprotobuf-c-nano."
Ying Wang [Tue, 18 Aug 2015 21:41:05 +0000 (21:41 +0000)]
am 42fa1948: Merge "Rename libnanopb-c-2.8.0 to libprotobuf-c-nano."

* commit '42fa19482abbcebcb2ab563084b7ac1969553fe9':
  Rename libnanopb-c-2.8.0 to libprotobuf-c-nano.

9 years agoam c3dcb6c0: Merge "Consolidate the nanopb-c and regular protobuf build rules."
Ying Wang [Tue, 18 Aug 2015 21:41:03 +0000 (21:41 +0000)]
am c3dcb6c0: Merge "Consolidate the nanopb-c and regular protobuf build rules."

* commit 'c3dcb6c06bd2fbe816a918e9c3b099669bbeb5b5':
  Consolidate the nanopb-c and regular protobuf build rules.

9 years agoMerge "Rename libnanopb-c-2.8.0 to libprotobuf-c-nano."
Ying Wang [Tue, 18 Aug 2015 21:35:42 +0000 (21:35 +0000)]
Merge "Rename libnanopb-c-2.8.0 to libprotobuf-c-nano."

9 years agoMerge "Consolidate the nanopb-c and regular protobuf build rules."
Ying Wang [Tue, 18 Aug 2015 21:35:37 +0000 (21:35 +0000)]
Merge "Consolidate the nanopb-c and regular protobuf build rules."

9 years agoRename libnanopb-c-2.8.0 to libprotobuf-c-nano.
Ying Wang [Wed, 8 Apr 2015 16:54:34 +0000 (09:54 -0700)]
Rename libnanopb-c-2.8.0 to libprotobuf-c-nano.

Bug: 20093047
Change-Id: I787925fde97d1a3965cb8a9bf012f3c5a45a6aed

9 years agoConsolidate the nanopb-c and regular protobuf build rules.
Ying Wang [Tue, 7 Apr 2015 18:59:34 +0000 (11:59 -0700)]
Consolidate the nanopb-c and regular protobuf build rules.

Bug: 20093047
Change-Id: I38ebd748aacce6d215403da481ad04833810a995

9 years agoam ab9a3588: Merge "Revise stash for BBOTAs when needed."
Tao Bao [Tue, 18 Aug 2015 17:21:09 +0000 (17:21 +0000)]
am ab9a3588: Merge "Revise stash for BBOTAs when needed."

* commit 'ab9a3588011ebe62eb18e425de02a50fe919b645':
  Revise stash for BBOTAs when needed.

9 years agoMerge "Revise stash for BBOTAs when needed."
Tao Bao [Tue, 18 Aug 2015 16:59:05 +0000 (16:59 +0000)]
Merge "Revise stash for BBOTAs when needed."

9 years agoam 05d97fe7: Merge "Remove legacy windows platform build support"
Dan Willemsen [Tue, 18 Aug 2015 04:37:09 +0000 (04:37 +0000)]
am 05d97fe7: Merge "Remove legacy windows platform build support"

* commit '05d97fe723ea376edb5fe6b12535485311a32418':
  Remove legacy windows platform build support

9 years agoMerge "Remove legacy windows platform build support"
Dan Willemsen [Tue, 18 Aug 2015 04:31:07 +0000 (04:31 +0000)]
Merge "Remove legacy windows platform build support"

9 years agoam e6510750: Merge "Use repeatable timestamps"
Dan Willemsen [Tue, 18 Aug 2015 03:35:44 +0000 (03:35 +0000)]
am e6510750: Merge "Use repeatable timestamps"

* commit 'e65107508adbea88fcc1ec51dcf28d4216365753':
  Use repeatable timestamps

9 years agoMerge "Use repeatable timestamps"
Dan Willemsen [Tue, 18 Aug 2015 03:30:11 +0000 (03:30 +0000)]
Merge "Use repeatable timestamps"

9 years agoam 77128117: Merge "Set up dependency on ADDRESS_SANITIZER_LINKER"
Ying Wang [Tue, 18 Aug 2015 00:11:11 +0000 (00:11 +0000)]
am 77128117: Merge "Set up dependency on ADDRESS_SANITIZER_LINKER"

* commit '77128117d8b7811b86ba89e963f8a96cc6c55a6b':
  Set up dependency on ADDRESS_SANITIZER_LINKER

9 years agoMerge "Set up dependency on ADDRESS_SANITIZER_LINKER"
Ying Wang [Tue, 18 Aug 2015 00:06:52 +0000 (00:06 +0000)]
Merge "Set up dependency on ADDRESS_SANITIZER_LINKER"

9 years agoSet up dependency on ADDRESS_SANITIZER_LINKER
Ying Wang [Mon, 17 Aug 2015 23:13:24 +0000 (16:13 -0700)]
Set up dependency on ADDRESS_SANITIZER_LINKER

Set up dependency on ADDRESS_SANITIZER_LINKER if address sanitizer is
enabled.

Bug: 22850550
Change-Id: I736fe1d4db9594edf9e82ae96e4631887881dfa5

9 years agoam c0018b04: Merge "Add BUILD(_HOST)?_FUZZ_TEST."
Dan Albert [Mon, 17 Aug 2015 22:39:25 +0000 (22:39 +0000)]
am c0018b04: Merge "Add BUILD(_HOST)?_FUZZ_TEST."

* commit 'c0018b04e984180122ab615d8dbea09a3230ef7f':
  Add BUILD(_HOST)?_FUZZ_TEST.

9 years agoMerge "Add BUILD(_HOST)?_FUZZ_TEST."
Dan Albert [Mon, 17 Aug 2015 22:32:58 +0000 (22:32 +0000)]
Merge "Add BUILD(_HOST)?_FUZZ_TEST."

9 years agoAdd BUILD(_HOST)?_FUZZ_TEST.
Dan Albert [Thu, 30 Jul 2015 23:56:30 +0000 (16:56 -0700)]
Add BUILD(_HOST)?_FUZZ_TEST.

These are tests that use LLVM's libFuzzer for testing with a
sanitizer.

Bug: http://b/22850550
Change-Id: I6eeaff7877b7dd0c30f8910c6f27f5278b27a83d

9 years agoam 648f2011: Merge "Replace HAVE_MS_C_RUNTIME with _WIN32 in build."
Elliott Hughes [Mon, 17 Aug 2015 20:31:52 +0000 (20:31 +0000)]
am 648f2011: Merge "Replace HAVE_MS_C_RUNTIME with _WIN32 in build."

* commit '648f2011a6fcf1fcb4a67b5d49a1c9d29877bc17':
  Replace HAVE_MS_C_RUNTIME with _WIN32 in build.

9 years agoMerge "Replace HAVE_MS_C_RUNTIME with _WIN32 in build."
Elliott Hughes [Mon, 17 Aug 2015 20:25:36 +0000 (20:25 +0000)]
Merge "Replace HAVE_MS_C_RUNTIME with _WIN32 in build."

9 years agoam f9b75b1b: Merge "Don\'t filter on a non-existent variable."
Dan Albert [Mon, 17 Aug 2015 20:19:30 +0000 (20:19 +0000)]
am f9b75b1b: Merge "Don\'t filter on a non-existent variable."

* commit 'f9b75b1b24d985c873e548d4fd7945a6cdd99323':
  Don't filter on a non-existent variable.

9 years agoMerge "Don't filter on a non-existent variable."
Dan Albert [Mon, 17 Aug 2015 20:16:01 +0000 (20:16 +0000)]
Merge "Don't filter on a non-existent variable."

9 years agoReplace HAVE_MS_C_RUNTIME with _WIN32 in build.
Elliott Hughes [Mon, 17 Aug 2015 19:37:37 +0000 (12:37 -0700)]
Replace HAVE_MS_C_RUNTIME with _WIN32 in build.

Change-Id: Iebca0c4eab975c4bebcd3658baefd85c51890db4

9 years agoRemove legacy windows platform build support
Dan Willemsen [Thu, 13 Aug 2015 21:31:36 +0000 (14:31 -0700)]
Remove legacy windows platform build support

We still support HOST_OS=windows for the SDK host tools cross-builds, but
that's only when USE_MINGW is set when running under linux.

Change-Id: I37da87dc9fbbd69ba10ce4d7f2668ab3f6482d92

9 years agoam dae6455c: Merge "Add an option to include a full bootloader in incremental OTA."
Tao Bao [Mon, 17 Aug 2015 17:48:43 +0000 (17:48 +0000)]
am dae6455c: Merge "Add an option to include a full bootloader in incremental OTA."

* commit 'dae6455c95a30ec2742b54ce3c8a4a45b1aa65f2':
  Add an option to include a full bootloader in incremental OTA.

9 years agoMerge "Add an option to include a full bootloader in incremental OTA."
Tao Bao [Mon, 17 Aug 2015 17:38:01 +0000 (17:38 +0000)]
Merge "Add an option to include a full bootloader in incremental OTA."

9 years agoDon't filter on a non-existent variable.
Dan Albert [Mon, 17 Aug 2015 17:36:09 +0000 (10:36 -0700)]
Don't filter on a non-existent variable.

This used to be used for aarch64
(https://android-review.googlesource.com/#/c/80126/), but has since
been removed and now does nothing. This was then reimplemented more
generally with my_illegal_flags
(https://android-review.googlesource.com/#/c/166405/). Drop
*GLOBAL_UNSUPPORTED_CFLAGS in favor of that.

Change-Id: I3347726dd92f9d3a16783e0d9d3b685a828400b4

9 years agoAdd an option to include a full bootloader in incremental OTA.
leozwang [Fri, 14 Aug 2015 17:57:58 +0000 (10:57 -0700)]
Add an option to include a full bootloader in incremental OTA.

Bug: 23101469
Change-Id: Iac466b83f789f10d26e8d289dce766cf0d05148b
(cherry picked from commit c1324751e79b23a63ea494f4bc784446c8f32435)

9 years agoRevise stash for BBOTAs when needed.
Tao Bao [Mon, 17 Aug 2015 16:45:13 +0000 (09:45 -0700)]
Revise stash for BBOTAs when needed.

When generating incremental BBOTAs (v2 and above), we need to ensure
that the needed runtime stash is below the given threshold. If it's
running out of space on /cache, we replace the command that uses a
stash with a "new" command instead.

This may increase the OTA package size, since it is carrying more full
blocks instead of patches. It gets even worse for large files that span
a number of blocks, because currently we will store all the blocks for
the file as "new" blocks if stashing cannot be satisfied. We may further
optimize by splitting them into smaller chunks so that most of them can
still be stashed.

Bug: 22430577
Change-Id: I5a49e361adc7d3d41de2e9c08ee9b08c1e6c091a

9 years agoAdd two flags for the latest ckati
Shinichiro Hamaji [Mon, 17 Aug 2015 08:41:29 +0000 (17:41 +0900)]
Add two flags for the latest ckati

* --regen

Re-generate build.ninja only when necessary. If either

1. .mk file is updated,
2. environment variable is updated,
3. $(wildcard) result is changed, or
4. $(shell) result is changed,

ckati will regenerate ninja file. This check takes only ~1
second, so incremental build will become much faster even
without "fastincremental" target.

* --ignore_dirty=out/%:

Some .mk files in out/ (e.g.,
out/target/product/generic/previous_build_config.mk)
are updated while ckati is running. With this flag, ckati
does not regenerate build.ninja when they look modified.
This should be OK for ninja based build, as ninja handles
command line changes nicely.

Change-Id: I7a2fca0e327d999599d6b16f06358e8a5e657565

9 years agoam 2e08cb6e: Merge "Add -mfpu=neon-vfpv4 if cpu is krait"
Stephen Hines [Sat, 15 Aug 2015 02:12:46 +0000 (02:12 +0000)]
am 2e08cb6e: Merge "Add -mfpu=neon-vfpv4 if cpu is krait"

* commit '2e08cb6e1bf90b0950c875132d2bf37b71d03fbb':
  Add -mfpu=neon-vfpv4 if cpu is krait

9 years agoMerge "Add -mfpu=neon-vfpv4 if cpu is krait"
Stephen Hines [Sat, 15 Aug 2015 02:04:55 +0000 (02:04 +0000)]
Merge "Add -mfpu=neon-vfpv4 if cpu is krait"

9 years agoam 36600a6b: Merge "Include target api version in build system for rscpp."
Yang Ni [Fri, 14 Aug 2015 18:46:18 +0000 (18:46 +0000)]
am 36600a6b: Merge "Include target api version in build system for rscpp."

* commit '36600a6bf9b3b79327785cd740a909d3920d6519':
  Include target api version in build system for rscpp.

9 years agoMerge "Include target api version in build system for rscpp."
Yang Ni [Fri, 14 Aug 2015 18:39:47 +0000 (18:39 +0000)]
Merge "Include target api version in build system for rscpp."

9 years agoam 578acca4: Merge "Link librt on the host when using sanitizers."
Dan Albert [Fri, 14 Aug 2015 01:05:03 +0000 (01:05 +0000)]
am 578acca4: Merge "Link librt on the host when using sanitizers."

* commit '578acca4e27511900eefc2f65be3e88f9127660c':
  Link librt on the host when using sanitizers.

9 years agoMerge "Link librt on the host when using sanitizers."
Dan Albert [Fri, 14 Aug 2015 00:59:52 +0000 (00:59 +0000)]
Merge "Link librt on the host when using sanitizers."

9 years agoLink librt on the host when using sanitizers.
Dan Albert [Fri, 14 Aug 2015 00:25:10 +0000 (17:25 -0700)]
Link librt on the host when using sanitizers.

The sanitizers now use shared memory.

Change-Id: Ie8fa6690374eda08ee4138b68fd628ebbfa2d0c8

9 years agoInclude target api version in build system for rscpp.
Noah Presler [Fri, 14 Aug 2015 00:04:10 +0000 (17:04 -0700)]
Include target api version in build system for rscpp.

b/23161320

Change-Id: Ibc23309abed092e7648168fbf4b80891a44929a6

9 years agoam 8765fca2: Merge "Free the stash after its use in BBOTA v2."
Tao Bao [Thu, 13 Aug 2015 22:26:17 +0000 (22:26 +0000)]
am 8765fca2: Merge "Free the stash after its use in BBOTA v2."

* commit '8765fca2f6013fe9d82ff00729089c98921bfb52':
  Free the stash after its use in BBOTA v2.

9 years agoMerge "Free the stash after its use in BBOTA v2."
Tao Bao [Thu, 13 Aug 2015 22:22:16 +0000 (22:22 +0000)]
Merge "Free the stash after its use in BBOTA v2."

9 years agoFree the stash after its use in BBOTA v2.
Tao Bao [Thu, 13 Aug 2015 21:44:15 +0000 (14:44 -0700)]
Free the stash after its use in BBOTA v2.

In BBOTA v2, the stash size computation is inaccurate. A stash will be
used only once, so we deduct its size from stashed_blocks right after
its use. However, the stash doesn't actually get freed until being
overwritten by another stash or destroyed at the end of an update. This
leads to OTA failures due to insufficient space on /cache. This CL
changes the BBOTA v2 script to generate an explicit free right after
its use.

Bug: 23119955
Change-Id: Icdd8352bb0ff778945937c870990a888c7a4d38b

9 years agoam 727b462a: Merge "Never allow -w."
Dan Albert [Thu, 13 Aug 2015 16:52:55 +0000 (16:52 +0000)]
am 727b462a: Merge "Never allow -w."

* commit '727b462a92635665ce636c63123078a970654480':
  Never allow -w.