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

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

Issue 2059983002: Remove unnecessary dependencies on mojo/edk/system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 6 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 | « device/vibration/BUILD.gn ('k') | extensions/BUILD.gn » ('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 }
11 11
12 component("vr") { 12 component("vr") {
13 output_name = "device_vr" 13 output_name = "device_vr"
14 14
15 sources = [ 15 sources = [
16 "vr_device.cc", 16 "vr_device.cc",
17 "vr_device.h", 17 "vr_device.h",
18 "vr_device_manager.cc", 18 "vr_device_manager.cc",
19 "vr_device_manager.h", 19 "vr_device_manager.h",
20 "vr_device_provider.h", 20 "vr_device_provider.h",
21 ] 21 ]
22 22
23 deps = [ 23 deps = [
24 ":mojo_bindings", 24 ":mojo_bindings",
25 "//base", 25 "//base",
26 "//mojo/edk/system",
27 "//mojo/public/cpp/bindings", 26 "//mojo/public/cpp/bindings",
28 "//third_party/WebKit/public:mojo_bindings", 27 "//third_party/WebKit/public:mojo_bindings",
29 "//ui/gfx", 28 "//ui/gfx",
30 ] 29 ]
31 30
32 defines = [ "DEVICE_VR_IMPLEMENTATION" ] 31 defines = [ "DEVICE_VR_IMPLEMENTATION" ]
33 32
34 if (is_android) { 33 if (is_android) {
35 sources += [ 34 sources += [
36 "android/cardboard/cardboard_vr_device.cc", 35 "android/cardboard/cardboard_vr_device.cc",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 80 }
82 81
83 android_library("java") { 82 android_library("java") {
84 java_files = java_sources_needing_jni 83 java_files = java_sources_needing_jni
85 deps = [ 84 deps = [
86 "//base:base_java", 85 "//base:base_java",
87 "//third_party/cardboard-java:cardboard-java", 86 "//third_party/cardboard-java:cardboard-java",
88 ] 87 ]
89 } 88 }
90 } 89 }
OLDNEW
« no previous file with comments | « device/vibration/BUILD.gn ('k') | extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698