blob: 1353e05c61d5339a7cff95bcd084fc38673d6198 [file] [log] [blame]
// Copyright 2020 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.
// Generates the Rust D-Bus bindings for ManaTEE.
use std::path::Path;
use chromeos_dbus_bindings::{self, generate_module, BindingsType};
const SOURCE_DIR: &str = ".";
// (<module name>, <relative path to source xml>)
const BINDINGS_TO_GENERATE: &[(&str, &str, BindingsType)] = &[(
"org_chromium_manatee",
"../dbus_bindings/org.chromium.ManaTEE1.xml",
BindingsType::Client(None),
)];
fn main() {
generate_module(Path::new(SOURCE_DIR), BINDINGS_TO_GENERATE).unwrap();
}