summaryrefslogtreecommitdiff
path: root/android_sdk
AgeCommit message (Collapse)Author
2025-02-12Don't panic in ModuleForTests and friends Colin Cross
Panicking in ModuleForTests and similar test helper functions was a mistake. Go's test runner stops running tests as soon as any test panics, which means debugging multiple tests panicking requires rerunning all the tests after fixing each panic to find the next one. Pass the *testing.T into ModuleForTests and friends so that it can call t.Fatalf instead. Test: all soong tests pass Change-Id: I5d0f2424eaf04fb795079e6d1e4b9469d8c7033c
2024-08-14Remove installFiles from ModuleBase. Yu Liu
This is to limit the direct accesses to the internal fields of a module in order to better support incremental caching. To access the install files data from singleton context or other modules' context use providers thru the provided wrapper; to access it from the same module inside GenerateBuildActions use ctx which is short-lived only inside this method. Bug: 358425833 Test: CI Change-Id: I337b07a2ef95fb2a898ac2f9277160a3f76a603c
2023-12-05Add llvm-objcopy to android_sdk_repo_host's implicit tools Cole Faust
llvm-strip is actually a symlink to llvm-objcopy. Since aosp/2850015, rules must add both the symlink and the target of the symlink to the sandbox to avoid a dangling symlink. Fixes: 314994282 Test: m sdk sdk_repo dist Change-Id: I72494596f3597e176222a44c822d0b12cdd4cde4
2023-06-22Update clang version to clang-r498229 Yabin Cui
Bug: 280683256 Test: presubmit Change-Id: Idd0e171f11e0a7f44c64744744505ddeaca6f2fd
2023-05-22BUILD_NUMBER and BUILD_HOSTNAME doesn't affect kati regeneration Jeongik Cha
* Extract BUILD_NUMBER, BUILD_HOSTNAME to file to avoid kati change * Handle FILE_NAME_TAG_PLACEHOLDER string in dist in build/make/packaging/distdir.mk Test: check if kati isn't invoked even though BUILD_NUMBER, BUILD_HOSTNAME is changed Test: m && m, and check if the second m is no-op Bug: 278060169 Change-Id: I65eefc6bb86d4076098a1bf8b317b4cb88201499
2023-02-16Revert "Make llvm-strip depend on both lib and lib64" Yi Kong
This reverts commit d1fb75df9a27249adc86a4bad56bcef0214bb592. We have moved to lib directory only, this is no longer necessary. Updated the llvmLib to the proper directory. Bug: 269398998 Change-Id: I9b1d529da0578a47c21e8b7eba3b458cb2801dce
2022-08-16Make llvm-strip depend on both lib and lib64 Chih-Hung Hsieh
* Old compilers look up lib64/libc++.so.1 * New compilers look up lib/libc++.so.1 Bug: 241836377 Test: lunch sdk-userdebug; make sdk_repo Change-Id: I90e7df9875594a1257e582ef62bac5084f0f939d
2022-06-09Fix strip_prefix flags to strip install paths. Bob Badour
Bug: 235331488 Test: m droid dist Change-Id: I3cd2af5d90e46a4c983728bc9b2d941d6ffda229
2022-05-20Fix bug: allow multiple gen_notice modules. Bob Badour
Test: m cts dist reportmissinglicenses Change-Id: I07963c83eaddfe363a04871e813b56fe7f1465ad
2022-05-18Add gen_notice module. Bob Badour
Refactor notices to support notices for multiple modules. Enforce visibility and handle missing dependencies. Bug: 213388645 Change-Id: Id6a81987f087419ad37d0cce57a71e8a7c4cd6e0
2022-01-28Generate sdk_repo notice files from license metadata Colin Cross
Use the new license metadata files to generate the notice files for sdk_repo modules. Bug: 207445310 Test: m sdk_repo_build_tools Change-Id: I8079061fbdf7417c94eebbb1b31486d3f506f931
2021-10-15Switch to the new build-tools/platform-tools implementation Dan Willemsen
Bug: 187222815 Change-Id: I8ccf92e3185ddb831e8b3f426d397164aef9b7fb
2021-10-13Add android_sdk_repo_host to build platform-tools&build-tools Dan Willemsen
The Android SDK has been built with Make up until now, monolithically, then split up into several sdk-repo zip files for different purposes. The Mac and Windows SDKs really only need to contain the platform-tools and build-tools pieces, but due to this monolithic sdk zip, we had to build the whole SDK first. This adds an `android_sdk_repo_host` module that can build these platform-tools and build-tools zips. Bug: 187222815 Change-Id: I55809e1d7447dd65e22461f921b2b8abb6d5f822