| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 generate_jni("vr_shell_jni_headers") { | 76 generate_jni("vr_shell_jni_headers") { |
| 77 sources = [ | 77 sources = [ |
| 78 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDel
egate.java", | 78 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDel
egate.java", |
| 79 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImp
l.java", | 79 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImp
l.java", |
| 80 ] | 80 ] |
| 81 jni_package = "vr_shell" | 81 jni_package = "vr_shell" |
| 82 } | 82 } |
| 83 } | 83 } |
| 84 | 84 |
| 85 if (enable_vr_shell) { | 85 if (enable_webvr) { |
| 86 test("vr_shell_unittests") { | 86 test("vr_shell_unittests") { |
| 87 sources = [ | 87 sources = [ |
| 88 "ui_elements_unittest.cc", | 88 "ui_elements_unittest.cc", |
| 89 "ui_scene_unittest.cc", | 89 "ui_scene_unittest.cc", |
| 90 ] | 90 ] |
| 91 | 91 |
| 92 deps = [ | 92 deps = [ |
| 93 ":vr_common", | 93 ":vr_common", |
| 94 "//base/test:run_all_unittests", | 94 "//base/test:run_all_unittests", |
| 95 "//base/test:test_support", | 95 "//base/test:test_support", |
| 96 "//testing/gtest", | 96 "//testing/gtest", |
| 97 "//ui/gfx/geometry", | 97 "//ui/gfx/geometry", |
| 98 ] | 98 ] |
| 99 } | 99 } |
| 100 } | 100 } |
| OLD | NEW |