summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/meson.build1
-rw-r--r--include/libcamera/internal/source_paths.h19
2 files changed, 20 insertions, 0 deletions
diff --git a/include/libcamera/internal/meson.build b/include/libcamera/internal/meson.build
index f019cfb3..205b36a9 100644
--- a/include/libcamera/internal/meson.build
+++ b/include/libcamera/internal/meson.build
@@ -39,6 +39,7 @@ libcamera_internal_headers = files([
'process.h',
'pub_key.h',
'semaphore.h',
+ 'source_paths.h',
'sysfs.h',
'thread.h',
'timer.h',
diff --git a/include/libcamera/internal/source_paths.h b/include/libcamera/internal/source_paths.h
new file mode 100644
index 00000000..111c25b0
--- /dev/null
+++ b/include/libcamera/internal/source_paths.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2021, Google Inc.
+ *
+ * source_paths.h - Identify libcamera source and build paths
+ */
+#ifndef __LIBCAMERA_INTERNAL_SOURCE_PATHS_H__
+#define __LIBCAMERA_INTERNAL_SOURCE_PATHS_H__
+
+#include <string>
+
+namespace libcamera::utils {
+
+std::string libcameraBuildPath();
+std::string libcameraSourcePath();
+
+} /* namespace libcamera::utils */
+
+#endif /* __LIBCAMERA_INTERNAL_SOURCE_PATHS_H__ */