Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Side by Side Diff: mojo/public/interfaces/bindings/tests/BUILD.gn

Issue 1517043004: [mojo] Add typemap and variant support to generators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pickle3
Patch Set: set proper upstream Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("../../../tools/bindings/mojom.gni") 5 import("../../../tools/bindings/mojom.gni")
6 6
7 mojom("test_interfaces") { 7 mojom("test_interfaces") {
8 testonly = true 8 testonly = true
9 sources = [ 9 sources = [
10 "math_calculator.mojom", 10 "math_calculator.mojom",
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 mojom("versioning_test_client_interfaces") { 62 mojom("versioning_test_client_interfaces") {
63 # FIXME: Dart packaged applications cannot depend on testonly mojoms. 63 # FIXME: Dart packaged applications cannot depend on testonly mojoms.
64 # testonly = true 64 # testonly = true
65 sources = [ 65 sources = [
66 "versioning_test_client.mojom", 66 "versioning_test_client.mojom",
67 ] 67 ]
68 68
69 with_environment = false 69 with_environment = false
70 } 70 }
71
72 mojom("test_interfaces_chromium") {
73 testonly = true
74
75 sources = [
76 "test_native_types.mojom",
77 ]
78
79 variant = "chromium"
80 typemaps = [ "chromium_test.typemap" ]
81
82 with_environment = false
83
84 public_deps = [
85 ":test_interfaces",
86 ]
87 }
88
89 mojom("test_interfaces_blink") {
90 testonly = true
91
92 sources = [
93 "test_native_types.mojom",
94 ]
95
96 variant = "blink"
97 typemaps = [ "blink_test.typemap" ]
98
99 with_environment = false
100
101 public_deps = [
102 ":test_interfaces",
103 ]
104 }
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/BUILD.gn ('k') | mojo/public/interfaces/bindings/tests/blink_test.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698