summaryrefslogtreecommitdiffstats
path: root/mojo/public/interfaces/bindings/tests/BUILD.gn
diff options
context:
space:
mode:
authoryzshen <yzshen@chromium.org>2016-03-17 11:45:30 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-17 18:48:04 +0000
commite56136366dd27d1764c01203565447b53197733f (patch)
tree1ad5389b99bc25a471ceecbd603a88a52be85cf0 /mojo/public/interfaces/bindings/tests/BUILD.gn
parent45bfe025690492eeafe4f1a689cab5c2bcb91b2a (diff)
downloadchromium_src-e56136366dd27d1764c01203565447b53197733f.zip
chromium_src-e56136366dd27d1764c01203565447b53197733f.tar.gz
chromium_src-e56136366dd27d1764c01203565447b53197733f.tar.bz2
Mojo C++ bindigns: fix generated namespace when variant is specified.
This fixed the issue that enum generated code didn't work when variant is specified. This is a quick fix, we need more fundermental improvement for variant handling code. BUG=595791 Review URL: https://codereview.chromium.org/1811853004 Cr-Commit-Position: refs/heads/master@{#381760}
Diffstat (limited to 'mojo/public/interfaces/bindings/tests/BUILD.gn')
-rw-r--r--mojo/public/interfaces/bindings/tests/BUILD.gn10
1 files changed, 10 insertions, 0 deletions
diff --git a/mojo/public/interfaces/bindings/tests/BUILD.gn b/mojo/public/interfaces/bindings/tests/BUILD.gn
index 18ea38b..57ab1ff 100644
--- a/mojo/public/interfaces/bindings/tests/BUILD.gn
+++ b/mojo/public/interfaces/bindings/tests/BUILD.gn
@@ -116,3 +116,13 @@ mojom("test_wtf_types_blink") {
for_blink = true
variant = "blink"
}
+
+mojom("test_variant") {
+ testonly = true
+
+ sources = [
+ "test_variant.mojom",
+ ]
+
+ variant = "variant_test"
+}