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

Unified Diff: chrome/browser/android/vr_shell/BUILD.gn

Issue 2252103002: Introduce ChromeVR to Chrome on Android (behind a build flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment as suggested by Daniel Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/android/vr_shell/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/BUILD.gn
diff --git a/chrome/browser/android/vr_shell/BUILD.gn b/chrome/browser/android/vr_shell/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..9cbfe690d4d75dd72488fcaa6595b035c30e186b
--- /dev/null
+++ b/chrome/browser/android/vr_shell/BUILD.gn
@@ -0,0 +1,38 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/android/rules.gni")
+import("//chrome/common/features.gni")
+
+assert(enable_vr_shell && android_java_ui)
+
+static_library("vr_shell") {
+ sources = [
+ "vr_shell.cc",
+ "vr_shell.h",
+ "vr_shell_renderer.cc",
+ "vr_shell_renderer.h",
+ "vr_util.cc",
+ "vr_util.h",
+ ]
+
+ deps = [
+ ":vr_shell_jni_headers",
+ "//base",
+ "//third_party/gvr-android-sdk:gvr_base_java",
+ "//third_party/gvr-android-sdk:gvr_common_java",
+ "//third_party/gvr-android-sdk:libgvr",
+ "//ui/gl",
+ "//ui/gl/init",
+ ]
+
+ configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
+}
+
+generate_jni("vr_shell_jni_headers") {
+ sources = [
+ "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java",
+ ]
+ jni_package = "vr_shell"
+}
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/android/vr_shell/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698