| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Reason for revert: broke tests b/146476630
Bug: 146476630
Reverted Changes:
Change-Id: I48c73bcb0819f7cb4c41834cdd680e9e6c323be7
Exclude all builds containing Colin's original change
Meged-In: f0f2e2cf79558569c227e8d96a784d9c0679814a
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add a module type for tradefed libraries that causes an additional
copy to be installed at out/host/linux-x86/tradefed.
Bug: 143908003
Exclude merging into *-plus-aosp branches, since they already include the change.
Merged-In: I670345494abbad80dacab54471e635abfae3b3b3
Merged-In: I1cb25bbd5823a14f1a9428d58827677eff22ec7e
Change-Id: I55bca53e02588827374896ef87d58f3f4bdc48c7
(cherry picked from commit f0f2e2cf79558569c227e8d96a784d9c0679814a)
(cherry picked from commit cba45b28925b2fb3ebbd9e281a185de0d2b8b0c7)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This essentially allows you to declare that everything in a directory
will be created by the rule, and we'll ensure that your command actually
writes out all of the claimed outputs, and remove any other files that
previously existed in that directory.
Bug: 144948629
Test: built-in tests
Change-Id: I990dce2b3a0d89ebd2736ac1a0cadfb5864c6e73
Merged-In: I990dce2b3a0d89ebd2736ac1a0cadfb5864c6e73
(cherry picked from commit 633c50229544db07f48e75833cab655a294f677d)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
If embed_notices or ALWAYS_EMBED_NOTICES is set, collect NOTICE files
from all dependencies of the android_app, merge them with the app's own
one (if exists), transform it to HTML, gzip it, and put it as an asset
in the final APK output.
Bug: 135460391
Test: app_test.go + Built Mainline modules
Change-Id: I52d92e2fd19b3f5f396100424665c5cc344190d8
Merged-In: I52d92e2fd19b3f5f396100424665c5cc344190d8
(cherry picked from commit 5b425e2e20c55216c1ed13fcf047b0df33886736)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Allow a cc_prebuilt_library_shared to share the same name as a
cc_library by always creating static and shared variants of
prebuilts so that the variants of the source module are always
a superset of the variants of the target module.
Bug: 131709055
Test: TestPrebuilts
Change-Id: I4afd6d37e6a986d08ad25aee69eca6d994febc6b
Merged-In: I4afd6d37e6a986d08ad25aee69eca6d994febc6b
(cherry picked from commit 33b2fb73335547e39bdad764af249f948eb43935)
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit 619cd098b6008d81876f310e2d83ebf141c4061e.
Test: manual testing
Bug: 130267141
Change-Id: Ie156d4a3255be0ad082cda35c22bac4359852f22
Merged-In: I5b349fa6138e51663bf3b67109b880b4356da8e8
Exempt-From-Owner-Approval: Cherry pick
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit bd475367c3dcb4478a70409c99b959ebdb117be3.
Reason for revert: b/130267141
Bug: 29275768
Bug: 130267141
Merged-In: I5b349fa6138e51663bf3b67109b880b4356da8e8
Change-Id: Ieab56390b27240ef7f2f52a48a673809da7bcf8e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We use libgcc as fallback for symbols not present in libclang_rt
builtins, however we didn't know what exact symbols were being used,
some may not be intended to fallback.
Create libgcc_stripped, which only contains unwind symbols from libgcc.
Bug: 29275768
Test: bionic-unit-tests
Change-Id: I98df02ead7f6cca4e76ec92d4f880de4e03f5b5c
Merged-In: I5b349fa6138e51663bf3b67109b880b4356da8e8
(cherry picked from commit acee27cd7236554d0112001c96b9b5790c1c7097)
|
| |\
| |
| |
| |
| |
| | |
am: c8a3eb9110
Change-Id: If3922ee1900d6f3888c7291997ac49d4a939c065
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using blueprint.Rule for protoc commands was causing code duplication
because there was no good way to run the same protoc for cc, java and
python but then run custom source packaging steps for java and python.
Move most of the code into a common function that returns a
RuleBuilder, and then let java and python add their own commands at
the end of the rule.
Bug: 70706119
Test: All Soong tests
Test: m checkbuild
Change-Id: Ic692136775d273bcc4f4de99620ab4878667c83a
|
| |\|
| |
| |
| |
| |
| | |
am: c3432e294e
Change-Id: I28638a23c6140ae1775187a2afc61b15db97f487
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a new implementation of overriding module types that makes use
of local variants. With this, product owners can use PRODUCT_PACKAGES to
decide which override module to include in their products.
Bug: 122957760
Bug: 123640028
Test: app_test.go
Change-Id: Ie65e97f615d006b6e9475193b6017ea9d97e8e97
|
| |\|
| |
| |
| |
| |
| | |
am: 89ac74fed3
Change-Id: I11df12e61cab3d3f694573a558fe8862023e475c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When no-vendor-variant VNDK is enabled, the vendor variant of VNDK
libraries are not installed. Since not all VNDK libraries will be
ready for this, we keep a list of library names in cc/vndk.go to
indicate which libraries must have their vendor variants always
installed regardless of whether no-vendor-variant VNDK is enabled.
Also add --remove-build-id option to the strip script to facilitate
the check of functional identity of the two variants.
Bug: 119423884
Test: Add a dummy VNDK library and build with
TARGET_VNDK_USE_CORE_VARIANT := true, with the corresponding
build/make change.
Change-Id: Ieb1589488690e1cef1e310669a8b47a8b8759dac
|
| |\|
| |
| |
| |
| |
| | |
am: 4d59c54239
Change-Id: I2bb82329702aa861411e739643d289cffdcf36bb
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a mutator pass after DepsMutator that visits every property
struct in every module looking for properties that have a tag
`android:"path"`, and automatically add a SourceDepTag dependency
on any module references (":module-name") found. Uses a cache to
store the mapping of property struct type to locations of
properties with the tag.
Test: android/path_properties_test.go
Change-Id: I38c0497843dde4890e9342c3a6f0b402c0720742
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
e3ad4144db am: d5f25c7685
am: 3ce8fedd9a
Change-Id: I09f01ae076b93cdec5b738eed00c2d7a40e5555d
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
java_device_for_host and java_host_for_device allow treating a
device module as a host module and vice versa. They will be useful
for converting layoutlib and robolectric to Soong, as these modules
run device java code on the host.
Bug: 117920228
Test: device_host_converter_test.go
Change-Id: Ia9a371fb41a97bc16338097f3ce8b40099744167
|
| |\|
| |
| |
| |
| |
| | |
am: 15836b9ceb
Change-Id: I4d047c47d783f6e788eeccdf83dab646338d15d8
|
| | |
| |
| |
| |
| |
| |
| | |
Add a test that exercises the dexpreopt_bootjars.go singleton.
Test: dexpreopt_bootjars_test.go
Change-Id: I01d4f6e22f6ff7b809af043391d7b6209dcb8675
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
f8711f053c am: 6b7ea48868
am: 95333c25e5
Change-Id: I87ec345448112a7e06d8d8adb7cda1493a9f0b70
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These additional binary types are useful for some apexs. Add the
ability to include them. Due to the nature of the resulting artifacts
only py binaries with embedded launchers and host go binaries are
supported.
Test: m com.android.support.apexer
Bug: 119332365
Bug: 119332362
Change-Id: I27c253d3647cf7bbe15896610d7a74a5f93e8bec
|
| |\|
| |
| |
| |
| |
| | |
am: d26cc522ac
Change-Id: Iab70e8d689eea96831afd4f3b696122b98c99d9b
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit aa65e17016152d0d73cd10ab3987bc3bd5c2ef91.
Reason for revert: Not compatible with PRODUCT_PACKAGES, and so has very limited use.
Change-Id: Ib141d3984a6f12bb50989e66037494c466b066f1
|
| |\|
| |
| |
| |
| |
| | |
am: b44bb0896b
Change-Id: I4c8faef56835a1e7d334f8dade5623c9ea07df3e
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This new module type replaces the inherit-package function in make by
allowing developers to override the name, the certificate, and the
manifest package name of an android_app module.
Bug: 122957760
Fixes: 123640028
Test: app_test.go + BrowserGoogle
Change-Id: Iefe447e7078b25039233221361ef95c83a29973a
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
44df581457 am: ac405aa805
am: d3a73010f9
Change-Id: I53abda3e3b15969402580825480f76bc18a9d9de
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Refactor dexpreopt_bootjars.go so that buildBootImage can be called
with a bootImageConfig to create rules to build the boot image in
preparation for building multiple boot images.
Test: m checkbuild
Change-Id: I7ba40a0988c8acbd6c1ee4e36f4bbb34fb4e2d24
|
| |\|
| |
| |
| |
| |
| | |
am: dd36b0ccf3
Change-Id: I71493cdabc1dd62b74d35b1ab47f02d50762539f
|
| | |
| |
| |
| |
| |
| |
| | |
Test: internal (see android/vts_config_test.go) + run 'm vts' and check
that host/linux-x86/vts/android-vts.zip remians the same
Change-Id: I0249a974a240e7669c3b9378c17739df8e120873
Fixes: 122617100
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Share more of the setup code for java tests to sysprop_tests.go.
Test: java_test.go, sysprop_test.go
Change-Id: I0e3b287bf188c432d995a9a91a18ebef12aa47d1
Merged-In: I0e3b287bf188c432d995a9a91a18ebef12aa47d1
(cherry picked from commit b19745363f3cc59ffd46c664997602f250892d4d)
|
| |\|
| |
| |
| |
| |
| | |
am: 7961c04510
Change-Id: I529950a46e2869d0b2a116738db239ed00a3e354
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Implement the dexpreopting of boot jars in singleton rules in
Soong.
Test: m checkbuild
Change-Id: Ic02ce941fa5e238b839b3eb4c06a3e10c62d98ff
|
| | |
| |
| |
| |
| |
| |
| | |
Share more of the setup code for java tests to sysprop_tests.go.
Test: java_test.go, sysprop_test.go
Change-Id: I0e3b287bf188c432d995a9a91a18ebef12aa47d1
|
| |\|
| |
| |
| |
| |
| | |
am: 751a2cb98a
Change-Id: Ie9976968934c4231492af4ad4cbbcfe38790f040
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A newly introduced sysprop_library soong module will generate a
java_sdk_library and a cc_library from .sysprop description files.
Both Java modules and C++ modules can link against sysprop_library
module, thus giving consistency for using generated sysprop API.
As Java controls accessibility of Internal / System properties with
@hide and @SystemApi, 2 different header files will be created. And
build system will selectively expose depending on the property owner
and the place where the client libraries go into.
Bug: 80125326
Bug: 122170616
Test: 1) Create sysprop_library module.
Test: 2) Create empty txt files under prebuilts/sdk.
Test: 3) Create api directory, make update-api, and see changes.
Test: 4) Try to link against sysprop_library with various clients.
Test: 5) Soc_specific, Device_specific, Product_specific, recovery flags
work as intended.
Change-Id: I78dc5780ccfbb4b69e5c61dec26b94e92d43c333
|
| |\|
| |
| |
| |
| |
| | |
am: ab9bfa1617
Change-Id: I148138a6723926af54620c6ce3379fdb61ed9e08
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the rules that build hiddenapi-stubs-flags.txt,
hiddenapi-flags.csv and hiddenapi-greylist.csv into Soong.
Bug: 123645297
Test: m checkbuild
Test: m UNSAFE_DISABLE_HIDDEN_API_FLAGS=true
Change-Id: I90bf58710f6153ee8565994f799d3ec5699bc7fa
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
cc2d11961c am: 9053375b93
am: 31cabeea1c
Change-Id: I3abcc60539de84d3365df989de341b4bb3e1db09
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Add an opaque OnceKey type and use it for all calls to Once in
build/soong. A future patch will convert the arguments to
Once* to OnceKey once users outside build/soong have been updated.
Test: onceper_test.go
Change-Id: Ifcb338e6e603e804e507203c9508d30ffb2df966
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Move dexpreopt.Script to android.RuleBuilder so that the builder
style can be used in more places. Also add tests for it.
Test: rule_builder_test.go
Change-Id: I92a963bd112bf033b08899e930094b908acfcdfd
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
executable" am: bfd1830c32 am: f0ad602157
am: d8d66fc214
Change-Id: I6c81463972435906c8e3b5a01a8b40a047d37c77
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
We've been putting these in cc_prebuilt_binary, but that's not really
correct. It also tries adding '.exe' to the end of windows executables,
which isn't desirable for bat files.
Test: Use sh_binary_host
Change-Id: Idd5418dceb81ac55b766c987fbb69a810aeb8a3b
|
| |\|
| |
| |
| |
| |
| | |
am: 86ff01700f
Change-Id: If208b1da532c0a1f03682fa9323e5b60686bb179
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Runtime-created struct types have limit on the name of the type,
which is the full text of the fields in the struct. Avoid creating
runtime struct types when filtering produces an identical struct.
Also add tests and godoc for filterArchStruct.
Test: arch_test.go
Change-Id: If7eb27ea9e72073d5252e93f2110b08889ed76b1
|
| |\|
| |
| |
| |
| |
| | |
am: b85599e803
Change-Id: I6ef28e11e3fbe3dc3217ae7b1c05f39ada1ebbd3
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL adds configs for the arm64 and x64 fuchsia
device targets, sets up the necessary linker flags,
and disables some functionality that is not currently
supported on Fuchsia.
Bug: 119831161
Test: Compile walleye, internal validation against
fuchsia_arm64-eng and fuchsia_x86_64-eng.
Change-Id: I2881b99d2e3a1995e2d8c00a2d86ee101a972c94
|
| |\|
| |
| |
| |
| |
| | |
am: f67ea0a537
Change-Id: Ie3803a065a14211aebec4cd0487d5db4ede09089
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Follow bazel's modules for annotation processors by introducing
a java_plugin module type that can contain extra metadata about
the annotation processor, the processor class and a flag to
specify if the annotation processor is compatible with the
turbine optimization. Deprecate the annotation_processors
property, which took a list of java_library_host modules, in
favor of the plugins property, which takes a list of java_plugin
modules. The annotation_processors property will be removed
once all uses have been replaced with plugins.
Bug: 77284273
Test: plugin_test.go
Test: m caliper
Change-Id: I37c1e80eba71ae2d6a06199fb102194a51994989
|
| |\|
| |
| |
| |
| |
| | |
am: a2d2f2af1a
Change-Id: Ic3b8ef98f8bd5595762f6b28a7735bf57b62b1b3
|