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': [ |
11 '<(DEPTH)', | 11 '<(DEPTH)', |
12 # To allow including "version.h" | 12 # To allow including "version.h" |
13 '<(SHARED_INTERMEDIATE_DIR)', | 13 '<(SHARED_INTERMEDIATE_DIR)', |
14 ], | 14 ], |
15 'defines' : [ | 15 'defines' : [ |
16 'COMPILE_CONTENT_STATICALLY', | 16 'COMPILE_CONTENT_STATICALLY', |
17 'SECURITY_WIN32', | 17 'SECURITY_WIN32', |
18 'STRICT', | 18 'STRICT', |
19 '_ATL_APARTMENT_THREADED', | 19 '_ATL_APARTMENT_THREADED', |
20 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', | 20 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', |
21 '_ATL_NO_COM_SUPPORT', | 21 '_ATL_NO_COM_SUPPORT', |
22 '_ATL_NO_AUTOMATIC_NAMESPACE', | 22 '_ATL_NO_AUTOMATIC_NAMESPACE', |
23 '_ATL_NO_EXCEPTIONS', | 23 '_ATL_NO_EXCEPTIONS', |
24 ], | 24 ], |
| 25 'conditions': [ |
| 26 ['OS=="win"', { |
| 27 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 28 'msvs_disabled_warnings': [ 4267, ], |
| 29 }], |
| 30 ], |
25 }, | 31 }, |
26 'targets': [ | 32 'targets': [ |
27 { | 33 { |
28 # GN version: //cloud_print/service:resources | |
29 'target_name': 'service_resources', | 34 'target_name': 'service_resources', |
30 'type': 'none', | 35 'type': 'none', |
31 'variables': { | 36 'variables': { |
32 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/cloud_print/service', | 37 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/cloud_print', |
33 }, | 38 }, |
34 'actions': [ | 39 'actions': [ |
35 { | 40 { |
36 'action_name': 'service_resources', | 41 'action_name': 'service_resources', |
37 'variables': { | 42 'variables': { |
38 'grit_grd_file': 'win/service_resources.grd', | 43 'grit_grd_file': 'win/service_resources.grd', |
39 }, | 44 }, |
40 'includes': [ '../../build/grit_action.gypi' ], | 45 'includes': [ '../../build/grit_action.gypi' ], |
41 }, | 46 }, |
42 ], | 47 ], |
43 'includes': [ '../../build/grit_target.gypi' ], | 48 'includes': [ '../../build/grit_target.gypi' ], |
44 }, | 49 }, |
45 { | 50 { |
46 # GN version: //cloud_print/service | |
47 'target_name': 'cloud_print_service_lib', | 51 'target_name': 'cloud_print_service_lib', |
48 'type': 'static_library', | 52 'type': 'static_library', |
49 'dependencies': [ | 53 'dependencies': [ |
50 '<(DEPTH)/base/base.gyp:base', | 54 '<(DEPTH)/base/base.gyp:base', |
51 '<(DEPTH)/base/base.gyp:base_static', | 55 '<(DEPTH)/base/base.gyp:base_static', |
52 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 56 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
53 '<(DEPTH)/components/components.gyp:cloud_devices_common', | 57 '<(DEPTH)/components/components.gyp:cloud_devices_common', |
54 '<(DEPTH)/google_apis/google_apis.gyp:google_apis', | 58 '<(DEPTH)/google_apis/google_apis.gyp:google_apis', |
55 '<(DEPTH)/ipc/ipc.gyp:ipc', | 59 '<(DEPTH)/ipc/ipc.gyp:ipc', |
56 '<(DEPTH)/net/net.gyp:net', | 60 '<(DEPTH)/net/net.gyp:net', |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 'win/service_listener.cc', | 114 'win/service_listener.cc', |
111 'win/service_listener.h', | 115 'win/service_listener.h', |
112 'win/service_utils.cc', | 116 'win/service_utils.cc', |
113 'win/service_utils.h', | 117 'win/service_utils.h', |
114 'win/setup_listener.cc', | 118 'win/setup_listener.cc', |
115 'win/setup_listener.h', | 119 'win/setup_listener.h', |
116 ], | 120 ], |
117 }, | 121 }, |
118 ], | 122 ], |
119 } | 123 } |
OLD | NEW |