Avi Drissman | e4714ce9 | 2022-09-12 21:41:58 | [diff] [blame] | 1 | # Copyright 2021 The Chromium Authors |
Sergey Poromov | 43e7366 | 2021-02-04 20:53:20 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | import("//third_party/protobuf/proto_library.gni") |
| 6 | |
| 7 | assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos") |
| 8 | |
| 9 | component("dlp") { |
| 10 | defines = [ "IS_DLP_IMPL" ] |
| 11 | |
Sergey Poromov | 0e7c838 | 2021-04-20 00:29:29 | [diff] [blame] | 12 | public_deps = [ |
Sergey Poromov | 43e7366 | 2021-02-04 20:53:20 | [diff] [blame] | 13 | ":dlp_proto", |
| 14 | "//base", |
| 15 | "//dbus", |
| 16 | ] |
| 17 | |
| 18 | sources = [ |
| 19 | "dlp_client.cc", |
| 20 | "dlp_client.h", |
| 21 | "fake_dlp_client.cc", |
| 22 | "fake_dlp_client.h", |
| 23 | ] |
| 24 | } |
| 25 | |
| 26 | proto_library("dlp_proto") { |
| 27 | sources = [ "//third_party/cros_system_api/dbus/dlp/dlp_service.proto" ] |
| 28 | |
| 29 | proto_out_dir = "chromeos/dbus/dlp" |
| 30 | } |