aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-08Merge "Allow overriding SOONG_CONFIG_art_module_source_build to false."android-s-beta-5android-s-beta-5Treehugger Robot
2021-09-08Merge "Remove soong_docs from droidcore."Lukács T. Berki
2021-09-08Merge "Disable the delete_all_keys feature for GSI"Treehugger Robot
2021-09-08Remove soong_docs from droidcore.Lukacs T. Berki
soong_docs will be run directly from soong_ui so it won't have a corresponding Make target. Test: Presubmits. Change-Id: Id7abccdf2ea3830edf6043c10b617bddf4f9c86d
2021-09-08Disable the delete_all_keys feature for GSIHoward Chen
Bug: 197914756 Test: run GSI with DSU on a Pixel device Change-Id: I78ee95f99764bee71bf3bcccb992ee35fa80603b
2021-09-07Merge "Add Wifi HostApd AIDL interface support."Linzhao Ye
2021-09-07Merge "Replace GENERATE_BAZEL_FILES=1 with "m bp2build"."Treehugger Robot
2021-09-07Replace GENERATE_BAZEL_FILES=1 with "m bp2build".Lukacs T. Berki
This should have been submitted in the pertinent topic, but I messed by git repositories up. Test: Presubmits. Change-Id: I7f3e9648c1961169ff40c8e2ddaf3d893498f625
2021-09-06Allow overriding SOONG_CONFIG_art_module_source_build to false.Martin Stjernholm
Useful for local testing etc. Cherry-picked from http://ag/15754315. Test: env SOONG_CONFIG_art_module_source_build=false \ MODULE_BUILD_FROM_SOURCE=true \ build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build return false Bug: 172480615 Change-Id: I50187408a01e0c6f5ecea12fe3a423e1c5d93612 Merged-In: I50187408a01e0c6f5ecea12fe3a423e1c5d93612
2021-09-03Merge "Handle warning lines from RBE"Chih-hung Hsieh
2021-09-03Handle warning lines from RBEChih-Hung Hsieh
* Recognize USE_RBE special environment variable. * Remove RBE special file path prefix /b/f/w/ and any leading characters. * Only do this for android now, maybe for chrome later. * When finding android_root, do not use /b/f/w/ and /tmp/ file paths. * Recognize BUILD_ID and add it into .html output. * Style improvement with continue statements. Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html Test: warn.py --gencsv build.log > warnings.csv Bug: 198657613 Change-Id: I57746f026d5d8b71e792127b8d6ba15f6b28103c
2021-09-01Merge "Fix: print namespace variable names, too."Treehugger Robot
2021-09-01Merge "Add new make variables for extension SDK version"Anton Hansson
2021-08-31Merge "Allow user to manually override enable_vabc_xor"Treehugger Robot
2021-08-31Allow user to manually override enable_vabc_xorKelvin Zhang
--enable_vabc_xor=false to disable, --enable_vabc_xor=true or --enable_vabc_xor to enable Also the flag is now enabled by default. But update_engine will still ignore XOR ops, as update_engine support for XOR is WIP. Test: th Change-Id: I038b0dda5cc9efcc1620e72c858626b56ffb1611
2021-08-31Merge "If filter/filter_out pattern is a list, remove empty elements from it."Treehugger Robot
2021-08-31Merge "Check for vintf compatiblity early in generation process"Kelvin Zhang
2021-08-31Check for vintf compatiblity early in generation processKelvin Zhang
Currently CheckVintfIfTrebleEnabled is called after generating payload. Users have to wait for ~1 hour before vintf is checked. Do the check early and fail early. Test: th Change-Id: I2e4a8c7eaa62c94c92973c127b1d825a26e63b35
2021-08-30Merge "Fix generate-userimage-prop-dictionary getting called unnecessarily."David Anderson
2021-08-27Fix generate-userimage-prop-dictionary getting called unnecessarily.David Anderson
odm, odm_dlkm, vendor_dlkm call generate-userimage-prop-dictionary. This appears to be inadvertent as it pulls in props from all the other partitions. Instead, call generate-image-prop-dictionary which is specific to one partition. Bug: 198001223 Test: builds, treehugger green Change-Id: Ib177c740068f1c087d517b363649551092038760
2021-08-27Merge "Add missing custom kernel module targets"Treehugger Robot
2021-08-27Merge "Strip recovery kernel modules by default"Saravana Kannan
2021-08-27Add new make variables for extension SDK versionAnton Hansson
- PLATFORM_SDK_EXTENSION_VERSION is the sdk extension version of the tree - PLATFORM_BASE_SDK_EXTENSION_VERSION is the sdk extension version that PLATFORM_SDK_VERSION ships with. Also propagate PLATFORM_SDK_EXTENSION_VERSION to soong to that it can be used in genrules. Bug: 195281582 Test: via development/ CL in this topic Merged-In: Ib078a922e9bd9bc6ae82ab74feaeb743703a64b8 Change-Id: Ib078a922e9bd9bc6ae82ab74feaeb743703a64b8
2021-08-26Fix: print namespace variable names, too.Sasha Smundak
Bug: 193540681 Test: internal Change-Id: I1827411e7c6e693666e40fcbcad34ff7bc82ef20
2021-08-26If filter/filter_out pattern is a list, remove empty elements from it.Sasha Smundak
Also, fix __mk2regex bug: the returned pattern should end with $. Bug: 193540681 Test: internal Change-Id: Ia56856826c6b05ccf857ae5ab7a70609bf4f1e1d Change-Id: Ie2a9bf62ee48824ce7cd5fe9e9ec2f55311473e3
2021-08-26Add missing custom kernel module targetsMark-PK Tsai
Custom kernel module targets are not in the build dependency rule which cause the copy command of $(my_copy_pairs) fail. Add it back to $(my_image_copy_files) and remove the prefixed $(my_staging_dir) from dest of kernel module copy pair. Then the makefile can handle it well. Bug: 195888474 Change-Id: Id8cb4c4991905e8bc53ddb5e60e87a36fe43e803 Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
2021-08-26Merge "Propagate USE_HOST_MUSL to Soong"Colin Cross
2021-08-25Propagate USE_HOST_MUSL to SoongColin Cross
Support enabling musl in Make builds with USE_HOST_MUSL=true. Only modules defined in Soong will use musl, but that's almost all host modules. Bug: 195988762 Test: m USE_HOST_MUSL=true adb Change-Id: Ia88f6e20b302d86f2241877b017aebe218d968cf
2021-08-25Merge "API coverage Copy generated API list during building cc_library to ↵Sophie Zheng
cc_apis/"
2021-08-24Merge "Add product-copy-files-by-pattern"Alexander Smundak
2021-08-24Add product-copy-files-by-patternSasha Smundak
Several configuration makefiles in the internal source tree use this pattern Bug: 190051051 Test: treehugger Change-Id: Ifab4a7022b9c337966f46e098147fbb5817d9343
2021-08-24Merge "Fix add_soong_config_namespace/add_soong_config_var macros"Alexander Smundak
2021-08-23Merge "Add a prompt to try out RBE for local builds"Treehugger Robot
2021-08-23Add a prompt to try out RBE for local buildsKousik Kumar
This is to nudge developers to use RBE especially when they run into long builds and do NOT have RBE turned on. Change-Id: I7da94763f5387310e522931bf650f9d7c01dc7f2
2021-08-23Merge "Add zucchini to otatools.zip"Treehugger Robot
2021-08-23Strip recovery kernel modules by defaultMark-PK Tsai
Strip recovery kernel modules by default which make recovery.img smaller. Also, add BOARD_DO_NOT_STRIP_RECOVERY_MODULES to make it configurable like vendor modules did. Change-Id: Id4e8c88b91dad38afc1fec5eae83fcb29c825be3 Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
2021-08-20Fix add_soong_config_namespace/add_soong_config_var macrosSasha Smundak
They were failing with an argument containing whitespace. That is, calling `$(call add_soong_config_namespace, foo)` would result in the attempt to assign to an empty variable. It went unnoticed because `ckati` silently ignores such an assignment (`make` is more diligent and fails). Bug: 190051051 Test: treehugger Change-Id: Ifcc168eaf2db725e705887889e732bcd4410db39
2021-08-20Add zucchini to otatools.zipKelvin Zhang
Zucchini is a new diffing algorithm we plan to add to Android OTA, add it to otatools.zip first. Bug: 194237829 Test: th Change-Id: I9561101decc2d13afb0a8d4329c3ecc044c96c9d
2021-08-20Merge changes I2d61d966,Ic4315ce2Alexander Smundak
* changes: Fix copy_files implementation Add find_files builtin, use it to fix find_and_copy implementation
2021-08-19Fix copy_files implementationSasha Smundak
It has to copy all the files into the same directory, stripping the relative path from the source file. Bug: 193540681 Test: rbcrun build/make/tests/run.rbc Change-Id: I2d61d966ad94d73131c7ad6016ce319f8d2ae509
2021-08-19Add find_files builtin, use it to fix find_and_copy implementationSasha Smundak
The macro find-and-copy finds all the files in the given source tree that match the given filename patten and create <source>:<dest> pair with the same relative path in the destination tree. Bug: 193540681 Test: rbcrun build/make/tests/run.rbc Change-Id: Ic4315ce2fab7a7791ab55dd9eed039205a1c721a
2021-08-18Merge "Fix kernel module build of custom image"Treehugger Robot
2021-08-18Merge "Support product-copy-files-by-pattern macro"Treehugger Robot
2021-08-18Support product-copy-files-by-pattern macroSasha Smundak
Bug: 193566316 Test: rbcrun build/make/tests/run.rbc Change-Id: Idf462d7f58e8d4a6e8b3a1506306f9eb67130dc8
2021-08-17API coveragesophiez
Copy generated API list during building cc_library to cc_apis/ Test: build/soong/soong_ui.bash --make-mode SKIP_ABI_CHECKS=true TARGET_PRODUCT=aosp_cf_x86_phone TARGET_BUILD_VARIANT=userdebug droid dist DIST_DIR=/usr/local/google/home/sophiez/my_dist_dir EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true CLANG_COVERAGE=true SKIP_BOOT_JARS_CHECK=true Change-Id: I05e6b7b9c9bbbab72718fd926ddda468bde05565
2021-08-17Merge "Most of the TARGET_COPY_OUT_xxx variables are not constant"Treehugger Robot
2021-08-17Merge "Remove PRODUCT_BOOT_JAR_MODULE_OVERRIDES."Martin Stjernholm
2021-08-16Most of the TARGET_COPY_OUT_xxx variables are not constantSasha Smundak
Bug: 193566316 Test: internal Change-Id: I61ec23a927c3b8c340ce1930c88fe1837bdd35d1
2021-08-15Remove PRODUCT_BOOT_JAR_MODULE_OVERRIDES.Martin Stjernholm
This reverts commit efe6a4d74880ccf72b38910eeb0258abbebb4f10. As a result of b/191269918, APEX variants are now consistently identified by their "runtime names", i.e. their mount names under /apex. Those names are now also used to identify the APEXes in PRODUCT_BOOT_JARS and similar variables. That avoids implementing a global lookup mechanism in Soong, and since they don't vary between products also makes this override variable unnecessary. Test: `m nothing` in internal Bug: 191269918 Bug: 180325915 Change-Id: I6fd3d29d1c032c9f8bda0191781f9d2dc6f199a4
2021-08-14Add Wifi HostApd AIDL interface support.Chris Ye
Test: Manual test. Bug: 194806512 Change-Id: I11d9d559262178de66772df0d7f70c084a397a4d