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

Unified Diff: chrome/android/BUILD.gn

Issue 2865463003: Tracks GVR version crossed with headset type using UMA. (Closed)
Patch Set: Nit: only create native-Java enum if enable_vr is set Created 3 years, 7 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
Index: chrome/android/BUILD.gn
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index 7e193cadcf18b2ec3267c093b885d5bc022ef928..3dd090ac9d996a18fcbb9173e6eddf428f4d3de3 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -278,6 +278,7 @@ android_library("chrome_java") {
if (enable_vr) {
java_files += chrome_vr_java_sources
deps += [ "//third_party/gvr-android-sdk:gvr_common_java" ]
+ srcjar_deps += [ ":chrome_vr_android_java_enums_srcjar" ]
}
# Add the actual implementation where necessary so that downstream targets
@@ -315,6 +316,14 @@ java_cpp_enum("chrome_android_java_enums_srcjar") {
]
}
+if (enable_vr) {
+ java_cpp_enum("chrome_vr_android_java_enums_srcjar") {
+ sources = [
+ "//chrome/browser/android/vr_shell/vr_core_info.h",
+ ]
+ }
+}
+
proto_java_library("document_tab_model_info_proto_java") {
proto_path = "java/src/org/chromium/chrome/browser/tabmodel/document"
sources = [

Powered by Google App Engine
This is Rietveld 408576698