summaryrefslogtreecommitdiff
path: root/chromium/chromeos/dbus/system_proxy/BUILD.gn
blob: 5c87e56b27a6b616def34a8c064ff3ba0c05cb20 (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
26
27
28
29
30
# 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")

assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos")

component("system_proxy") {
  defines = [ "IS_SYSTEM_PROXY_IMPL" ]

  deps = [
    ":system_proxy_proto",
    "//base",
    "//dbus",
  ]

  sources = [
    "fake_system_proxy_client.cc",
    "fake_system_proxy_client.h",
    "system_proxy_client.cc",
    "system_proxy_client.h",
  ]
}

proto_library("system_proxy_proto") {
  sources = [ "//third_party/cros_system_api/dbus/system_proxy/system_proxy_service.proto" ]

  proto_out_dir = "chromeos/dbus/system_proxy"
}