aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
38 hoursMerge changes I708c37f9,I577e7fb0 into mainHEADmastermainLaMont Jones
* changes: Write per-partition build_flags.json release_config: various cleanup
39 hoursMerge "Ensure aconfig generated CustomFeatureFlags is renamed by JarJar" ↵Jeff DeCew
into main
41 hoursWrite per-partition build_flags.jsonLaMont Jones
Create build_flags_{partition}-{TARGET_PRODUCT}-{TARGET_RELEASE}.json in {OUT_DIR}/soong/release-config. Bug: 328495189 Test: manual Change-Id: I708c37f9b1216b4283886c98cacaf66bfcd28143
42 hoursrelease_config: various cleanupLaMont Jones
- Parse release_config_map.textproto files only once - Fix inheritance - Sort flag artifacts by flag name - Add --all_make option for testing - Fix value() parsing in crunch_flags Bug: 328495189 Test: manual Change-Id: I577e7fb07171bea9a53d61eaf77ec728b60d7a26
42 hoursMerge "Switch to static deps" into mainTed Bauer
44 hoursSwitch to static depsTed Bauer
Bug: 328444881 Test: m Change-Id: I53ad95ca281031ec98d5df66ada0ed69749da312
2 daysMerge "Only link the profile extras lib for device variant for rust." into mainYu Liu
3 daysAllow overriding android_library_import manifestsColin Cross
Some of the androidx libraries have a transformed manifest alongside that needs to be used to avoid introducing extra androidx.startup provider entries. Add a manifest property that allows overriding the manifest provided by the aar file. Bug: 336549758 Test: examine PermissionController.apk Ignore-AOSP-First: submitting in topic with internal CL Merged-In: I5c8daf810d2fde9a150cbfe48b4f4216f5d1ba0d Change-Id: I5c8daf810d2fde9a150cbfe48b4f4216f5d1ba0d
3 daysMerge "Split APEX ABI dumps from implementation ABI dumps" into mainHsin-Yi Chen
3 daysSplit APEX ABI dumps from implementation ABI dumpsHsin-Yi Chen
This commit adds a rule that builds APEX ABI dumps separately from the implementation libraries' ABI dumps. The rule takes the export_include_dirs and the symbol_file of the stubs as parameters. The dump paths are tagged with "APEX" in lsdump_paths.txt. The script updating the prebuilt reference dumps can differentiate the APEX dumps from the opt-in dumps tagged with "PLATFORM". This commit also adds an ABI diff rule. Soong compares the APEX ABI dumps with the reference dumps in version 35. It compares the implementation dumps with the reference dumps in old versions. Bug: 333532038 Test: make Change-Id: I76902a8e3b7d0e96a5ad756f493924371cd7ad3c
3 daysMerge "add flag_value.redacted" into mainTreehugger Robot
3 daysMerge "Shard rust protobuf sources" into mainTreehugger Robot
3 daysMerge "crunch_flags: keep-sorted lines are not descriptions" into mainTreehugger Robot
3 daysMerge "Keep replace_instead_of_append in arch prop structs" into mainCole Faust
4 daysMerge "Added Strict_mode logic catch direct usage of Robolectric reference" ↵Kevin Liu
into main
4 daysadd flag_value.redactedLaMont Jones
When set, this removes all traces of the flag from the release config. Bug: 328495189 Test: manual Change-Id: Iab39d06e134bfc020ba4875c1b8e89c5cdf18924
4 dayscrunch_flags: keep-sorted lines are not descriptionsLaMont Jones
Also fix a typo in parsing declare-release-config. Bug: 328495189 Test: manual, TH Change-Id: Ibfed4a217275df0dd6bd9c2fb124e0d1f791be08
4 daysKeep replace_instead_of_append in arch prop structsCole Faust
replace_instead_of_append is read by proptools.ExtendProperties() / proptools.ExtendMatchingProperties(). These functions are called on arch property structs, so we need to preserve it when creating the arch property structs. Bug: 323382414 Test: m nothing --no-skip-soong-tests Change-Id: Ic08704d8a2b710f5a5d99b62d3f8a37730bb6013
4 daysAdded Strict_mode logic catch direct usage of Robolectric referenceKevin Liu
When Strict_Mode is true, exclude Robolectric_all-target_upstream from the build pass, instead use the newly added robolectric_all-target_runtime, which compiles the robolectric lib into jar and later being added to final test jar. Test: atest MyRoboTests Bug: 334089788 Change-Id: I59291e3cc478e73f65950886853732ff0c5c5db7
4 daysEnsure aconfig generated CustomFeatureFlags is renamed by JarJarJeff DeCew
Bug: 336768870 Flag: NA Test: presubmit Change-Id: I40a2763724066118e051a9ca0b88e5a9e5d76adf
4 daysRemove cc_api_library related code from sdkMutatorSpandan Das
This module type was used for multi-tree, which has since been deprioritized. Test: go test ./cc Change-Id: If661aa1215022301cfa10cbe2cec4565faf89c14
4 daysAdd .swp files to .gitignoreSpandan Das
Test: N/A Change-Id: I410c5b732b0284562fa0e6312befcecf73c838d3
4 daysMerge "Add aconfig storage API deps to codegened lib" into mainTed Bauer
4 daysMerge "Generate test lists for Ravenwood and Robolectric tests" into mainWeijia He
5 daysMerge "Adds support to bindgen to handle static inline fcts" into mainEllen Arteca
5 daysMerge "Ignore the .vscode/ folder" into mainTreehugger Robot
5 daysAdd aconfig storage API deps to codegened libTed Bauer
Change-Id: I4991c9fccb0a0bab15457883cf20aacb3142c4cf
5 daysShard rust protobuf sourcesColin Cross
Shorten the command line for generating rust protobuf sources by sharding the sources into groups of 50 source files. Bug: 322564768 Bug: 336323108 Test: builds Change-Id: Ia8069cdaf49f9a42d14a83139545ba61277418e0
5 daysIgnore the .vscode/ folderCole Faust
Test: Presubmits Change-Id: I3c500c8fca69c43529ef498870b659abd5654767
5 daysMerge "Use new --api-lint-previous-api" into mainPaul Duffin
5 daysMerge "Enable non final ids for non BusyBox builds" into mainRico Wind
5 daysMerge "Add more comments about soong config variables" into mainTreehugger Robot
5 daysMerge "Add support to Soong config list variable" into mainTreehugger Robot
5 daysAdds support to bindgen to handle static inline fctsEllen Arteca
Adds support for bindgen to be able to handle `static inline` functions. This is done by adding a new boolean field to the `BindgenProperties` struct, `Handle_static_inline` (default to false). If this field is true, then the flags to trigger bindgen support of static inline functions are passed in. The rust-bindgen documentation list two ways of handling `static inline` functions, both specified with command line args. 1) --generate-inline-functions 2) --experimental --wrap-static-fns Option 1 requires some extra effort on the part of the C library developer, in that they have to expose the function symbols: the docs (linked below) explain that this is often done by compiling the library with inlining disabled, which can be detrimental to performance. Option 2 requires no effort on the part of the C library developer, but it does require the `--experimental` flag, since this feature is still under development. This CL goes with option 2. Relevant docs: https://github.com/rust-lang/rust-bindgen/discussions/2405 This CL also adds a new test: TestBindgenHandleStaticInlining in bindgen_test.go Test: m blueprint_tests Change-Id: If28000e3f3ccecc65c4cae1c62d7bf455454239a
5 daysMerge "PackageFile for permission/*.xml for sdk_library" into mainTreehugger Robot
5 daysMerge "Include stubs type in metalava.rsp filename" into mainTreehugger Robot
5 daysMerge "Revert^3 "Upgrade to clang-r522817"" into mainYi Kong
5 daysRevert^3 "Upgrade to clang-r522817"Yi Kong
This reverts commit 7a4012586b1affb08a084d0379c02215873d242b. Still more build breakages... Change-Id: I2081d68e37bf260da78c651bb8fb9ae0d05b4c37
5 daysUse new --api-lint-previous-apiPaul Duffin
Bug: 327019023 Test: ./gradlew Change-Id: Ief4d7380e7242dff4e82df96778af17d56c4fe82
5 daysInclude stubs type in metalava.rsp filenameJihoon Kang
Currently, metalava.rsp filepath for both the everything and the exportable stubs type are identical, which may lead to incremental build issues. This change resolves such issue by including the stubs type in the metalava.rsp filename. These files cannot be modified as ".../everything/metalava.rsp" and ".../exportable/metalava.rsp" as `FlagWithRspFileInputList(...)` enforces the rsp filepath to be outside of the outdir, which is ".../everything/" and ".../exportable/", respectively. Thus, this change continues to generate the rsp file to be generated in the module outdir, but modifies the name of the rsp files as "everything.metalava.rsp" and "exportable.metalava.rsp". This change also simplifies the parameters in metalavaCmd(...) for the simplicity of the method parameters. Test: m nothing and inspect output for the everything and the exportable stubs Bug: 336360490 Change-Id: Ifd4e89ef69808e79ea720199677585f0217f7c1c
6 daysPackageFile for permission/*.xml for sdk_libraryJeongik Cha
Bug: 333311683 Test: build android.bp system image and then check if there is permission xml file for sdk_library Change-Id: If5ac1975a7db10d85a1b11c1cd666051e3da546e
6 daysMerge "Remove more unused code" into mainColin Cross
6 daysMerge "Convert apex mutator to a TransitionMutator" into mainColin Cross
6 daysMerge "Revert^2 "Make embedded_launcher true by default"" into mainCole Faust
6 daysMerge "Revert^2 "Upgrade to clang-r522817"" into mainYi Kong
6 daysEnable non final ids for non BusyBox buildsRico Wind
Non final ids is a prerequisite for using optimized shrinking and it will soon be a hard R8 error if you pass final ids in R classes with optimized shrinking enabled. Bug: 325905703 Test: SystemUIGo with optimized shrinking Change-Id: I364edc5a0b22be7b4d737c2aa470a84704d05283
6 daysRevert^2 "Upgrade to clang-r522817"Yi Kong
This reverts commit 321dd23b345c56eb2844888d977fd05b59f0ec0c. Breakage is fixed by https://r.android.com/3051002. Change-Id: I70925c7aa01fb78ec701971ee97192993aef0edd Test: abtd Bug: 322868540
6 daysMerge "Add Java 21 as a known version" into mainSorin Basca
6 daysAdd more comments about soong config variablesInseob Kim
Bug: 329208946 Test: N/A Change-Id: I68a5e59bc095f5c23509993675f26ed903bcbc78
6 daysAdd support to Soong config list variableInseob Kim
List variables act similar to value variables. Each value in a list variable will be added to a list property after string substitution. Bug: 329208946 Test: m --no-skip-soong-tests Test: m selinux_policy_system_soong Change-Id: I1127bfb0798e7e5f7d665f647307224d5ff5d790