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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'policy_out_dir': '<(SHARED_INTERMEDIATE_DIR)/policy', | 8 'policy_out_dir': '<(SHARED_INTERMEDIATE_DIR)/policy', |
9 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', | 9 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', |
10 'generate_policy_source_script_path': | 10 'generate_policy_source_script_path': |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 '<(cloud_policy_proto_path)', | 73 '<(cloud_policy_proto_path)', |
74 ], | 74 ], |
75 'variables': { | 75 'variables': { |
76 'proto_in_dir': '<(policy_out_dir)/policy', | 76 'proto_in_dir': '<(policy_out_dir)/policy', |
77 'proto_out_dir': '<(proto_path_substr)', | 77 'proto_out_dir': '<(proto_path_substr)', |
78 }, | 78 }, |
79 'dependencies': [ | 79 'dependencies': [ |
80 'cloud_policy_code_generate', | 80 'cloud_policy_code_generate', |
81 ], | 81 ], |
82 'includes': [ '../../../build/protoc.gypi' ], | 82 'includes': [ '../../../build/protoc.gypi' ], |
| 83 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 84 'msvs_disabled_warnings': [4267, ], |
83 }, | 85 }, |
84 { | 86 { |
85 # This target builds the "full" protobuf, used for tests only. | 87 # This target builds the "full" protobuf, used for tests only. |
86 'target_name': 'chrome_settings_proto_compile', | 88 'target_name': 'chrome_settings_proto_compile', |
87 'type': 'static_library', | 89 'type': 'static_library', |
88 'sources': [ | 90 'sources': [ |
89 '<(chrome_settings_proto_path)', | 91 '<(chrome_settings_proto_path)', |
90 ], | 92 ], |
91 'variables': { | 93 'variables': { |
92 'proto_in_dir': '<(policy_out_dir)/policy', | 94 'proto_in_dir': '<(policy_out_dir)/policy', |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 'configurations': { | 185 'configurations': { |
184 'Common_Base': { | 186 'Common_Base': { |
185 'msvs_target_platform': 'x64', | 187 'msvs_target_platform': 'x64', |
186 }, | 188 }, |
187 }, | 189 }, |
188 }, | 190 }, |
189 ], | 191 ], |
190 }], | 192 }], |
191 ], # 'conditions' | 193 ], # 'conditions' |
192 } | 194 } |
OLD | NEW |