aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Allow overriding SOONG_CONFIG_art_module_source_build to false."HEADmasterTreehugger Robot2021-09-081-1/+3
|\
| * Allow overriding SOONG_CONFIG_art_module_source_build to false.Martin Stjernholm2021-09-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Remove soong_docs from droidcore."Lukács T. Berki2021-09-081-2/+1
|\ \
| * | Remove soong_docs from droidcore.Lukacs T. Berki2021-09-081-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | soong_docs will be run directly from soong_ui so it won't have a corresponding Make target. Test: Presubmits. Change-Id: Id7abccdf2ea3830edf6043c10b617bddf4f9c86d
* | | Merge "Disable the delete_all_keys feature for GSI"Treehugger Robot2021-09-081-0/+4
|\ \ \ | |/ / |/| |
| * | Disable the delete_all_keys feature for GSIHoward Chen2021-09-081-0/+4
|/ / | | | | | | | | | | | | Bug: 197914756 Test: run GSI with DSU on a Pixel device Change-Id: I78ee95f99764bee71bf3bcccb992ee35fa80603b
* | Merge "Add Wifi HostApd AIDL interface support."Linzhao Ye2021-09-071-0/+2
|\ \
| * | Add Wifi HostApd AIDL interface support.Chris Ye2021-08-141-0/+2
| | | | | | | | | | | | | | | | | | | | | Test: Manual test. Bug: 194806512 Change-Id: I11d9d559262178de66772df0d7f70c084a397a4d
* | | Merge "Replace GENERATE_BAZEL_FILES=1 with "m bp2build"."Treehugger Robot2021-09-071-1/+1
|\ \ \
| * | | Replace GENERATE_BAZEL_FILES=1 with "m bp2build".Lukacs T. Berki2021-09-071-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | This should have been submitted in the pertinent topic, but I messed by git repositories up. Test: Presubmits. Change-Id: I7f3e9648c1961169ff40c8e2ddaf3d893498f625
* | | Merge "Handle warning lines from RBE"Chih-hung Hsieh2021-09-031-3/+35
|\ \ \ | |_|/ |/| |
| * | Handle warning lines from RBEChih-Hung Hsieh2021-09-031-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | Merge "Fix: print namespace variable names, too."Treehugger Robot2021-09-011-1/+1
|\ \ \
| * | | Fix: print namespace variable names, too.Sasha Smundak2021-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 193540681 Test: internal Change-Id: I1827411e7c6e693666e40fcbcad34ff7bc82ef20
* | | | Merge "Add new make variables for extension SDK version"Anton Hansson2021-09-012-0/+7
|\ \ \ \
| * | | | Add new make variables for extension SDK versionAnton Hansson2021-08-272-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | | Merge "Allow user to manually override enable_vabc_xor"Treehugger Robot2021-08-311-3/+7
|\ \ \ \ \
| * | | | | Allow user to manually override enable_vabc_xorKelvin Zhang2021-08-311-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --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
* | | | | | Merge "If filter/filter_out pattern is a list, remove empty elements from it."Treehugger Robot2021-08-312-1/+4
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | If filter/filter_out pattern is a list, remove empty elements from it.Sasha Smundak2021-08-262-1/+4
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, fix __mk2regex bug: the returned pattern should end with $. Bug: 193540681 Test: internal Change-Id: Ia56856826c6b05ccf857ae5ab7a70609bf4f1e1d Change-Id: Ie2a9bf62ee48824ce7cd5fe9e9ec2f55311473e3
* | | | | Merge "Check for vintf compatiblity early in generation process"Kelvin Zhang2021-08-311-2/+2
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Check for vintf compatiblity early in generation processKelvin Zhang2021-08-311-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Fix generate-userimage-prop-dictionary getting called unnecessarily."David Anderson2021-08-301-3/+6
|\ \ \ \
| * | | | Fix generate-userimage-prop-dictionary getting called unnecessarily.David Anderson2021-08-271-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "Add missing custom kernel module targets"Treehugger Robot2021-08-271-3/+5
|\ \ \ \ \
| * | | | | Add missing custom kernel module targetsMark-PK Tsai2021-08-261-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Merge "Strip recovery kernel modules by default"Saravana Kannan2021-08-271-1/+7
|\| | | | | | |_|/ / / |/| | | |
| * | | | Strip recovery kernel modules by defaultMark-PK Tsai2021-08-231-1/+7
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge "Propagate USE_HOST_MUSL to Soong"Colin Cross2021-08-262-0/+9
|\ \ \ \
| * | | | Propagate USE_HOST_MUSL to SoongColin Cross2021-08-252-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "API coverage Copy generated API list during building cc_library to ↵Sophie Zheng2021-08-251-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | cc_apis/"
| * | | | | API coveragesophiez2021-08-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge "Add product-copy-files-by-pattern"Alexander Smundak2021-08-241-0/+13
|\ \ \ \ \ \
| * | | | | | Add product-copy-files-by-patternSasha Smundak2021-08-241-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several configuration makefiles in the internal source tree use this pattern Bug: 190051051 Test: treehugger Change-Id: Ifab4a7022b9c337966f46e098147fbb5817d9343
* | | | | | | Merge "Fix add_soong_config_namespace/add_soong_config_var macros"Alexander Smundak2021-08-241-3/+3
|\| | | | | | | |_|_|_|/ / |/| | | | |
| * | | | | Fix add_soong_config_namespace/add_soong_config_var macrosSasha Smundak2021-08-201-3/+3
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "Add a prompt to try out RBE for local builds"Treehugger Robot2021-08-231-0/+7
|\ \ \ \ \
| * | | | | Add a prompt to try out RBE for local buildsKousik Kumar2021-08-231-0/+7
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "Add zucchini to otatools.zip"Treehugger Robot2021-08-231-0/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add zucchini to otatools.zipKelvin Zhang2021-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge changes I2d61d966,Ic4315ce2Alexander Smundak2021-08-206-7/+71
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | * changes: Fix copy_files implementation Add find_files builtin, use it to fix find_and_copy implementation
| * | | | Fix copy_files implementationSasha Smundak2021-08-193-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Add find_files builtin, use it to fix find_and_copy implementationSasha Smundak2021-08-196-6/+61
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Fix kernel module build of custom image"Treehugger Robot2021-08-181-2/+3
|\ \ \ \
| * | | | Fix kernel module build of custom imageMark-PK Tsai2021-08-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct the build-image-kernel-modules arguments then the board can use BOARD_{CUSTOM_IMAGE}_KERNEL_MODULES to install kernel modules. Bug: 195888474 Change-Id: I65124acc470e7f6f701bf3c9f5481bb2d688d555 Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
* | | | | Merge "Support product-copy-files-by-pattern macro"Treehugger Robot2021-08-182-5/+45
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Support product-copy-files-by-pattern macroSasha Smundak2021-08-182-5/+45
|/ / / / | | | | | | | | | | | | | | | | | | | | Bug: 193566316 Test: rbcrun build/make/tests/run.rbc Change-Id: Idf462d7f58e8d4a6e8b3a1506306f9eb67130dc8
* | | | Merge "Most of the TARGET_COPY_OUT_xxx variables are not constant"Treehugger Robot2021-08-171-1/+10
|\ \ \ \
| * | | | Most of the TARGET_COPY_OUT_xxx variables are not constantSasha Smundak2021-08-161-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 193566316 Test: internal Change-Id: I61ec23a927c3b8c340ce1930c88fe1837bdd35d1
* | | | | Merge "Remove PRODUCT_BOOT_JAR_MODULE_OVERRIDES."Martin Stjernholm2021-08-172-18/+0
|\ \ \ \ \ | |/ / / / |/| | | |