| 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/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
| 6 import("//chrome/common/features.gni") | 6 import("//chrome/common/features.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 assert(enable_vr_shell || enable_webvr) | 9 assert(enable_vr_shell || enable_webvr) |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 "vr_math.cc", | 34 "vr_math.cc", |
| 35 "vr_math.h", | 35 "vr_math.h", |
| 36 "vr_shell.cc", | 36 "vr_shell.cc", |
| 37 "vr_shell.h", | 37 "vr_shell.h", |
| 38 "vr_shell_delegate.cc", | 38 "vr_shell_delegate.cc", |
| 39 "vr_shell_delegate.h", | 39 "vr_shell_delegate.h", |
| 40 "vr_shell_renderer.cc", | 40 "vr_shell_renderer.cc", |
| 41 "vr_shell_renderer.h", | 41 "vr_shell_renderer.h", |
| 42 ] | 42 ] |
| 43 | 43 |
| 44 if (enable_vr_shell) { |
| 45 defines += [ "ENABLE_VR_SHELL" ] |
| 46 } |
| 44 if (enable_vr_shell_ui_dev) { | 47 if (enable_vr_shell_ui_dev) { |
| 45 assert(enable_vr_shell) | 48 assert(enable_vr_shell) |
| 46 defines += [ "ENABLE_VR_SHELL_UI_DEV" ] | 49 defines += [ "ENABLE_VR_SHELL_UI_DEV" ] |
| 47 } | 50 } |
| 48 | 51 |
| 49 deps = [ | 52 deps = [ |
| 50 ":vr_shell_jni_headers", | 53 ":vr_shell_jni_headers", |
| 51 "//base", | 54 "//base", |
| 52 "//cc", | 55 "//cc", |
| 53 "//content/public/browser", | 56 "//content/public/browser", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 80 | 83 |
| 81 deps = [ | 84 deps = [ |
| 82 ":vr_common", | 85 ":vr_common", |
| 83 "//base/test:run_all_unittests", | 86 "//base/test:run_all_unittests", |
| 84 "//base/test:test_support", | 87 "//base/test:test_support", |
| 85 "//testing/gtest", | 88 "//testing/gtest", |
| 86 "//ui/gfx/geometry", | 89 "//ui/gfx/geometry", |
| 87 ] | 90 ] |
| 88 } | 91 } |
| 89 } | 92 } |
| OLD | NEW |