blob: 6381dad8a66364acba01b47e9a1c04198c65182b [file] [edit]
# Copyright 2021 The ChromiumOS Authors
# 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_internal") {
mojo_root = "${platform2_root}"
standalone = true
sources = [ "cros_healthd_internal.mojom" ]
}
# These mojom are part of the HealthD's public api.
# TODO(b/268295367): Move all the mojom which are exported by the public API
# here.
generate_mojom_bindings("public_dependencies") {
mojo_root = "${platform2_root}"
standalone = true
sources = [ "input.mojom" ]
}
generate_mojom_bindings("network_diagnostics_mojo_bindings") {
mojo_root = "${platform2_root}"
standalone = true
sources = [
"network_diagnostics.mojom",
"time.mojom",
]
mojo_extra_args = [
"--typemap",
rebase_path("type_mappings.json"),
]
}
source_set("network_diagnostics_mojo_bindings_lib") {
sources = [ "time_mojom_traits.h" ]
public_deps = [ ":network_diagnostics_mojo_bindings" ]
}
generate_mojom_bindings("network_health_mojo_bindings") {
mojo_root = "${platform2_root}"
standalone = true
sources = [
"network_health.mojom",
"network_health_types.mojom",
"network_types.mojom",
]
}