blob: c07e81a1a787c0050fa9fa7227326c8bdb874558 [file] [log] [blame]
# Copyright 2021 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")
import("//common-mk/pkg_config.gni")
group("all") {
deps = [ ":libml-client-headers" ]
}
# ML Service client library generated headers. Used by other daemons to interact
# with ML Service dbus instances, e.g. --task=adaptive_charging.
generate_dbus_proxies("libml-client-headers") {
proxy_output_file = "include/ml/dbus-proxies.h"
mock_output_file = "include/ml/dbus-proxy-mocks.h"
proxy_path_in_mocks = "ml/dbus-proxies.h"
sources =
[ "../dbus_bindings/org.chromium.MachineLearning.AdaptiveCharging.xml" ]
}