summaryrefslogtreecommitdiff
path: root/sysprop
diff options
context:
space:
mode:
author Silvia Vinyes <silviavinyes@google.com> 2022-09-14 14:00:10 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-09-14 14:00:10 +0000
commitd4b8f7eb0baee05c633753823cd8233deb2613d0 (patch)
treeabadda813202b07cf9e73ab76aa3df52ea8eebad /sysprop
parent9a2d40c79f604c8ad4f5caae83ab4d5380c38ddf (diff)
parent6a777b856f45384bdf5e30ab5dec212cafd47b8c (diff)
Merge "Revert "Delete SyspropMutator""
Diffstat (limited to 'sysprop')
-rw-r--r--sysprop/sysprop_library.go5
-rw-r--r--sysprop/sysprop_test.go10
2 files changed, 6 insertions, 9 deletions
diff --git a/sysprop/sysprop_library.go b/sysprop/sysprop_library.go
index 578dc2b7f..0785f89f0 100644
--- a/sysprop/sysprop_library.go
+++ b/sysprop/sysprop_library.go
@@ -365,10 +365,7 @@ func (m *syspropLibrary) ShouldSupportSdkVersion(ctx android.BaseModuleContext,
// sysprop_library creates schematized APIs from sysprop description files (.sysprop).
// Both Java and C++ modules can link against sysprop_library, and API stability check
// against latest APIs (see build/soong/scripts/freeze-sysprop-api-files.sh)
-// is performed. Note that the generated C++ module has its name prefixed with
-// `lib`, and it is this module that should be depended on from other C++
-// modules; i.e., if the sysprop_library module is named `foo`, C++ modules
-// should depend on `libfoo`.
+// is performed.
func syspropLibraryFactory() android.Module {
m := &syspropLibrary{}
diff --git a/sysprop/sysprop_test.go b/sysprop/sysprop_test.go
index 80b86e059..88ef61524 100644
--- a/sysprop/sysprop_test.go
+++ b/sysprop/sysprop_test.go
@@ -209,32 +209,32 @@ func TestSyspropLibrary(t *testing.T) {
cc_library {
name: "cc-client-platform",
srcs: ["d.cpp"],
- static_libs: ["libsysprop-platform"],
+ static_libs: ["sysprop-platform"],
}
cc_library_static {
name: "cc-client-platform-static",
srcs: ["d.cpp"],
- whole_static_libs: ["libsysprop-platform"],
+ whole_static_libs: ["sysprop-platform"],
}
cc_library {
name: "cc-client-product",
srcs: ["d.cpp"],
product_specific: true,
- static_libs: ["libsysprop-platform-on-product", "libsysprop-vendor-on-product"],
+ static_libs: ["sysprop-platform-on-product", "sysprop-vendor-on-product"],
}
cc_library {
name: "cc-client-vendor",
srcs: ["d.cpp"],
soc_specific: true,
- static_libs: ["libsysprop-platform", "libsysprop-vendor"],
+ static_libs: ["sysprop-platform", "sysprop-vendor"],
}
cc_binary_host {
name: "hostbin",
- static_libs: ["libsysprop-platform"],
+ static_libs: ["sysprop-platform"],
}
`)