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 '<(DEPTH)', | 10 '<(DEPTH)', |
(...skipping 17 matching lines...) Expand all Loading... |
28 'win/chrome_launcher.cc', | 28 'win/chrome_launcher.cc', |
29 'win/chrome_launcher.h', | 29 'win/chrome_launcher.h', |
30 'win/local_security_policy.cc', | 30 'win/local_security_policy.cc', |
31 'win/local_security_policy.h', | 31 'win/local_security_policy.h', |
32 ], | 32 ], |
33 'conditions': [ | 33 'conditions': [ |
34 ['OS=="win"', { | 34 ['OS=="win"', { |
35 'dependencies': [ | 35 'dependencies': [ |
36 '<(DEPTH)/chrome/chrome.gyp:launcher_support', | 36 '<(DEPTH)/chrome/chrome.gyp:launcher_support', |
37 ], | 37 ], |
| 38 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 39 'msvs_disabled_warnings': [ 4267, ], |
38 }], | 40 }], |
39 ], | 41 ], |
40 }, | 42 }, |
41 { | 43 { |
42 'target_name': 'cloud_print_service', | 44 'target_name': 'cloud_print_service', |
43 'type': 'executable', | 45 'type': 'executable', |
44 'include_dirs': [ | 46 'include_dirs': [ |
45 # To allow including "version.h" | 47 # To allow including "version.h" |
46 '<(SHARED_INTERMEDIATE_DIR)', | 48 '<(SHARED_INTERMEDIATE_DIR)', |
47 ], | 49 ], |
48 'sources': [ | 50 'sources': [ |
49 'win/cloud_print_service.cc', | 51 'win/cloud_print_service.cc', |
50 'win/cloud_print_service.h', | 52 'win/cloud_print_service.h', |
51 'win/cloud_print_service.rc', | 53 'win/cloud_print_service.rc', |
52 'win/resource.h', | 54 'win/resource.h', |
53 ], | 55 ], |
54 'dependencies': [ | 56 'dependencies': [ |
55 'cloud_print_service_lib', | 57 'cloud_print_service_lib', |
56 ], | 58 ], |
57 'conditions': [ | 59 'conditions': [ |
58 ['OS=="win"', { | 60 ['OS=="win"', { |
59 'dependencies': [ | 61 'dependencies': [ |
60 '<(DEPTH)/chrome/chrome.gyp:chrome_version_header', | 62 '<(DEPTH)/chrome/chrome.gyp:chrome_version_header', |
61 ], | 63 ], |
| 64 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 65 'msvs_disabled_warnings': [ 4267, ], |
62 }], | 66 }], |
63 ], | 67 ], |
64 'msvs_settings': { | 68 'msvs_settings': { |
65 'VCLinkerTool': { | 69 'VCLinkerTool': { |
66 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 70 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
67 'UACExecutionLevel': '2', # /level='requireAdministrator' | 71 'UACExecutionLevel': '2', # /level='requireAdministrator' |
68 'AdditionalDependencies': [ | 72 'AdditionalDependencies': [ |
69 'secur32.lib', | 73 'secur32.lib', |
70 ], | 74 ], |
71 }, | 75 }, |
72 }, | 76 }, |
73 }, | 77 }, |
74 ], | 78 ], |
75 } | 79 } |
OLD | NEW |