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

Unified Diff: chrome/common/chrome_switches.cc

Issue 10819003: Upstreaming ChromeBrowserMainAndroid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« chrome/chrome_browser.gypi ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 95387a0b70e7c53862536c66453fffed21a6fde7..93de4bac077c8c674506726d47efc057cea17025 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1336,6 +1336,21 @@ const char kWindowSize[] = "window-size";
const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver";
#if defined(OS_ANDROID)
+// When using gcov, the following flags let you specify the output directory
+// and format for the run-time data that is produced on the device.
+//
+// gcov-prefix: The prefix directory to add to gcov data output.
+// gcov-prefix-strip: The number of directory components to strip.
+//
+// For example, if you built your source in "/usr/local/chrome/src", then
+// gcov will want to create an output file like
+// /usr/local/chrome/src/out/Release/obj.target/base/base/foo.gcda
+// If you use: --gcov-prefix="/mnt/sdcard/gcov" --gcov-prefix-strip=4
+// then gcov will create an output file like:
+// /mnt/sdcard/gcov/out/Release/obj.target/base/base/foo.gcda
+const char kGcovPrefix[] = "gcov-prefix";
+const char kGcovPrefixStrip[] = "gcov-prefix-strip";
+
// Use the tablet specific UI components when available.
const char kTabletUI[] = "tablet-ui";
#endif
« chrome/chrome_browser.gypi ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698