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

Unified Diff: apps/apps.gypi

Issue 12674028: Report text output and exit code for command-line operations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Line endings. Created 7 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
Index: apps/apps.gypi
diff --git a/apps/apps.gypi b/apps/apps.gypi
index aa2330b4606a369c4082ebe921e8cb840adf5bdb..1c3e3a212fdac9292c07bb03e4cbf43ae2380d07 100644
--- a/apps/apps.gypi
+++ b/apps/apps.gypi
@@ -75,6 +75,7 @@
'../base/base.gyp:base',
'../chrome/chrome.gyp:chrome_version_resources',
'../chrome/chrome.gyp:launcher_support',
+ '../chrome/common_constants.gyp:common_constants',
'../google_update/google_update.gyp:google_update',
],
'sources': [
@@ -83,6 +84,8 @@
'app_host/app_host_resource.h',
'app_host/binaries_installer.cc',
'app_host/binaries_installer.h',
+ 'app_host/operation_launcher.cc',
+ 'app_host/operation_launcher.h',
'app_host/update.cc',
'app_host/update.h',
'<(SHARED_INTERMEDIATE_DIR)/chrome_version/app_host_exe_version.rc',
@@ -93,6 +96,27 @@
},
},
},
+ {
+ 'target_name': 'test_operation',
+ 'type': 'executable',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../chrome/chrome.gyp:browser',
+ '../chrome/common_constants.gyp:common_constants',
+ ],
+ 'sources': [
+ 'app_host/test_operation.cc',
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
gab 2013/03/28 03:06:06 Curious: what does this do?
erikwright (departed) 2013/04/18 17:43:04 Prevents a console window from being displayed by
+ },
+ },
+ },
+
],
},
], # 'OS=="win"'

Powered by Google App Engine
This is Rietveld 408576698