Commit graph

2172 commits

Author SHA1 Message Date
Steven Moreland
1868cc4249 Merge "root.bp: Add vendor/*/*" am: 3b6dc6b56d
am: 90690759dc

Change-Id: I9458463affa9cdc7f7c9b9882f1c774e95d18a81
2016-12-19 19:40:07 +00:00
Steven Moreland
90690759dc Merge "root.bp: Add vendor/*/*"
am: 3b6dc6b56d

Change-Id: I388f6a3089045c98102aefbc0a6ae7b109d24bc6
2016-12-19 19:37:08 +00:00
Treehugger Robot
3b6dc6b56d Merge "root.bp: Add vendor/*/*" 2016-12-19 19:29:43 +00:00
Colin Cross
fb7e190bee Support filegroups am: 068e0feace am: 2fd2f223c6
am: 8243c97352

Change-Id: Ia08547d2e91e0bc01cd6d2154a996bed1d7c095b
2016-12-17 17:57:28 +00:00
Colin Cross
8243c97352 Support filegroups am: 068e0feace
am: 2fd2f223c6

Change-Id: Idd45d466f515405a07e170a7b6979f3c5b106dcf
2016-12-17 17:55:59 +00:00
Colin Cross
2fd2f223c6 Support filegroups
am: 068e0feace

Change-Id: If027d78341617081b8725633059f547c38602130
2016-12-17 16:46:30 +00:00
Colin Cross
068e0feace Support filegroups
filegroup is a module that contains a list of files, and can be used
to export files across package boundaries.  filegroups (and genrules)
can be referenced from srcs properties of other modules using the
syntax ":module".

Test: m -j
Change-Id: I3d6fc4819c0b4225b474e0ad42f0d947f55a5961
2016-12-17 16:34:03 +00:00
Steven Moreland
11234b012e root.bp: Add vendor/*/*
Vendors must be able to use Android.bp files without changing root.bp.

Bug: 33672964
Test: compiles
Change-Id: I3b1d0d530d700c96ab1404b31166f10e834a1952
2016-12-16 16:40:43 -08:00
Colin Cross
b2f0a2477f Remove frameworks/base/include from the global include path am: 35e3972068 am: fcbd069c19
am: be82d8658d

Change-Id: I980f6924db8264192337948b547fcfac618962c1
2016-12-16 21:51:24 +00:00
Colin Cross
e2f04e66dd Only export exported header libs am: 32ec36c631 am: 8e46d1658b
am: 8e7f6d4bb3

Change-Id: I8782913cab67a189bb2cd4758f3eee8d31e040c3
2016-12-16 21:51:23 +00:00
Colin Cross
be82d8658d Remove frameworks/base/include from the global include path am: 35e3972068
am: fcbd069c19

Change-Id: I8bba2bcb6d12ec72344f02a4f8744aaf3c573662
2016-12-16 21:44:24 +00:00
Colin Cross
8e7f6d4bb3 Only export exported header libs am: 32ec36c631
am: 8e46d1658b

Change-Id: I77d70c3e52faa99e7f38e3bb766d1e3408d9916d
2016-12-16 21:44:23 +00:00
Colin Cross
fcbd069c19 Remove frameworks/base/include from the global include path
am: 35e3972068

Change-Id: I94c2a3d91f8b4ee5e63cac533e2ad25653afc33a
2016-12-16 21:36:55 +00:00
Colin Cross
8e46d1658b Only export exported header libs
am: 32ec36c631

Change-Id: Ieadf299b548557085a5952b16ae46f403f298b08
2016-12-16 21:36:53 +00:00
Colin Cross
35e3972068 Remove frameworks/base/include from the global include path
It is empty now.

Bug: 33630870
Test: m -j native
Change-Id: I8f41b56594241aced0f874af2fa73207b51ff8d6
2016-12-16 08:42:35 -08:00
Colin Cross
32ec36c631 Only export exported header libs
Test: m -j native
Change-Id: Ia0e5b28495e049ba8037884d2c498a1b59012bbe
2016-12-15 07:40:13 -08:00
Dan Willemsen
c4ecef7552 Merge "Export LLVM_RELEASE_VERSION" am: 1bd40ba84b am: 8886b8d7e1
am: 8a82434b84

Change-Id: Ied4649ec372b306548c82bd3fe4b38675a3caee4
2016-12-15 07:43:11 +00:00
Colin Cross
d1c4917786 Merge "Move frameworks/native/opengl/include from -isystem to -I" am: 41e6002483 am: 839c821fd3
am: 9a3fd8b3e3

Change-Id: Ie127cb287f9b8ce9e2e361667f9666064325a0ab
2016-12-15 07:42:58 +00:00
Dan Willemsen
8a82434b84 Merge "Export LLVM_RELEASE_VERSION" am: 1bd40ba84b
am: 8886b8d7e1

Change-Id: I981a3caeac9edd5af6e54fb7d7a6f3a79d339c9f
2016-12-15 07:34:43 +00:00
Colin Cross
9a3fd8b3e3 Merge "Move frameworks/native/opengl/include from -isystem to -I" am: 41e6002483
am: 839c821fd3

Change-Id: I50167170d63b196a3d84e06b5522dc49731419f8
2016-12-15 07:27:55 +00:00
Dan Willemsen
8886b8d7e1 Merge "Export LLVM_RELEASE_VERSION"
am: 1bd40ba84b

Change-Id: Id45090bf4db6eed01c88fd1ab331ff67fc2c1e7e
2016-12-15 07:27:38 +00:00
Colin Cross
839c821fd3 Merge "Move frameworks/native/opengl/include from -isystem to -I"
am: 41e6002483

Change-Id: Ica92eba46e5ecb18f20beb064c9803980aac5ea4
2016-12-15 07:20:04 +00:00
Treehugger Robot
1bd40ba84b Merge "Export LLVM_RELEASE_VERSION" 2016-12-15 07:19:03 +00:00
Treehugger Robot
41e6002483 Merge "Move frameworks/native/opengl/include from -isystem to -I" 2016-12-15 07:12:24 +00:00
Dan Willemsen
100911909c Export LLVM_RELEASE_VERSION
Test: m -j libc; check out/soong/make_vars-*.mk
Change-Id: Ic29407d8b2ecc69f8d95102bca81bec3f0c5012b
2016-12-14 16:26:48 -08:00
Colin Cross
dd58e0b358 Pass DepsContext to dependency methods am: 37047f1c7e am: 3b4bacde17
am: 152ea03a61

Change-Id: I476c107981dc633d31df80fa459f536031f090a2
2016-12-14 19:47:27 +00:00
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
14e8dd73d0 Move frameworks/native/opengl/include from -isystem to -I
-isystem hides all warnings.  The warnings in
frameworks/native/opengl/include have been fixed, move it from
-isystem to -I.

Test: m -j native
Bug: 31751828

Change-Id: If182ab5664e22f0cfd5be8cb1d0309d07dc85ceb
2016-12-14 11:13:16 -08:00
Colin Cross
76a32a47f2 Support explicit header-only libraries am: 5950f3827c am: 3a8d9013fe
am: 58837708d7

Change-Id: Ib7d240b9000b331fd2b0f919978f565a7887dac2
2016-12-14 18:53:28 +00:00
Colin Cross
9cb841ab0c Remove boolean arguments from NewLibrary() am: ab3b7323c4 am: 154ea1bd45
am: bb590a6e3a

Change-Id: I3f3149cf304430ebeedb0ae2cc61364957e8fbe6
2016-12-14 18:53:27 +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
0d9a81a931 Merge "Allow disabled dependencies when SOONG_ALLOW_MISSING_DEPENDENCIES is set" am: 3b72295e02 am: dd4c79324c
am: e3c99af285

Change-Id: I674251e81dacddd32ca671139c61ab1862c1c3c6
2016-12-13 22:48:38 +00: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
8c93af62bc Add test/vts into soong build target. am: 14ed26d6cd am: 0934d447f6
am: c8cdb9f146

Change-Id: I5e7e2e1fe7fc15b7816d769d86004484f4a9cb08
2016-12-13 00:35:20 +00: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
3fe98603e7 Support arm_on_x86 properties am: bb2e2b7d7f am: 8d2d70313a
am: af81e147ea

Change-Id: Ib75eddaa408f89340b706427bd098157e53a4c0f
2016-12-09 22:28:17 +00: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