• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "device_amlogic_yukawa_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    //   SPDX-license-identifier-GPL-2.0
8    default_applicable_licenses: ["device_amlogic_yukawa_license"],
9}
10
11cc_binary {
12    name: "android.hardware.composer.hwc3-service.drm.meson",
13    defaults: [
14        "android.hardware.composer.hwc3-service.drm.defaults",
15    ],
16    srcs: [":drm_hwcomposer_platformmeson"],
17
18    relative_install_path: "hw",
19    vendor: true,
20
21    vintf_fragments: [":drm_hwcomposer_vintf_manifest"],
22    init_rc: [":gen-drm_hwcomposer_hwc3_init_rc_meson"],
23}
24
25genrule {
26    name: "gen-drm_hwcomposer_hwc3_init_rc_meson",
27    srcs: [":drm_hwcomposer_init_rc"],
28    out: ["hwc3-drm.meson.rc"],
29    cmd: "sed " +
30        // Append .meson to the executable name:
31        "-e 's%hwc3-service.drm%hwc3-service.drm.meson%' " +
32        "$(in) > $(out)",
33}
34