Dan Willemsen
e1240db6ab
Support aidl cpp generation
...
Ideally we'd calculate the headers that are written here too, but I'll
add that in a later change that actually enforces the generated header
list.
Test: mmma -j system/tools/aidl
Change-Id: Ifd2e8e8ff444b0f67270fb5156e7bf7bceddb6be
2016-12-05 15:49:40 -08:00
Colin Cross
f04fb7c9bc
Support .asm files for assembly am: 91e9004086
am: 909d6c424c
...
am: 073544ef64
Change-Id: Id4ed9a4b6aaf6faa06e4d6b76175b3a6bf9b8a4c
2016-12-03 07:21:01 +00:00
Colin Cross
073544ef64
Support .asm files for assembly am: 91e9004086
...
am: 909d6c424c
Change-Id: I99ded595a0448d9548596f21edb39df9d7f125f2
2016-12-03 07:18:30 +00:00
Colin Cross
909d6c424c
Support .asm files for assembly
...
am: 91e9004086
Change-Id: I01a4e6c1af780192923a9692a9a76375bdd43012
2016-12-03 07:16:00 +00:00
Colin Cross
91e9004086
Support .asm files for assembly
...
Test: mmma -j external/libjpeg-turbo
Change-Id: Id192dae5d74ecbf500fc668931c37f9b91d25ca4
2016-12-02 21:12:30 -08:00
Colin Cross
2c46e1db2b
Support grouping static libraries am: 18c0c5afbd
am: db09631b86
...
am: 54cd8c3389
Change-Id: I7ec41afd4e3be981377c22cdce210096c8cb9f0c
2016-12-02 22:09:24 +00:00
Colin Cross
54cd8c3389
Support grouping static libraries am: 18c0c5afbd
...
am: db09631b86
Change-Id: I2e7878e1c7d8fa9e60d4bf10ce9db68ec26cef48
2016-12-02 22:00:25 +00:00
Colin Cross
db09631b86
Support grouping static libraries
...
am: 18c0c5afbd
Change-Id: I3c95ce979976f988a24d7a4eb1efcee7f406aa99
2016-12-02 21:51:24 +00:00
Colin Cross
18c0c5afbd
Support grouping static libraries
...
LLVM has complicated static library layering that sometimes changes.
The make solution was to list all the static libraries twice, but
Soong dedups the list. Add a group_static_libs flag to allow
surrounding the static libs with -Wl,--start-group and
-Wl,--end-group.
Test: mmma -j external/llvm
Change-Id: Ic08a183d7def9c9249d4a3014760759f16b68d04
2016-12-02 21:34:42 +00:00
Colin Cross
4be37197aa
Merge "Support .mm files" am: 2d8e3b9bfe
am: 11e687ac0b
...
am: 5b8f6beaf1
Change-Id: I01a4e1eb2ed67645d90a9cc347770a635d48cd00
2016-12-02 02:56:14 +00:00
Colin Cross
5b8f6beaf1
Merge "Support .mm files" am: 2d8e3b9bfe
...
am: 11e687ac0b
Change-Id: Id29b4e739c40c2e74251908dc43dbb01170f2008
2016-12-02 02:50:14 +00:00
Colin Cross
11e687ac0b
Merge "Support .mm files"
...
am: 2d8e3b9bfe
Change-Id: I55acebca8e5678d33bb8d394a2df0a0ba1dfa5d5
2016-12-02 02:43:42 +00:00
Treehugger Robot
2d8e3b9bfe
Merge "Support .mm files"
2016-12-02 02:32:28 +00:00
Colin Cross
9978ffe347
Support .mm files
...
libchrome uses Objective C++ (.mm) files, treat them like .cc files
and pass them to g++/clang++.
Test: mmma -j external/libchrome
Change-Id: Ib9e5e82d8a9eff5f80a9fe06498a988d70ca4553
2016-12-01 15:33:16 -08:00
Paul Duffin
051944336c
Merge "Replace core-junit with legacy-test" am: 241b1c8b06
am: 399c4fa858
...
am: 50958ed6be
Change-Id: I72f943ceb6b7e8c74b8867005da92231c7f63b2a
2016-12-01 09:58:41 +00:00
Paul Duffin
50958ed6be
Merge "Replace core-junit with legacy-test" am: 241b1c8b06
...
am: 399c4fa858
Change-Id: I14d721bd557b7386c4772aefe3fe75e879dafce6
2016-12-01 09:52:40 +00:00
Paul Duffin
399c4fa858
Merge "Replace core-junit with legacy-test"
...
am: 241b1c8b06
Change-Id: Icb451e322f3673f588daf9de3f39cbdac8da8558
2016-12-01 09:46:40 +00:00
Paul Duffin
241b1c8b06
Merge "Replace core-junit with legacy-test"
2016-12-01 09:35:47 +00:00
Colin Cross
c918268caf
Fall back to prebuilts if source modules are disabled am: a2f296f054
am: f2b43b833c
...
am: c7e22650f5
Change-Id: If54025cd4e4e4a104956d19968b44e6c059d8830
2016-12-01 02:40:43 +00:00
Colin Cross
c7e22650f5
Fall back to prebuilts if source modules are disabled am: a2f296f054
...
am: f2b43b833c
Change-Id: I1c4af2eca4605ffc3714cb2bdc2485b3f2f2d4f9
2016-12-01 02:35:13 +00:00
Colin Cross
f2b43b833c
Fall back to prebuilts if source modules are disabled
...
am: a2f296f054
Change-Id: I60b2fc08eef3fad32921c84bcc234167e791cac5
2016-12-01 02:30:43 +00:00
Colin Cross
a2f296f054
Fall back to prebuilts if source modules are disabled
...
In lieu of having an environment variable to override prebuilts
preferences (for now), fall back to prebuilts whenever the source
module is disabled. Complicated source modules (like LLVM) that
already have Go logic can then use an environment variariable to
disable their source module whenever they want to use prebuilts.
Computes UsePrebuilt once using information from both the source
and prebuilt modules, and stores the result in the prebuilt module.
Test: m -j libLLVM
Test: m -j libLLVM FORCE_BUILD_LLVM_COMPONENTS=true
Change-Id: Ib0819a03e9492e55f55de3402e05b3a043644a39
2016-11-30 13:09:45 -08:00
Paul Duffin
2b67e3b9c1
Replace core-junit with legacy-test
...
Bug: 30188076
Test: unused code
Change-Id: If6c27dc61078afbb04218afac678165f63f41166
2016-11-30 16:13:09 +00:00
Colin Cross
eaee2698bc
Provide config helpers for environment variables am: 99d7c23006
am: 8c093e5034
...
am: d007dd1806
Change-Id: Ic48a149ea5ff84dca21375d83a21bbcc84091ff2
2016-11-30 05:26:02 +00:00
Colin Cross
065547a8bb
Split cc_prebuilt_shared_library into static variants am: bba99041db
am: 2e675962be
...
am: b174c29f3e
Change-Id: I7d75ab97acd9fe4e9fd83e9fed07939280e79d94
2016-11-30 05:25:59 +00:00
Colin Cross
c250a5207d
Disable installing unused prebuilts am: 0f3c72fa17
am: 830e915df0
...
am: dfc57b8ff6
Change-Id: Idbd23f5c5119031c6793dcddf859c471be2fd536
2016-11-30 05:25:57 +00:00
Colin Cross
2d23032a7d
Don't generate Android.mk data if the module is disabled am: cc4f3e3f94
am: 9b834e541e
...
am: 39fa5cf10d
Change-Id: I7d5e2c243564c7fc570b34b21f60dcfd9c565487
2016-11-30 05:25:55 +00:00
Colin Cross
d007dd1806
Provide config helpers for environment variables am: 99d7c23006
...
am: 8c093e5034
Change-Id: Ie7d8b308e27147b35df6d2b992c2a918e40a198d
2016-11-30 05:20:30 +00:00
Colin Cross
b174c29f3e
Split cc_prebuilt_shared_library into static variants am: bba99041db
...
am: 2e675962be
Change-Id: I071f1a8337f5838418f20f40711a414635776f1e
2016-11-30 05:20:28 +00:00
Colin Cross
dfc57b8ff6
Disable installing unused prebuilts am: 0f3c72fa17
...
am: 830e915df0
Change-Id: I2b373af16d152f6cceaab8fecd00c87bd01a09af
2016-11-30 05:20:26 +00:00
Colin Cross
39fa5cf10d
Don't generate Android.mk data if the module is disabled am: cc4f3e3f94
...
am: 9b834e541e
Change-Id: I869fedf240b556b33b949f163f01cebe3c805334
2016-11-30 05:20:25 +00:00
Colin Cross
8c093e5034
Provide config helpers for environment variables
...
am: 99d7c23006
Change-Id: I982ed5896d997913b8b3f0d947e92dd3eb9814be
2016-11-30 05:14:29 +00:00
Colin Cross
2e675962be
Split cc_prebuilt_shared_library into static variants
...
am: bba99041db
Change-Id: Icee925b63f21f4b3f6533a9507564db998573ea1
2016-11-30 05:14:28 +00:00
Colin Cross
830e915df0
Disable installing unused prebuilts
...
am: 0f3c72fa17
Change-Id: I352c7409cc5e4bb9c60820e7e7aa0d4d9549d1fd
2016-11-30 05:14:26 +00:00
Colin Cross
9b834e541e
Don't generate Android.mk data if the module is disabled
...
am: cc4f3e3f94
Change-Id: Ib357a63acc1c92b6c227b946be73f139c195531d
2016-11-30 05:14:24 +00:00
Colin Cross
99d7c23006
Provide config helpers for environment variables
...
Add GetenvWithDefault, IsEnvTrue, and IsEnvFalse helpers to Config.
Test: m -j checkbuild
Change-Id: Id855e5349115eb2a18b2e73cfd1bd84b5874ff93
2016-11-29 15:29:34 -08:00
Colin Cross
bba99041db
Split cc_prebuilt_shared_library into static variants
...
Prebuilts must have every variant that their source module has, so
split all cc_prebuilt_shared_library modules into both static and
shared variants.
Test: m -j checkbuild
Change-Id: I3c32315227f779e832e041cfab604ff7402c7e13
2016-11-29 15:29:34 -08:00
Colin Cross
0f3c72fa17
Disable installing unused prebuilts
...
If the source module is being used instead of the prebuilt module,
disable installing the prebuilt module.
Test: m -j checkbuild
Change-Id: I55e77021b0f9572b0737d960cba89274f696775d
2016-11-29 15:29:34 -08:00
Colin Cross
cc4f3e3f94
Don't generate Android.mk data if the module is disabled
...
Move the calls to the AndroidMkProvider to after checking if the
module is disabled. Disabled modules may not have all the state
necessary to generate the data.
Test: m -j libLLVM
Change-Id: Iab27a26e604f3810bcc2d9f61b1839aa7bc428b4
2016-11-29 15:29:34 -08:00
Dan Willemsen
4c279c3e23
Add basic VNDK support in Soong am: d2ede879b5
am: c415039ced
...
am: 15731fac2f
Change-Id: I63716378fac49dc101e8e05c5edd552d94c8c048
2016-11-29 20:53:51 +00:00
Dan Willemsen
15731fac2f
Add basic VNDK support in Soong am: d2ede879b5
...
am: c415039ced
Change-Id: Ieafb38cd61a71c891390345cf2f93bb9beeaea53
2016-11-29 20:47:49 +00:00
Dan Willemsen
c415039ced
Add basic VNDK support in Soong
...
am: d2ede879b5
Change-Id: I2441b81dfd6637d4af6b5d748601494498774050
2016-11-29 20:42:39 +00:00
Dan Willemsen
d2ede879b5
Add basic VNDK support in Soong
...
Export a list of libraries in the VNDK, which is currently empty.
Take in Make's global BOARD_VNDK_VERSION, and use that as the SDK
version for modules that specify use_vndk: true.
Modules that use the vndk have some configuration as if they were
building against the NDK (the absence of globally defined headers), but
in other cases look like platform modules (using the platform libc++,
for now).
This change does not attempt to enforce any linking constraints, that
will come in a later patch.
Test: out/soong/build.ninja doesn't change
Change-Id: I3be206b67015ac5177b7eef4a451c579e3dc903f
2016-11-28 13:45:24 -08:00
Colin Cross
3d0dc08a0b
Merge changes I3454370a,I18dd900d am: 112fd2b9b1
am: 116403006a
...
am: 259abaeca8
Change-Id: Iafa2345aba708978a8beff7d6ff7514ac25d20e9
2016-11-25 18:35:09 +00:00
Colin Cross
848c8a9dad
Move global cppflags to the beginning of cppflags am: b668826a85
am: 88d3652f37
...
am: 85871d8da4
Change-Id: I65c82007353768171d25620dd87c7c81cc0ef851
2016-11-25 18:35:07 +00:00
Colin Cross
66a51fa1fa
genrule: let Android.bp file specify exported header dirs am: 5ed99c6472
am: c847ac3e62
...
am: d46f7b3dad
Change-Id: I38ea988382f739bff15bd61a623437129eddc4d4
2016-11-25 18:35:06 +00:00
Colin Cross
259abaeca8
Merge changes I3454370a,I18dd900d am: 112fd2b9b1
...
am: 116403006a
Change-Id: I685273a349c5c980c3f714cdfb9a4d146bdcbfa1
2016-11-25 18:31:38 +00:00
Colin Cross
85871d8da4
Move global cppflags to the beginning of cppflags am: b668826a85
...
am: 88d3652f37
Change-Id: Ibad0eda62a3bec87717dc67b86315cf61907ae07
2016-11-25 18:31:37 +00:00
Colin Cross
d46f7b3dad
genrule: let Android.bp file specify exported header dirs am: 5ed99c6472
...
am: c847ac3e62
Change-Id: I7214c0851fb411faeb90aecce52a704a0f848d54
2016-11-25 18:31:35 +00:00
Colin Cross
116403006a
Merge changes I3454370a,I18dd900d
...
am: 112fd2b9b1
Change-Id: I7daf539df4d483c983f4904cbea3cc367f8527e7
2016-11-25 18:25:38 +00:00