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

Unified Diff: components/browser_watcher.gypi

Issue 717223002: Browser watcher end-end-to-end . (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/lkgr
Patch Set: Address Erik's comments. Created 6 years, 1 month 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 | « chrome/common/chrome_constants.cc ('k') | components/browser_watcher/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_watcher.gypi
diff --git a/components/browser_watcher.gypi b/components/browser_watcher.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..c344281e48a997463747203a14befdeec3584ad6
--- /dev/null
+++ b/components/browser_watcher.gypi
@@ -0,0 +1,59 @@
+# Copyright (c) 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'conditions': [
+ ['OS=="win"', {
+ 'targets': [
+ {
+ # Chrome watcher is a standalone DLL that's used to monitor the
+ # browser's exit code to determine the cause of exit.
+ # It's hosted by chrome.exe in when it's passed --type=watcher
+ 'target_name': 'browser_watcher',
+ # The DLL is named "chrome_watcher.dll".
+ 'product_name': 'chrome_watcher',
+ 'type': 'loadable_module',
+ 'sources': [
+ 'browser_watcher/watcher_main_win.cc',
+ 'browser_watcher/watcher_main_win.h',
+ ],
+ 'dependencies': [
+ 'browser_watcher_lib',
+ '../base/base.gyp:base',
+ '../chrome/common_constants.gyp:common_constants',
+ ],
+ },
+ {
+ 'target_name': 'browser_watcher_lib',
+ 'type': 'static_library',
+ 'sources': [
+ 'browser_watcher/watcher_win.cc',
+ 'browser_watcher/watcher_win.h',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ],
+ },
+ {
+ # Users of the watcher link this target.
+ 'target_name': 'browser_watcher_client',
+ 'type': 'static_library',
+ 'sources': [
+ 'browser_watcher/watcher_client_win.cc',
+ 'browser_watcher/watcher_client_win.h',
+ 'browser_watcher/watcher_main_api_win.cc',
+ 'browser_watcher/watcher_main_api_win.h',
+ 'browser_watcher/watcher_metrics_provider_win.cc',
+ 'browser_watcher/watcher_metrics_provider_win.h',
+ ],
+ 'dependencies': [
+ 'browser_watcher',
+ '../base/base.gyp:base',
+ ],
+ },
+ ],
+ }
+ ],
+ ],
+}
« no previous file with comments | « chrome/common/chrome_constants.cc ('k') | components/browser_watcher/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698