diff options
Diffstat (limited to 'chromium/third_party/dav1d/libdav1d/doc')
-rw-r--r-- | chromium/third_party/dav1d/libdav1d/doc/Doxyfile.in.in | 23 | ||||
-rw-r--r-- | chromium/third_party/dav1d/libdav1d/doc/meson.build | 15 |
2 files changed, 34 insertions, 4 deletions
diff --git a/chromium/third_party/dav1d/libdav1d/doc/Doxyfile.in.in b/chromium/third_party/dav1d/libdav1d/doc/Doxyfile.in.in new file mode 100644 index 00000000000..2f54f9a34a6 --- /dev/null +++ b/chromium/third_party/dav1d/libdav1d/doc/Doxyfile.in.in @@ -0,0 +1,23 @@ +PROJECT_NAME = dav1d +PROJECT_NUMBER = \@VCS_TAG\@ +PROJECT_BRIEF = dav1d is an AV1 decoder +OUTPUT_DIRECTORY = @DOXYGEN_OUTPUT@ +STRIP_FROM_PATH = @DOXYGEN_STRIP@ +OUTPUT_LANGUAGE = English +TAB_SIZE = 4 +EXTRACT_ALL = YES +OPTIMIZE_OUTPUT_FOR_C = YES +DOXYFILE_ENCODING = UTF-8 +TYPEDEF_HIDES_STRUCT = YES +HAVE_DOT = YES + +QUIET = YES +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_AS_ERROR = FAIL_ON_WARNINGS + +INPUT = @DOXYGEN_INPUT@ +FILE_PATTERNS = *.h + +GENERATE_HTML = YES +GENERATE_LATEX = NO diff --git a/chromium/third_party/dav1d/libdav1d/doc/meson.build b/chromium/third_party/dav1d/libdav1d/doc/meson.build index 363429f3712..580ee7b9cae 100644 --- a/chromium/third_party/dav1d/libdav1d/doc/meson.build +++ b/chromium/third_party/dav1d/libdav1d/doc/meson.build @@ -1,4 +1,4 @@ -# Copyright © 2018-2021, VideoLAN and dav1d authors +# Copyright © 2018-2022, VideoLAN and dav1d authors # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -33,12 +33,19 @@ conf_data = configuration_data() conf_data.set('DOXYGEN_INPUT', dav1d_src_root / 'include/dav1d') conf_data.set('DOXYGEN_STRIP', dav1d_src_root / 'include') conf_data.set('DOXYGEN_OUTPUT', meson.current_build_dir()) -doxyfile = configure_file(input: 'Doxyfile.in', - output: 'Doxyfile', +doxyfile = configure_file(input: 'Doxyfile.in.in', + output: 'Doxyfile.in', configuration: conf_data) +doxyfile_rev_target = vcs_tag(command: [ + 'git', '--git-dir', dav1d_git_dir, 'describe', '--long', '--always' + ], + input: doxyfile, + output: 'Doxyfile' +) + custom_target('doc', build_by_default: false, - command: [doxygen, doxyfile], + command: [doxygen, doxyfile_rev_target], output: ['html'] ) |