diff --git a/Android.bp b/Android.bp index 99e9ea306a4c7..753cefc38ed6e 100644 --- a/Android.bp +++ b/Android.bp @@ -25,18 +25,6 @@ // // READ ME: ######################################################## -// TODO(b/21090328): Remove filter after we are ready to. -soong_config_module_type { - name: "java_library_with_nonpublic_deps", - module_type: "java_library", - config_namespace: "ANDROID", - bool_variables: ["include_nonpublic_framework_api"], - properties: [ - "static_libs", - "libs", - ], -} - package { default_applicable_licenses: ["frameworks_base_license"], } @@ -151,7 +139,7 @@ filegroup { ], } -java_library_with_nonpublic_deps { +java_library { name: "framework-all", installable: false, static_libs: [ diff --git a/StubLibraries.bp b/StubLibraries.bp index 94f4374594ecd..fef95e813ec74 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -23,14 +23,6 @@ // and comparing them against the checked in API signature, and also checking compatibility // with the latest frozen API signature. -// TODO(b/21090328): Remove filter after we are ready to. -soong_config_module_type_import { - from: "frameworks/base/Android.bp", - module_types: [ - "java_library_with_nonpublic_deps", - ], -} - ///////////////////////////////////////////////////////////////////// // These modules provide source files for the stub libraries ///////////////////////////////////////////////////////////////////// @@ -232,7 +224,7 @@ java_defaults { visibility: ["//visibility:private"], } -java_library_with_nonpublic_deps { +java_library { name: "android-non-updatable.stubs", defaults: ["android-non-updatable_defaults_stubs_current"], srcs: [":api-stubs-docs-non-updatable"], @@ -242,7 +234,7 @@ java_library_with_nonpublic_deps { }, } -java_library_with_nonpublic_deps { +java_library { name: "android-non-updatable.stubs.system", defaults: ["android-non-updatable_defaults_stubs_current"], srcs: [":system-api-stubs-docs-non-updatable"], @@ -270,7 +262,7 @@ java_library { }, } -java_library_with_nonpublic_deps { +java_library { name: "android-non-updatable.stubs.test", defaults: ["android-non-updatable_defaults_stubs_current"], srcs: [":test-api-stubs-docs-non-updatable"], @@ -290,7 +282,7 @@ java_defaults { defaults_visibility: ["//frameworks/base/services"], } -java_library_with_nonpublic_deps { +java_library { name: "android_stubs_current", static_libs: [ "all-modules-public-stubs", @@ -300,7 +292,7 @@ java_library_with_nonpublic_deps { defaults: ["android.jar_defaults"], } -java_library_with_nonpublic_deps { +java_library { name: "android_system_stubs_current", static_libs: [ "all-modules-system-stubs", @@ -324,7 +316,7 @@ java_library_with_nonpublic_deps { ], } -java_library_with_nonpublic_deps { +java_library { name: "android_test_stubs_current", // Modules do not have test APIs, but we want to include their SystemApis, like we include // the SystemApi of framework-non-updatable-sources. diff --git a/api/Android.bp b/api/Android.bp index ffd5ecbca1775..89993e751cf08 100644 --- a/api/Android.bp +++ b/api/Android.bp @@ -129,9 +129,6 @@ combined_apis { "framework-wifi", "i18n.module.public.api", ], - conditional_bootclasspath: [ - "framework-auxiliary", - ], system_server_classpath: [ "service-media-s", "service-permission",