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

Side by Side Diff: chrome/browser/android/vr_shell/BUILD.gn

Issue 2354373002: Implement UI web contents for Vr Shell (Closed)
Patch Set: Addressed comments Created 4 years, 3 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
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/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 && android_java_ui) 9 assert(enable_vr_shell && android_java_ui)
10 10
(...skipping 13 matching lines...) Expand all
24 "vr_math.h", 24 "vr_math.h",
25 "vr_shell.cc", 25 "vr_shell.cc",
26 "vr_shell.h", 26 "vr_shell.h",
27 "vr_shell_renderer.cc", 27 "vr_shell_renderer.cc",
28 "vr_shell_renderer.h", 28 "vr_shell_renderer.h",
29 ] 29 ]
30 30
31 deps = [ 31 deps = [
32 ":vr_shell_jni_headers", 32 ":vr_shell_jni_headers",
33 "//base", 33 "//base",
34 "//content/public/common",
34 "//device/vr", 35 "//device/vr",
35 "//third_party/gvr-android-sdk:gvr_base_java", 36 "//third_party/gvr-android-sdk:gvr_base_java",
36 "//third_party/gvr-android-sdk:gvr_common_java", 37 "//third_party/gvr-android-sdk:gvr_common_java",
37 "//third_party/gvr-android-sdk:libgvr", 38 "//third_party/gvr-android-sdk:libgvr",
39 "//ui/base",
38 "//ui/gl", 40 "//ui/gl",
39 "//ui/gl/init", 41 "//ui/gl/init",
40 ] 42 ]
41 43
42 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] 44 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
43 } 45 }
44 46
45 generate_jni("vr_shell_jni_headers") { 47 generate_jni("vr_shell_jni_headers") {
46 sources = [ 48 sources = [
47 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java ", 49 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java ",
48 ] 50 ]
49 jni_package = "vr_shell" 51 jni_package = "vr_shell"
50 } 52 }
51 53
52 test("vr_shell_unittests") { 54 test("vr_shell_unittests") {
53 sources = [ 55 sources = [
54 "ui_elements_unittest.cc", 56 "ui_elements_unittest.cc",
55 ] 57 ]
56 58
57 deps = [ 59 deps = [
58 ":vr_shell", 60 ":vr_shell",
59 "//base/test:run_all_unittests", 61 "//base/test:run_all_unittests",
60 "//base/test:test_support", 62 "//base/test:test_support",
61 "//testing/gtest", 63 "//testing/gtest",
62 "//ui/gfx/geometry", 64 "//ui/gfx/geometry",
63 ] 65 ]
64 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698