Automated Commit: Committing new LKGM version 6953.0.0 for chromeos.
[chromium-blink-merge.git] / components / policy / proto / BUILD.gn
blobcc84042c5d9c98733e9c8897b45e7a42001d21ce
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
3 # found in the LICENSE file.
5 import("//third_party/protobuf/proto_library.gni")
7 proto_library("proto") {
8   sources = [
9     "device_management_backend.proto",
10     "policy_signing_key.proto",
11   ]
12   if (!is_android && !is_ios) {
13     sources += [ "chrome_extension_policy.proto" ]
14   }
15   if (is_chromeos) {
16     sources += [ "device_management_local.proto" ]
17   }
19   proto_out_dir = "policy/proto"
20   cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:"
21   cc_include = "components/policy/policy_proto_export.h"
22   defines = [ "POLICY_PROTO_COMPILATION" ]