Convert vintf_fragments into vintf_fragment module(s)
Convert vintf_fragments into vintf_fragment module(s) so those manifests
can be handled in the same way between KATI defined system image and
Soong defined system image.
Bug: 322089980
Test: aosp_cf_x86_64_phone build succeeded
Change-Id: I389fd0f3bcb372fbd2ff9062b5d99384f08cb115
diff --git a/services/stats/Android.bp b/services/stats/Android.bp
index 6b99627..f698515 100644
--- a/services/stats/Android.bp
+++ b/services/stats/Android.bp
@@ -7,6 +7,11 @@
default_applicable_licenses: ["frameworks_native_license"],
}
+vintf_fragment {
+ name: "android.frameworks.stats-service.xml",
+ src: "android.frameworks.stats-service.xml",
+}
+
cc_library_shared {
name: "libstatshidl",
srcs: [
@@ -38,7 +43,7 @@
local_include_dirs: [
"include/stats",
],
- vintf_fragments: [
+ vintf_fragment_modules: [
"android.frameworks.stats-service.xml",
],
}