Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Side by Side Diff: components/policy.gypi

Issue 258743005: Enable Enterprise enrollment on desktop builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added arg to PathService::OverrideAndCreateIfNeeded, added test for FakeCryptohomeClient::InstallAt… Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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': 'static_library', 131 'type': '<(component)',
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',
138 }, 140 },
139 'dependencies': [ 141 'dependencies': [
140 'cloud_policy_code_generate', 142 'cloud_policy_code_generate',
141 ], 143 ],
142 'includes': [ 144 'includes': [
143 '../build/protoc.gypi', 145 '../build/protoc.gypi',
144 ], 146 ],
147 'defines': [
148 'POLICY_PROTO_COMPILATION',
149 ],
145 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 150 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
146 'msvs_disabled_warnings': [4267, ], 151 'msvs_disabled_warnings': [4267, ],
147 }, 152 },
148 { 153 {
149 # This target builds the "full" protobuf, used for tests only. 154 # This target builds the "full" protobuf, used for tests only.
150 'target_name': 'chrome_settings_proto_generated_compile', 155 'target_name': 'chrome_settings_proto_generated_compile',
151 'type': 'static_library', 156 'type': 'static_library',
152 'sources': [ 157 'sources': [
153 '<(chrome_settings_proto_path)', 158 '<(chrome_settings_proto_path)',
154 ], 159 ],
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 'cloud_policy_proto_generated_compile', 192 'cloud_policy_proto_generated_compile',
188 '<(DEPTH)/base/base.gyp:base', 193 '<(DEPTH)/base/base.gyp:base',
189 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', 194 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite',
190 ], 195 ],
191 'defines': [ 196 'defines': [
192 'POLICY_COMPONENT_IMPLEMENTATION', 197 'POLICY_COMPONENT_IMPLEMENTATION',
193 ], 198 ],
194 }, 199 },
195 { 200 {
196 'target_name': 'cloud_policy_proto', 201 'target_name': 'cloud_policy_proto',
197 'type': 'static_library', 202 'type': '<(component)',
198 'sources': [ 203 'sources': [
199 'policy/proto/chrome_extension_policy.proto', 204 'policy/proto/chrome_extension_policy.proto',
200 'policy/proto/device_management_backend.proto', 205 'policy/proto/device_management_backend.proto',
201 'policy/proto/device_management_local.proto', 206 'policy/proto/device_management_local.proto',
202 'policy/proto/policy_signing_key.proto', 207 'policy/proto/policy_signing_key.proto',
203 ], 208 ],
204 'variables': { 209 'variables': {
205 'proto_in_dir': 'policy/proto', 210 'proto_in_dir': 'policy/proto',
206 'proto_out_dir': 'policy/proto', 211 'proto_out_dir': 'policy/proto',
212 'cc_generator_options': 'dllexport_decl=POLICY_PROTO_EXPORT:',
213 'cc_include': 'components/policy/policy_proto_export.h',
207 }, 214 },
208 'includes': [ 215 'includes': [
209 '../build/protoc.gypi', 216 '../build/protoc.gypi',
210 ], 217 ],
211 'conditions': [ 218 'conditions': [
212 ['OS=="android" or OS=="ios"', { 219 ['OS=="android" or OS=="ios"', {
213 'sources!': [ 220 'sources!': [
214 'policy/proto/chrome_extension_policy.proto', 221 'policy/proto/chrome_extension_policy.proto',
215 ], 222 ],
216 }], 223 }],
217 ['chromeos==0', { 224 ['chromeos==0', {
218 'sources!': [ 225 'sources!': [
219 'policy/proto/device_management_local.proto', 226 'policy/proto/device_management_local.proto',
220 ], 227 ],
221 }], 228 }],
222 ], 229 ],
230 'defines': [
231 'POLICY_PROTO_COMPILATION',
232 ],
223 }, 233 },
224 { 234 {
225 'target_name': 'policy_test_support', 235 'target_name': 'policy_test_support',
226 'type': 'none', 236 'type': 'none',
227 'hard_dependency': 1, 237 'hard_dependency': 1,
228 'direct_dependent_settings': { 238 'direct_dependent_settings': {
229 'include_dirs': [ 239 'include_dirs': [
230 '<(policy_out_dir)', 240 '<(policy_out_dir)',
231 '<(protoc_out_dir)', 241 '<(protoc_out_dir)',
232 ], 242 ],
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 'message': 431 'message':
422 'Copy the Localizable.strings files to the manifest bundle', 432 'Copy the Localizable.strings files to the manifest bundle',
423 'process_outputs_as_mac_bundle_resources': 1, 433 'process_outputs_as_mac_bundle_resources': 1,
424 }, 434 },
425 ], 435 ],
426 }, 436 },
427 ], 437 ],
428 }], 438 }],
429 ], 439 ],
430 } 440 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698