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