blob: 7122c0651669050d6ae03edfb49c7c59e904b4ab [file] [log] [blame]
# Copyright 2018 The Chromium 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("//mojo/public/tools/bindings/mojom.gni")
mojom("mojom") {
sources = [
"constants.mojom",
"cros_network_config.mojom",
]
public_deps = [
":network_types",
"//mojo/public/mojom/base",
"//services/network/public/mojom:mojom_ip_address",
]
cpp_typemaps = [
{
types = [
{
mojom = "chromeos.cros_network_config.mojom.ProxyMode"
cpp = "::ProxyPrefs::ProxyMode"
},
]
traits_headers = [ "cros_network_config_mojom_traits.h" ]
traits_sources = [ "cros_network_config_mojom_traits.cc" ]
traits_public_deps = [ "//components/proxy_config" ]
},
]
}
mojom("network_types") {
sources = [ "network_types.mojom" ]
}