mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 09:46:09 +03:00
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# Copyright 2015 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("../../tools/bindings/mojom.gni")
|
|
|
|
mojom("bindings") {
|
|
visibility = []
|
|
sources = [
|
|
"interface_control_messages.mojom",
|
|
"native_struct.mojom",
|
|
"pipe_control_messages.mojom",
|
|
]
|
|
|
|
allow_native_structs = false
|
|
|
|
component_output_prefix = "mojo_public_interfaces_bindings"
|
|
export_class_attribute = "MOJO_CPP_BINDINGS_EXPORT"
|
|
export_define = "MOJO_CPP_BINDINGS_IMPLEMENTATION"
|
|
export_header = "mojo/public/cpp/bindings/bindings_export.h"
|
|
|
|
export_class_attribute_shared = "MOJO_CPP_BINDINGS_EXPORT"
|
|
export_define_shared = "MOJO_CPP_BINDINGS_IMPLEMENTATION"
|
|
export_header_shared = "mojo/public/cpp/bindings/bindings_export.h"
|
|
|
|
use_new_js_bindings = false
|
|
}
|
|
|
|
# TODO(yzshen): Remove this target and use the one above once
|
|
# |use_new_js_bindings| becomes true by default.
|
|
mojom("new_bindings") {
|
|
visibility = []
|
|
sources = [
|
|
"new_bindings/interface_control_messages.mojom",
|
|
"new_bindings/pipe_control_messages.mojom",
|
|
]
|
|
}
|