| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 # TODO(abodenha@chromium.org) Consider splitting port monitor stuff into | |
| 5 # its own file. | |
| 6 { | 4 { |
| 7 'includes': [ | 5 'targets': [ |
| 8 '../../build/common.gypi', | 6 { |
| 9 ], | 7 'target_name': 'virtual_driver', |
| 10 'target_defaults': { | 8 'type': 'none', |
| 11 'variables': { | 9 'dependencies': [ |
| 12 'chromium_code': 1, | 10 'win/install/virtual_driver_install.gyp:*', |
| 13 'version_py_path': '../../chrome/tools/build/version.py', | 11 'win/port_monitor/virtual_driver_port_monitor.gyp:*', |
| 14 'version_path': 'VERSION', | 12 ], |
| 15 }, | |
| 16 'include_dirs': [ | |
| 17 '../..', | |
| 18 ], | |
| 19 'libraries': [ | |
| 20 'userenv.lib', | |
| 21 ], | |
| 22 'sources': [ | |
| 23 'win/virtual_driver_helpers.h', | |
| 24 'win/virtual_driver_helpers.cc', | |
| 25 'win/virtual_driver_consts.h', | |
| 26 'win/virtual_driver_consts.cc', | |
| 27 ], | |
| 28 }, | |
| 29 'conditions': [ | |
| 30 ['OS=="win"', { | |
| 31 'targets' : [ | |
| 32 { | |
| 33 'target_name': 'gcp_portmon', | |
| 34 'type': 'loadable_module', | |
| 35 'dependencies': [ | |
| 36 '../../base/base.gyp:base', | |
| 37 ], | |
| 38 'msvs_guid': 'ED3D7186-C94E-4D8B-A8E7-B7260F638F46', | |
| 39 'sources': [ | |
| 40 'win/port_monitor/port_monitor.cc', | |
| 41 'win/port_monitor/port_monitor.h', | |
| 42 'win/port_monitor/port_monitor.def', | |
| 43 ], | |
| 44 }, | |
| 45 { | |
| 46 'target_name': 'gcp_portmon64', | |
| 47 'type': 'loadable_module', | |
| 48 'defines': [ | |
| 49 '<@(nacl_win64_defines)', | |
| 50 ], | |
| 51 'dependencies': [ | |
| 52 '../../base/base.gyp:base_nacl_win64', | |
| 53 ], | |
| 54 'sources': [ | |
| 55 'win/port_monitor/port_monitor.cc', | |
| 56 'win/port_monitor/port_monitor.h', | |
| 57 'win/port_monitor/port_monitor.def', | |
| 58 ], | |
| 59 'msvs_guid': '9BB292F4-6104-495A-B415-C3E314F46D6F', | |
| 60 'configurations': { | |
| 61 'Common_Base': { | |
| 62 'msvs_target_platform': 'x64', | |
| 63 }, | |
| 64 }, | |
| 65 }, | |
| 66 { | |
| 67 'target_name': 'virtual_driver_unittests', | |
| 68 'type': 'executable', | |
| 69 'msvs_guid': '97F82D29-58D8-4909-86C8-F2BBBCC4FEBF', | |
| 70 'dependencies': [ | |
| 71 '../../base/base.gyp:base', | |
| 72 '../../base/base.gyp:test_support_base', | |
| 73 '../../testing/gmock.gyp:gmock', | |
| 74 '../../testing/gtest.gyp:gtest', | |
| 75 ], | |
| 76 'sources': [ | |
| 77 # Infrastructure files. | |
| 78 '../../base/test/run_all_unittests.cc', | |
| 79 'win/port_monitor/port_monitor.cc', | |
| 80 'win/port_monitor/port_monitor.h', | |
| 81 'win/port_monitor/port_monitor_unittest.cc' | |
| 82 ], | |
| 83 }, | |
| 84 { | |
| 85 'target_name': 'virtual_driver_setup', | |
| 86 'type': 'executable', | |
| 87 'msvs_guid': 'E1E25ACA-043D-4D6E-A06F-97126532843A', | |
| 88 'dependencies': [ | |
| 89 '../../base/base.gyp:base', | |
| 90 ], | |
| 91 'sources': [ | |
| 92 'win/install/setup.cc', | |
| 93 ], | |
| 94 'msvs_settings': { | |
| 95 'VCLinkerTool': { | |
| 96 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | |
| 97 }, | |
| 98 }, | |
| 99 }, | |
| 100 ], | |
| 101 }, | 13 }, |
| 102 ], | 14 ], |
| 103 ] | |
| 104 } | 15 } |
| 105 | 16 |
| 106 # Local Variables: | 17 # Local Variables: |
| 107 # tab-width:2 | 18 # tab-width:2 |
| 108 # indent-tabs-mode:nil | 19 # indent-tabs-mode:nil |
| 109 # End: | 20 # End: |
| 110 # vim: set expandtab tabstop=2 shiftwidth=2: | 21 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |