blob: 7106d2df0fde9c7b8991816f2b52d627a5186398 [file] [log] [blame]
// Copyright 2019 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 sirenia.
use std::path::Path;
use chromeos_dbus_bindings::{self, generate_module, BindingsType, CROSSROADS_SERVER_OPTS};
// The parent path of sirenia.
const SOURCE_DIR: &str = ".";
// (<module name>, <relative path to source xml>)
const BINDINGS_TO_GENERATE: &[(&str, &str, BindingsType)] = &[(
fn main() {
let source_path = Path::new(SOURCE_DIR);
generate_module(source_path, BINDINGS_TO_GENERATE).unwrap();