Skip to content
Snippets Groups Projects
  1. Oct 05, 2023
    • Anton Hansson's avatar
      Don't link the framework impl in docs build · 7e491b25
      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
      7e491b25
  2. Oct 04, 2023
    • Anton Hansson's avatar
      Add baseline for existing docs failures · f193009d
      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
      f193009d
    • Anton Hansson's avatar
      Specify lint-baseline for docs builds · 0a71550e
      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
      0a71550e
  3. Oct 03, 2023
  4. Sep 28, 2023
    • Anton Hansson's avatar
      Clean up prebuilt stub deps & add comment · 8b49d0ec
      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
      8b49d0ec
  5. Sep 27, 2023
    • Chris Parsons's avatar
      Add go module and workspace files · dceb11e3
      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
      dceb11e3
    • Mårten Kongstad's avatar
      Expand @FlaggedApi(Flags.FLAG) in *all* API signature files · 85f6bee5
      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
      85f6bee5
    • Mårten Kongstad's avatar
      Expand @FlaggedApi(Flags.FLAG) in *all* API signature files · 162ae2a1
      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
      162ae2a1
    • Elis Elliott's avatar
      Remove current-api-xml · fb58df82
      Elis Elliott authored
      Fixes: 291213387
      
      Test: atest com.android.cts.devicepolicy.ManagedProfileTest
      Change-Id: Idcda372a9644f7860266506d94efa304bd6e38f6
      fb58df82
  6. Sep 22, 2023
  7. Sep 21, 2023
  8. Sep 20, 2023
  9. Sep 15, 2023
    • Priyanka Advani's avatar
      Revert "Expand @FlaggedApi(FLAG) constants in API signature files" · 157d0c18
      Priyanka Advani authored
      This reverts commit 35eb10d9.
      
      Reason for revert: Probable culprit for b/300626881
      
      Change-Id: I5f1ca00ed83d4c41659bbdeb04c4ea296f08fa71
      157d0c18
    • Mårten Kongstad's avatar
      Expand @FlaggedApi(FLAG) constants in API signature files · 35eb10d9
      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
      35eb10d9
  10. Sep 14, 2023
    • Cole Faust's avatar
      Remove --no-banner · 95aef061
      Cole Faust authored
      This flag was deprecated in metalava.
      
      Test: presubmits
      Change-Id: I0f9001a56104f157272c0d6a05de040305f3e7f1
      95aef061
  11. Sep 13, 2023
  12. Sep 08, 2023
  13. Sep 07, 2023
  14. Aug 23, 2023
  15. Aug 17, 2023
    • Jihoon Kang's avatar
      Revert "Revert "Move java_api_library modules to f/b/api/StubLib..." · 21f8b0e9
      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
      21f8b0e9
    • Jihoon Kang's avatar
      Revert "Move java_api_library modules to f/b/api/StubLibraries.bp" · a2cd198b
      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
      a2cd198b
  16. Aug 16, 2023
  17. Aug 15, 2023
    • Harshit Mahajan's avatar
      [CrashRecovery] Add module lib to Android SDK · e0168afe
      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
      e0168afe
    • Mark White's avatar
      SdkTestCore for non-updatable modules · b03c1fcd
      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
      b03c1fcd
  18. Aug 14, 2023
    • Paul Duffin's avatar
      Use new merge-signatures metalava subcommand · f3b1fc4e
      Paul Duffin authored
      Bug: 295737759
      Test: ./gradlew
      Change-Id: Ied167094b04492ca49ea2b0e9d7fd91d534e483d
      f3b1fc4e
    • Jihoon Kang's avatar
      Define previous_api in full api surface stubs java_api_library defaults · 471a05ba
      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
      471a05ba
  19. Jul 11, 2023
  20. Jun 29, 2023
    • Jihoon Kang's avatar
      Rename dep_api_srcs property · 12cddb32
      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
      12cddb32
  21. Jun 15, 2023
    • Jihoon Kang's avatar
      Redefine android-non-updatable.stubs.* modules definition · 491c7081
      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
      491c7081
  22. Jun 02, 2023
    • Jihoon Kang's avatar
      Create full API surface java_library in combined_apis · 1453baa8
      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
      1453baa8
  23. May 17, 2023
    • Jihoon Kang's avatar
      Add java_api_library equivalence of android-non-updatable.stubs · 0c101db5
      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
      0c101db5
Loading