Commit Graph

53 Commits

Author SHA1 Message Date
Yohann Roussel 2e19cd8959 Always use installed version of d8-compat-dx
Also adapt to the renaming of d8 to d8-compat-dx.

Test: USE_D8=true m -j16 PRODUCT-aosp_arm64-eng showcommands core-oj
Change-Id: Ic7aaa6a5da34a6a5706c20f53922a83cb1de1100
2017-10-31 13:29:07 -07:00
jdesprez 1596e6ee11 Allow to build Android.bp in tradefed project
We want to start using some Soong Android.bp in tradefed so
enabling our project to be seen too.

Test: build a Android.bp target in tradefed
Bug: 66908811
Change-Id: Ia4543fc27d124442912e3a05d7bd3fd2f9850a1f
2017-09-26 16:10:49 -07:00
Pirama Arumuga Nainar e4f042c682 Add toolchain/* to root.bp
Soong will now scan toolchain/benchmark for any blueprint files.

Test: Cherry-pick
https://android-review.googlesource.com/#/c/toolchain/benchmark/+/474805/,
that has blueprint files in toolchain/benchmark and build.

Change-Id: Ia4ef262094d60423f80f195ea0b95392b740f476
2017-09-08 12:46:34 -07:00
Alex Light b8bee63fa2 Add tools/* to subdirs for Android.bp search
This is needed to build the tools/dexter project.

Test: cd tools/dexter; mma -j50
Bug: 65011851
Change-Id: I7ca85cf5d9133b99e547ee2c9631bd0f9ebb4784
2017-09-01 22:30:01 +00:00
Nan Zhang 40962998a2 Add external/python/* in root.bp
Bug: b/38395161
Test: mma under external/python/cpython2

Change-Id: I95fde837025022bf0f6b65246ab0a35a0b41972c
2017-08-31 15:41:47 -07:00
Jeff Gaston c466cce948 Point root.bp at build/make/tools instead of build/tools
Bug: 64397960
Test: m -j
Change-Id: Iac06584b871634f59a7d1a15c743ec8e4901a5d0
2017-08-08 17:46:14 -07:00
Colin Cross b3af348dc0 Add prebuilts/misc to root.bp
Test: manual
Change-Id: I047d103b7df9e93923908cb0b84084eb016f20a4
2017-08-01 16:18:11 -07:00
Steven Moreland 4a1741ca28 Add all packages under packages/apps to root.bp
Test: Android.bp files found
Change-Id: Ib506bc20a918e80803893c4c43f04c732a477c71
2017-05-17 13:06:20 -07:00
Steven Moreland 90a4b752bc Add bootable/recovery to root.bp
Test: soong finds things in bootable/recovery
Change-Id: I88f012ab344046d2307a6f08dc618ad424fe870e
2017-05-09 15:19:08 -07:00
Logan Chien cd304310a2 Add frameworks/opt/net/wifi to root.bp
This commit add frameworks/opt/net/wifi to root.bp so that
libwifi-system.so can become vendor_available.

Test: mmm frameworks/opt/net/wifi
Bug: 37429084
Change-Id: I98c695ec6b6c3e6788681b5dc243adab4d29d094
2017-04-25 16:16:59 +08:00
Colin Cross d87708ed4b Add frameworks/* to root Android.bp
frameworks/minikin is being converted, but enough of frameworks/*
is converted to switch to a glob.

Test: m -j checkbuild
Change-Id: I65b49c9661f4507aac9eacd108c9d8a71d272527
2017-04-19 14:27:53 -07:00
Stephen Hines 07ce4ac01c Add prebuilts/clang/host/linux-x86 to root.bp.
Bug: http://b/35432050

This is used to support libFuzzer.a prebuilts.

Test: Builds successfully.
Change-Id: I4c2b9e83e88daf136f9017125205b61104c052b8
2017-03-31 00:38:03 -07:00
Hridya Valsaraju d8860e3cb7 Add frameworks/hardware/interfaces and system/hardware/interface
Add frameworks/hardware/interfaces and system/hardware/interfaces
to Soong build target.

Bug: 35882393
Test: make

Change-Id: I63af71f23e8a61425cf673a2340111ffa6404203
2017-03-02 08:52:58 -08:00
Michael Wright 7cac38429b Add device blueprint files to root build.
Test: built with a blueprint file in device/google/marlin
Change-Id: Ia820e6dd3d46b8f6f718b6fddedaa3f548b371fa
2017-02-15 21:43:36 +00:00
Tri Vo 9b165dd015 Add test/vts-testcase/* to root.bp
Test: make vts
Change-Id: I863d30344c67e11429009be5ea99bc4e592bcb15
2017-01-07 00:19:00 +00:00
Logan Chien 86b87ed270 Add development/*/Android.bp.
This commit replace development/ndk with development/* so that soong
will load Android.bp from development/vndk as well.

Test: lunch aosp_arm64-eng && make native
Change-Id: I849647f68b2ce90fd598b1b314b492c7945dc2df
2017-01-04 18:46:18 +08:00
Steven Moreland b527d5dfbe Revert "Revert "root.bp: Add vendor/*/*""
This reverts commit b3aaaea54b.

Change-Id: I8ff4424f983b259fc1c1938350aa6299f1c3f0c3
2016-12-20 20:38:15 +00:00
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
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 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
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 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
Dan Albert d56d359f8c Add development/ndk/Android.bp.
Test: make native
Bug: None
Change-Id: I9eed4a63fa797a17c9ef20c73ec4e03b52791c2d
2016-11-08 11:43:45 -08:00
Colin Cross 7f19f37443 Move globbing to Blueprint
Move Soong's globbing-with-dependencies support into Blueprint so it can
be used for subdirs= lines in Android.bp files.

Blueprint has a slight change in behavior around subname= lines, it now
always uses the subname and doesn't fall back to Blueprints.  To support
the Blueprints files in build/blueprint, use them directly with build=.

Test: build, add source file that matches glob, rebuild
Change-Id: Ifd0b0d3bc061aae0a16d6c7ca9a1cd8672656b4d
2016-11-04 04:54:16 +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 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 2c173ee03a Add entries in root.bp for hidl/hwbinder
Change-Id: I8dd0f8585dc8214c43983112bd6b8e109ac030af
2016-09-13 16:58:03 -07:00
Dan Willemsen d2e4b1a7cd Add system/media/* to root.bp
Change-Id: I100612403e26c4373f0b047c622f6ffddc67be55
2016-09-12 16:23:19 -07:00
Dan Willemsen 085a8cdeb5 Add frameworks/av to root.bp
Change-Id: Id1867ba1be12b4ddee0e5d9a23e6bbd2c2699b7f
2016-08-26 17:52:06 -07:00
Colin Cross 0f4e0d6c5d Add art
Re-land I557c86d2282178d215ea17abb71e556bdc4ba722

Change-Id: Ic26e1a6b17569acbfe68b4a219982ce45cecefbd
2016-08-25 14:00:25 -07:00
Colin Cross 857a527f67 Revert "Add art"
This reverts commit f7288f3906.

Change-Id: Ibb63fe2a95d1517fea63a65a7dbe5cac84902107
2016-08-25 01:03:59 +00:00
Colin Cross f7288f3906 Add art
Change-Id: I557c86d2282178d215ea17abb71e556bdc4ba722
2016-08-23 13:14:40 -07:00
Dan Willemsen c947526c69 Include frameworks/native
Change-Id: Ic20d27727a48b397089a7eca43a701e3e56567ba
2016-07-29 15:24:08 -07:00
Colin Cross 0dbe26e8da Add libnativehelper to root Android.bp
libnativehelper has an Android.bp file, so it won't cause a namespace
conflict between the glob on the directory and the module name.

Bug: 25797955
Change-Id: Id86b3a1cd0f130989f77613494e19b8f255029ce
2016-07-27 10:57:08 -07:00
Colin Cross f791826f8b Add system/extras/* to the root Android.bp file
Change-Id: I15c729914392dd97e114852d43156bff1c03ed56
2016-07-12 13:14:05 -07:00
Dan Willemsen 5d2038fe06 Remove build/libs
Bug: 28001743
Change-Id: Id5bcc11a08b3677ee1caf5b564ef0f2fb65026da
2016-06-16 15:22:09 -07:00
Dan Willemsen 0c41054bec Add built/libs/* to root.bp
Change-Id: I05af556dde2df5a1ef38d1cc9eb557c8e2729490
2016-06-06 14:52:54 -07:00
Colin Cross 3e5889a791 Include bionic/Android.bp
bionic/Android.bp exists now, and subdirectories are handled with
Android.soong.mk files.

Change-Id: I70259ff5c2fb9df2f8716590502f49de1c2c8ac7
2016-05-16 16:56:51 -07:00
Dan Willemsen 71ea9c13c9 Use optional_dirs for non-soong projects
On some branches, some of these projects may not exist. Use dirs for the
blueprint / soong projects, and optional_dirs for everything else.

Change-Id: I2b84948f1818941a21981c135bd6237852bfcc8b
2016-03-07 21:05:02 -08:00
Dan Willemsen 59b381a405 Add kati to root.bp
Change-Id: Iedf8401fb02d704916666fb15c5ae30951a57ac7
2016-01-14 00:25:38 +00:00
Colin Cross 6ec1c7b964 Search all bionic subdirectories
Some bionic subdirectories need to be built with soong, and others with
makefiles.  Search the bionic subdirectories invidivdually so the
bionic/Android.bp file doesn't prevent bionic/Android.mk from being parsed.

Change-Id: I66846f0175a5a01266adc0b792820bb82ffd1e14
2016-01-11 16:29:10 -08:00
Colin Cross a45ee70112 Remove art and libnativehelper from root Android.bp
art and libnativehelper have collisions between the top level directory
name and a module name, remove them from the root Android.bp file until
they have an Android.bp file to avoid a glob dependency on the directory.

Bug: 25797955
Change-Id: Ibd33df17450b171ec2390653e4cf3b00fc242831
2016-01-11 16:29:03 -08:00
Colin Cross e5ee41274a Rename Blueprints to Android.bp
Rename module definition files to Android.bp to avoid conflicts
with another project called Blueprint.

Change-Id: I105a07555eb7890f56120deab9036cf9ae5d8525
2015-05-20 13:10:32 -07:00
Colin Cross 1fc2e892ab Add system/security and system/keymaster to root Blueprints
Change-Id: I63c9e59b33f4da52896643f568af4ed8183b0849
2015-05-07 16:09:44 -07:00
Colin Cross 30e076af2e Add support for building android apps
Add support for running aapt to generate R.java and Manifest.java,
compiling java into jar, adding resources to the jar to convert it
into an apk, signing the apk, and zipaligning the apk.

Change-Id: I7a73fef590d07f35b3d0b56a8571780c09bb10ae
2015-04-20 14:12:30 -07:00
Tim Kilbourn 9679302dfa Update root.bp for additional libs
Change-Id: Ib1ea8c0117a21350224e284cf8e67eef53dba3eb
2015-04-09 15:09:36 -07:00
Colin Cross c0b06f191f Add aidl file support to java builds
Add support for aidl files listed in srcs for java builds, and
an aidl_preprocess module type for framework and sdk aidls.

Change-Id: I3aa537f4483822e5b534c74d0b35f13a938f8947
2015-04-08 16:37:31 -07:00
Colin Cross 2fe6687847 Support java libraries, binaries, and prebuilts
Add support for compiling java libraries (.jar files with
or without .dex), java binaries (.jar files with a wrapper
script to run them), and java prebuilts (for the SDK .jars)

Change-Id: Id624da64c92cf20c6d9577c6bb06e5b212af0d1b
2015-04-03 16:24:44 -07:00
Colin Cross 5890b58b21 Allow bionic to specify its own root Blueprints
subdirs = ["bionic/*"] in the root Blueprints causes blueprint to
search subdirectories of bionic for Blueprints files instead of
searching the bionic directory itself.  Replace it with
subdirs = ["bionic"] and allow bionic/Blueprints to specify its
subdirs.

Change-Id: Iac9d2407a3d4c87b3c23390f887b187f276ee72f
2015-03-27 17:56:34 -07:00
Dan Albert be96168ee3 Add support for building NDK modules.
Change-Id: I2c5ede530e40a635e26ae45950580ef450e7dcc6
2015-03-26 21:58:12 -07:00