• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_team: "trendy_team_virtual_device_framework",
3}
4
5soong_config_module_type {
6    name: "virtual_device_build_flags_cc_defaults",
7    module_type: "cc_defaults",
8    config_namespace: "vdm",
9    bool_variables: [
10        "virtual_camera_service_enabled",
11    ],
12    properties: [
13        "cflags",
14    ],
15}
16
17soong_config_bool_variable {
18    name: "virtual_camera_service_enabled",
19}
20
21virtual_device_build_flags_cc_defaults {
22    name: "virtual_device_build_flags_defaults",
23    soong_config_variables: {
24        virtual_camera_service_enabled: {
25            cflags: ["-DVIRTUAL_CAMERA_SERVICE_ENABLED=1"],
26        },
27    },
28}
29
30cc_library_static {
31    name: "libvirtualdevicebuildflags",
32    srcs: [
33        "android_companion_virtualdevice_build_flags.cc",
34    ],
35    export_include_dirs: ["."],
36    defaults: ["virtual_device_build_flags_defaults"],
37}
38