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

Side by Side Diff: components/policy/proto/BUILD.gn

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 years, 3 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
« no previous file with comments | « components/policy/policy_proto_export.h ('k') | components/policy/proto/policy_proto_export.h » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 # The proto files need to be a component to avoid duplicate symbols the way the 7 # The proto files need to be a component to avoid duplicate symbols the way the
8 # dependency structure is currently. Since proto_library generates a source 8 # dependency structure is currently. Since proto_library generates a source
9 # set, here we link the result into a component. 9 # set, here we link the result into a component.
10 component("proto") { 10 component("proto") {
(...skipping 10 matching lines...) Expand all
21 "device_management_backend.proto", 21 "device_management_backend.proto",
22 "policy_signing_key.proto", 22 "policy_signing_key.proto",
23 ] 23 ]
24 if (!is_android && !is_ios) { 24 if (!is_android && !is_ios) {
25 sources += [ "chrome_extension_policy.proto" ] 25 sources += [ "chrome_extension_policy.proto" ]
26 } 26 }
27 if (is_chromeos) { 27 if (is_chromeos) {
28 sources += [ "device_management_local.proto" ] 28 sources += [ "device_management_local.proto" ]
29 } 29 }
30 30
31 proto_out_dir = "policy/proto"
32 cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:" 31 cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:"
33 cc_include = "components/policy/policy_proto_export.h" 32 cc_include = "components/policy/proto/policy_proto_export.h"
34 component_build_force_source_set = true 33 component_build_force_source_set = true
35 defines = [ "POLICY_PROTO_COMPILATION" ] 34 defines = [ "POLICY_PROTO_COMPILATION" ]
36 } 35 }
OLDNEW
« no previous file with comments | « components/policy/policy_proto_export.h ('k') | components/policy/proto/policy_proto_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698