OSDN Git Service

android-x86/build.git
7 years agoUpdating security string to 2016-11-05 on nyc-dev
Adam Seaton [Wed, 21 Sep 2016 17:55:18 +0000 (17:55 +0000)]
Updating security string to 2016-11-05 on nyc-dev
am: 002132648d

Change-Id: I00ffcb925f579ad2e404dafeaa2d85cf76e021f3

7 years agoUpdating Security String to 2016-11-01 on nyc-dev
Adam Seaton [Wed, 21 Sep 2016 17:51:40 +0000 (17:51 +0000)]
Updating Security String to 2016-11-01 on nyc-dev
am: 2a00b24144

Change-Id: I19a783b2e608de9b3be07f442a9762336f2105c1

7 years agoMerge "Replace usages of my_register_name with my_all_targets" am: 077d9d5fe7
Colin Cross [Wed, 21 Sep 2016 02:09:54 +0000 (02:09 +0000)]
Merge "Replace usages of my_register_name with my_all_targets" am: 077d9d5fe7
am: e373117cac

Change-Id: I4636a410ec035c21fc20c04f47cada7b08c31b8e

7 years agoMerge "Replace usages of my_register_name with my_all_targets"
Colin Cross [Wed, 21 Sep 2016 02:05:53 +0000 (02:05 +0000)]
Merge "Replace usages of my_register_name with my_all_targets"
am: 077d9d5fe7

Change-Id: I7e833dab3ff53e8524a227038c8de92e8e67393c

7 years agoMerge "Replace usages of my_register_name with my_all_targets"
Treehugger Robot [Wed, 21 Sep 2016 00:38:59 +0000 (00:38 +0000)]
Merge "Replace usages of my_register_name with my_all_targets"

7 years agoReplace usages of my_register_name with my_all_targets
Colin Cross [Tue, 20 Sep 2016 23:01:28 +0000 (16:01 -0700)]
Replace usages of my_register_name with my_all_targets

A few module types add extra dependencies on $(my_register_name), move
them to $(my_all_targets) so that they are built for mm and mma too.

Bug: 31526036
Test: mmm framework
Change-Id: I2e594ce771451a99691739b963f4ce517e9dd595

7 years agoUpdating Security String to 2016-11-05 on mnc-dev b/31618336 am: dcfd738833 am: fac55...
Adam Seaton [Tue, 20 Sep 2016 22:56:14 +0000 (22:56 +0000)]
Updating Security String to 2016-11-05 on mnc-dev b/31618336 am: dcfd738833 am: fac5535f75 am: 405437474b am: 4afc7d56eb  -s ours
am: 1ddbc7984a

Change-Id: I5abbd7303c060bc397640e8fb5f128184c25239a

7 years agoUpdating Security String to 2016-11-05 on mnc-dev b/31618336 am: dcfd738833 am: fac55...
Adam Seaton [Tue, 20 Sep 2016 22:53:42 +0000 (22:53 +0000)]
Updating Security String to 2016-11-05 on mnc-dev b/31618336 am: dcfd738833 am: fac5535f75 am: 405437474b
am: 4afc7d56eb  -s ours

Change-Id: I254e7b694e8be596854e15cdd56dc3f26794b3a0

7 years agoUpdating Security String to 2016-11-01 on mnc-dev b/31618336 am: 62b28398ba am: f3b89...
Adam Seaton [Tue, 20 Sep 2016 22:51:13 +0000 (22:51 +0000)]
Updating Security String to 2016-11-01 on mnc-dev b/31618336 am: 62b28398ba am: f3b89d8392 am: 9ccd48f7d1 am: 8720071b96  -s ours
am: d5e90e9fa3

Change-Id: I7cf99f870f2095d1243ca54b7085accbb2d5ba76

7 years agoUpdating security string to 2016-11-05 on nyc-dev
Adam Seaton [Tue, 20 Sep 2016 22:48:41 +0000 (15:48 -0700)]
Updating security string to 2016-11-05 on nyc-dev

b/31618336

Change-Id: I1489eaf64c59dc0f175eb9220a900c68e262b3dd

7 years agoUpdating Security String to 2016-11-01 on mnc-dev b/31618336 am: 62b28398ba am: f3b89...
Adam Seaton [Tue, 20 Sep 2016 22:48:40 +0000 (22:48 +0000)]
Updating Security String to 2016-11-01 on mnc-dev b/31618336 am: 62b28398ba am: f3b89d8392 am: 9ccd48f7d1
am: 8720071b96  -s ours

Change-Id: If082fc1b10dcbe9cb83320d086a2f0c336171f0e

7 years agoUpdating Security String to 2016-11-01 on nyc-dev
Adam Seaton [Tue, 20 Sep 2016 22:47:16 +0000 (15:47 -0700)]
Updating Security String to 2016-11-01 on nyc-dev

b/31618336

Change-Id: I8ee8f978fbbf30efb1abca85cf374fc440a1baf7

7 years agoUpdating Security String to 2016-11-05 on mnc-dev b/31618336 am: dcfd738833 am: fac55...
Adam Seaton [Tue, 20 Sep 2016 22:38:43 +0000 (22:38 +0000)]
Updating Security String to 2016-11-05 on mnc-dev b/31618336 am: dcfd738833 am: fac5535f75
am: 405437474b

Change-Id: Iefac549d3a988284b88653120c7469e278e95cd4

7 years agoUpdating Security String to 2016-11-01 on mnc-dev b/31618336 am: 62b28398ba am: f3b89...
Adam Seaton [Tue, 20 Sep 2016 22:38:39 +0000 (22:38 +0000)]
Updating Security String to 2016-11-01 on mnc-dev b/31618336 am: 62b28398ba am: f3b89d8392
am: 9ccd48f7d1

Change-Id: I79e6fa0c2a6b026487bc1be8c51194ddd013f717

7 years agoUpdating Security String to 2016-11-05 on mnc-dev b/31618336 am: dcfd738833
Adam Seaton [Tue, 20 Sep 2016 22:36:19 +0000 (22:36 +0000)]
Updating Security String to 2016-11-05 on mnc-dev b/31618336 am: dcfd738833
am: fac5535f75

Change-Id: I8204ecf14fc6605265b46c28916eca6ede9858ae

7 years agoUpdating Security String to 2016-11-01 on mnc-dev b/31618336 am: 62b28398ba
Adam Seaton [Tue, 20 Sep 2016 22:36:09 +0000 (22:36 +0000)]
Updating Security String to 2016-11-01 on mnc-dev b/31618336 am: 62b28398ba
am: f3b89d8392

Change-Id: Ic3ad8fe00b74ab5b0ec7dc255366569e286565d8

7 years agoUpdating Security String to 2016-11-05 on mnc-dev b/31618336
Adam Seaton [Tue, 20 Sep 2016 22:33:15 +0000 (22:33 +0000)]
Updating Security String to 2016-11-05 on mnc-dev b/31618336
am: dcfd738833

Change-Id: I773c8e574286057cb8f33413c027276023fb32da

7 years agoUpdating Security String to 2016-11-01 on mnc-dev b/31618336
Adam Seaton [Tue, 20 Sep 2016 22:33:08 +0000 (22:33 +0000)]
Updating Security String to 2016-11-01 on mnc-dev b/31618336
am: 62b28398ba

Change-Id: I97cbe642d516b08d52c08b4e93ee4090493b1b96

7 years agoUpdating Security String to 2016-11-05 on mnc-dev
Adam Seaton [Tue, 20 Sep 2016 17:06:50 +0000 (10:06 -0700)]
Updating Security String to 2016-11-05 on mnc-dev
b/31618336

Change-Id: I3c9459553fdc89cacdf74d5e5801871b7192bc51

7 years agoUpdating Security String to 2016-11-01 on mnc-dev
Adam Seaton [Tue, 20 Sep 2016 17:03:47 +0000 (10:03 -0700)]
Updating Security String to 2016-11-01 on mnc-dev
b/31618336

Change-Id: I18b3a0d690ab238fcd3cafa65b873ce7432c9c25

7 years agoMerge "Add targets for building individual modules using javac" am: cb6f7c2d86
Paul Duffin [Tue, 20 Sep 2016 11:59:48 +0000 (11:59 +0000)]
Merge "Add targets for building individual modules using javac" am: cb6f7c2d86
am: da3fdebc1d

Change-Id: Iff02ac85b5e197135a9729e725a55cb5715cc2a8

7 years agoMerge "Add targets for building individual modules using javac"
Paul Duffin [Tue, 20 Sep 2016 11:56:48 +0000 (11:56 +0000)]
Merge "Add targets for building individual modules using javac"
am: cb6f7c2d86

Change-Id: Ic529ef16ed95c88bd32c68b050d2b784a6d6cf71

7 years agoMerge "Add targets for building individual modules using javac"
Paul Duffin [Tue, 20 Sep 2016 11:51:40 +0000 (11:51 +0000)]
Merge "Add targets for building individual modules using javac"

7 years agoMerge "Fix link_type checking" am: 665cda08f0
Dan Willemsen [Mon, 19 Sep 2016 23:21:16 +0000 (23:21 +0000)]
Merge "Fix link_type checking" am: 665cda08f0
am: 1347d959de

Change-Id: Ia7ba9accbfa4c7de8843d5554a62524500509d5b

7 years agoMerge "Fix link_type checking"
Dan Willemsen [Mon, 19 Sep 2016 22:40:37 +0000 (22:40 +0000)]
Merge "Fix link_type checking"
am: 665cda08f0

Change-Id: I95ca55160ae6a8b3a5d05a2a2cbc653dc3855981

7 years agoMerge "Fix link_type checking"
Dan Willemsen [Mon, 19 Sep 2016 21:54:08 +0000 (21:54 +0000)]
Merge "Fix link_type checking"

7 years agoMerge "Add a script that verifies OTA package signature." am: 3b0cb6e842
Tao Bao [Mon, 19 Sep 2016 17:39:35 +0000 (17:39 +0000)]
Merge "Add a script that verifies OTA package signature." am: 3b0cb6e842
am: 3db2c7fedd

Change-Id: I017800761e4ab883af62d42075542fb250cde22c

7 years agoMerge "Add a script that verifies OTA package signature."
Tao Bao [Mon, 19 Sep 2016 17:36:35 +0000 (17:36 +0000)]
Merge "Add a script that verifies OTA package signature."
am: 3b0cb6e842

Change-Id: Ic0441a0652caf75660d599a5b773080c47f01f79

7 years agoMerge "Add a script that verifies OTA package signature."
Treehugger Robot [Mon, 19 Sep 2016 17:28:01 +0000 (17:28 +0000)]
Merge "Add a script that verifies OTA package signature."

7 years agoAdd targets for building individual modules using javac
Paul Duffin [Thu, 15 Sep 2016 13:34:42 +0000 (14:34 +0100)]
Add targets for building individual modules using javac

This is needed in order to be able to run error prone (which is
a plugin replacement for javac) on a subset of the java code.

Bug: 31507496
Test: Build javac-check-core-tests and check the resulting JAR
Change-Id: I5a556920572fcdad7b39d67e3f00fe0e0f1f8f46

7 years agoMerge "Only update previous product config when changed" am: 2fcacb5a22
Dan Willemsen [Sat, 17 Sep 2016 02:38:49 +0000 (02:38 +0000)]
Merge "Only update previous product config when changed" am: 2fcacb5a22
am: 5f381cfcb2

Change-Id: I77598bb8449c8b4b83e93453dd46a658af66bab1

7 years agoMerge "Only update previous product config when changed"
Dan Willemsen [Sat, 17 Sep 2016 02:36:20 +0000 (02:36 +0000)]
Merge "Only update previous product config when changed"
am: 2fcacb5a22

Change-Id: I40024f4a6539130aa9395d6a923a57cd5fe49960

7 years agoMerge "Only update previous product config when changed"
Dan Willemsen [Sat, 17 Sep 2016 02:29:06 +0000 (02:29 +0000)]
Merge "Only update previous product config when changed"

7 years agoAdd a script that verifies OTA package signature.
Tao Bao [Tue, 13 Sep 2016 18:13:48 +0000 (11:13 -0700)]
Add a script that verifies OTA package signature.

Currently it supports verifying packages signed with RSA algorithms
(v1-v4 as in bootable/recovery/verifier.cpp). No support for ECDSA (v5)
signed packages yet.

$ ./build/tools/releasetools/check_ota_package_signature.py \
    bootable/recovery/tests/testdata/testkey_v1.x509.pem \
    bootable/recovery/tests/testdata/otasigned_v1.zip

Package: bootable/recovery/tests/testdata/otasigned_v1.zip
Certificate: bootable/recovery/tests/testdata/testkey_v1.x509.pem
Comment length: 1738
Signed data length: 2269
Use SHA-256: False
Digest: 115e688ec3b77743070b743453e2fc6ce8754484

VERIFIED

Bug: 31523193
Test: Used the tool to verify existing packages (like above).

Change-Id: I71d3569e858c729cb64825c5c7688ededc397aa8

7 years agoMerge "Remove objclean" am: 1d4b79dde2
Dan Willemsen [Fri, 16 Sep 2016 22:02:31 +0000 (22:02 +0000)]
Merge "Remove objclean" am: 1d4b79dde2
am: beaa6df59f

Change-Id: I73a68779f7b2e321c66e6102dca290828a9cd25f

7 years agoMerge "Remove objclean"
Dan Willemsen [Fri, 16 Sep 2016 21:58:57 +0000 (21:58 +0000)]
Merge "Remove objclean"
am: 1d4b79dde2

Change-Id: I89d814220509513c5948a811bfcc75241de6b3cc

7 years agoMerge "Remove objclean"
Treehugger Robot [Fri, 16 Sep 2016 21:46:20 +0000 (21:46 +0000)]
Merge "Remove objclean"

7 years agoOnly update previous product config when changed
Dan Willemsen [Fri, 16 Sep 2016 17:03:22 +0000 (10:03 -0700)]
Only update previous product config when changed

I'm working on removing the --ignore_dirty=$(OUT_DIR)/% argument from
Kati. If we're always writing to a file that we're also reading, then
with that flag removed, we'll always reparse all the makefiles.

So instead, use the method from the generated java file cleanup where we
read from a "previous" file, write to a "current" file, then use a
cmp || mv to overwrite the "previous" file if necessary. When the flag
is removed, this will cause Kati to need to run twice any time this
changes, but it's better than forever.

Bug: 30947985
Test: Switch between aosp_arm-eng and full-eng
Change-Id: Id2d1445809b60ce26700bb2aca765df3b5c2b360

7 years agoRemove objclean
Dan Willemsen [Fri, 16 Sep 2016 05:03:04 +0000 (22:03 -0700)]
Remove objclean

We don't need to manually remove objects when switching SANITIZE_TARGET
-- that will be handled by Ninja noticing that the command lines are
different.

Bug: 30947985
Test: None
Change-Id: I83c15981cf6ea258bb7fa85490b0b1ede1058aa6

7 years agoMerge changes from topics 'ndk-compiler-rt_extras', 'ndk-libc++-libdl' am: 7b351cadfc
Dan Albert [Fri, 16 Sep 2016 06:51:12 +0000 (06:51 +0000)]
Merge changes from topics 'ndk-compiler-rt_extras', 'ndk-libc++-libdl' am: 7b351cadfc
am: ad53acf331

Change-Id: Icf51316deae33343492640da46f2926acf81c2cc

7 years agoUse libcompiler-rt_extras with NDK builds. am: c28e4bcb1c
Dan Albert [Fri, 16 Sep 2016 06:51:03 +0000 (06:51 +0000)]
Use libcompiler-rt_extras with NDK builds. am: c28e4bcb1c
am: d042352816

Change-Id: Icb272f25c0c94ebfed549382eefd36363b0b7a1f

7 years agoAlways link libdl with libc++ for the NDK. am: 2936a1e84b
Dan Albert [Fri, 16 Sep 2016 06:50:54 +0000 (06:50 +0000)]
Always link libdl with libc++ for the NDK. am: 2936a1e84b
am: ec6223ec3c

Change-Id: I18fb4af4cd80609ba7bec3d23509df3d3cb6ecf0

7 years agoMerge changes from topics 'ndk-compiler-rt_extras', 'ndk-libc++-libdl'
Dan Albert [Fri, 16 Sep 2016 06:45:34 +0000 (06:45 +0000)]
Merge changes from topics 'ndk-compiler-rt_extras', 'ndk-libc++-libdl'
am: 7b351cadfc

Change-Id: Ibce0de2cd113ccb1f97d9f83865be89961c22c54

7 years agoUse libcompiler-rt_extras with NDK builds.
Dan Albert [Fri, 16 Sep 2016 06:45:32 +0000 (06:45 +0000)]
Use libcompiler-rt_extras with NDK builds.
am: c28e4bcb1c

Change-Id: I21541bee4a55951601b6cd110ec78ae94a5da94c

7 years agoAlways link libdl with libc++ for the NDK.
Dan Albert [Fri, 16 Sep 2016 06:45:23 +0000 (06:45 +0000)]
Always link libdl with libc++ for the NDK.
am: 2936a1e84b

Change-Id: I41b0ce041345477931b0b0f59212fcda31899259

7 years agoMerge changes from topics 'ndk-compiler-rt_extras', 'ndk-libc++-libdl'
Treehugger Robot [Fri, 16 Sep 2016 06:40:32 +0000 (06:40 +0000)]
Merge changes from topics 'ndk-compiler-rt_extras', 'ndk-libc++-libdl'

* changes:
  Use libcompiler-rt_extras with NDK builds.
  Always link libdl with libc++ for the NDK.

7 years agoMerge "Fix typo in coverage target out path." am: c6507670f2
Ryan Campbell [Fri, 16 Sep 2016 02:16:02 +0000 (02:16 +0000)]
Merge "Fix typo in coverage target out path." am: c6507670f2
am: 1fd609359d

Change-Id: I3650bd75e4b3a8e03f613e430c65f62ef63aaf37

7 years agoMerge "Fix typo in coverage target out path."
Ryan Campbell [Fri, 16 Sep 2016 02:13:32 +0000 (02:13 +0000)]
Merge "Fix typo in coverage target out path."
am: c6507670f2

Change-Id: I09460fa54a7f63fefda7b648d615cf61ce86f778

7 years agoMerge "Fix typo in coverage target out path."
Treehugger Robot [Fri, 16 Sep 2016 02:06:18 +0000 (02:06 +0000)]
Merge "Fix typo in coverage target out path."

7 years agoFix typo in coverage target out path.
Ryan Campbell [Fri, 16 Sep 2016 00:32:13 +0000 (17:32 -0700)]
Fix typo in coverage target out path.

Change-Id: I4a448708ab74e08b2c515039ee5d71c32861214e

7 years agoFix link_type checking
Dan Willemsen [Thu, 15 Sep 2016 04:38:29 +0000 (21:38 -0700)]
Fix link_type checking

This was printing "error:", but not actually triggering an error.
Instead of trying to write a single line bash script to handle this,
move the actual check into python. This allows us to print all of the
errors for a single module before triggering the failure.

Also updates the warning format and the warn.py script to properly parse
these warning. Many of the java:sdk -> java:platform warnings are false
positives due to the lack of LOCAL_SDK_VERSION markings on prebuilts.

Individual tags can be marked as warnings now, which lets us check for
system libraries linking against vendor libraries (which won't work on
AOSP). I'm not sure this is a completely valid check, which one reason
that it's just a warning.

Test: m all_link_types (with some missing libs commented out)
Change-Id: I333e418c9a4511b7c7e826891ae481da08fbf6f9

7 years agoMerge "Remove SRC_SYSTEM_HEADERS" am: 4a6862e59b
Colin Cross [Thu, 15 Sep 2016 18:41:57 +0000 (18:41 +0000)]
Merge "Remove SRC_SYSTEM_HEADERS" am: 4a6862e59b
am: 195857c6dd

Change-Id: I28abe9c363ddd963fb5010586fc2cddaee89c015

7 years agoMerge "Remove SRC_SYSTEM_HEADERS"
Colin Cross [Thu, 15 Sep 2016 18:38:57 +0000 (18:38 +0000)]
Merge "Remove SRC_SYSTEM_HEADERS"
am: 4a6862e59b

Change-Id: I7864a2f482240f9e310d913d3dec07f99ad20c67

7 years agoMerge "Remove SRC_SYSTEM_HEADERS"
Treehugger Robot [Thu, 15 Sep 2016 18:27:45 +0000 (18:27 +0000)]
Merge "Remove SRC_SYSTEM_HEADERS"

7 years agoRemove SRC_SYSTEM_HEADERS
Colin Cross [Thu, 15 Sep 2016 16:29:15 +0000 (09:29 -0700)]
Remove SRC_SYSTEM_HEADERS

It is inherited from Soong now.

Bug: 31492149
Change-Id: Ia9bfd9662dba16032dac68b55b4f0743c0688139

7 years agoMerge "goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set." am: 766c348748
Yoshisato Yanagisawa [Thu, 15 Sep 2016 03:53:43 +0000 (03:53 +0000)]
Merge "goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set." am: 766c348748
am: 4d5f3043a2

Change-Id: I1cb95bee90e922a74d121f0ed78dc08953cfa735

7 years agoMerge "goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set."
Yoshisato Yanagisawa [Thu, 15 Sep 2016 03:50:44 +0000 (03:50 +0000)]
Merge "goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set."
am: 766c348748

Change-Id: I14edc0203aeadfc85a46bc68fa849c4f3d231b87

7 years agoMerge "goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set."
Treehugger Robot [Thu, 15 Sep 2016 03:41:24 +0000 (03:41 +0000)]
Merge "goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set."

7 years agoUse libcompiler-rt_extras with NDK builds.
Dan Albert [Wed, 14 Sep 2016 23:08:48 +0000 (16:08 -0700)]
Use libcompiler-rt_extras with NDK builds.

We want to build things in CTS (things built against the NDK) with
integer overflow checks. Some projects in the tree also make explicit
calls to the overflow checked builtins, and those projects need to be
built with the NDK (external/dng_sdk is the specific example that
brought this up).

Test: make checkbuild tests
Bug: None
Change-Id: Iab27dd0d931f723140de242049fa72f3b1ce0fb8

7 years agoAlways link libdl with libc++ for the NDK.
Dan Albert [Wed, 14 Sep 2016 23:08:04 +0000 (16:08 -0700)]
Always link libdl with libc++ for the NDK.

libc++ requires libdl whether it's statically linked or not.

Test: make checkbuild tests
Bug: None
Change-Id: I8abdcfaef779b358196716ab1193cebe278317ac

7 years agoMerge "Emit a table of warnings by project and severity." am: 029ced528b
Chih-hung Hsieh [Wed, 14 Sep 2016 16:54:45 +0000 (16:54 +0000)]
Merge "Emit a table of warnings by project and severity." am: 029ced528b
am: ecbfa77903

Change-Id: Idb0cceaf1d3476e08879f1cba9986bce6ec3376b

7 years agoMerge "Emit a table of warnings by project and severity."
Chih-hung Hsieh [Wed, 14 Sep 2016 16:48:44 +0000 (16:48 +0000)]
Merge "Emit a table of warnings by project and severity."
am: 029ced528b

Change-Id: Ia4c1887c7e82623b9728f409e457d716d561716b

7 years agoMerge "Emit a table of warnings by project and severity."
Chih-hung Hsieh [Wed, 14 Sep 2016 16:39:26 +0000 (16:39 +0000)]
Merge "Emit a table of warnings by project and severity."

7 years agoMerge "Fix shared library install dependencies outside of /system" am: 0b3f97b0d6
Dan Willemsen [Tue, 13 Sep 2016 22:48:36 +0000 (22:48 +0000)]
Merge "Fix shared library install dependencies outside of /system" am: 0b3f97b0d6
am: f9fc0ea6fe

Change-Id: I0b06d2a331cf6788e842d91d8b246df2345f10d8

7 years agoMerge "Fix shared library install dependencies outside of /system"
Dan Willemsen [Tue, 13 Sep 2016 22:45:35 +0000 (22:45 +0000)]
Merge "Fix shared library install dependencies outside of /system"
am: 0b3f97b0d6

Change-Id: Ia2ffd13b26825c495559565f3c4542815956f660

7 years agoMerge "Fix shared library install dependencies outside of /system"
Dan Willemsen [Tue, 13 Sep 2016 22:39:20 +0000 (22:39 +0000)]
Merge "Fix shared library install dependencies outside of /system"

7 years agoFix shared library install dependencies outside of /system
Dan Willemsen [Tue, 13 Sep 2016 20:28:51 +0000 (13:28 -0700)]
Fix shared library install dependencies outside of /system

For properly picking the shared library install dependencies, HOST_OUT
and HOST_CROSS_OUT are necessary so that we don't add a dependency
between Linux and Windows. But for target modules, we must use
TARGET_OUT_ROOT instead of TARGET_OUT, or modules in /data and /vendor
won't have proper install dependencies.

Bug: 31462199
Test: m bionic-unit-tests; manual diff of generated ninja file
Change-Id: I828fa2664613296cc6c431813f5657abffdd2b8f

7 years agoMerge "Implement path-based enabling of code coverage." am: 1e1ecd5d07
Ryan Campbell [Tue, 13 Sep 2016 19:58:51 +0000 (19:58 +0000)]
Merge "Implement path-based enabling of code coverage." am: 1e1ecd5d07
am: 6b92bb4ebb

Change-Id: I8d359d0dc1fd72491239152f3c6b852c307ca919

7 years agoMerge "Implement path-based enabling of code coverage."
Ryan Campbell [Tue, 13 Sep 2016 19:55:52 +0000 (19:55 +0000)]
Merge "Implement path-based enabling of code coverage."
am: 1e1ecd5d07

Change-Id: I5f60032cfdb365a6f93bb9ca3617cbd08f6b4b21

7 years agoMerge "Implement path-based enabling of code coverage."
Ryan Campbell [Tue, 13 Sep 2016 19:48:34 +0000 (19:48 +0000)]
Merge "Implement path-based enabling of code coverage."

7 years agoMerge "Fix building static linux binaries" am: 8bb71cef9f
Dan Willemsen [Tue, 13 Sep 2016 19:31:22 +0000 (19:31 +0000)]
Merge "Fix building static linux binaries" am: 8bb71cef9f
am: 5cf6a4578d

Change-Id: Ic8f3a7eb287e42f029c36653c2c7a3c0de65b155

7 years agoMerge "Fix building static linux binaries"
Dan Willemsen [Tue, 13 Sep 2016 19:28:50 +0000 (19:28 +0000)]
Merge "Fix building static linux binaries"
am: 8bb71cef9f

Change-Id: Ied0e1f1d6ed4432536baeae74858f3f524a2ac65

7 years agoMerge "Fix building static linux binaries"
Treehugger Robot [Tue, 13 Sep 2016 19:19:46 +0000 (19:19 +0000)]
Merge "Fix building static linux binaries"

7 years agoFix building static linux binaries
Dan Willemsen [Tue, 13 Sep 2016 17:44:44 +0000 (10:44 -0700)]
Fix building static linux binaries

BUILD_HOST_static has been broken because I was stripping
-Wl,--start-group/-Wl,--end-group into a separate set of ldflags instead
of keeping them wrapped around some of the ldlibs. So don't pass some of
the build system flags through the ldlibs checker.

Bug: 30898128
Change-Id: I332b42679695cdc5da3cb0036290b6a3544699c0

7 years agoImplement path-based enabling of code coverage.
Ryan Campbell [Mon, 12 Sep 2016 20:56:50 +0000 (13:56 -0700)]
Implement path-based enabling of code coverage.

Native coverage is enabled by setting NATIVE_COVERAGE to true
and specifying a list of paths in the COVERAGE_PATHS
environment variable. Files are exported to a zip file in the
target out directory.

Change-Id: I66a2ddd88e849bec1cc0cdae1b51fe18a007e2c3

7 years agoEmit a table of warnings by project and severity.
Chih-Hung Hsieh [Mon, 12 Sep 2016 23:20:49 +0000 (16:20 -0700)]
Emit a table of warnings by project and severity.

* Use 't1' CSS class for main warning tables,
  and default table style for new warning count table.
* Count total skipped warnings.
* Append count of warnings in each severity header.
* Fix some skipped warning patterns and count/dump skipped warnings.
* Add dumpskippedanchors function to fix expand_collapse
  error when --byproject flag is used and severity.SKIP
  is not emitted.
* Minor coding style changes:
  * Loop through severity.kinds.
  * Remove unused import.
  * Add spaces around assignment operators.
  * Adjust indentation.

Bug: 31377083
Test: run warn.py with build.log
Change-Id: I68949edc4601b10ea2f7ac84e48e6c3da4ab1e4f

7 years agoMerge "Remove incremental workaround for aapt overlays" am: 946e58bdff
Dan Willemsen [Tue, 13 Sep 2016 04:38:22 +0000 (04:38 +0000)]
Merge "Remove incremental workaround for aapt overlays" am: 946e58bdff
am: cd573e3aef

Change-Id: I7f90596676af64202fe17f76beb49f0a61a0dc1b

7 years agoMerge "Remove incremental workaround for aapt overlays"
Dan Willemsen [Tue, 13 Sep 2016 04:35:52 +0000 (04:35 +0000)]
Merge "Remove incremental workaround for aapt overlays"
am: 946e58bdff

Change-Id: I44a7d1be8ea317e3ce861b2ce0418b112f80a323

7 years agoMerge "Remove incremental workaround for aapt overlays"
Treehugger Robot [Tue, 13 Sep 2016 04:29:36 +0000 (04:29 +0000)]
Merge "Remove incremental workaround for aapt overlays"

7 years agogoma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set.
Yoshisato Yanagisawa [Tue, 13 Sep 2016 03:53:08 +0000 (12:53 +0900)]
goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set.

During the development of goma client, we sometimes need to use goma
compiler_proxy, which has already been running.

Test: NOSTART_GOMA=1 USE_GOMA=1 m.

Change-Id: Ifa969c40871325fd43ee6443ddbe3b18fde62c5a

7 years agoRemove incremental workaround for aapt overlays
Dan Willemsen [Tue, 13 Sep 2016 03:26:33 +0000 (20:26 -0700)]
Remove incremental workaround for aapt overlays

This workaround to clean package intermediates is no longer necessary,
as ninja reruns commands whose command line changes.

Test: switch between product overlays that use add-resource, verify
      R.java is regenerated.
Change-Id: Icb1f76360e39882e4401180414a031956777b020

7 years agoMerge "Remove speex from the pathmap" am: fbfff3129e
Dan Willemsen [Tue, 13 Sep 2016 00:19:05 +0000 (00:19 +0000)]
Merge "Remove speex from the pathmap" am: fbfff3129e
am: 7da7001c18

Change-Id: I2af31462ac7a45c2ac0d3d5f5335c6081fbae7d2

7 years agoMerge "Remove speex from the pathmap"
Dan Willemsen [Tue, 13 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Merge "Remove speex from the pathmap"
am: fbfff3129e

Change-Id: I3e1460124b235555860296363c065e24f872991c

7 years agoMerge "Remove speex from the pathmap"
Treehugger Robot [Tue, 13 Sep 2016 00:07:28 +0000 (00:07 +0000)]
Merge "Remove speex from the pathmap"

7 years agoRemove speex from the pathmap
Dan Willemsen [Mon, 12 Sep 2016 23:10:20 +0000 (16:10 -0700)]
Remove speex from the pathmap

libspeexresampler uses LOCAL_EXPORT_C_INCLUDE_DIRS to export this path
to all of its users already.

Test: m libaudiopreprocessing libaudioutils
Change-Id: I682303142840d6f0f02c990de8e713620840bbda

7 years agoMerge "Update NDK gtest lib names." am: 56c2a18a50
Dan Albert [Mon, 12 Sep 2016 21:09:54 +0000 (21:09 +0000)]
Merge "Update NDK gtest lib names." am: 56c2a18a50
am: 146540b535

Change-Id: I32717473ff1d38f8abca819eb0b21ccfc9153d59

7 years agoMerge "Update NDK gtest lib names."
Dan Albert [Mon, 12 Sep 2016 21:00:26 +0000 (21:00 +0000)]
Merge "Update NDK gtest lib names."
am: 56c2a18a50

Change-Id: Ib8b6996027020fa8bc1d17f8d1286915c534d94b

7 years agoMerge "Update NDK gtest lib names."
Treehugger Robot [Mon, 12 Sep 2016 20:48:42 +0000 (20:48 +0000)]
Merge "Update NDK gtest lib names."

7 years agoMerge "Fix libgcov.a dependency" am: f9d5fb97cb
Dan Willemsen [Mon, 12 Sep 2016 19:19:42 +0000 (19:19 +0000)]
Merge "Fix libgcov.a dependency" am: f9d5fb97cb
am: 4b9f214a7b

Change-Id: Ia4aadb15b81c53014b135ff09d24b3641789b96b

7 years agoMerge "Fix libgcov.a dependency"
Dan Willemsen [Mon, 12 Sep 2016 19:16:41 +0000 (19:16 +0000)]
Merge "Fix libgcov.a dependency"
am: f9d5fb97cb

Change-Id: I38c4783f80976cc6cdf1dd3066d9bd9680efb4a8

7 years agoMerge "Fix libgcov.a dependency"
Treehugger Robot [Mon, 12 Sep 2016 19:06:54 +0000 (19:06 +0000)]
Merge "Fix libgcov.a dependency"

7 years agoFix libgcov.a dependency
Dan Willemsen [Tue, 23 Aug 2016 06:53:47 +0000 (06:53 +0000)]
Fix libgcov.a dependency

Now that Soong is generating libgcov.a, we need a dependency here.

Change-Id: Ie8d97339fd584eed178cc57b9333d38754ab1135

7 years agoMerge "Update build rules for VDEX" am: 3a04e1b82f
David Brazdil [Mon, 12 Sep 2016 15:09:08 +0000 (15:09 +0000)]
Merge "Update build rules for VDEX" am: 3a04e1b82f
am: 50513362fa

Change-Id: I41040711c09e7cd514c7df33ba3f33350990acd1

7 years agoMerge "Update build rules for VDEX"
David Brazdil [Mon, 12 Sep 2016 15:05:39 +0000 (15:05 +0000)]
Merge "Update build rules for VDEX"
am: 3a04e1b82f

Change-Id: I6f50ba38c35277892ecc1fcc262eed9ffa533aa5

7 years agoMerge "Update build rules for VDEX"
David Brazdil [Mon, 12 Sep 2016 14:57:19 +0000 (14:57 +0000)]
Merge "Update build rules for VDEX"

7 years agoMerge "add support for constraint layout's DATA list" into nyc-dev
Scott Main [Sat, 10 Sep 2016 01:33:18 +0000 (01:33 +0000)]
Merge "add support for constraint layout's DATA list" into nyc-dev
am: 64bd41ff7d

Change-Id: Iece4de40cbd0854165e39767ef379a4b75fb66b5

7 years agoadd support for constraint layout's DATA list
smain@google.com [Sat, 10 Sep 2016 01:33:17 +0000 (01:33 +0000)]
add support for constraint layout's DATA list
am: 7055897faa

Change-Id: Ibce59cf7867e6a197a39873453dae8336419e233

7 years agoMerge "add support for constraint layout's DATA list" into nyc-dev
Scott Main [Sat, 10 Sep 2016 01:28:08 +0000 (01:28 +0000)]
Merge "add support for constraint layout's DATA list" into nyc-dev

7 years agoadd support for constraint layout's DATA list
smain@google.com [Fri, 9 Sep 2016 22:37:47 +0000 (15:37 -0700)]
add support for constraint layout's DATA list

Change-Id: Ia301ad235dcfd5a5c2bb13bfa6daa753f9206800

7 years agoMerge "Remove global linker search paths" am: 39c1c9ae12
Colin Cross [Fri, 9 Sep 2016 20:37:29 +0000 (20:37 +0000)]
Merge "Remove global linker search paths" am: 39c1c9ae12
am: 01d1c0b442

Change-Id: Ifd0478970be0ab37374f5445b5a9501a0c041123