| # Copyright 2019 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("kerberos") { |
| defines = [ "IS_KERBEROS_IMPL" ] |
| |
| deps = [ |
| ":kerberos_proto", |
| "//base", |
| "//dbus", |
| ] |
| |
| sources = [ |
| "fake_kerberos_client.cc", |
| "fake_kerberos_client.h", |
| "kerberos_client.cc", |
| "kerberos_client.h", |
| ] |
| } |
| |
| proto_library("kerberos_proto") { |
| sources = [ |
| "//third_party/cros_system_api/dbus/kerberos/kerberos_service.proto", |
| ] |
| |
| proto_out_dir = "chromeos/dbus/kerberos" |
| } |