1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 { 6 'variables': { 7 'chromium_code': 1, 8 }, 9 'target_defaults': { 10 'include_dirs': [ 11 '<(DEPTH)', 12 ], 13 'libraries': [ 14 'userenv.lib', 15 ], 16 }, 17 'targets' : [ 18 { 19 'target_name': 'virtual_driver_lib<(virtual_driver_suffix)', 20 'type': 'static_library', 21 'sources': [ 22 '<(DEPTH)/cloud_print/common/win/cloud_print_utils.cc', 23 '<(DEPTH)/cloud_print/common/win/cloud_print_utils.h', 24 'virtual_driver_consts.cc', 25 'virtual_driver_consts.h', 26 'virtual_driver_helpers.cc', 27 'virtual_driver_helpers.h', 28 ], 29 }, 30 { 31 'target_name': 'gcp_portmon_lib<(virtual_driver_suffix)', 32 'type': 'static_library', 33 'sources': [ 34 'port_monitor/port_monitor.cc', 35 'port_monitor/port_monitor.h', 36 ], 37 'dependencies': [ 38 'virtual_driver_lib<(virtual_driver_suffix)', 39 ], 40 }, 41 { 42 'target_name': 'gcp_portmon<(virtual_driver_suffix)', 43 'type': 'loadable_module', 44 'sources': [ 45 'port_monitor/port_monitor.def', 46 'port_monitor/port_monitor_dll.cc', 47 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/gcp_portmon<(virtual_driver_suffix)_dll_version.rc', 48 ], 49 'dependencies': [ 50 'gcp_portmon_lib<(virtual_driver_suffix)', 51 '<(DEPTH)/chrome/chrome.gyp:chrome_version_header', 52 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_resources', 53 ], 54 'include_dirs': [ 55 # To allow including "version.h" 56 '<(SHARED_INTERMEDIATE_DIR)', 57 ], 58 }, 59 ], 60 } 61