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

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

Issue 2738683002: WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: Less hacked up version Created 3 years, 9 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 | « chrome/browser/android/vr_shell/vr_shell_gpu_renderer.cc ('k') | device/vr/DEPS » ('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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 "android/gvr/gvr_device.cc", 53 "android/gvr/gvr_device.cc",
54 "android/gvr/gvr_device.h", 54 "android/gvr/gvr_device.h",
55 "android/gvr/gvr_device_provider.cc", 55 "android/gvr/gvr_device_provider.cc",
56 "android/gvr/gvr_device_provider.h", 56 "android/gvr/gvr_device_provider.h",
57 "android/gvr/gvr_gamepad_data_fetcher.cc", 57 "android/gvr/gvr_gamepad_data_fetcher.cc",
58 "android/gvr/gvr_gamepad_data_fetcher.h", 58 "android/gvr/gvr_gamepad_data_fetcher.h",
59 ] 59 ]
60 60
61 deps += [ 61 deps += [
62 "//device/gamepad", 62 "//device/gamepad",
63 "//gpu/ipc/common:interfaces",
63 "//third_party/WebKit/public:blink_headers", 64 "//third_party/WebKit/public:blink_headers",
64 ] 65 ]
65 ldflags = [ "-landroid" ] 66 ldflags = [ "-landroid" ]
66 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}. a" ] 67 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}. a" ]
67 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] 68 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
68 } 69 }
69 } 70 }
70 } 71 }
71 72
72 if (enable_webvr) { 73 if (enable_webvr) {
(...skipping 19 matching lines...) Expand all
92 ] 93 ]
93 } 94 }
94 } 95 }
95 96
96 mojom("mojo_bindings") { 97 mojom("mojo_bindings") {
97 sources = [ 98 sources = [
98 "vr_service.mojom", 99 "vr_service.mojom",
99 ] 100 ]
100 101
101 public_deps = [ 102 public_deps = [
103 "//gpu/ipc/common:interfaces",
102 "//mojo/common:common_custom_types", 104 "//mojo/common:common_custom_types",
103 ] 105 ]
104 106
105 export_class_attribute = "DEVICE_VR_EXPORT" 107 export_class_attribute = "DEVICE_VR_EXPORT"
106 export_define = "DEVICE_VR_IMPLEMENTATION=1" 108 export_define = "DEVICE_VR_IMPLEMENTATION=1"
107 export_header = "device/vr/vr_export.h" 109 export_header = "device/vr/vr_export.h"
108 } 110 }
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_gpu_renderer.cc ('k') | device/vr/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698