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

Side by Side Diff: device/vr/BUILD.gn

Issue 2156303003: Mojo C++ bindings: make the generator use STL/WTF string/vector/map by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into 72_switch_default Created 4 years, 5 months 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
« no previous file with comments | « device/vibration/vibration.gyp ('k') | device/vr/vr.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") # For generate_jni(). 9 import("//build/config/android/rules.gni") # For generate_jni().
10 } 10 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ":vr", 55 ":vr",
56 "//base", 56 "//base",
57 "//mojo/public/cpp/bindings", 57 "//mojo/public/cpp/bindings",
58 ] 58 ]
59 } 59 }
60 60
61 mojom("mojo_bindings") { 61 mojom("mojo_bindings") {
62 sources = [ 62 sources = [
63 "vr_service.mojom", 63 "vr_service.mojom",
64 ] 64 ]
65
66 use_new_wrapper_types = false
65 } 67 }
66 68
67 if (is_android) { 69 if (is_android) {
68 java_sources_needing_jni = 70 java_sources_needing_jni =
69 [ "android/java/src/org/chromium/device/vr/CardboardVRDevice.java" ] 71 [ "android/java/src/org/chromium/device/vr/CardboardVRDevice.java" ]
70 72
71 generate_jni("jni_headers") { 73 generate_jni("jni_headers") {
72 sources = java_sources_needing_jni 74 sources = java_sources_needing_jni
73 jni_package = "vr" 75 jni_package = "vr"
74 76
75 public_deps = [ 77 public_deps = [
76 "//third_party/cardboard-java:cardboard-java", 78 "//third_party/cardboard-java:cardboard-java",
77 ] 79 ]
78 } 80 }
79 81
80 android_library("java") { 82 android_library("java") {
81 java_files = java_sources_needing_jni 83 java_files = java_sources_needing_jni
82 deps = [ 84 deps = [
83 "//base:base_java", 85 "//base:base_java",
84 "//third_party/cardboard-java:cardboard-java", 86 "//third_party/cardboard-java:cardboard-java",
85 ] 87 ]
86 } 88 }
87 } 89 }
OLDNEW
« no previous file with comments | « device/vibration/vibration.gyp ('k') | device/vr/vr.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698