Merge changes Idc77d018,I7dff0094
* changes: Enable java_api_library modules in TxtStubLibraries.bp Add missing dependency in create_mock_soong
This commit is contained in:
@@ -22,8 +22,6 @@ java_system_modules {
|
|||||||
libs: [
|
libs: [
|
||||||
"core-current-stubs-for-system-modules-no-annotations.from-text",
|
"core-current-stubs-for-system-modules-no-annotations.from-text",
|
||||||
],
|
],
|
||||||
// TODO: Enable after stub generation from .txt file is available
|
|
||||||
enabled: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
@@ -36,8 +34,6 @@ java_library {
|
|||||||
"core.current.stubs.from-text",
|
"core.current.stubs.from-text",
|
||||||
"core-lambda-stubs.from-text",
|
"core-lambda-stubs.from-text",
|
||||||
],
|
],
|
||||||
// TODO: Enable after stub generation from .txt file is available
|
|
||||||
enabled: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Same as core-module-lib-stubs-system-modules, but the stubs are generated from .txt files
|
// Same as core-module-lib-stubs-system-modules, but the stubs are generated from .txt files
|
||||||
@@ -47,8 +43,6 @@ java_system_modules {
|
|||||||
libs: [
|
libs: [
|
||||||
"core-module-lib-stubs-for-system-modules-no-annotations.from-text",
|
"core-module-lib-stubs-for-system-modules-no-annotations.from-text",
|
||||||
],
|
],
|
||||||
// TODO: Enable after stub generation from .txt file is available
|
|
||||||
enabled: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
@@ -61,8 +55,6 @@ java_library {
|
|||||||
"core.module_lib.stubs.from-text",
|
"core.module_lib.stubs.from-text",
|
||||||
"core-lambda-stubs.from-text",
|
"core-lambda-stubs.from-text",
|
||||||
],
|
],
|
||||||
// TODO: Enable after stub generation from .txt file is available
|
|
||||||
enabled: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
@@ -79,8 +71,6 @@ java_library {
|
|||||||
sdk_version: "none",
|
sdk_version: "none",
|
||||||
system_modules: "none",
|
system_modules: "none",
|
||||||
visibility: ["//visibility:private"],
|
visibility: ["//visibility:private"],
|
||||||
// TODO: Enable after stub generation from .txt file is available
|
|
||||||
enabled: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Same as legacy-core-platform-api-stubs-system-modules, but the stubs are generated from .txt files
|
// Same as legacy-core-platform-api-stubs-system-modules, but the stubs are generated from .txt files
|
||||||
@@ -91,8 +81,6 @@ java_system_modules {
|
|||||||
"legacy.core.platform.api.no.annotations.stubs.from-text",
|
"legacy.core.platform.api.no.annotations.stubs.from-text",
|
||||||
"core-lambda-stubs.from-text",
|
"core-lambda-stubs.from-text",
|
||||||
],
|
],
|
||||||
// TODO: Enable after stub generation from .txt file is available
|
|
||||||
enabled: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
@@ -108,8 +96,6 @@ java_library {
|
|||||||
"legacy.core.platform.api.stubs.from-text",
|
"legacy.core.platform.api.stubs.from-text",
|
||||||
],
|
],
|
||||||
patch_module: "java.base",
|
patch_module: "java.base",
|
||||||
// TODO: Enable after stub generation from .txt file is available
|
|
||||||
enabled: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Same as stable-core-platform-api-stubs-system-modules, but the stubs are generated from .txt files
|
// Same as stable-core-platform-api-stubs-system-modules, but the stubs are generated from .txt files
|
||||||
@@ -120,8 +106,6 @@ java_system_modules {
|
|||||||
"stable.core.platform.api.no.annotations.stubs.from-text",
|
"stable.core.platform.api.no.annotations.stubs.from-text",
|
||||||
"core-lambda-stubs.from-text",
|
"core-lambda-stubs.from-text",
|
||||||
],
|
],
|
||||||
// TODO: Enable after stub generation from .txt file is available
|
|
||||||
enabled: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
@@ -137,8 +121,6 @@ java_library {
|
|||||||
"stable.core.platform.api.stubs.from-text",
|
"stable.core.platform.api.stubs.from-text",
|
||||||
],
|
],
|
||||||
patch_module: "java.base",
|
patch_module: "java.base",
|
||||||
// TODO: Enable after stub generation from .txt file is available
|
|
||||||
enabled: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
java_api_library {
|
java_api_library {
|
||||||
@@ -151,6 +133,4 @@ java_api_library {
|
|||||||
// LambdaMetaFactory depends on CallSite etc. which is part of the Core API surface
|
// LambdaMetaFactory depends on CallSite etc. which is part of the Core API surface
|
||||||
"core.current.stubs.from-text",
|
"core.current.stubs.from-text",
|
||||||
],
|
],
|
||||||
// TODO: Enable after stub generation from .txt file is available
|
|
||||||
enabled: false,
|
|
||||||
}
|
}
|
||||||
|
@@ -99,6 +99,7 @@ function create_mock_soong {
|
|||||||
symlink_directory external/python
|
symlink_directory external/python
|
||||||
symlink_directory external/sqlite
|
symlink_directory external/sqlite
|
||||||
symlink_directory external/spdx-tools
|
symlink_directory external/spdx-tools
|
||||||
|
symlink_directory libcore
|
||||||
|
|
||||||
touch "$MOCK_TOP/Android.bp"
|
touch "$MOCK_TOP/Android.bp"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user