Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e375ba3 authored by Kiyoung Kim's avatar Kiyoung Kim
Browse files

Define vintf_fragments as modules

Define vintf_fragments as modules if the file is shared among multiple
modules to avoid any conflicts.

Bug: 322089980
Test: aosp_cf_x86_64_phone build succeeded
Change-Id: I39c257202100461e467e26e89da40866f6f90019
parent e5b5d6a8
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ cc_binary {
    ],
    srcs: ["Service.cpp"],
    init_rc: ["android.hardware.drm-service.clearkey.rc"],
    vintf_fragments: ["android.hardware.drm-service.clearkey.xml"],
    vintf_fragment_modules: ["android.hardware.drm-service.clearkey.xml_vintf"],
}

cc_binary {
@@ -97,7 +97,13 @@ cc_binary {
    overrides: ["android.hardware.drm-service.clearkey"],
    srcs: ["ServiceLazy.cpp"],
    init_rc: ["android.hardware.drm-service-lazy.clearkey.rc"],
    vintf_fragments: ["android.hardware.drm-service.clearkey.xml"],
    vintf_fragment_modules: ["android.hardware.drm-service.clearkey.xml_vintf"],
}

vintf_fragment {
    name: "android.hardware.drm-service.clearkey.xml_vintf",
    src: "android.hardware.drm-service.clearkey.xml",
    vendor: true,
}

cc_binary {