Colin Cross
152ea03a61
Pass DepsContext to dependency methods am: 37047f1c7e
...
am: 3b4bacde17
Change-Id: I8cfefb367eb9004c5006acbfbca7d4a0a5d264ef
2016-12-14 19:41:18 +00:00
Colin Cross
3b4bacde17
Pass DepsContext to dependency methods
...
am: 37047f1c7e
Change-Id: Idee48a8b96bc21a397b81a06a86f8eb0475e770a
2016-12-14 19:35:18 +00:00
Colin Cross
58837708d7
Support explicit header-only libraries am: 5950f3827c
...
am: 3a8d9013fe
Change-Id: I782e8e2623932c435dae15962c4d64543de90d66
2016-12-14 18:46:28 +00:00
Colin Cross
bb590a6e3a
Remove boolean arguments from NewLibrary() am: ab3b7323c4
...
am: 154ea1bd45
Change-Id: I7aa859fdc965382c4917a358cf6c0f39158e0923
2016-12-14 18:46:25 +00:00
Colin Cross
3a8d9013fe
Support explicit header-only libraries
...
am: 5950f3827c
Change-Id: I444660c03f8e7d2cbf47ec4f8f12369540d1403d
2016-12-14 18:39:56 +00:00
Colin Cross
154ea1bd45
Remove boolean arguments from NewLibrary()
...
am: ab3b7323c4
Change-Id: I6d7e147308655a0259d613f5911f8283effc8da9
2016-12-14 18:39:54 +00:00
Colin Cross
37047f1c7e
Pass DepsContext to dependency methods
...
Pass a DepsContext that embeds android.BottomUpMutatorContext
instead of android.BaseContext so that dependency methods can
directly add dependencies.
Test: m -j
Change-Id: Id4c157975d3d6f03efd99785d217bef486a76139
2016-12-13 17:32:29 -08:00
Colin Cross
5950f3827c
Support explicit header-only libraries
...
To date we have been using static libraries with no source files as
header-only libraries. Switch to using header_libs to make the user's
expectations clear, in case we need to differentiate the semantics of
static libraries and header-only libraries when we enable transitive
static library dependencies.
Test: mma -j external/llvm
Change-Id: I3ce16df11076b637bd192880e86ec9027738b9e7
2016-12-13 15:03:42 -08:00
Colin Cross
ab3b7323c4
Remove boolean arguments from NewLibrary()
...
NewLibrary is going to be used for header only libraries. Instead
of adding more boolean arguments, replace the existing ones with
BuildOnlyStatic and BuildOnlyShared calls on the libraryDecorator
returned by NewLibrary.
Test: m -j, compare build.ninja
Change-Id: Id390b66cbf2a5f0932b32f40a5e18eb9e3852ee7
2016-12-13 14:50:51 -08:00
Colin Cross
e3c99af285
Merge "Allow disabled dependencies when SOONG_ALLOW_MISSING_DEPENDENCIES is set" am: 3b72295e02
...
am: dd4c79324c
Change-Id: Ie0a21cef995d2bf747661660a43105d3ea0afbd1
2016-12-13 22:42:06 +00:00
Colin Cross
dd4c79324c
Merge "Allow disabled dependencies when SOONG_ALLOW_MISSING_DEPENDENCIES is set"
...
am: 3b72295e02
Change-Id: I302841f1a97f91496678b3aac576c69952cc3f30
2016-12-13 22:34:36 +00:00
Treehugger Robot
3b72295e02
Merge "Allow disabled dependencies when SOONG_ALLOW_MISSING_DEPENDENCIES is set"
2016-12-13 22:30:22 +00:00
Colin Cross
a8f5e9a8b2
Allow disabled dependencies when SOONG_ALLOW_MISSING_DEPENDENCIES is set
...
Push the "depens on a disabled module" dependency to runtime when
SOONG_ALLOW_MISSING_DEPENDENCIES is set so that subsets of the tree
can build when some modules are disabled.
Test: external/clang/build.py on llvm branch
Change-Id: I47e4f41d04aa3df173757f03a0c581b0bafb93f0
2016-12-13 12:53:47 -08:00
Zhuoyao Zhang
c8cdb9f146
Add test/vts into soong build target. am: 14ed26d6cd
...
am: 0934d447f6
Change-Id: I94ebfc5510047493e9d5dbcacd13a77bae2b2111
2016-12-13 00:29:20 +00:00
Zhuoyao Zhang
0934d447f6
Add test/vts into soong build target.
...
am: 14ed26d6cd
Change-Id: I489ab8bf7b53124e455d61c0c1e3bb5476fa255f
2016-12-13 00:23:49 +00:00
Zhuoyao Zhang
14ed26d6cd
Add test/vts into soong build target.
...
Bug: 31930023
Test: make vts
Change-Id: Ibd3ed5e56a2ce925d509dfd95a00e3961a433850
(cherry picked from commit b003d0537f
)
2016-12-12 14:28:34 -08:00
Colin Cross
af81e147ea
Support arm_on_x86 properties am: bb2e2b7d7f
...
am: 8d2d70313a
Change-Id: Id266a261bdb73f032a46a6529ab652d4dfdea2f3
2016-12-09 22:22:47 +00:00
Colin Cross
8d2d70313a
Support arm_on_x86 properties
...
am: bb2e2b7d7f
Change-Id: I6e14207cbbdef52bf5eb46414390ed153b97e383
2016-12-09 22:17:47 +00:00
Colin Cross
5d79585138
Add frameworks/compile/* to root Android.bp am: 1d03711827
...
am: 50bd514f1a
Change-Id: If137616c2d2315934a4a7507d35de4121b135082
2016-12-09 01:38:04 +00:00
Colin Cross
50bd514f1a
Add frameworks/compile/* to root Android.bp
...
am: 1d03711827
Change-Id: I3cefb9ed99dadc1848de3fc34e7cb9ba4da88cdf
2016-12-09 01:33:03 +00:00
Colin Cross
bb2e2b7d7f
Support arm_on_x86 properties
...
Allow Android.bp files to set properties when an x86 device supports
arm abis.
Test: lunch aosp_fugu-userdebug && mmma -j frameworks/compile/libbcc
Change-Id: Ic142a3f93175924a826dea9908b2e5183a486184
2016-12-08 17:27:25 -08:00
Colin Cross
d99511fc78
Support eng product variable am: 6bc59ef731
...
am: 49cee3af30
Change-Id: Ifbca1925992f09b686f3ec460fc68c2e22c88431
2016-12-08 23:52:05 +00:00
Colin Cross
6d48ed45b7
Permit allow_undefined_symbols inside arch blocks am: be360ae4c1
...
am: cdcb874bf5
Change-Id: I53ea424f9b0203c766c5ef902f08d8ea955a75d1
2016-12-08 23:52:04 +00:00
Colin Cross
9060fccad8
Use toolchain to get binary extension for symlinks am: 989c66e370
...
am: 5ecfc07284
Change-Id: I58b7687ac595d152e654126406856a77cd11908d
2016-12-08 23:52:03 +00:00
Colin Cross
49cee3af30
Support eng product variable
...
am: 6bc59ef731
Change-Id: Idf40cf45e39333e215abbb06e5982a76b4b4e0f6
2016-12-08 23:47:10 +00:00
Colin Cross
cdcb874bf5
Permit allow_undefined_symbols inside arch blocks
...
am: be360ae4c1
Change-Id: I4f794d677332e8edacf1e73bdd4f9d66a5b96050
2016-12-08 23:47:09 +00:00
Colin Cross
5ecfc07284
Use toolchain to get binary extension for symlinks
...
am: 989c66e370
Change-Id: Ic1f4864862fc5a03eb5805cee1c5e94eef0423a2
2016-12-08 23:47:07 +00:00
Colin Cross
1d03711827
Add frameworks/compile/* to root Android.bp
...
Test: mmma -j frameworks/compile/libbcc
Change-Id: I114a1b97e8b3cff98073abf621750a1300110f54
2016-12-08 09:47:27 -08:00
Colin Cross
6bc59ef731
Support eng product variable
...
The eng product variable will be true for builds where
TARGET_BUILD_VARIANT==eng.
Test: mmma -j frameworks/compile/libbcc
Change-Id: I808129740643495370bea64df3fe5bcf01eb9915
2016-12-08 09:46:35 -08:00
Colin Cross
be360ae4c1
Permit allow_undefined_symbols inside arch blocks
...
Renderscript builds need to allow undefined symbols only for linux
host builds.
Test: mmma -j frameworks/compile/libbcc
Change-Id: Ieb83fc13fed16ae386261e0a1855fdd9c4fdf9bd
2016-12-08 09:45:21 -08:00
Colin Cross
989c66e370
Use toolchain to get binary extension for symlinks
...
Get the binary extension directly from the toolchain instead of
computing it from the target.
Test: mmma -j external/clang
Change-Id: Ib181bc60d0617ad50529791e7b9fc61268376819
2016-12-08 09:44:58 -08:00
Colin Cross
4658d8cf34
Install symlinks with same suffix and extension as installed file am: 9b09f248d8
...
am: 4f9ccb68dd
Change-Id: Ic4b6a4aa2ccbbce18123bfbaee1b44f8f5e95e04
2016-12-08 17:07:39 +00:00
Colin Cross
4f9ccb68dd
Install symlinks with same suffix and extension as installed file
...
am: 9b09f248d8
Change-Id: Ice9bfc4d5060bfc48ef5bb3891db9b140b546077
2016-12-08 16:58:41 +00:00
Colin Cross
9b09f248d8
Install symlinks with same suffix and extension as installed file
...
Move symlink installation into the binaryDecorator so that it can
access the suffix and extension when installing symlinks. Also
consolidates the symlink and symlink_preferred_arch handling.
Test: m -j clang, ls -l out/host/windows-x86/bin/clang++.exe
Change-Id: I1204afb71fac87b276bd6b625b52ee21274855a0
2016-12-07 17:35:37 -08:00
Colin Cross
6a1c5f688d
Merge "Always check tidy properties" am: 394cf47ac4
...
am: 8cc1cb68cd
Change-Id: I7840ea32af9aaae1bcf4499ff9b58ab85c7c512e
2016-12-06 19:41:24 +00:00
Colin Cross
8cc1cb68cd
Merge "Always check tidy properties"
...
am: 394cf47ac4
Change-Id: Ibdcf53abc01ec0533932059b2e5070fd5d9f1139
2016-12-06 19:37:54 +00:00
Treehugger Robot
394cf47ac4
Merge "Always check tidy properties"
2016-12-06 19:32:29 +00:00
Colin Cross
964b062941
Merge "Fix mac build" am: b278a58325
...
am: 5eb6315022
Change-Id: I4acd473fd43cab7434a7f520d73ae2c844c76287
2016-12-06 04:48:38 +00:00
Colin Cross
5eb6315022
Merge "Fix mac build"
...
am: b278a58325
Change-Id: I075c6fb3e670e7de56d47a7ecc708a12229c9219
2016-12-06 04:45:05 +00:00
Treehugger Robot
b278a58325
Merge "Fix mac build"
2016-12-06 04:39:01 +00:00
Dan Willemsen
ceb71a4f1b
Merge changes from topic 'proprietary-soong' am: 503f8b0262
...
am: 8c6502017d
Change-Id: Iedb9847d8c8bfe23e1723f39dca7d5aee24deb95
2016-12-06 03:37:27 +00:00
Dan Willemsen
518568c36f
Support system/vendor for devices without a vendor partition am: 4353bc4422
...
am: 96a3ccc765
Change-Id: Icbe22af6e8e896e926063e8865da52c467375709
2016-12-06 03:36:39 +00:00
Dan Willemsen
7288a87372
Import/Export LOCAL_PROPRIETARY_MODULE am: 7ed1ae3fa4
...
am: dbd80c2181
Change-Id: I4b4e6c95dcf33aae9dc7a775d0521f24dd97c433
2016-12-06 03:36:37 +00:00
Dan Willemsen
8c6502017d
Merge changes from topic 'proprietary-soong'
...
am: 503f8b0262
Change-Id: I5a822ee170e675e8ac03fa8627056ea55d9b2a18
2016-12-06 03:32:58 +00:00
Dan Willemsen
96a3ccc765
Support system/vendor for devices without a vendor partition
...
am: 4353bc4422
Change-Id: I102818637debd903ff6b6b6c2045cf5714c27f24
2016-12-06 03:32:09 +00:00
Dan Willemsen
dbd80c2181
Import/Export LOCAL_PROPRIETARY_MODULE
...
am: 7ed1ae3fa4
Change-Id: Ibf11c1b01680fad8c4c334d52cfb938217c9dbdc
2016-12-06 03:32:07 +00:00
Treehugger Robot
503f8b0262
Merge changes from topic 'proprietary-soong'
...
* changes:
Support system/vendor for devices without a vendor partition
Import/Export LOCAL_PROPRIETARY_MODULE
2016-12-06 03:27:01 +00:00
Colin Cross
7a7cf97597
Fix mac build
...
Darwin doesn't support --start-group/--end-group, and groups
libraries anyways.
Test: m -j
Change-Id: I0fdbe24973cad3cd84164cdfeced2507a4c6ee91
2016-12-06 02:52:43 +00:00
Dan Willemsen
e4688b75dc
Support aidl cpp generation am: e1240db6ab
...
am: 615cc4db09
Change-Id: I0492172304a436bed82f6e838ad38b3fcb6ce485
2016-12-06 02:28:32 +00:00
Dan Willemsen
615cc4db09
Support aidl cpp generation
...
am: e1240db6ab
Change-Id: I584fbbaa8a3596ddab05bedb916b3e7aff3f20b0
2016-12-06 02:25:38 +00:00