blob: e6c8e1a76c4938de1408cd64b4a816bc1e906e68 [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_component("base") {
sources = [
"application_state.mojom",
"big_buffer.mojom",
"big_string.mojom",
"file.mojom",
"file_error.mojom",
"file_info.mojom",
"file_path.mojom",
"memory_allocator_dump_cross_process_uid.mojom",
"memory_pressure_level.mojom",
"process_id.mojom",
"ref_counted_memory.mojom",
"shared_memory.mojom",
"string16.mojom",
"text_direction.mojom",
"thread_priority.mojom",
"time.mojom",
"token.mojom",
"unguessable_token.mojom",
"values.mojom",
]
if (is_win) {
sources += [ "logfont_win.mojom" ]
}
enabled_features = []
if (is_win) {
enabled_features += [ "file_path_is_string16" ]
} else {
enabled_features += [ "file_path_is_string" ]
}
output_prefix = "mojo_base_mojom"
macro_prefix = "MOJO_BASE_MOJOM"
}
mojom("read_only_buffer") {
sources = [
"read_only_buffer.mojom",
]
}