| # Copyright 2016 The Chromium Authors | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| import("//build/config/android/config.gni") | |
| import("//chrome/android/chrome_java_sources.gni") | |
| import("//chrome/common/features.gni") | |
| import("//components/offline_pages/buildflags/features.gni") | |
| import("//device/vr/buildflags/buildflags.gni") | |
| # Only used for testing, should not be shipped to end users. | |
| if (enable_offline_pages_harness) { | |
| chrome_java_sources += [ "java/src/org/chromium/chrome/browser/offlinepages/evaluation/OfflinePageEvaluationBridge.java" ] | |
| } | |
| if (enable_arcore) { | |
| chrome_java_sources += [ | |
| "java/src/org/chromium/chrome/browser/vr/ArCompositorDelegateImpl.java", | |
| "java/src/org/chromium/chrome/browser/vr/ArCompositorDelegateProviderImpl.java", | |
| ] | |
| } | |
| if (enable_cardboard) { | |
| chrome_java_sources += [ | |
| "java/src/org/chromium/chrome/browser/vr/VrCompositorDelegateImpl.java", | |
| "java/src/org/chromium/chrome/browser/vr/VrCompositorDelegateProviderImpl.java", | |
| ] | |
| } |