Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1580)

Unified Diff: doc/generate_doxygen.sh

Issue 1009223003: doc: Add documentation-generating scripts to the Crashpad tree (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Process crashpad_handler too Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « doc/generate_asciidoc.sh ('k') | doc/man_footer.ad » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: doc/generate_doxygen.sh
diff --git a/util/test/paths_test_data_root.txt b/doc/generate_doxygen.sh
old mode 100644
new mode 100755
similarity index 68%
copy from util/test/paths_test_data_root.txt
copy to doc/generate_doxygen.sh
index 1ddd26425372bc5608b37c4379d140827b850301..5da9cd31ded211b04740200ca621e71310e51700
--- a/util/test/paths_test_data_root.txt
+++ b/doc/generate_doxygen.sh
@@ -1,3 +1,5 @@
+#!/bin/sh
+
# Copyright 2015 The Crashpad Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,5 +14,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-This file is used by Paths::TestDataRoot() to locate the test data root. It
-is present at a known path from the test data root.
+set -e
+
+# Generating Doxygen documentation requires Doxygen, http://www.doxygen.org/.
+
+# Run from the Crashpad project root directory.
+cd "$(dirname "${0}")/.."
+
+output_dir=out/doc/doxygen
+
+rm -rf "${output_dir}"
+mkdir -p "${output_dir}"
+
+doxygen doc/crashpad.doxy
« no previous file with comments | « doc/generate_asciidoc.sh ('k') | doc/man_footer.ad » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698