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("//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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 "//base", | 76 "//base", |
77 "//mojo/public/cpp/bindings", | 77 "//mojo/public/cpp/bindings", |
78 ] | 78 ] |
79 } | 79 } |
80 } | 80 } |
81 | 81 |
82 mojom("mojo_bindings") { | 82 mojom("mojo_bindings") { |
83 sources = [ | 83 sources = [ |
84 "vr_service.mojom", | 84 "vr_service.mojom", |
85 ] | 85 ] |
| 86 |
| 87 public_deps = [ |
| 88 "//mojo/common:common_custom_types", |
| 89 ] |
| 90 |
| 91 export_class_attribute = "DEVICE_VR_EXPORT" |
| 92 export_define = "DEVICE_VR_IMPLEMENTATION=1" |
| 93 export_header = "device/vr/vr_export.h" |
86 } | 94 } |
OLD | NEW |