| OLD | NEW |
| 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 25 matching lines...) Expand all Loading... |
| 36 } else { | 36 } else { |
| 37 sources += [ | 37 sources += [ |
| 38 "vr_device.cc", | 38 "vr_device.cc", |
| 39 "vr_device.h", | 39 "vr_device.h", |
| 40 "vr_device_manager.cc", | 40 "vr_device_manager.cc", |
| 41 "vr_device_manager.h", | 41 "vr_device_manager.h", |
| 42 "vr_device_provider.h", | 42 "vr_device_provider.h", |
| 43 "vr_display_impl.cc", | 43 "vr_display_impl.cc", |
| 44 "vr_display_impl.h", | 44 "vr_display_impl.h", |
| 45 "vr_export.h", | 45 "vr_export.h", |
| 46 "vr_math.cc", |
| 47 "vr_math.h", |
| 46 "vr_service_impl.cc", | 48 "vr_service_impl.cc", |
| 47 "vr_service_impl.h", | 49 "vr_service_impl.h", |
| 50 "vr_types.h", |
| 48 ] | 51 ] |
| 49 | 52 |
| 50 deps += [ | 53 deps += [ |
| 51 "//base", | 54 "//base", |
| 52 "//gpu/ipc/common:interfaces", | 55 "//gpu/ipc/common:interfaces", |
| 53 "//mojo/public/cpp/bindings", | 56 "//mojo/public/cpp/bindings", |
| 54 "//ui/gfx", | 57 "//ui/gfx", |
| 55 ] | 58 ] |
| 56 | 59 |
| 57 if (is_android && (current_cpu == "arm" || current_cpu == "arm64")) { | 60 if (is_android && (current_cpu == "arm" || current_cpu == "arm64")) { |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 114 |
| 112 public_deps = [ | 115 public_deps = [ |
| 113 "//gpu/ipc/common:interfaces", | 116 "//gpu/ipc/common:interfaces", |
| 114 "//mojo/common:common_custom_types", | 117 "//mojo/common:common_custom_types", |
| 115 ] | 118 ] |
| 116 | 119 |
| 117 export_class_attribute = "DEVICE_VR_EXPORT" | 120 export_class_attribute = "DEVICE_VR_EXPORT" |
| 118 export_define = "DEVICE_VR_IMPLEMENTATION=1" | 121 export_define = "DEVICE_VR_IMPLEMENTATION=1" |
| 119 export_header = "device/vr/vr_export.h" | 122 export_header = "device/vr/vr_export.h" |
| 120 } | 123 } |
| OLD | NEW |