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

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

Issue 2814443004: Refactor VR math off of GVR types, onto gfx types where possible. (Closed)
Patch Set: Fix tests Created 3 years, 8 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("features.gni") 5 import("features.gni")
6 import("//build/buildflag_header.gni") 6 import("//build/buildflag_header.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/rules.gni") # For generate_jni(). 10 import("//build/config/android/rules.gni") # For generate_jni().
(...skipping 29 matching lines...) Expand all
40 } else { 40 } else {
41 sources += [ 41 sources += [
42 "vr_device.cc", 42 "vr_device.cc",
43 "vr_device.h", 43 "vr_device.h",
44 "vr_device_manager.cc", 44 "vr_device_manager.cc",
45 "vr_device_manager.h", 45 "vr_device_manager.h",
46 "vr_device_provider.h", 46 "vr_device_provider.h",
47 "vr_display_impl.cc", 47 "vr_display_impl.cc",
48 "vr_display_impl.h", 48 "vr_display_impl.h",
49 "vr_export.h", 49 "vr_export.h",
50 "vr_math.cc",
51 "vr_math.h",
50 "vr_service_impl.cc", 52 "vr_service_impl.cc",
51 "vr_service_impl.h", 53 "vr_service_impl.h",
54 "vr_types.h",
52 ] 55 ]
53 56
54 deps += [ 57 deps += [
55 "//base", 58 "//base",
56 "//gpu/ipc/common:interfaces", 59 "//gpu/ipc/common:interfaces",
57 "//mojo/public/cpp/bindings", 60 "//mojo/public/cpp/bindings",
58 "//ui/gfx", 61 "//ui/gfx",
59 ] 62 ]
60 63
61 if (is_android && (current_cpu == "arm" || current_cpu == "arm64")) { 64 if (is_android && (current_cpu == "arm" || current_cpu == "arm64")) {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 126
124 public_deps = [ 127 public_deps = [
125 "//gpu/ipc/common:interfaces", 128 "//gpu/ipc/common:interfaces",
126 "//mojo/common:common_custom_types", 129 "//mojo/common:common_custom_types",
127 ] 130 ]
128 131
129 export_class_attribute = "DEVICE_VR_EXPORT" 132 export_class_attribute = "DEVICE_VR_EXPORT"
130 export_define = "DEVICE_VR_IMPLEMENTATION=1" 133 export_define = "DEVICE_VR_IMPLEMENTATION=1"
131 export_header = "device/vr/vr_export.h" 134 export_header = "device/vr/vr_export.h"
132 } 135 }
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_renderer.cc ('k') | device/vr/android/gvr/gvr_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698