blob: c2cadcd73630e4729db1470cdd5e6f0823583c22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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",
"pipe_control_messages.mojom",
]
export_class_attribute = "MOJO_CPP_BINDINGS_EXPORT"
export_define = "MOJO_CPP_BINDINGS_IMPLEMENTATION"
export_header = "mojo/public/cpp/bindings/bindings_export.h"
}
# 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",
]
use_new_js_bindings = true
}
|