# Copyright 2020 The Chromium Authors
# 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_component("filesystem") {
output_prefix = "storage_service_filesystem_mojom"
macro_prefix = "STORAGE_SERVICE_FILESYSTEM_MOJOM"
sources = [ "directory.mojom" ]
public_deps = [ "//mojo/public/mojom/base" ]
cpp_typemaps = [
{
types = [
{
mojom = "storage.mojom.StrictRelativePath"
cpp = "::base::FilePath"
},
]
traits_headers = [ "//components/services/storage/public/cpp/filesystem/strict_relative_path_mojom_traits.h" ]
traits_public_deps = [
"//components/services/storage/public/cpp/filesystem:typemap_traits",
]
},
]
}