blob: 00b633a5e3e1e9d88543226e044fe2d043750f1e [file] [log] [blame]
# Copyright 2018 The Chromium OS 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("//common-mk/generate-dbus-proxies.gni")
# cryptohome client library generated headers. Used by other tools to
# interact with cryptohome.
generate_dbus_proxies("libcryptohome-client-headers") {
dbus_service_config = "../dbus_bindings/dbus-service-config.json"
proxy_output_file = "include/cryptohome/dbus-proxies.h"
mock_output_file = "include/cryptohome/dbus-proxy-mocks.h"
proxy_path_in_mocks = "cryptohome/dbus-proxies.h"
sources = [ "../dbus_bindings/org.chromium.CryptohomeInterface.xml" ]
}
generate_dbus_proxies("userdataauth-client-headers") {
dbus_service_config = "../dbus_bindings/dbus-service-config-UserDataAuth.json"
proxy_output_file = "include/user_data_auth/dbus-proxies.h"
mock_output_file = "include/user_data_auth/dbus-proxy-mocks.h"
proxy_path_in_mocks = "user_data_auth/dbus-proxies.h"
sources = [ "../dbus_bindings/org.chromium.UserDataAuth.xml" ]
}
group("all") {
deps = [
":libcryptohome-client-headers",
":userdataauth-client-headers",
]
}