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

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

Issue 365793002: Add lots of GN targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « components/policy/policy_common.gypi ('k') | components/variations.gypi » ('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 proto_library("proto") { 7 proto_library("proto") {
8 sources = [ 8 sources = [
9 "device_management_backend.proto", 9 "device_management_backend.proto",
10 "policy_signing_key.proto", 10 "policy_signing_key.proto",
11 ] 11 ]
12 if (!is_android && !is_ios) { 12 if (!is_android && !is_ios) {
13 sources += [ "chrome_extension_policy.proto" ] 13 sources += [ "chrome_extension_policy.proto" ]
14 } 14 }
15 if (is_chromeos) { 15 if (is_chromeos) {
16 sources += [ "device_management_local.proto" ] 16 sources += [ "device_management_local.proto" ]
17 } 17 }
18 18
19 proto_out_dir = "policy/proto"
19 cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:" 20 cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:"
20 cc_include = "components/policy/policy_proto_export.h" 21 cc_include = "components/policy/policy_proto_export.h"
21 defines = [ "POLICY_PROTO_COMPILATION" ] 22 defines = [ "POLICY_PROTO_COMPILATION" ]
22 } 23 }
OLDNEW
« no previous file with comments | « components/policy/policy_common.gypi ('k') | components/variations.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698