OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 { | 4 { |
5 'target_defaults': { | 5 'target_defaults': { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'enable_wexit_time_destructors': 1, | 8 'enable_wexit_time_destructors': 1, |
9 }, | 9 }, |
10 'include_dirs': [ | 10 'include_dirs': [ |
(...skipping 17 matching lines...) Expand all Loading... |
28 }], | 28 }], |
29 ], | 29 ], |
30 }, | 30 }, |
31 'targets': [ | 31 'targets': [ |
32 { | 32 { |
33 'target_name': 'cloud_print_service_lib', | 33 'target_name': 'cloud_print_service_lib', |
34 'type': 'static_library', | 34 'type': 'static_library', |
35 'dependencies': [ | 35 'dependencies': [ |
36 '<(DEPTH)/base/base.gyp:base', | 36 '<(DEPTH)/base/base.gyp:base', |
37 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 37 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
| 38 '<(DEPTH)/ipc/ipc.gyp:ipc', |
38 '<(DEPTH)/net/net.gyp:net', | 39 '<(DEPTH)/net/net.gyp:net', |
39 '<(DEPTH)/printing/printing.gyp:printing', | 40 '<(DEPTH)/printing/printing.gyp:printing', |
40 ], | 41 ], |
41 'conditions': [ | 42 'conditions': [ |
42 ['OS=="win"', { | 43 ['OS=="win"', { |
43 'dependencies': [ | 44 'dependencies': [ |
44 '<(DEPTH)/chrome/chrome.gyp:chrome_version_header', | 45 '<(DEPTH)/chrome/chrome.gyp:chrome_version_header', |
45 '<(DEPTH)/chrome/chrome.gyp:launcher_support', | 46 '<(DEPTH)/chrome/chrome.gyp:launcher_support', |
46 ], | 47 ], |
47 }], | 48 }], |
48 ], | 49 ], |
49 'sources': [ | 50 'sources': [ |
50 'service_state.cc', | 51 'service_state.cc', |
51 'service_state.h', | 52 'service_state.h', |
52 'service_switches.cc', | 53 'service_switches.cc', |
53 'service_switches.h', | 54 'service_switches.h', |
54 'win/chrome_launcher.cc', | 55 'win/chrome_launcher.cc', |
55 'win/chrome_launcher.h', | 56 'win/chrome_launcher.h', |
56 'win/local_security_policy.cc', | 57 'win/local_security_policy.cc', |
57 'win/local_security_policy.h', | 58 'win/local_security_policy.h', |
58 'win/service_controller.cc', | 59 'win/service_controller.cc', |
59 'win/service_controller.h', | 60 'win/service_controller.h', |
| 61 'win/service_listener.cc', |
| 62 'win/service_listener.h', |
60 'win/service_utils.cc', | 63 'win/service_utils.cc', |
61 'win/service_utils.h', | 64 'win/service_utils.h', |
| 65 'win/setup_listener.cc', |
| 66 'win/setup_listener.h', |
62 ], | 67 ], |
63 }, | 68 }, |
64 { | 69 { |
65 'target_name': 'cloud_print_service', | 70 'target_name': 'cloud_print_service', |
66 'type': 'executable', | 71 'type': 'executable', |
67 'sources': [ | 72 'sources': [ |
68 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_exe_version.
rc', | 73 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_exe_version.
rc', |
69 'win/cloud_print_service.cc', | 74 'win/cloud_print_service.cc', |
70 'win/cloud_print_service.rc', | 75 'win/cloud_print_service.rc', |
71 ], | 76 ], |
72 'dependencies': [ | 77 'dependencies': [ |
73 'cloud_print_service_lib', | 78 'cloud_print_service_lib', |
74 ], | 79 ], |
75 'msvs_settings': { | 80 'msvs_settings': { |
76 'VCLinkerTool': { | 81 'VCLinkerTool': { |
77 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 82 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
78 'UACExecutionLevel': '2', # /level='requireAdministrator' | 83 'UACExecutionLevel': '2', # /level='requireAdministrator' |
79 'AdditionalDependencies': [ | 84 'AdditionalDependencies': [ |
80 'secur32.lib', | 85 'secur32.lib', |
81 ], | 86 ], |
82 }, | 87 }, |
83 }, | 88 }, |
84 }, | 89 }, |
85 ], | 90 ], |
86 } | 91 } |
OLD | NEW |