summaryrefslogtreecommitdiffstats
path: root/cloud_print/virtual_driver/virtual_driver.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'cloud_print/virtual_driver/virtual_driver.gyp')
-rw-r--r--cloud_print/virtual_driver/virtual_driver.gyp83
1 files changed, 83 insertions, 0 deletions
diff --git a/cloud_print/virtual_driver/virtual_driver.gyp b/cloud_print/virtual_driver/virtual_driver.gyp
new file mode 100644
index 0000000..853e027
--- /dev/null
+++ b/cloud_print/virtual_driver/virtual_driver.gyp
@@ -0,0 +1,83 @@
+# Copyright (c) 2011 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.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'target_defaults': {
+ 'variables': {
+ 'chromium_code': 1,
+ 'version_py_path': '../../chrome/tools/build/version.py',
+ 'version_path': 'VERSION',
+ },
+ 'include_dirs': [
+ '../..',
+ ],
+ 'libraries': [
+ 'userenv.lib',
+ ],
+ 'sources': [
+ 'win/port_monitor/port_monitor.cc',
+ 'win/port_monitor/port_monitor.h',
+ 'win/port_monitor/port_monitor.def',
+ ],
+ },
+ 'conditions': [
+ ['OS=="win"', {
+ 'targets' : [
+ {
+ 'target_name': 'gcp_portmon',
+ 'type': 'loadable_module',
+ 'dependencies': [
+ '../../base/base.gyp:base',
+ '../../chrome/chrome.gyp:common_constants',
+ ],
+ 'msvs_guid': 'ED3D7186-C94E-4D8B-A8E7-B7260F638F46',
+ },
+ {
+ 'target_name': 'gcp_portmon64',
+ 'type': 'loadable_module',
+ 'defines': [
+ '<@(nacl_win64_defines)',
+ ],
+ 'dependencies': [
+ '../../base/base.gyp:base_nacl_win64',
+ '../../chrome/chrome.gyp:common_constants_win64',
+ ],
+ 'msvs_guid': '9BB292F4-6104-495A-B415-C3E314F46D6F',
+ 'configurations': {
+ 'Common_Base': {
+ 'msvs_target_platform': 'x64',
+ },
+ },
+ },
+ {
+ 'target_name': 'virtual_driver_unittests',
+ 'type': 'executable',
+ 'msvs_guid': '97F82D29-58D8-4909-86C8-F2BBBCC4FEBF',
+ 'dependencies': [
+ '../../base/base.gyp:base',
+ '../../chrome/chrome.gyp:common_constants',
+ '../../base/base.gyp:test_support_base',
+ '../../testing/gmock.gyp:gmock',
+ '../../testing/gtest.gyp:gtest',
+ ],
+ 'sources': [
+ # Infrastructure files.
+ '../../base/test/run_all_unittests.cc',
+ 'win/port_monitor/port_monitor_unittest.cc'
+ ],
+ },
+ ],
+ },
+ ],
+ ]
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2: