Commit Graph

1756 Commits

Author SHA1 Message Date
Colin Cross 481273eb9c Merge "Move hardware/libhardware/include from -isystem to -I" am: 3f9bde87fb am: ddaee09318
am: cfef115558

Change-Id: Ib7ce1b35d13bbe91f6a1925a6fd704a2b63363d2
2016-10-09 01:22:46 +00:00
Colin Cross cfef115558 Merge "Move hardware/libhardware/include from -isystem to -I" am: 3f9bde87fb
am: ddaee09318

Change-Id: Ibf332a20fd015d191f41f2281fbc1fc4c93f3c89
2016-10-09 01:17:46 +00:00
Colin Cross ddaee09318 Merge "Move hardware/libhardware/include from -isystem to -I"
am: 3f9bde87fb

Change-Id: I0b2a234e30836a345fbac302ad39dd483e40f99a
2016-10-09 01:13:16 +00:00
Treehugger Robot 3f9bde87fb Merge "Move hardware/libhardware/include from -isystem to -I" 2016-10-09 01:05:31 +00:00
Colin Cross 092b39ff22 Merge "Move system/media/audio/include from -isystem to -I" am: 44266e97f8 am: ab00324114
am: 509852a290

Change-Id: I71787e268dbd461a9d671377d8602d3b2d4c6e0e
2016-10-07 20:52:46 +00:00
Colin Cross 509852a290 Merge "Move system/media/audio/include from -isystem to -I" am: 44266e97f8
am: ab00324114

Change-Id: I6e850e512c1b7096e3ca87ce30911ecb9e865e2a
2016-10-07 20:48:12 +00:00
Colin Cross ab00324114 Merge "Move system/media/audio/include from -isystem to -I"
am: 44266e97f8

Change-Id: I22e3029a8b6db40ce41a5eb04b07857105122455
2016-10-07 20:44:42 +00:00
Treehugger Robot 44266e97f8 Merge "Move system/media/audio/include from -isystem to -I" 2016-10-07 20:40:54 +00:00
Colin Cross 2d44c2c716 Move hardware/libhardware/include from -isystem to -I
-isystem hides all warnings.  The warnings in hardware/libhardware/include
have been cleaned up, so move it from -isystem to -I.

Test: m -j
Bug: 32018017
Change-Id: I9a602d5e1bd021638d3a92d93af3d2a18ab4caa7
2016-10-07 11:40:04 -07:00
Colin Cross 1928093246 Move system/media/audio/include from -isystem to -I
-isystem hides all warnings.  The warnings in system/media/audio/include
have been cleaned up, so move it from -isystem to -I.

Test: m -j
Bug: 31997134
Change-Id: I1c0b68935d643992dd9fc7f76583bed286e49325
2016-10-07 11:39:58 -07:00
Josh Gao 3bf3039c90 Merge "Allow -lobjc and -framework IOKit in darwin host_ldlibs." am: 15d523b933 am: 71badcc356
am: e07febf45f

Change-Id: Ia78a9b2bfff301ecfa1d4c6bf14855e9a8bfd9bd
2016-10-07 00:11:30 +00:00
Josh Gao e07febf45f Merge "Allow -lobjc and -framework IOKit in darwin host_ldlibs." am: 15d523b933
am: 71badcc356

Change-Id: I6f3bd338a09831d864ef0f621acca79661c1d046
2016-10-07 00:08:00 +00:00
Dan Willemsen 7ee1fec12a Add frameworks/rs to root.bp am: 46ae20b0e8 am: ca75cd7236
am: 2a16e28496

Change-Id: I53a151db508f64e688baf3db724590df02688fd4
2016-10-07 00:07:59 +00:00
Josh Gao 71badcc356 Merge "Allow -lobjc and -framework IOKit in darwin host_ldlibs."
am: 15d523b933

Change-Id: I10e7748dfe1941e60aa2d4ab3ffd459b87557d68
2016-10-07 00:04:29 +00:00
Dan Willemsen 2a16e28496 Add frameworks/rs to root.bp am: 46ae20b0e8
am: ca75cd7236

Change-Id: I60df7e6fed7fd6a993281d23dcb9f29d055b095b
2016-10-07 00:04:29 +00:00
Dan Willemsen ca75cd7236 Add frameworks/rs to root.bp
am: 46ae20b0e8

Change-Id: Iee36a5b9d7fe5ee3f3bea4103c2ca19f7534f343
2016-10-07 00:00:59 +00:00
Josh Gao 15d523b933 Merge "Allow -lobjc and -framework IOKit in darwin host_ldlibs." 2016-10-06 23:59:58 +00:00
Dan Willemsen 46ae20b0e8 Add frameworks/rs to root.bp
Test: m -j blueprint_tools (just to generate build.ninja)
Change-Id: I26c36d2e9af13df07a3ea2240b85ae9bf2e6e80b
2016-10-06 15:13:17 -07:00
Dan Albert f59d7980d2 Merge "Add frameworks/wilhelm to Android.bp." am: 15f6099b80 am: c1eb5c9ba2
am: 7d24596f9d

Change-Id: Ia1d91bfe1a35ac578bae5389d3a7a58b6c88c99a
2016-10-06 17:54:37 +00:00
Dan Albert 7d24596f9d Merge "Add frameworks/wilhelm to Android.bp." am: 15f6099b80
am: c1eb5c9ba2

Change-Id: I93a5b388bfa358fb95cd5872c85a0ba9cc8860e9
2016-10-06 17:51:37 +00:00
Dan Albert c1eb5c9ba2 Merge "Add frameworks/wilhelm to Android.bp."
am: 15f6099b80

Change-Id: I54182ff445e6ce9dc9724083e28753861961f343
2016-10-06 17:48:08 +00:00
Treehugger Robot 15f6099b80 Merge "Add frameworks/wilhelm to Android.bp." 2016-10-06 17:42:08 +00:00
Dan Willemsen d3b6a0ee3a Merge "Mark Soong-exported make variables as readonly" am: 6648ab0143 am: 215d2aaa6c
am: ba7212c136

Change-Id: I3454446b3869255315827454bd436066f760a217
2016-10-06 00:23:32 +00:00
Dan Willemsen ba7212c136 Merge "Mark Soong-exported make variables as readonly" am: 6648ab0143
am: 215d2aaa6c

Change-Id: I94bbff4cbb276698d48059c266442ad7ddcfee11
2016-10-06 00:20:33 +00:00
Dan Willemsen 215d2aaa6c Merge "Mark Soong-exported make variables as readonly"
am: 6648ab0143

Change-Id: Id640c3aaf23ffd981466ce6519928e28436a225f
2016-10-06 00:18:01 +00:00
Treehugger Robot 6648ab0143 Merge "Mark Soong-exported make variables as readonly" 2016-10-06 00:13:27 +00:00
Colin Cross 5e755a0218 Move frameworks/native/include from -isystem to -I am: 315a6ffc99 am: d2290252c8
am: a4966dc789

Change-Id: Ib6f9701f1ce6ae1ad5e0b5e2243bce1a8fd0fc08
2016-10-05 23:32:29 +00:00
Colin Cross a4966dc789 Move frameworks/native/include from -isystem to -I am: 315a6ffc99
am: d2290252c8

Change-Id: Ibe11bce52de686a0c803b5fe2b38c86c8f4bea59
2016-10-05 23:29:29 +00:00
Colin Cross d2290252c8 Move frameworks/native/include from -isystem to -I
am: 315a6ffc99

Change-Id: Icae207517be29a55a9d7200970c8d4b1ae92beb9
2016-10-05 23:26:29 +00:00
Dan Willemsen de18f47250 Mark Soong-exported make variables as readonly
Using new .KATI_READONLY extension.

Test: build/tooks/kati_all_products.sh on AOSP master and internal
Change-Id: I71794c1268456c3403a351c1b242f1e78b060355
2016-10-05 15:21:41 -07:00
Colin Cross 315a6ffc99 Move frameworks/native/include from -isystem to -I
-isystem hides all warnings.  The warnings in frameworks/native/include
have been cleaned up, so move it from -isystem to -I.

Test: m -j checkbuild
Bug: 31752268
Change-Id: Ie3656348b5b2a1828dec790aa047635ac0fe6d86
2016-10-05 12:58:29 -07:00
Dan Willemsen b35bab5cc3 Disable cc_benchmark for Darwin hosts am: 0b24c74fcb am: e2934f369d
am: f6428f6afe

Change-Id: I55de714646eb55648438163da39c2b32660f7dd8
2016-10-05 03:43:13 +00:00
Dan Willemsen f6428f6afe Disable cc_benchmark for Darwin hosts am: 0b24c74fcb
am: e2934f369d

Change-Id: Id313301de1ea6af65dc173708a844d7ad200ca55
2016-10-05 03:41:13 +00:00
Dan Willemsen e2934f369d Disable cc_benchmark for Darwin hosts
am: 0b24c74fcb

Change-Id: I378014ffe1b7b49764c6dab6e28dcfea6cbee681
2016-10-05 03:38:43 +00:00
Dan Albert 12ae79c935 Add frameworks/wilhelm to Android.bp.
Test: make native
Bug: http://b/30465923
Change-Id: I97d736deb5f1b56f0492ece4afb635539bc34610
2016-10-04 17:26:03 -07:00
Dan Willemsen 0b24c74fcb Disable cc_benchmark for Darwin hosts
The google-benchmark library is disabled on Darwin, so we cannot create
host benchmarks. Instead of having every user specify this, put the
logic in Soong. Then if we decide to support it later, it's an easier
switch.

Test: build.ninja identical before/after on Linux
Test: Ignores failing cc_benchmark_host on Darwin
Change-Id: I61f3a571fd160d8e479a512992bc68601f1c9b28
2016-10-04 15:20:16 -07:00
Colin Cross e548f2c92a Enable toc optimization for host builds am: 89562dc308 am: 8a60db561d
am: dbd0800adf

Change-Id: Iafbe90b0e9ac0cbdd045470935b95144aa581a71
2016-10-04 21:08:48 +00:00
Colin Cross dbd0800adf Enable toc optimization for host builds am: 89562dc308
am: 8a60db561d

Change-Id: Id2af0f43b0b78b5ef65a6eb30e98ff9df6679a49
2016-10-04 21:04:27 +00:00
Colin Cross 8a60db561d Enable toc optimization for host builds
am: 89562dc308

Change-Id: Ibb2aa669ff6d835142212b8ff6ab12096bf7f37f
2016-10-04 21:02:27 +00:00
Colin Cross d61ea4f3ca Fix toc path am: 4d67642cbd am: 2c45e1be9b
am: 573fcfbf7a

Change-Id: I32688f1d1a32d6c3be3ab2a441676b384c2ff22b
2016-10-04 18:35:46 +00:00
Colin Cross 573fcfbf7a Fix toc path am: 4d67642cbd
am: 2c45e1be9b

Change-Id: I2cd7d726b49069e16442a25962e0345410223f0a
2016-10-04 18:27:42 +00:00
Colin Cross 2c45e1be9b Fix toc path
am: 4d67642cbd

Change-Id: If895f8c2b9a9dff50235dadafc8c536b51033ef0
2016-10-04 18:21:42 +00:00
Colin Cross 89562dc308 Enable toc optimization for host builds
The toc optimization had been disabled for host builds to ensure that
the timestamp of the final binary changed whenever its implementation
changed, in order to support rerunning host tools that were modified
during incremental builds.  However, only the final install rule must be
re-run to update the timestamp, and not the link rule.

Update the shared library install dependencies to use normal
dependencies instead of order-only dependencies for host modules, and
then enable the the toc optimization for host modules.  If the
implementation of a library changes it will be reinstalled, and
libraries or binaries that depend on it will also be reinstalled.

Also move toc generation to happen on the packed, stripped library,
which is what will be used for linking, to ensure that it is available
at link time when depending only on the toc file.

Bug: 26015464
Test: m -j; touch system/tools/hidl/Annotation.cpp; m -j, verify
      out/soong/host/linux-x86/bin/hidl-gen is updated
Change-Id: I8953261d2209376f3dccbf0b1a93f7af4e45c4d0
2016-10-04 10:12:04 -07:00
Colin Cross 4d67642cbd Fix toc path
toc path was including the build directory twice, which breaks builds
with absolute paths to the build directory.

Test: m -j
Bug: 26014946
Change-Id: Ibc0856d1b22a44ec0c297f5dd84a932fde9f20af
2016-10-04 09:36:43 -07:00
Colin Cross 45f4577a10 Add support for toc optimization in soong am: 26c34ede29 am: 1e9c6a06a4
am: 0db018c2cc

Change-Id: I05e2b9b08c88b641c08defd1e9881fdbe39de55b
2016-10-03 21:48:36 +00:00
Colin Cross 0db018c2cc Add support for toc optimization in soong am: 26c34ede29
am: 1e9c6a06a4

Change-Id: Ie99243f8da6f255157a32f3ad08013622b7d2ff7
2016-10-03 21:46:03 +00:00
Colin Cross 1e9c6a06a4 Add support for toc optimization in soong
am: 26c34ede29

Change-Id: I2af5ef5564b311905c9ae14c2e56529e26e2c5d5
2016-10-03 21:44:33 +00:00
Colin Cross 26c34ede29 Add support for toc optimization in soong
Skip relinking against shared libraries whose interface hasn't changed.

Test: mmma -j frameworks/native/libs/gui
Test: touch frameworks/native/libs/gui/BufferItem.cpp
Test: mmma -j frameworks/native/libs/gui, see nothing relinks past libgui
Bug: 26014946
Change-Id: I4d4b8da6a35c682341ae51869f5c72b51e192053
2016-09-30 21:05:59 -07:00
Colin Cross 8caef9da47 Merge "Ninja and shell escape command line flags" am: 12013c8fe6 am: f3da303b51
am: d088e4cfbc

Change-Id: Ia67532faeb51fd922f3474e90ec28f1759160ede
2016-09-30 04:26:55 +00:00
Colin Cross d088e4cfbc Merge "Ninja and shell escape command line flags" am: 12013c8fe6
am: f3da303b51

Change-Id: I5cc72ed9af81a7ea40a421d3871d97eae335e550
2016-09-30 04:24:25 +00:00