summaryrefslogtreecommitdiff
path: root/chromium/chrome/updater/protos/BUILD.gn
blob: c035f2c0f479b8dd156735b6ebd99dd90b0a4725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//third_party/protobuf/proto_library.gni")

# This wrapper with empty |sources| is required to add "protobuf_config" as
# |all_dependent_configs|, in order to set proper |include_dirs| and |defines|.
# A "proto_library" target cannot set |all_dependent_configs| variable.
group("omaha_proto") {
  all_dependent_configs = [ "//third_party/protobuf:protobuf_config" ]
  public_deps = [
    ":proto",
    "//third_party/protobuf:protobuf_lite",
  ]
}

proto_library("proto") {
  proto_in_dir = "."
  sources = [
    "message_set.proto",
    "omaha_settings.proto",
  ]
  visibility = [ ":omaha_proto" ]
}