Skip to content

Commit

Permalink
Switch to standard naming scheme
Browse files Browse the repository at this point in the history
Removes use of the special framework-modules naming scheme.

Bug: 155164730
Test: m java
Exempt-From-Owner-Approval: Build cleanup.
Change-Id: I3b78fcbcacc3df787e171d6eedeef1e51b087615
Merged-In: I0c31e2183353dfb5bd49f04f3455cb7b10be6866
(cherry picked from 8b864fb45ce79051437f13c2a19510718ea3b7aa)
  • Loading branch information
paulduffin committed Jun 2, 2020
1 parent 4c65d2c commit abebc6a
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 50 deletions.
14 changes: 7 additions & 7 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,13 @@ filegroup {
java_library {
name: "framework-updatable-stubs-module_libs_api",
static_libs: [
"framework-media-stubs-module_libs_api",
"framework-mediaprovider-stubs-module_libs_api",
"framework-permission-stubs-module_libs_api",
"framework-sdkextensions-stubs-module_libs_api",
"framework-statsd-stubs-module_libs_api",
"framework-tethering-stubs-module_libs_api",
"framework-wifi-stubs-module_libs_api",
"framework-media.stubs.module_lib",
"framework-mediaprovider.stubs.module_lib",
"framework-permission.stubs.module_lib",
"framework-sdkextensions.stubs.module_lib",
"framework-statsd.stubs.module_lib",
"framework-tethering.stubs.module_lib",
"framework-wifi.stubs.module_lib",
],
sdk_version: "module_current",
visibility: [":__pkg__"],
Expand Down
28 changes: 14 additions & 14 deletions StubLibraries.bp
Original file line number Diff line number Diff line change
Expand Up @@ -329,13 +329,13 @@ java_library_static {
srcs: [ ":api-stubs-docs-non-updatable" ],
static_libs: [
"conscrypt.module.public.api.stubs",
"framework-media-stubs-publicapi",
"framework-mediaprovider-stubs-publicapi",
"framework-permission-stubs-publicapi",
"framework-sdkextensions-stubs-publicapi",
"framework-statsd-stubs-publicapi",
"framework-tethering-stubs-publicapi",
"framework-wifi-stubs-publicapi",
"framework-media.stubs",
"framework-mediaprovider.stubs",
"framework-permission.stubs",
"framework-sdkextensions.stubs",
"framework-statsd.stubs",
"framework-tethering.stubs",
"framework-wifi.stubs",
"private-stub-annotations-jar",
],
defaults: ["android_defaults_stubs_current"],
Expand All @@ -359,13 +359,13 @@ java_library_static {
srcs: [ ":system-api-stubs-docs-non-updatable" ],
static_libs: [
"conscrypt.module.public.api.stubs",
"framework-media-stubs-systemapi",
"framework-mediaprovider-stubs-systemapi",
"framework-permission-stubs-systemapi",
"framework-sdkextensions-stubs-systemapi",
"framework-statsd-stubs-systemapi",
"framework-tethering-stubs-systemapi",
"framework-wifi-stubs-systemapi",
"framework-media.stubs.system",
"framework-mediaprovider.stubs.system",
"framework-permission.stubs.system",
"framework-sdkextensions.stubs.system",
"framework-statsd.stubs.system",
"framework-tethering.stubs.system",
"framework-wifi.stubs.system",
"private-stub-annotations-jar",
],
defaults: ["android_defaults_stubs_current"],
Expand Down
5 changes: 0 additions & 5 deletions apex/media/framework/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@ java_sdk_library {
":updatable-media-srcs",
],

// TODO(b/155480189) - Remove naming_scheme once references have been resolved.
// Temporary java_sdk_library component naming scheme to use to ease the transition from separate
// modules to java_sdk_library.
naming_scheme: "framework-modules",

libs: [
"framework_media_annotation",
],
Expand Down
5 changes: 0 additions & 5 deletions apex/permission/framework/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ java_sdk_library {
":framework-permission-sources",
],

// TODO(b/155480189) - Remove naming_scheme once references have been resolved.
// Temporary java_sdk_library component naming scheme to use to ease the transition from separate
// modules to java_sdk_library.
naming_scheme: "framework-modules",

apex_available: [
"com.android.permission",
"test_com.android.permission",
Expand Down
5 changes: 0 additions & 5 deletions apex/statsd/framework/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ java_sdk_library {
defaults: ["framework-module-defaults"],
installable: true,

// TODO(b/155480189) - Remove naming_scheme once references have been resolved.
// Temporary java_sdk_library component naming scheme to use to ease the transition from separate
// modules to java_sdk_library.
naming_scheme: "framework-modules",

srcs: [
":framework-statsd-sources",
],
Expand Down
2 changes: 1 addition & 1 deletion packages/Tethering/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ java_defaults {
],
libs: [
"framework-tethering.impl",
"framework-wifi-stubs-systemapi",
"framework-wifi",
"unsupportedappusage",
],
plugins: ["java_api_finder"],
Expand Down
5 changes: 0 additions & 5 deletions packages/Tethering/common/TetheringLib/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ java_sdk_library {
":framework-tethering-srcs",
],

// TODO(b/155480189) - Remove naming_scheme once references have been resolved.
// Temporary java_sdk_library component naming scheme to use to ease the transition from separate
// modules to java_sdk_library.
naming_scheme: "framework-modules",

jarjar_rules: "jarjar-rules.txt",
installable: true,

Expand Down
2 changes: 1 addition & 1 deletion packages/Tethering/tests/unit/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ java_defaults {
"framework-minus-apex",
"framework-res",
"framework-tethering.impl",
"framework-wifi-stubs-module_libs_api",
"framework-wifi.stubs.module_lib",
],
jni_libs: [
// For mockito extended
Expand Down
2 changes: 1 addition & 1 deletion services/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ java_library {

libs: [
"android.hidl.manager-V1.0-java",
"framework-tethering-stubs-module_libs_api",
"framework-tethering.stubs.module_lib",
],

// Uncomment to enable output of certain warnings (deprecated, unchecked)
Expand Down
2 changes: 1 addition & 1 deletion services/core/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ java_library_static {
"android.hardware.vibrator-java",
"android.net.ipsec.ike.stubs.module_lib",
"app-compat-annotations",
"framework-tethering-stubs-module_libs_api",
"framework-tethering.stubs.module_lib",
"service-permission-stubs",
],

Expand Down
5 changes: 0 additions & 5 deletions wifi/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,6 @@ java_sdk_library {
":framework-wifi-util-lib-aidls",
],

// TODO(b/155480189) - Remove naming_scheme once references have been resolved.
// Temporary java_sdk_library component naming scheme to use to ease the transition from separate
// modules to java_sdk_library.
naming_scheme: "framework-modules",

jarjar_rules: ":wifi-jarjar-rules",

installable: true,
Expand Down

0 comments on commit abebc6a

Please sign in to comment.