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

Side by Side Diff: components/policy.gypi

Issue 108563005: Move the cloud policy protobufs into the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years 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
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | components/policy/core/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'policy_component', 8 'target_name': 'policy_component',
9 'type': '<(component)', 9 'type': '<(component)',
10 'dependencies': [ 10 'dependencies': [
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 'policy/core/common/policy_namespace.h', 187 'policy/core/common/policy_namespace.h',
188 'policy/core/common/policy_service.cc', 188 'policy/core/common/policy_service.cc',
189 'policy/core/common/policy_service.h', 189 'policy/core/common/policy_service.h',
190 'policy/core/common/policy_service_stub.cc', 190 'policy/core/common/policy_service_stub.cc',
191 'policy/core/common/policy_service_stub.h', 191 'policy/core/common/policy_service_stub.h',
192 ], 192 ],
193 }], 193 }],
194 ], 194 ],
195 }, 195 },
196 { 196 {
197 # Protobuf compiler / generator for cloud policy protocol buffers.
198 # TODO(joaodasilva): move these protobufs outside of chrome/,
199 # and update their output paths too.
200 'target_name': 'cloud_policy_proto', 197 'target_name': 'cloud_policy_proto',
201 'type': 'static_library', 198 'type': 'static_library',
202 'sources': [ 199 'sources': [
203 '../chrome/browser/policy/proto/cloud/chrome_extension_policy.proto', 200 'policy/proto/chrome_extension_policy.proto',
204 '../chrome/browser/policy/proto/cloud/device_management_backend.proto', 201 'policy/proto/device_management_backend.proto',
205 '../chrome/browser/policy/proto/cloud/device_management_local.proto', 202 'policy/proto/device_management_local.proto',
206 ], 203 ],
207 'variables': { 204 'variables': {
208 'proto_in_dir': '../chrome/browser/policy/proto/cloud', 205 'proto_in_dir': 'policy/proto',
209 'proto_out_dir': 'chrome/browser/policy/proto/cloud', 206 'proto_out_dir': 'policy/proto',
210 }, 207 },
211 'includes': [ '../build/protoc.gypi' ] 208 'includes': [ '../build/protoc.gypi' ],
209 'conditions': [
210 ['OS=="android"', {
211 'sources!': [
212 'policy/proto/chrome_extension_policy.proto',
213 ],
214 }],
215 ['chromeos==0', {
216 'sources!': [
217 'policy/proto/device_management_local.proto',
218 ],
219 }],
220 ],
212 }, 221 },
213 ], 222 ],
214 'conditions': [ 223 'conditions': [
215 ['configuration_policy==1', { 224 ['configuration_policy==1', {
216 'targets': [ 225 'targets': [
217 { 226 {
218 'target_name': 'policy_component_test_support', 227 'target_name': 'policy_component_test_support',
219 'type': 'static_library', 228 'type': 'static_library',
220 # This must be undefined so that POLICY_EXPORT works correctly in 229 # This must be undefined so that POLICY_EXPORT works correctly in
221 # the static_library build. 230 # the static_library build.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 'policy/core/common/policy_test_utils.cc', 262 'policy/core/common/policy_test_utils.cc',
254 'policy/core/common/policy_test_utils.h', 263 'policy/core/common/policy_test_utils.h',
255 'policy/core/common/preferences_mock_mac.cc', 264 'policy/core/common/preferences_mock_mac.cc',
256 'policy/core/common/preferences_mock_mac.h', 265 'policy/core/common/preferences_mock_mac.h',
257 ], 266 ],
258 }, 267 },
259 ], 268 ],
260 }], 269 }],
261 ], 270 ],
262 } 271 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | components/policy/core/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698