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 }, | 8 }, |
9 'include_dirs': [ | 9 'include_dirs': [ |
10 '../../..', | 10 '<(DEPTH)', |
11 ], | 11 ], |
12 }, | 12 }, |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'cloud_print_service_lib', | 15 'target_name': 'cloud_print_service_lib', |
16 'type': 'static_library', | 16 'type': 'static_library', |
17 'dependencies': [ | 17 'dependencies': [ |
18 '../../../base/base.gyp:base', | 18 '<(DEPTH)/base/base.gyp:base', |
19 '../../../build/temp_gyp/googleurl.gyp:googleurl', | 19 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
20 '../../../net/net.gyp:net', | 20 '<(DEPTH)/net/net.gyp:net', |
21 ], | 21 ], |
22 'sources': [ | 22 'sources': [ |
23 'chrome_launcher.cc', | |
24 'chrome_launcher.h', | |
25 'service_state.cc', | 23 'service_state.cc', |
26 'service_state.h', | 24 'service_state.h', |
27 'service_switches.cc', | 25 'service_switches.cc', |
28 'service_switches.h', | 26 'service_switches.h', |
| 27 'win/chrome_launcher.cc', |
| 28 'win/chrome_launcher.h', |
29 ] | 29 ] |
30 }, | 30 }, |
31 { | 31 { |
32 'target_name': 'cloud_print_service', | 32 'target_name': 'cloud_print_service', |
33 'type': 'executable', | 33 'type': 'executable', |
34 'sources': [ | 34 'sources': [ |
35 'cloud_print_service.cc', | 35 'win/cloud_print_service.cc', |
36 'cloud_print_service.h', | 36 'win/cloud_print_service.h', |
37 'cloud_print_service.rc', | 37 'win/cloud_print_service.rc', |
38 'resource.h', | 38 'win/resource.h', |
39 ], | 39 ], |
40 'dependencies': [ | 40 'dependencies': [ |
41 'cloud_print_service_lib', | 41 'cloud_print_service_lib', |
42 ], | 42 ], |
43 'msvs_settings': { | 43 'msvs_settings': { |
44 'VCLinkerTool': { | 44 'VCLinkerTool': { |
45 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 45 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
46 'UACExecutionLevel': '2', # /level='requireAdministrator' | 46 'UACExecutionLevel': '2', # /level='requireAdministrator' |
47 }, | 47 }, |
48 }, | 48 }, |
49 }, | 49 }, |
50 { | |
51 'target_name': 'cloud_print_service_unittests', | |
52 'type': 'executable', | |
53 'sources': [ | |
54 'service_state_unittest.cc', | |
55 ], | |
56 'dependencies': [ | |
57 '../../../base/base.gyp:run_all_unittests', | |
58 '../../../base/base.gyp:base', | |
59 '../../../base/base.gyp:test_support_base', | |
60 '../../../testing/gmock.gyp:gmock', | |
61 '../../../testing/gtest.gyp:gtest', | |
62 'cloud_print_service_lib', | |
63 ], | |
64 }, | |
65 ], | 50 ], |
66 } | 51 } |
OLD | NEW |