- Oct 05, 2023
-
-
Anton Hansson authored
This gives the docs build access to hidden symbols, which hides issues in the documentation. Baseline the newly discovered issues. Bug: 217734059 Test: m docs Change-Id: I357f5a341a170a37152d836861a330039a83886c
-
- Oct 04, 2023
-
-
Anton Hansson authored
This is a list of allowed issues. The intention is to trim down this list now that adding new issues is disallowed by the build. Bug: 217734059 Test: m docs Change-Id: I92b45730c175566fdb1e9632016fc96c1d9db412
-
Anton Hansson authored
This file is passed to doclava to baselining existing errors in the documentation. The contents of this baseline will be added in follow up changes (and will be different in AOSP and internal). Bug: 217734059 Test: m docs Change-Id: Ibb5571fd9e55fb4f04e79e015462812e01d1ca80
-
- Oct 03, 2023
-
-
Chris Parsons authored
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
-
Chris Parsons authored
Test: N/A Change-Id: I62ae9456a8f6a7d75acf874f4b3f555cc8a68362
-
- Sep 28, 2023
-
-
Anton Hansson authored
The non-updatable stub depends on a prebuilt platform stub, so that it can reference APIs defined in modules. Clean up the list of previously needed prebuilts that are no longer necessary, and add a comment about when it's suitable to add new prebuilts to this list. Test: m Change-Id: Idd5f57c774db4fc48abe4bab87c1b393079cae4d
-
- Sep 27, 2023
-
-
Chris Parsons authored
This fixes IDE (e.g. intellij) cross referencing for the frameworks/base/api soong plugin Fixes: 302149570 Test: Manual Change-Id: Idcf09756a43e8a65bc863a24fd3c4d572751fa5c
-
Mårten Kongstad authored
A previous CL added the auto-generated aconfig Flags.FLAG sources to metalava's input when generating core/api/current.txt, so metalava would expand the Flags.FLAG to their values. Do the same for the build targets for the other (system, module-lib, test) API signature files in core/api. Also update the API signature files accordingly. (cherry picked from commit 162ae2a1) Bug: 301859633 Test: m checkapi Merged-In: Id06d77e897ecfddeaa42f75cba4d6d37bee9d1b1 Change-Id: Id06d77e897ecfddeaa42f75cba4d6d37bee9d1b1
-
Mårten Kongstad authored
A previous CL added the auto-generated aconfig Flags.FLAG sources to metalava's input when generating core/api/current.txt, so metalava would expand the Flags.FLAG to their values. Do the same for the build targets for the other (system, module-lib, test) API signature files in core/api. Also update the API signature files accordingly. Bug: 301859633 Test: m checkapi Change-Id: Id06d77e897ecfddeaa42f75cba4d6d37bee9d1b1
-
Elis Elliott authored
Fixes: 291213387 Test: atest com.android.cts.devicepolicy.ManagedProfileTest Change-Id: Idcda372a9644f7860266506d94efa304bd6e38f6
-
- Sep 22, 2023
-
-
Mark White authored
Bug: 301574837 Test: presubmit and m framework-pdf Change-Id: Idb7e1b784be62419011563966bf4444c4ded0128
-
Jihoon Kang authored
All droidstubs created from sdk_library possess api_surface information, while the non-updatable droidstubs do not define this property. This change defines api_surface for non-updatable droidstubs so that the information can be used in java_api_library Test: m nothing Bug: 301321012 Change-Id: I6c08003bb8c366f331440e52bbde776999fd6c94
-
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
-
Jihoon Kang authored
As a process to enforce all api files in java_api_library to be passed via java_api_contributions, this change removes the remaining usages of api_files property in java_api_library and replace them with java_api_contributions Test: m --build-from-text-stub Bug: 300964421 Change-Id: Iabeebef2cd0ab7c49d60c7e79d484df3237fced4
-
Jihoon Kang authored
This change fixes the defaults definition so that it is more aligned to the definition of other android_*_stubs_current_contributions, which is created in frameworks/base/api/api.go Test: m nothing --build-from-text-stub Bug: 301318660 Change-Id: I056807c8c0bbdebda5b4ca9704f4f65e99b7f433
-
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
-