summaryrefslogtreecommitdiff
path: root/src/android/cros
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/cros')
-rw-r--r--src/android/cros/meson.build11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/android/cros/meson.build b/src/android/cros/meson.build
index c2bda708..35995dd8 100644
--- a/src/android/cros/meson.build
+++ b/src/android/cros/meson.build
@@ -4,15 +4,10 @@ if get_option('android_platform') != 'cros'
subdir_done()
endif
-cros_hal_info_sources = files([
+android_hal_sources += files([
'camera3_hal.cpp',
])
-cros_hal_info = static_library('cros_hal_info',
- cros_hal_info_sources,
- dependencies : dependency('libcros_camera'),
- c_args : '-Wno-shadow',
- include_directories : [android_includes,
- libcamera_includes])
+android_deps += dependency('libcros_camera')
-android_objects += cros_hal_info.extract_objects('camera3_hal.cpp')
+android_cpp_args += ['-DOS_CHROMEOS']