| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'includes': [ | 6 'includes': [ |
| 7 # Included to get 'mac_bundle_id' and other variables. | 7 # Included to get 'mac_bundle_id' and other variables. |
| 8 '../build/chrome_settings.gypi', | 8 '../build/chrome_settings.gypi', |
| 9 ], | 9 ], |
| 10 'variables': { | 10 'variables': { |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 ], | 121 ], |
| 122 'direct_dependent_settings': { | 122 'direct_dependent_settings': { |
| 123 'include_dirs': [ | 123 'include_dirs': [ |
| 124 '<(policy_out_dir)', | 124 '<(policy_out_dir)', |
| 125 '<(protoc_out_dir)', | 125 '<(protoc_out_dir)', |
| 126 ], | 126 ], |
| 127 }, | 127 }, |
| 128 }, | 128 }, |
| 129 { | 129 { |
| 130 'target_name': 'cloud_policy_proto_generated_compile', | 130 'target_name': 'cloud_policy_proto_generated_compile', |
| 131 'type': '<(component)', | 131 'type': 'static_library', |
| 132 'sources': [ | 132 'sources': [ |
| 133 '<(cloud_policy_proto_path)', | 133 '<(cloud_policy_proto_path)', |
| 134 ], | 134 ], |
| 135 'variables': { | 135 'variables': { |
| 136 'proto_in_dir': '<(policy_out_dir)/policy', | 136 'proto_in_dir': '<(policy_out_dir)/policy', |
| 137 'proto_out_dir': 'policy/proto', | 137 'proto_out_dir': 'policy/proto', |
| 138 'cc_generator_options': 'dllexport_decl=POLICY_PROTO_EXPORT:', | |
| 139 'cc_include': 'components/policy/policy_proto_export.h', | |
| 140 }, | 138 }, |
| 141 'dependencies': [ | 139 'dependencies': [ |
| 142 'cloud_policy_code_generate', | 140 'cloud_policy_code_generate', |
| 143 ], | 141 ], |
| 144 'includes': [ | 142 'includes': [ |
| 145 '../build/protoc.gypi', | 143 '../build/protoc.gypi', |
| 146 ], | 144 ], |
| 147 'defines': [ | |
| 148 'POLICY_PROTO_COMPILATION', | |
| 149 ], | |
| 150 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 145 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 151 'msvs_disabled_warnings': [4267, ], | 146 'msvs_disabled_warnings': [4267, ], |
| 152 }, | 147 }, |
| 153 { | 148 { |
| 154 # This target builds the "full" protobuf, used for tests only. | 149 # This target builds the "full" protobuf, used for tests only. |
| 155 'target_name': 'chrome_settings_proto_generated_compile', | 150 'target_name': 'chrome_settings_proto_generated_compile', |
| 156 'type': 'static_library', | 151 'type': 'static_library', |
| 157 'sources': [ | 152 'sources': [ |
| 158 '<(chrome_settings_proto_path)', | 153 '<(chrome_settings_proto_path)', |
| 159 ], | 154 ], |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 'cloud_policy_proto_generated_compile', | 187 'cloud_policy_proto_generated_compile', |
| 193 '<(DEPTH)/base/base.gyp:base', | 188 '<(DEPTH)/base/base.gyp:base', |
| 194 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', | 189 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 195 ], | 190 ], |
| 196 'defines': [ | 191 'defines': [ |
| 197 'POLICY_COMPONENT_IMPLEMENTATION', | 192 'POLICY_COMPONENT_IMPLEMENTATION', |
| 198 ], | 193 ], |
| 199 }, | 194 }, |
| 200 { | 195 { |
| 201 'target_name': 'cloud_policy_proto', | 196 'target_name': 'cloud_policy_proto', |
| 202 'type': '<(component)', | 197 'type': 'static_library', |
| 203 'sources': [ | 198 'sources': [ |
| 204 'policy/proto/chrome_extension_policy.proto', | 199 'policy/proto/chrome_extension_policy.proto', |
| 205 'policy/proto/device_management_backend.proto', | 200 'policy/proto/device_management_backend.proto', |
| 206 'policy/proto/device_management_local.proto', | 201 'policy/proto/device_management_local.proto', |
| 207 'policy/proto/policy_signing_key.proto', | 202 'policy/proto/policy_signing_key.proto', |
| 208 ], | 203 ], |
| 209 'variables': { | 204 'variables': { |
| 210 'proto_in_dir': 'policy/proto', | 205 'proto_in_dir': 'policy/proto', |
| 211 'proto_out_dir': 'policy/proto', | 206 'proto_out_dir': 'policy/proto', |
| 212 'cc_generator_options': 'dllexport_decl=POLICY_PROTO_EXPORT:', | |
| 213 'cc_include': 'components/policy/policy_proto_export.h', | |
| 214 }, | 207 }, |
| 215 'includes': [ | 208 'includes': [ |
| 216 '../build/protoc.gypi', | 209 '../build/protoc.gypi', |
| 217 ], | 210 ], |
| 218 'conditions': [ | 211 'conditions': [ |
| 219 ['OS=="android" or OS=="ios"', { | 212 ['OS=="android" or OS=="ios"', { |
| 220 'sources!': [ | 213 'sources!': [ |
| 221 'policy/proto/chrome_extension_policy.proto', | 214 'policy/proto/chrome_extension_policy.proto', |
| 222 ], | 215 ], |
| 223 }], | 216 }], |
| 224 ['chromeos==0', { | 217 ['chromeos==0', { |
| 225 'sources!': [ | 218 'sources!': [ |
| 226 'policy/proto/device_management_local.proto', | 219 'policy/proto/device_management_local.proto', |
| 227 ], | 220 ], |
| 228 }], | 221 }], |
| 229 ], | 222 ], |
| 230 'defines': [ | |
| 231 'POLICY_PROTO_COMPILATION', | |
| 232 ], | |
| 233 }, | 223 }, |
| 234 { | 224 { |
| 235 'target_name': 'policy_test_support', | 225 'target_name': 'policy_test_support', |
| 236 'type': 'none', | 226 'type': 'none', |
| 237 'hard_dependency': 1, | 227 'hard_dependency': 1, |
| 238 'direct_dependent_settings': { | 228 'direct_dependent_settings': { |
| 239 'include_dirs': [ | 229 'include_dirs': [ |
| 240 '<(policy_out_dir)', | 230 '<(policy_out_dir)', |
| 241 '<(protoc_out_dir)', | 231 '<(protoc_out_dir)', |
| 242 ], | 232 ], |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 'message': | 421 'message': |
| 432 'Copy the Localizable.strings files to the manifest bundle', | 422 'Copy the Localizable.strings files to the manifest bundle', |
| 433 'process_outputs_as_mac_bundle_resources': 1, | 423 'process_outputs_as_mac_bundle_resources': 1, |
| 434 }, | 424 }, |
| 435 ], | 425 ], |
| 436 }, | 426 }, |
| 437 ], | 427 ], |
| 438 }], | 428 }], |
| 439 ], | 429 ], |
| 440 } | 430 } |
| OLD | NEW |