Commit Graph

1902 Commits

Author SHA1 Message Date
Dan Willemsen
f6a4682767 root.bp: Use system/*
Test: Soong's build.ninja identical before/after (except GlobRules)
Change-Id: I2fcdcd77083cbb49dc6b20a169964558510d91dc
2016-12-20 10:57:30 -08:00
Hiroshi Yamauchi
6e2557fa88 Merge "Add ArtUseReadBarrier to ProductVariables." 2016-12-20 18:56:20 +00:00
Colin Cross
0801633173 Do not duplicate arch properties when cpu variant == arch variant
build/make/board/generic_mips/BoardConfig.mk sets
TARGET_CPU_VARIANT := TARGET_ARCH_VARIANT, which can cause the same
variant-specific properties to be applied twice.

Test: lunch aosp_mips-eng && mmma -j external/skia TARGET_ARCH_VARIANT=mips32r2dspr2-fp
Change-Id: Ie4abe804f8ce898bf89664ae749b9bc8ac3e649f
2016-12-20 09:53:14 -08:00
Hiroshi Yamauchi
e2a106353f Add ArtUseReadBarrier to ProductVariables.
Bug: 33492005
Test: top-level angler build.
Change-Id: Ib04284bac923a143038655d495bcbacaabf61440
2016-12-19 15:31:32 -08:00
Colin Cross
303fb8bd55 Merge "Revert "root.bp: Add vendor/*/*"" am: c7ebf44d65
am: 54513a4b01

Change-Id: I7606e26f18a56bd0129d4ab3bdb8f2d025692122
2016-12-19 20:43:11 +00:00
Colin Cross
54513a4b01 Merge "Revert "root.bp: Add vendor/*/*""
am: c7ebf44d65

Change-Id: Id5d17d8f389354c985177ca7e1b1f2de5f6a086c
2016-12-19 20:40:11 +00:00
Colin Cross
c7ebf44d65 Merge "Revert "root.bp: Add vendor/*/*"" 2016-12-19 20:32:44 +00:00
Colin Cross
b3aaaea54b Revert "root.bp: Add vendor/*/*"
This reverts commit 11234b012e.

Breaks builds that have a broken symlink at vendor/*/*, which is sometimes seen in a .git directory.

Change-Id: I17041ff582d10e3f7c3fb66f20e113a9f836de45
2016-12-19 20:30:43 +00:00
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
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
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
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
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
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