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

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

Issue 2319863005: Implement new compositor and ContentViewCore reparenting for VR Shell. (Closed)
Patch Set: 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 7
8 assert(enable_vr_shell && android_java_ui) 8 assert(enable_vr_shell && android_java_ui)
9 9
10 static_library("vr_shell") { 10 static_library("vr_shell") {
11 sources = [ 11 sources = [
12 "simple_compositor_view.cc",
13 "simple_compositor_view.h",
12 "ui_elements.cc", 14 "ui_elements.cc",
13 "ui_elements.h", 15 "ui_elements.h",
14 "vr_shell.cc", 16 "vr_shell.cc",
15 "vr_shell.h", 17 "vr_shell.h",
16 "vr_shell_renderer.cc", 18 "vr_shell_renderer.cc",
17 "vr_shell_renderer.h", 19 "vr_shell_renderer.h",
18 "vr_util.cc", 20 "vr_util.cc",
19 "vr_util.h", 21 "vr_util.h",
20 ] 22 ]
21 23
22 deps = [ 24 deps = [
23 ":vr_shell_jni_headers", 25 ":vr_shell_jni_headers",
24 "//base", 26 "//base",
25 "//third_party/gvr-android-sdk:gvr_base_java", 27 "//third_party/gvr-android-sdk:gvr_base_java",
26 "//third_party/gvr-android-sdk:gvr_common_java", 28 "//third_party/gvr-android-sdk:gvr_common_java",
27 "//third_party/gvr-android-sdk:libgvr", 29 "//third_party/gvr-android-sdk:libgvr",
28 "//ui/gl", 30 "//ui/gl",
29 "//ui/gl/init", 31 "//ui/gl/init",
30 ] 32 ]
31 33
32 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] 34 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
33 } 35 }
34 36
35 generate_jni("vr_shell_jni_headers") { 37 generate_jni("vr_shell_jni_headers") {
36 sources = [ 38 sources = [
37 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java ", 39 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java ",
38 ] 40 ]
39 jni_package = "vr_shell" 41 jni_package = "vr_shell"
40 } 42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698