| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The vendor image will have more than just proprietary modules in it
under Treble, so let's stop marking open source code as proprietary just
to move it to vendor.
Bug: 36452052
Bug: 37134596
Test: compare build.ninja before/after, no changes.
Test: Set vendor: true, ensure it works.
Change-Id: I44b0ec7007d0e311bdcbd44b238b1ef2d05cc6ff
(cherry picked from commit aa118f95a675a788e9a9554b9ab220d4e41749fd)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of having a module define `use_vndk: true`, assume that we're
building with the VNDK if we're installed on the vendor partition, and
BOARD_VNDK_VERSION==current. This now matches our behavior in Make.
Once BOARD_VNDK_VERSION!=current, we'll need to disable modules that
need to otherwise compile against the VNDK, since we can only compile
against the current VNDK.
Test: build.ninja for aosp_arm is the same before/after
Test: Ensure there are no boards that set BOARD_VNDK_VERSION
Change-Id: If937fa7bdb119648137af52daebadf486163484b
(cherry picked from commit 11b261472a97399a5fda9d565375637aae7639f4)
|
|\
| |
| |
| |
| |
| |
| | |
* changes:
Fix include order
Add support for test_suites property on cc_test modules
Remove -Wl,--allow-shlib-undefined from arm64
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a test_suites property that is passed through to make as
LOCAL_COMPATIBILITY_SUITES.
Test: m -j checkbuild, examine out/soong/Android-${TARGET_PRODUCT}.mk
Bug: 35394669
Change-Id: If05b0f5f7d6dd85228546123bebe32859bcc8186
(cherry picked from commit a929db05b3de44b64dbcaeb2597423c671ac0db6)
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Now BUILD_PREBUILT should be converted into corresponding types
like cc_prebuilt_library_shared/cc_prebuilt_library_static ...
So change to check LOCAL_MODULE_CLASS in Android.mk to determine
module types, and eliminate class property from Android.bp which
will cause a build break.
Change-Id: If865cc865f360eac7cc77f060df5a310bada6900
Test: out/soong/host/linux-x86/bin/androidmk prebuilts/misc/common/ddmlib/Android.mk
(cherry picked from commit a2226b960a2f6cdbf10b12a77608973d4da3f6ce)
|
|
|
|
|
|
|
|
|
| |
Support owner properties in Android.bp files and propagate the value
to make using LOCAL_MODULE_OWNER.
Bug: 36413696
Test: builds
Change-Id: Iac1cf7f2a14c9e3e6d85d6e09d5adb08a7078d00
|
|
|
|
|
|
|
|
|
| |
Also somewhat consolidate the way in which properties are converted
Bug: 34671474
Test: make blueprint_tools
Change-Id: Idf0d6d63b8539ab6e514a6043d1f88836899864b
|
|
|
|
|
|
|
|
|
| |
And support the reverse translation in androidmk.
Test: Use a cc_library_headers using LOCAL_HEADER_LIBRARIES in make
Test: androidmk with LOCAL_HEADER_LIBRARIES
Test: androidmk with soong's Android-*.mk file for BUILD_HEADER_LIBRARIES
Change-Id: I17adedb62151f62e67e2168b09ad87f1d5648df6
|
|
|
|
|
|
|
|
| |
Catched the error when bpparser encountered the non-standard make variables.
Bug: b/34454142
Test: Manual + (m -j blueprint_tools) command
Change-Id: I0766082baa2c2c4020317f975012a476133f4f77
|
|
|
|
|
|
| |
Test: androidmk hardware/broadcom/libbt/Android.mk
Test: m -j vulkan.default, inspect out/soong/Android-aosp_flounder.mk
Change-Id: I8a9553f772a1d434eb0069c1575e1b0d6db36bc9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For every file which we can run clang-tidy (C/C++ clang-built), we add a
new build node that depends on the object file (since clang-tidy does
not export a depfile), and is depended on by the link step. This is
better than how we're doing it in make, since calling tidy can be turned
on or off without needing to rebuild the object files.
This does not attempt to port WITH_TIDY_ONLY from Make, since the way
that it works is broken (due to the lack of a depfile).
Bug: 32244182
Test: WITH_TIDY=true mmma -j bionic/libc
Test: ./soong (Setting ClangTidy: true)
Change-Id: I40bbb5bb00d292d72bf1c293b93080b5f9f6d8ea
|
|
|
|
|
|
|
|
|
| |
.proto files are translated to .pb.cc and .pb.h files, which are then
compiled normally.
Bug: 32286026
Test: mmma -j system/extras/perfprofd
Change-Id: I538071424d667aacf35b4b8bfebe217f5f092726
|
|
|
|
|
|
|
| |
This only applies to shared libraries on the device, and like stripping,
we'll let make do the actual packing if we're embedded in Make.
Change-Id: I1585d74ecfc41e18dcbb5ffb70005adf007cc941
|
|
|
|
|
| |
Test: m blueprint_tools still produces the same tools
Change-Id: Ia1e2e43c62cb6035616bef9fbef56417b46cf3a4
|
|
|
|
| |
Change-Id: I914bfff8cbdf71b6cfb2271199a964b2cdcb72d0
|
|
|
|
|
|
| |
Follows blueprint change https://github.com/google/blueprint/pull/104/commits/1e73794d421a8017dbbc1d80913d93571d46d1b6
Change-Id: If3539e2d9370a0224a2364608c496a1e4385dbbf
|
|
|
|
|
|
| |
Follows blueprint change https://github.com/google/blueprint/pull/104/commits/b3d0b8dab43776e5391eeebe8a9a0de7600ba219
Change-Id: I10f53498557325d26c6b690583596ac4f9206c79
|
|
|
|
|
|
| |
Follows blueprint change https://github.com/google/blueprint/pull/104/commits/c32c47938f2a04cd62aed8691add85049c6a6625
Change-Id: I8f479704504f7bbefed3ed63bd0d040f65a2fdd5
|
|
|
|
|
|
|
| |
blueprint/parser.Value is now an Expression interface, update androidmk
to match.
Change-Id: I01e0b2a83cf430c1981b450d35c8ab0aab6975f1
|
|
|
|
| |
Change-Id: If18c749fe9bc883552952284a469ea8e8f3e8f6d
|
|
|
|
| |
Change-Id: Ia7e7fb61ffff212a5b6170743c429417a528cef3
|
|
|
|
|
|
| |
This matches LOCAL_EXPORT_(SHARED|STATIC)_LIBRARY_HEADERS in Make.
Change-Id: Iede67e2c24a24cf51e68a50123299effbe4e4196
|
|
|
|
|
|
| |
But if it comes out to ./, remove both characters.
Change-Id: Ia86c1a60522736773b2e8ee0cf54a4348d302573
|
|
|
|
|
|
|
| |
This only translates the common case using $(LOCAL_PATH). If it doesn't
match here, Soong will throw an error with a suggested fix.
Change-Id: If64c8fca008a1a414fc12389e6b1bb40af0df899
|
|
|
|
| |
Change-Id: Ib3d5473869f69e9e3a74ebb403653e5918ad240a
|
|
|
|
|
|
| |
USE_MINGW is no longer supported by Make
Change-Id: I399190ac9e92a2e633bf5438d8deb653beae1bb1
|
|
|
|
|
|
|
| |
Generalize the list splitting function used by include_dirs and
export_include_dirs to also support splitting sources.
Change-Id: I11b8f817fb32309511522074fe6b26052ae3d65f
|
|
|
|
| |
Change-Id: Ic31bf68f75c8dd4d7737d9ea01f2d93637cdaca2
|
|
|
|
|
|
| |
Add spaces around := when dumping assignments that failed translation.
Change-Id: I92cea0616a9dacd74a63b48f4626340b22542fbf
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve the androidmk makefile parser based on ideas from go/ast and
friends:
- Use type switching instead of the As* mess
- Don't store endPos for every node, compute it based on the last
known position in the node plus the length of the last token
- Store positions as only the offset into the file, and then unpack
them into Line/Column scanner.Position objects later
Change-Id: I87eb6661859951e6c2ea5a85db6229fa5561d615
|
|
|
|
|
|
|
|
|
|
| |
Track the position in the input makefile and output blueprint file
separately. When parsing a new makefile line, increment the line in the
output position by the number of lines between the end of the last
makefile line and the beginning of this line. Any extra blank lines
will be discarded by the blueprint printer.
Change-Id: I85c6e006667b5733b15e03b56b91caf29fbc0ea0
|
|
|
|
|
|
|
|
|
| |
LOCAL_*_x86_64 was sometimes recognized as a _64 suffix and other times
as the correct _x86_64 suffix, based on the random order of the
propertyPrefixes map. Replace the map with a slice so that the ordering
is consistent, and ensure 64 as after x86_64.
Change-Id: I1a4b4959f8ef4273ad4a1cdd0672ad557bf1891e
|
|
|
|
|
|
| |
support LOCAL_SRC_FILES_EXCLUDE, and fix a typo arm->arch.
Change-Id: I9f789e943d9aca4c5aff2b6b56b1e4a0626ecd86
|
|
|
|
| |
Change-Id: Ic1aba6cdcd394fbe2b1819b80fb997f00d9711dc
|
|
|
|
| |
Change-Id: Iade2dd9fd5b8873d723d5f6f235775f447fb1d98
|
|
|
|
|
|
| |
LOCAL_ADDRESS_SANITIZER has been replaced with LOCAL_SANITIZE.
Change-Id: I81fe7e0c9135cfd4a222fae4012ab5082cc58f29
|
|
|
|
| |
Change-Id: I23eb2df0603dbf76ff829c696cd09fe723efa9d9
|
|
|
|
|
|
|
|
| |
Allow variables to have a prefix, for example "target.arm.cflags".
Each prefixed name separated by a "." will become a nested map
property.
Change-Id: Ib982b8dcaf2f1dc919acb2767e769950916c50f7
|
|
|
|
|
|
| |
Convert stem: LOCAL_MODULE + "32" to suffix: "32"
Change-Id: I7126e814bd35f502196abc087b5d0afb825d3665
|
|
|
|
|
|
|
|
| |
Sort LOCAL_INCLUDE_DIRS values into local_include_dir include_dirs based
on whether they are prefixed with $(LOCAL_PATH)/, and strip $(LOCAL_PATH)/
from export_include_dirs.
Change-Id: I20f9f0f8385088660855c7ccf85b7933ff2dcd44
|
|
|
|
| |
Change-Id: If84dbce05f1a28a562c8dba3eceedfe92b8d5ba5
|
|
|
|
| |
Change-Id: I08019443f5fcb012190486e9144a1bfec26761b4
|
|
|
|
| |
Change-Id: I83bed375fa77518baaab4260e714a9368761f0bc
|
|
|
|
|
|
|
| |
Support specifying an install path relative to the default install
path for cc libraries and binaries.
Change-Id: I47a97de9beaedde27d99c498c3f26c9d36358d94
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Java vs. Android resource directories are already confusing enough,
rename resource_dirs to java_resource_dirs to make room for
android_resource_dirs.
Change-Id: Iffd087860b98df29e81d8d2f823be87c8227e614
|
|
|
|
| |
Change-Id: Ib3436cb4fd2469f5be2f7ee1525709eb1e143dbf
|
|
|
|
| |
Change-Id: I7f3458231abcf7fb03595bb0f9277a0820ceb4f7
|
|
|
|
|
|
|
| |
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
|