blob: 7fd0e3be03a428929dadc8f9849e56a681cb2cad [file] [edit]
# Copyright 2018 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//common-mk/generate-dbus-proxies.gni")
group("all") {
deps = [
":libshill-client-headers",
":libshill-client-test_pc",
":libshill-client_pc",
]
}
generate_dbus_proxies("libshill-client-headers") {
dbus_service_config = "../dbus_bindings/dbus-service-config.json"
proxy_output_file = "include/shill/dbus-proxies.h"
mock_output_file = "include/shill/dbus-proxy-mocks.h"
proxy_path_in_mocks = "shill/dbus-proxies.h"
sources = [
"../dbus_bindings/org.chromium.flimflam.Device.dbus-xml",
"../dbus_bindings/org.chromium.flimflam.IPConfig.dbus-xml",
"../dbus_bindings/org.chromium.flimflam.Manager.dbus-xml",
"../dbus_bindings/org.chromium.flimflam.Profile.dbus-xml",
"../dbus_bindings/org.chromium.flimflam.Service.dbus-xml",
"../dbus_bindings/org.chromium.flimflam.Task.dbus-xml",
"../dbus_bindings/org.chromium.flimflam.ThirdPartyVpn.dbus-xml",
]
}
generate_pkg_config("libshill-client_pc") {
name = "libshill-client"
description = "shill client interface library"
version = getenv("PV")
cflags = [ "-I/usr/include/shill-client" ]
install = true
}
generate_pkg_config("libshill-client-test_pc") {
name = "libshill-client-test"
description = "shill client interface mock library"
version = getenv("PV")
cflags = [ "-I/usr/include/shill-client-test" ]
install = true
}