summaryrefslogtreecommitdiff
path: root/media/libjxl/src/tools/tool_version.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/libjxl/src/tools/tool_version.cc')
-rw-r--r--media/libjxl/src/tools/tool_version.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/media/libjxl/src/tools/tool_version.cc b/media/libjxl/src/tools/tool_version.cc
new file mode 100644
index 0000000000..152689dbe5
--- /dev/null
+++ b/media/libjxl/src/tools/tool_version.cc
@@ -0,0 +1,18 @@
+// Copyright (c) the JPEG XL Project Authors. All rights reserved.
+//
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+#include "tools/tool_version.h"
+
+#ifdef JPEGXL_VERSION_FROM_GIT
+#include "tool_version_git.h"
+#endif
+
+namespace jpegxl {
+namespace tools {
+
+const char* kJpegxlVersion = JPEGXL_VERSION;
+
+} // namespace tools
+} // namespace jpegxl