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

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

Issue 2742083002: Revert of Re-land WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: 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_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 24 matching lines...) Expand all
35 "vr_device_provider.h", 35 "vr_device_provider.h",
36 "vr_display_impl.cc", 36 "vr_display_impl.cc",
37 "vr_display_impl.h", 37 "vr_display_impl.h",
38 "vr_export.h", 38 "vr_export.h",
39 "vr_service_impl.cc", 39 "vr_service_impl.cc",
40 "vr_service_impl.h", 40 "vr_service_impl.h",
41 ] 41 ]
42 42
43 deps += [ 43 deps += [
44 "//base", 44 "//base",
45 "//gpu/ipc/common:interfaces",
46 "//mojo/public/cpp/bindings", 45 "//mojo/public/cpp/bindings",
47 "//ui/gfx", 46 "//ui/gfx",
48 ] 47 ]
49 48
50 if (is_android && (current_cpu == "arm" || current_cpu == "arm64")) { 49 if (is_android && (current_cpu == "arm" || current_cpu == "arm64")) {
51 sources += [ 50 sources += [
52 "android/gvr/gvr_delegate.cc", 51 "android/gvr/gvr_delegate.cc",
53 "android/gvr/gvr_delegate.h", 52 "android/gvr/gvr_delegate.h",
54 "android/gvr/gvr_device.cc", 53 "android/gvr/gvr_device.cc",
55 "android/gvr/gvr_device.h", 54 "android/gvr/gvr_device.h",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 ] 92 ]
94 } 93 }
95 } 94 }
96 95
97 mojom("mojo_bindings") { 96 mojom("mojo_bindings") {
98 sources = [ 97 sources = [
99 "vr_service.mojom", 98 "vr_service.mojom",
100 ] 99 ]
101 100
102 public_deps = [ 101 public_deps = [
103 "//gpu/ipc/common:interfaces",
104 "//mojo/common:common_custom_types", 102 "//mojo/common:common_custom_types",
105 ] 103 ]
106 104
107 export_class_attribute = "DEVICE_VR_EXPORT" 105 export_class_attribute = "DEVICE_VR_EXPORT"
108 export_define = "DEVICE_VR_IMPLEMENTATION=1" 106 export_define = "DEVICE_VR_IMPLEMENTATION=1"
109 export_header = "device/vr/vr_export.h" 107 export_header = "device/vr/vr_export.h"
110 } 108 }
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_renderer.cc ('k') | device/vr/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698