Revert^2 "gn2bp: Remove `soong_namespace`"

dfec6a5352 [formerly 8484ec4dcd]

Change-Id: I490c09179ea6a20ca5fba83c314b552d360be688

Former-commit-id: 9c6801f81b
This commit is contained in:
Mohannad Farrag 2023-03-23 12:45:45 +00:00
parent dfec6a5352
commit 24d6c050d3
6 changed files with 10 additions and 14 deletions

View File

@ -38,6 +38,6 @@ android_test {
jarjar_rules: ":net-http-test-jarjar-rules",
compile_multilib: "both", // Include both the 32 and 64 bit versions
jni_libs: [
"//external/cronet:cronet_aml_components_cronet_android_cronet_tests__testing"
"cronet_aml_components_cronet_android_cronet_tests__testing"
],
}

View File

@ -36,11 +36,11 @@ java_genrule {
android_library {
name: "NetHttpTestsLibPreJarJar",
srcs: ["//external/cronet:cronet_aml_javatests_sources"],
srcs: [":cronet_aml_javatests_sources"],
sdk_version: "module_current",
min_sdk_version: "30",
static_libs: [
"//external/cronet:cronet_testserver_utils",
"cronet_testserver_utils",
"androidx.test.ext.junit",
"androidx.test.rules",
"junit",
@ -61,7 +61,7 @@ android_test {
static_libs: ["NetHttpTestsLibPreJarJar"],
jarjar_rules: ":net-http-test-jarjar-rules",
jni_libs: [
"//external/cronet:cronet_aml_components_cronet_android_cronet_tests__testing"
"cronet_aml_components_cronet_android_cronet_tests__testing"
],
test_suites: [
"general-tests",

View File

@ -67,7 +67,7 @@ apex_defaults {
apex_defaults {
name: "CronetInTetheringApexDefaultsEnabled",
jni_libs: [
"//external/cronet:cronet_aml_components_cronet_android_cronet",
"cronet_aml_components_cronet_android_cronet",
"//external/cronet/third_party/boringssl:libcrypto",
"//external/cronet/third_party/boringssl:libssl",
],
@ -75,7 +75,7 @@ apex_defaults {
riscv64: {
// TODO: remove this when there is a riscv64 libcronet
exclude_jni_libs: [
"//external/cronet:cronet_aml_components_cronet_android_cronet",
"cronet_aml_components_cronet_android_cronet",
"//external/cronet/third_party/boringssl:libcrypto",
"//external/cronet/third_party/boringssl:libssl",
],

View File

@ -75,12 +75,12 @@ java_defaults {
java_defaults {
name: "CronetJavaDefaultsEnabled",
srcs: ["//external/cronet:cronet_aml_api_sources"],
srcs: [":cronet_aml_api_sources"],
libs: [
"androidx.annotation_annotation",
],
impl_only_static_libs: [
"//external/cronet:cronet_aml_java",
"cronet_aml_java",
],
api_dir: "cronet_enabled/api",
}
@ -101,8 +101,8 @@ java_defaults {
java_defaults {
name: "CronetJavaPrejarjarDefaultsEnabled",
static_libs: [
"//external/cronet:cronet_aml_api_java",
"//external/cronet:cronet_aml_java"
"cronet_aml_api_java",
"cronet_aml_java"
],
}

View File

@ -14,8 +14,6 @@
//
// This file is automatically generated by gen_android_bp. Do not edit.
soong_namespace {}
build = ["Android.extras.bp"]
// The actual license can be found in Android.extras.bp

View File

@ -1921,8 +1921,6 @@ def main():
//
// This file is automatically generated by %s. Do not edit.
soong_namespace {}
build = ["Android.extras.bp"]
""" % (tool_name)
]