- Sep 22, 2023
-
-
Jihoon Kang authored
This change was already submitted with https://android-review.git.corp.google.com/q/topic:%22revert-2713677-revert-2655262-move_java_api_libraries-JTESUMBERD-FPSEKJYXCE%22 but was never propagated to downstream. Test: m nothing --build-from-text-stub Change-Id: I0d107ceb59cc53ec6663145796f4e4b0b74f2dc9
-
- Sep 21, 2023
-
-
Liz Kammer authored
The auto-generated Flags.FLAG_NAME constants are difficult to review in API tracking files. metalava will expand annotation arguments if (1) the field declaration is known to metalava, and (2) the constant is not part of the API surface. The auto-generated constants are hidden, so not part of any API surface. This satisfies (1). This CL adds the auto-generated sources to metalava's input. This satisfies (2). (cherry picked from commit 01544b94) Bug: 297881670 Test: m checkapi Test: m <partition>/etc/aconfig_flags.textproto & diff against a clean build Merged-In: I757c6e87d81768ef6095a4bea67c74c3ae6028a7 Change-Id: I757c6e87d81768ef6095a4bea67c74c3ae6028a7
-
Jihoon Kang authored
This change was already submitted with https://android-review.git.corp.google.com/q/topic:%22revert-2713677-revert-2655262-move_java_api_libraries-JTESUMBERD-FPSEKJYXCE%22 but was never propagated to downstream. Test: m nothing --build-from-text-stub Merged-In: I479ec3b1554dcc6630207c5f095c6f9d211b035b Change-Id: I4f7ea80608945d3d1840751e25fa7b0f92c119b8
-
- Sep 20, 2023
-
-
Liz Kammer authored
This reverts commit 157d0c18. Reason for revert: revert with fix to java_defaults instead of filegroup Test: m checkapi Test: m <partition>/etc/aconfig_flags.textproto & diff against a clean build Change-Id: I757c6e87d81768ef6095a4bea67c74c3ae6028a7
-
Adrian Roos authored
Bug: 297362755 Test: make checkapi Change-Id: I4d384efac8a8d3b183d9b207b195ad5489db9e55
-
- Sep 15, 2023
-
-
Priyanka Advani authored
This reverts commit 35eb10d9. Reason for revert: Probable culprit for b/300626881 Change-Id: I5f1ca00ed83d4c41659bbdeb04c4ea296f08fa71
-
Mårten Kongstad authored
The auto-generated Flags.FLAG_NAME constants are difficult to review in API tracking files. metalava will expand annotation arguments if (1) the field declaration is known to metalava, and (2) the constant is not part of the API surface. The auto-generated constants are hidden, so not part of any API surface. This satisfies (1). This CL adds the auto-generated sources to metalava's input. This satisfies (2). Example how how this CL modifies the API signature files: - method @FlaggedApi(Flags.FLAG_SCROLL_FEEDBACK_API) public boolean isHapticScrollFeedbackEnabled(int, int, int); + method @FlaggedApi("android.view.flags.scroll_feedback_api") public boolean isHapticScrollFeedbackEnabled(int, int, int); Bug: 297881670 Test: m checkapi Change-Id: I3259a2f4a114eb8c6eaff0bdbe151f6caef414aa
-
- Sep 14, 2023
-
-
Cole Faust authored
This flag was deprecated in metalava. Test: presubmits Change-Id: I0f9001a56104f157272c0d6a05de040305f3e7f1
-
- Sep 13, 2023
-
-
Chris Parsons authored
Test: See CL topic Change-Id: Id7d5366fd713409c2a9e12407b901d5d1d91a289
-
- Sep 08, 2023
-
-
Adrian Roos authored
The lint seems to trigger on methods inherited from classes that are part of the public API surface. Disables the lint for non-public surfaces until this is fixed. Bug: 297362755 Test: m :checkapi Change-Id: I6de0123ed8d54d88b7d78cc01e99e0558aa99413
-
Adrian Roos authored
Bug: 297362755 Test: make checkapi Change-Id: If7333ead86d9028ab0a1cc8f25fc534cb13a1858
-
- Sep 07, 2023
-
-
Paul Duffin authored
Also, removes `--no-banner` as it is deprecated and `--format=v2` is unnecessary. Bug: 290825755 Test: m current-api-xml (cherry picked from https://android-review.googlesource.com/q/commit:aab881d8b7ebea74266039275d0f5bf7019e1a5b) Merged-In: Ib2ff55cf2bfd2128866b2e4f67cf39303135b79b Change-Id: Ib2ff55cf2bfd2128866b2e4f67cf39303135b79b Bug: 299428102
-
- Aug 23, 2023
-
-
Mark White authored
Bug: 289776578 Test: presubmit Change-Id: Id077cff3825cea0da2ea9fad06c53eeb4f8655a2
-
- Aug 17, 2023
-
-
Jihoon Kang authored
Revert submission 2713677-revert-2655262-move_java_api_libraries-JTESUMBERD Reason for revert: Initial revert was created to resolve build breakage, but the breakage was caused because not all CLs included in the topic were being included in the build, and was not a problem of the CLs itself. Reverted changes: /q/submissionid:2713677-revert-2655262-move_java_api_libraries-JTESUMBERD Merged-In: I479ec3b1554dcc6630207c5f095c6f9d211b035b Change-Id: I62fe182a5bc4418ce077f0b648efb9d358c4e7ab
-
Jihoon Kang authored
Revert submission 2655262-move_java_api_libraries Reason for revert: Breaking build Reverted changes: /q/submissionid:2655262-move_java_api_libraries Change-Id: I00afc043165f56b66f092f311ad8b51c07d3f775
-
- Aug 16, 2023
-
-
Jihoon Kang authored
This change moves the full api surface stub jar generating java_api_library module definitions from build/orchestrator to frameworks/base, in order to resolve missing dependency build failure for partial repos and move the modules closer to their .from-source equivalents. Test: m --build-from-text-stub Bug: 290996110 Merged-In: I479ec3b1554dcc6630207c5f095c6f9d211b035b Change-Id: I479ec3b1554dcc6630207c5f095c6f9d211b035b
-
Jihoon Kang authored
This change moves the full api surface stub jar generating java_api_library module definitions from build/orchestrator to frameworks/base, in order to resolve missing dependency build failure for partial repos and move the modules closer to their .from-source equivalents. Test: m --build-from-text-stub Bug: 290996110 (cherry picked from https://android-review.googlesource.com/q/commit:6964360cfdbcb372333d08bbf572eca1f074eeec) Change-Id: I479ec3b1554dcc6630207c5f095c6f9d211b035b
-
- Aug 15, 2023
-
-
Harshit Mahajan authored
Adding the module libraries to combined_apis for them to be added to Android SDK. Also adding bootclasspath-fragment to platform-bootclasspath. Bug: b/289203818 Test: m Change-Id: Ica9b0bddc2f9cb6621a01dcd3859c39357144b5f
-
Mark White authored
Provides SdkTestCore/test_core_current sdk_version for non-updatable modules that have their test scope dependent on test apis from framework-minus-apex. Ignore-AOSP-First: Change in topic with internal-first projects Bug: 289776578 Test: m checkapi Change-Id: I855346c01bb609e81b14dbdc13330315badc339e
-
- Aug 14, 2023
-
-
Paul Duffin authored
Bug: 295737759 Test: ./gradlew Change-Id: Ied167094b04492ca49ea2b0e9d7fd91d534e483d
-
Jihoon Kang authored
previous_api input is required to migrate nullness information in metalava and generate loosely equivalent from-text stubs. Since "android.api.public.latest" is the only input for previous_api in the tree, this is hardcoded for full api surface java_api_library modules defaults for now. Test: m && compare nullness annotations for from-text stubs and from-source stubs Bug: 293962901 Change-Id: Ic07db8c3bd37fa41ff245952c94b5c5b4773af36
-
- Jul 11, 2023
-
-
Paul Duffin authored
Also, removes `--no-banner` as it is deprecated and `--format=v2` is unnecessary. Bug: 290825755 Test: m current-api-xml Change-Id: Ib2ff55cf2bfd2128866b2e4f67cf39303135b79b
-
- Jun 29, 2023
-
-
Jihoon Kang authored
This change renames java_api_library.dep_api_srcs property to full_api_surface_stub, to reflect the change in aosp/2637669. Test: m nothing --build-from-text-stub Bug: 275570206 Change-Id: I6fc31ba33b4c067f53bae00899920dc29e16e39f
-
- Jun 15, 2023
-
-
Jihoon Kang authored
In order to prevent build graph of the reverse dependencies of android-non-updatable.stubs.* from being modified based on build configuration (via --build-from-text-stub flag), android-non-updatable.stubs.* modules can be renamed with ".from-source" suffic, and android-non-updatable.stubs.* can contain either android-non-updatable.stubs.*.from-source or android-non-updatable.stubs.*.from-text as static libs based on build configuration. Test: m && m --build-from-text-stub and verify no ninja path between android-non-updatable.stubs and android-non-updatable.stubs.from-source Bug: 287490642 Change-Id: I9b409ce5965384ebaeb858e0bbb007dba970632a
-
- Jun 02, 2023
-
-
Jihoon Kang authored
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
-
- May 17, 2023
-
-
Jihoon Kang authored
Currently, android-non-updatable.stubs modules, which have dependencies on from-source creating droidstubs modules, are on the ninja critical path during from-text stub build. This change creates a from-text stub generating java_api_library equivalence of the modules. Test: m android-non-updatable.stubs.from-text \ android-non-updatable.stubs.system.from-text \ android-non-updatable.stubs.test.from-text \ android-non-updatable.stubs.module_lib.from-text Bug: 273403800 Change-Id: If593d3b65a6d62484749cc3085c9333e44431248
-
Anton Hansson authored
After the file was moved into the api subdirectory, applying private visibility is redundant because the default visibility of modules in this directory is private. Test: m nothing Change-Id: I3e6602a384e352682bf366f1fe914d70dafe71ee
-
- May 10, 2023
-
-
Anton Hansson authored
Make a symlink from api/docs -> docs, since many places are hardcoding the path fw/base/docs. Bug: 271563074 Test: presubmit (cherry picked from https://android-review.googlesource.com/q/commit:19fcec6c634c28c1a842d7164d94a46b3ef59942) Merged-In: I354f3cb62535f34d8819d158e53aa46ff26dc18a Change-Id: I354f3cb62535f34d8819d158e53aa46ff26dc18a
-
- May 04, 2023
-
-
Anton Hansson authored
Make a symlink from api/docs -> docs, since many places are hardcoding the path fw/base/docs. Bug: 271563074 Test: presubmit Change-Id: I354f3cb62535f34d8819d158e53aa46ff26dc18a
-
- Apr 07, 2023
-
-
Jihoon Kang authored
combined_apis.bootclasspath lists java_sdk_library modules that contribute to API surfaces. The api_contribution modules generated from these sdk_library modules (more specifically, from droidstubs module created from the sdk_library module) are used to generate full api surface java_api_library modules. Currently, the java_defaults modules are hardcoded, but this leads to a duplicate source of truth, adding difficulty in scaling the api domains that contributes to api surfaces. Generating the java_defaults dynamically in combined_apis instead of hardcoding resolves this problem, as well as the discrepancy in the list of api contributions in aosp and internal master. Test: m android_<API_SURFACE_NAME>_stubs_current.from-text Bug: 277378670 Change-Id: I987c2c1d89535d2347cf14d084c9c9a47e1db5e0
-
- Mar 14, 2023
-
-
Cole Faust authored
The trimmed api versions file was used to remove updatable apis from the lint database. This non-updatable lint database was used with modules that compile against module-lib or system-server sdks. However, now we have proper module-lib and system-server lint sdk databases, that don't have the updatable apis inherently, and we can remove the api versions trimmer. Bug: 193460475 Test: Presubmits Change-Id: Iac50c7647491ce3e4e85f75dd92d63c6ee1286b2
-
- Mar 08, 2023
-
-
Zi Wang authored
Test: m and api_test Change-Id: Id36892325ffd35004c4b88b69d52f9e1c6afe759
-
- Mar 07, 2023
- Mar 05, 2023
-
-
Zi Wang authored
4 merged_txts targets will be generated for a combined_api target Test: api_conversion_test.go and TH Bug: 267600251 Change-Id: I8ec4a1073538c394a7eef896d8f6e354986fa2cd
-
- Feb 15, 2023
-
-
Anton Hansson authored
api.go was made to create modules that were hard to create in Android.bp. However since we now have a filegroup with all the public srcjars this rule can very easily be expressed in Android.bp. Test: build before & after (no diff) Change-Id: I1d6c6bdcd6b75693de1e80ced13efd1d10202171
-
- Feb 07, 2023
-
-
ronish authored
Bug: 264516143 Change-Id: I972c9f4b88f7e7c1488f31f4db88265a356c5b9d
-
- Dec 07, 2022
-
-
Hassan Ali authored
Test: m Bug: 261723346 Change-Id: I25b84b8690f5bcb2efaac9cae7becfa6a9a7e22e
-
Seth Moore authored
This service is callable by system components like keystore2. This service calls into a mainline module API to do all the work for remote provisioning. Also include new OWNERS for the RemoteProvisioning implementation. Bug: 254112668 Test: Locally modify keystore to call the new service Change-Id: I6708d0b415798c78a4d66f279589d9def552ae78
-
- Dec 05, 2022
-
-
Nikita Ioffe authored
java_sdk_libraries can be part of non-updatable modules. Those modules might have a need to expose @TestApis that are only used in CTS tests. This change adds an ability for them to do so by introducing all-non-updatable-modules-test-stubs, and adding it to the android_test_stubs_current. Note that this change doesn't allow updatable modules to contribute to test API stubs, since the list of the modules that can contribute to test APIs stubs is hardcoded in the non_updatable_modules constant. Bug: 261004711 Test: m Change-Id: I9d17f49702bd64f5718b445f14b203c146bc6794
-