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

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

Issue 2398103002: Enable magic window mode with new Gvr (Closed)
Patch Set: reviews Created 4 years, 2 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 | « content/public/android/BUILD.gn ('k') | device/vr/android/gvr/gvr_delegate.h » ('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 27 matching lines...) Expand all
38 "android/gvr/gvr_delegate.h", 38 "android/gvr/gvr_delegate.h",
39 "android/gvr/gvr_device.cc", 39 "android/gvr/gvr_device.cc",
40 "android/gvr/gvr_device.h", 40 "android/gvr/gvr_device.h",
41 "android/gvr/gvr_device_provider.cc", 41 "android/gvr/gvr_device_provider.cc",
42 "android/gvr/gvr_device_provider.h", 42 "android/gvr/gvr_device_provider.h",
43 "android/gvr/gvr_gamepad_data_fetcher.cc", 43 "android/gvr/gvr_gamepad_data_fetcher.cc",
44 "android/gvr/gvr_gamepad_data_fetcher.h", 44 "android/gvr/gvr_gamepad_data_fetcher.h",
45 ] 45 ]
46 46
47 deps += [ 47 deps += [
48 ":jni_headers",
49 "//device/gamepad", 48 "//device/gamepad",
50 "//third_party/WebKit/public:blink_headers", 49 "//third_party/WebKit/public:blink_headers",
51 "//third_party/gvr-android-sdk:libgvr", 50 "//third_party/gvr-android-sdk:libgvr",
52 ] 51 ]
53 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] 52 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
54 } 53 }
55 } 54 }
56 55
57 static_library("fakes") { 56 static_library("fakes") {
58 testonly = true 57 testonly = true
(...skipping 13 matching lines...) Expand all
72 ] 71 ]
73 } 72 }
74 73
75 mojom("mojo_bindings") { 74 mojom("mojo_bindings") {
76 sources = [ 75 sources = [
77 "vr_service.mojom", 76 "vr_service.mojom",
78 ] 77 ]
79 78
80 use_new_wrapper_types = false 79 use_new_wrapper_types = false
81 } 80 }
82
83 if (is_android) {
84 java_sources_needing_jni =
85 [ "android/java/src/org/chromium/device/vr/GvrDeviceProvider.java" ]
86
87 generate_jni("jni_headers") {
88 sources = java_sources_needing_jni
89 jni_package = "vr"
90 }
91
92 android_library("java") {
93 java_files = java_sources_needing_jni
94 deps = [
95 "//base:base_java",
96 "//third_party/android_protobuf:protobuf_nano_javalib",
97 "//third_party/gvr-android-sdk:gvr_common_java",
98 ]
99 }
100 }
OLDNEW
« no previous file with comments | « content/public/android/BUILD.gn ('k') | device/vr/android/gvr/gvr_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698