summaryrefslogtreecommitdiff
path: root/api/api_test.go
AgeCommit message (Collapse)Author
2024-10-25Separating framework platform crashrecovery jar Harshit Mahajan
Creating new jar "framework-platformcrashrecovery". This would separate all the apis to a different sdk library while still being part of core platform. This jar is behind release_crashrecovery_module flag which also controls enabling CrashRecovery module apex. Based on the flag only one of platformcrashrecovery jar or CrashRecovery Apex will be used. So essentially on device if release_crashrecovery_module flag is 1. true: CrashRecovery Apex is present, this jar is not used 2. false: CrashRecovery Apex is not used, this jar is present Bug: 289203818 Test: Jar is present in Bootclasspath on device Test: ExplcitHealthCheckService registered on device Flag: build.release_crashrecovery_module Change-Id: I4696e74a1ba236614398b48a6d7145777079286b
2024-10-22Remove dependencies on the 1-variant fallback Cole Faust
When adding a dependencies, if the variants don't match, but the dependency only has 1 variant anyways, soong will always use that variant. This makes it hard to add new variants to soong, because the 1-variant fallback stops being used and you start getting missing variant errors. Make changes to bp files such that all dependencies correctly specify the variant to use. Bug: 372091092 Flag: EXEMPT refactor Test: m nothing Change-Id: I305d9a549fc132c3d14f56eae1abbac1b9defd10
2024-08-06Revert "Revert "Remove full api surface from-text stubs java_api..." Jihoon Kang
Revert submission 3207397-revert-2982300-java_api_library_non_sdk-FIKZOSARQI Reason for revert: Post submit build breakage culprit fixed Reverted changes: /q/submissionid:3207397-revert-2982300-java_api_library_non_sdk-FIKZOSARQI Change-Id: Ie4741daf508c7cc9c6688091d44658bfb76df6b1
2024-08-05Revert "Remove full api surface from-text stubs java_api_library..." Liana Kazanova
Revert submission 2982300-java_api_library_non_sdk Reason for revert: DroidMonitor: Potential culprit for b/357648959 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Reverted changes: /q/submissionid:2982300-java_api_library_non_sdk Change-Id: I4224efbb47dc5ecf9afd7e3c9cd00b59a6c337ae
2024-08-02Remove full api surface from-text stubs java_api_library modules Jihoon Kang
The toggle between from-text and from-source stubs are made within java_sdk_library level stubs, and they no longer depend on the full api surface java_api_library modules. Therefore, these can be safely removed. This change also rename android_*_stubs_current.from-source to android_*_stubs_current, and remove the full api surface modules that are currently generated from api.go. Test: ENABLE_HIDDENAPI_FLAGS=true m Bug: 327507877 Change-Id: If1f081693c7380e2ed5b5d4a1a7f7365ef1770ca
2024-07-18Support select in combined_apis properties Jihoon Kang
This change allows combined_apis.bootclasspath and combined_apis.system_server_classpath properties to be modified based on configuration using select statements. Bug: 349800749 Test: m nothing --no-skip-soong-tests Change-Id: I08bf4200738268fe833389f15e24271058528944
2023-12-07Remove bp2build from frameworks/base/api/ Colin Cross
Bug: 315353489 Test: m blueprint_tests Change-Id: I50d938017203ad12198d8a6373c9aef80a8535c6
2023-10-03assign labels to merged_txt modules with defs Chris Parsons
This is groundwork for allowlist v2, and ensures that rdeps of merged_txt targets appropriately reflect that these targets exist. Fixes: 302061007 Test: Unit test update Change-Id: I1d64635bb3db50ee525f1a557fd4b73d50dba879
2023-06-02Create full API surface java_library in combined_apis Jihoon Kang
This change renames the full api surface stub jar generating java_library modules by adding ".from-source" suffix and creating the modules in combined_apis. Either the ".from-source" module or the ".from-text" module is added as static libs based on the build config. Bug: 284150060 Bug: 284995489 Bug: 285410821 Test: m && m --build-from-text-stub and verify no ninja path between android_stubs_current and android_stubs_current.from-source Change-Id: I1419af0cd0ca2199e82e3337717b6391a51267c4
2023-03-05Add minimal bp2build converter for combined apis Zi Wang
4 merged_txts targets will be generated for a combined_api target Test: api_conversion_test.go and TH Bug: 267600251 Change-Id: I8ec4a1073538c394a7eef896d8f6e354986fa2cd