| # 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. |
| |
| import("//common-mk/mojom_bindings_generator.gni") |
| import("//common-mk/pkg_config.gni") |
| |
| generate_mojom_bindings("cros_healthd_mojo_bindings") { |
| mojo_root = "//diagnostics" |
| deps = [ |
| ":network_diagnostics_mojo_bindings", |
| ":network_health_mojo_bindings", |
| ] |
| sources = [ |
| "cros_healthd.mojom", |
| "cros_healthd_diagnostics.mojom", |
| "cros_healthd_events.mojom", |
| "cros_healthd_probe.mojom", |
| "nullable_primitives.mojom", |
| ] |
| } |
| |
| generate_mojom_bindings("network_diagnostics_mojo_bindings") { |
| mojo_root = "//diagnostics" |
| sources = [ "network_diagnostics.mojom" ] |
| } |
| |
| generate_mojom_bindings("network_health_mojo_bindings") { |
| mojo_root = "//diagnostics" |
| sources = [ |
| "network_health.mojom", |
| "network_types.mojom", |
| ] |
| } |
| |
| generate_mojom_bindings("wilco_dtc_supportd_mojo_bindings") { |
| mojo_root = "//diagnostics" |
| sources = [ "wilco_dtc_supportd.mojom" ] |
| deps = [ ":cros_healthd_mojo_bindings" ] |
| } |
| |
| generate_mojom_bindings("cros_healthd_executor_mojo_bindings") { |
| mojo_root = "//diagnostics" |
| sources = [ "cros_healthd_executor.mojom" ] |
| } |