| 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/features.gni") | 5 import("features/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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 ] | 122 ] |
| 123 | 123 |
| 124 public_deps = [ | 124 public_deps = [ |
| 125 "//gpu/ipc/common:interfaces", | 125 "//gpu/ipc/common:interfaces", |
| 126 "//mojo/common:common_custom_types", | 126 "//mojo/common:common_custom_types", |
| 127 ] | 127 ] |
| 128 | 128 |
| 129 export_class_attribute = "DEVICE_VR_EXPORT" | 129 export_class_attribute = "DEVICE_VR_EXPORT" |
| 130 export_define = "DEVICE_VR_IMPLEMENTATION=1" | 130 export_define = "DEVICE_VR_IMPLEMENTATION=1" |
| 131 export_header = "device/vr/vr_export.h" | 131 export_header = "device/vr/vr_export.h" |
| 132 |
| 133 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 134 use_once_callback = false |
| 132 } | 135 } |
| OLD | NEW |