Merge "Redefine android-non-updatable.stubs.* modules definition"
This commit is contained in:
@@ -217,13 +217,17 @@ java_defaults {
|
|||||||
}
|
}
|
||||||
|
|
||||||
java_defaults {
|
java_defaults {
|
||||||
name: "android-non-updatable_defaults_stubs_current",
|
name: "android-non-updatable_defaults",
|
||||||
libs: ["stub-annotations"],
|
|
||||||
static_libs: ["framework-res-package-jar"], // Export package of framework-res
|
|
||||||
sdk_version: "none",
|
sdk_version: "none",
|
||||||
system_modules: "none",
|
system_modules: "none",
|
||||||
java_version: "1.8",
|
java_version: "1.8",
|
||||||
compile_dex: true,
|
compile_dex: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
java_defaults {
|
||||||
|
name: "android-non-updatable_from_source_defaults",
|
||||||
|
libs: ["stub-annotations"],
|
||||||
|
static_libs: ["framework-res-package-jar"], // Export package of framework-res
|
||||||
dist: {
|
dist: {
|
||||||
targets: ["sdk"],
|
targets: ["sdk"],
|
||||||
tag: ".jar",
|
tag: ".jar",
|
||||||
@@ -233,7 +237,82 @@ java_defaults {
|
|||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
name: "android-non-updatable.stubs",
|
name: "android-non-updatable.stubs",
|
||||||
defaults: ["android-non-updatable_defaults_stubs_current"],
|
defaults: ["android-non-updatable_defaults"],
|
||||||
|
static_libs: [
|
||||||
|
"android-non-updatable.stubs.from-source",
|
||||||
|
],
|
||||||
|
product_variables: {
|
||||||
|
build_from_text_stub: {
|
||||||
|
static_libs: [
|
||||||
|
"android-non-updatable.stubs.from-text",
|
||||||
|
],
|
||||||
|
exclude_static_libs: [
|
||||||
|
"android-non-updatable.stubs.from-source",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
java_library {
|
||||||
|
name: "android-non-updatable.stubs.system",
|
||||||
|
defaults: ["android-non-updatable_defaults"],
|
||||||
|
static_libs: [
|
||||||
|
"android-non-updatable.stubs.system.from-source",
|
||||||
|
],
|
||||||
|
product_variables: {
|
||||||
|
build_from_text_stub: {
|
||||||
|
static_libs: [
|
||||||
|
"android-non-updatable.stubs.system.from-text",
|
||||||
|
],
|
||||||
|
exclude_static_libs: [
|
||||||
|
"android-non-updatable.stubs.system.from-source",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
java_library {
|
||||||
|
name: "android-non-updatable.stubs.module_lib",
|
||||||
|
defaults: ["android-non-updatable_defaults"],
|
||||||
|
static_libs: [
|
||||||
|
"android-non-updatable.stubs.module_lib.from-source",
|
||||||
|
],
|
||||||
|
product_variables: {
|
||||||
|
build_from_text_stub: {
|
||||||
|
static_libs: [
|
||||||
|
"android-non-updatable.stubs.module_lib.from-text",
|
||||||
|
],
|
||||||
|
exclude_static_libs: [
|
||||||
|
"android-non-updatable.stubs.module_lib.from-source",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
java_library {
|
||||||
|
name: "android-non-updatable.stubs.test",
|
||||||
|
defaults: ["android-non-updatable_defaults"],
|
||||||
|
static_libs: [
|
||||||
|
"android-non-updatable.stubs.test.from-source",
|
||||||
|
],
|
||||||
|
product_variables: {
|
||||||
|
build_from_text_stub: {
|
||||||
|
static_libs: [
|
||||||
|
"android-non-updatable.stubs.test.from-text",
|
||||||
|
],
|
||||||
|
exclude_static_libs: [
|
||||||
|
"android-non-updatable.stubs.test.from-source",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
java_library {
|
||||||
|
name: "android-non-updatable.stubs.from-source",
|
||||||
|
defaults: [
|
||||||
|
"android-non-updatable_defaults",
|
||||||
|
"android-non-updatable_from_source_defaults",
|
||||||
|
],
|
||||||
srcs: [":api-stubs-docs-non-updatable"],
|
srcs: [":api-stubs-docs-non-updatable"],
|
||||||
libs: ["all-modules-public-stubs"],
|
libs: ["all-modules-public-stubs"],
|
||||||
dist: {
|
dist: {
|
||||||
@@ -242,8 +321,11 @@ java_library {
|
|||||||
}
|
}
|
||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
name: "android-non-updatable.stubs.system",
|
name: "android-non-updatable.stubs.system.from-source",
|
||||||
defaults: ["android-non-updatable_defaults_stubs_current"],
|
defaults: [
|
||||||
|
"android-non-updatable_defaults",
|
||||||
|
"android-non-updatable_from_source_defaults",
|
||||||
|
],
|
||||||
srcs: [":system-api-stubs-docs-non-updatable"],
|
srcs: [":system-api-stubs-docs-non-updatable"],
|
||||||
libs: ["all-modules-system-stubs"],
|
libs: ["all-modules-system-stubs"],
|
||||||
dist: {
|
dist: {
|
||||||
@@ -252,8 +334,11 @@ java_library {
|
|||||||
}
|
}
|
||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
name: "android-non-updatable.stubs.module_lib",
|
name: "android-non-updatable.stubs.module_lib.from-source",
|
||||||
defaults: ["android-non-updatable_defaults_stubs_current"],
|
defaults: [
|
||||||
|
"android-non-updatable_defaults",
|
||||||
|
"android-non-updatable_from_source_defaults",
|
||||||
|
],
|
||||||
srcs: [":module-lib-api-stubs-docs-non-updatable"],
|
srcs: [":module-lib-api-stubs-docs-non-updatable"],
|
||||||
libs: [
|
libs: [
|
||||||
"sdk_module-lib_current_framework-tethering",
|
"sdk_module-lib_current_framework-tethering",
|
||||||
@@ -270,8 +355,11 @@ java_library {
|
|||||||
}
|
}
|
||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
name: "android-non-updatable.stubs.test",
|
name: "android-non-updatable.stubs.test.from-source",
|
||||||
defaults: ["android-non-updatable_defaults_stubs_current"],
|
defaults: [
|
||||||
|
"android-non-updatable_defaults",
|
||||||
|
"android-non-updatable_from_source_defaults",
|
||||||
|
],
|
||||||
srcs: [":test-api-stubs-docs-non-updatable"],
|
srcs: [":test-api-stubs-docs-non-updatable"],
|
||||||
libs: ["all-modules-system-stubs"],
|
libs: ["all-modules-system-stubs"],
|
||||||
dist: {
|
dist: {
|
||||||
@@ -280,7 +368,7 @@ java_library {
|
|||||||
}
|
}
|
||||||
|
|
||||||
java_defaults {
|
java_defaults {
|
||||||
name: "non_updatable_api_library_defaults",
|
name: "android-non-updatable_from_text_defaults",
|
||||||
static_libs: ["framework-res-package-jar"],
|
static_libs: ["framework-res-package-jar"],
|
||||||
libs: ["stub-annotations"],
|
libs: ["stub-annotations"],
|
||||||
}
|
}
|
||||||
@@ -291,7 +379,7 @@ java_api_library {
|
|||||||
api_files: [
|
api_files: [
|
||||||
":non-updatable-current.txt",
|
":non-updatable-current.txt",
|
||||||
],
|
],
|
||||||
defaults: ["non_updatable_api_library_defaults"],
|
defaults: ["android-non-updatable_from_text_defaults"],
|
||||||
dep_api_srcs: "android_stubs_current.from-text",
|
dep_api_srcs: "android_stubs_current.from-text",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -302,7 +390,7 @@ java_api_library {
|
|||||||
":non-updatable-current.txt",
|
":non-updatable-current.txt",
|
||||||
":non-updatable-system-current.txt",
|
":non-updatable-system-current.txt",
|
||||||
],
|
],
|
||||||
defaults: ["non_updatable_api_library_defaults"],
|
defaults: ["android-non-updatable_from_text_defaults"],
|
||||||
dep_api_srcs: "android_system_stubs_current.from-text",
|
dep_api_srcs: "android_system_stubs_current.from-text",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -314,7 +402,7 @@ java_api_library {
|
|||||||
":non-updatable-system-current.txt",
|
":non-updatable-system-current.txt",
|
||||||
":non-updatable-test-current.txt",
|
":non-updatable-test-current.txt",
|
||||||
],
|
],
|
||||||
defaults: ["non_updatable_api_library_defaults"],
|
defaults: ["android-non-updatable_from_text_defaults"],
|
||||||
dep_api_srcs: "android_test_stubs_current.from-text",
|
dep_api_srcs: "android_test_stubs_current.from-text",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -326,7 +414,7 @@ java_api_library {
|
|||||||
":non-updatable-system-current.txt",
|
":non-updatable-system-current.txt",
|
||||||
":non-updatable-module-lib-current.txt",
|
":non-updatable-module-lib-current.txt",
|
||||||
],
|
],
|
||||||
defaults: ["non_updatable_api_library_defaults"],
|
defaults: ["android-non-updatable_from_text_defaults"],
|
||||||
dep_api_srcs: "android_module_lib_stubs_current_full.from-text",
|
dep_api_srcs: "android_module_lib_stubs_current_full.from-text",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user