| soong_config_module_type { |
| name: "samsung_camera3", |
| module_type: "cc_defaults", |
| config_namespace: "samsungCameraVars", |
| bool_variables: [ |
| "needs_sec_get_cam_pos_v1", |
| "needs_sec_get_cam_pos_v2", |
| "needs_sec_reserved_field", |
| "usage_64bit", |
| ], |
| properties: ["cflags"], |
| } |
| |
| samsung_camera3 { |
| name: "samsung_camera3_defaults", |
| soong_config_variables: { |
| needs_sec_get_cam_pos_v1: { |
| cflags: ["-DCAMERA_NEEDS_SEC_GET_CAM_POS_V1"], |
| }, |
| needs_sec_get_cam_pos_v2: { |
| cflags: ["-DCAMERA_NEEDS_SEC_GET_CAM_POS_V2"], |
| }, |
| needs_sec_reserved_field: { |
| cflags: ["-DCAMERA_NEEDS_SEC_RESERVED_FIELD"], |
| }, |
| usage_64bit: { |
| cflags: ["-DCAMERA_64BIT_USAGE"], |
| }, |
| }, |
| } |
| |
| cc_library_headers { |
| name: "libhardware_headers.camera3_samsung", |
| export_include_dirs: ["include"], |
| vendor_available: true, |
| } |