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

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

Issue 2161063003: 🎫 Fail write_build_config.py if current_toolchain != default_toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build deps Created 4 years, 4 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
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 use_new_wrapper_types = false 66 use_new_wrapper_types = false
67 } 67 }
68 68
69 if (is_android) { 69 if (is_android) {
70 java_sources_needing_jni = 70 java_sources_needing_jni =
71 [ "android/java/src/org/chromium/device/vr/CardboardVRDevice.java" ] 71 [ "android/java/src/org/chromium/device/vr/CardboardVRDevice.java" ]
72 72
73 generate_jni("jni_headers") { 73 generate_jni("jni_headers") {
74 sources = java_sources_needing_jni 74 sources = java_sources_needing_jni
75 jni_package = "vr" 75 jni_package = "vr"
76
77 public_deps = [
78 "//third_party/cardboard-java:cardboard-java",
79 ]
80 } 76 }
81 77
82 android_library("java") { 78 android_library("java") {
83 java_files = java_sources_needing_jni 79 java_files = java_sources_needing_jni
84 deps = [ 80 deps = [
85 "//base:base_java", 81 "//base:base_java",
86 "//third_party/cardboard-java:cardboard-java", 82 "//third_party/cardboard-java:cardboard-java",
87 ] 83 ]
88 } 84 }
89 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698