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 { |
15 'target_name': 'cloud_print_service', | 28 'target_name': 'cloud_print_service', |
16 'type': 'executable', | 29 'type': 'executable', |
17 'sources': [ | 30 'sources': [ |
18 'cloud_print_service.cc', | 31 'cloud_print_service.cc', |
19 'cloud_print_service.h', | 32 'cloud_print_service.h', |
20 'cloud_print_service.rc', | 33 'cloud_print_service.rc', |
21 'resource.h', | 34 'resource.h', |
22 ], | 35 ], |
23 'dependencies': [ | 36 'dependencies': [ |
24 '../../../base/base.gyp:base', | 37 'cloud_print_service_lib' |
25 ], | 38 ], |
26 'msvs_settings': { | 39 'msvs_settings': { |
27 'VCLinkerTool': { | 40 'VCLinkerTool': { |
28 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 41 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
29 'UACExecutionLevel': '2', # /level='requireAdministrator' | 42 'UACExecutionLevel': '2', # /level='requireAdministrator' |
30 }, | 43 }, |
31 }, | 44 }, |
32 }, | 45 }, |
| 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 }, |
33 ], | 61 ], |
34 } | 62 } |
OLD | NEW |