blob: 6687781711e29c8e1013a2f225cc512f787cb977 [file] [log] [blame]
# 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/android/chrome_junit_test_java_sources.gni")
import("//chrome/android/chrome_test_java_sources.gni")
import("//chrome/android/features/tab_ui/tab_management_java_sources.gni")
import("//chrome/android/feed/feed_java_sources.gni")
import(
"//chrome/browser/commerce/merchant_viewer/android/test_java_sources.gni")
import("//chrome/browser/commerce/price_tracking/android/test_java_sources.gni")
import(
"//chrome/browser/commerce/subscriptions/test/android/test_java_sources.gni")
import("//chrome/browser/data_sharing/java_sources.gni")
import("//chrome/browser/share/android/test_java_sources.gni")
import("//chrome/browser/tab_group_sync/android/test_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" ]
chrome_test_java_sources += [ "javatests/src/org/chromium/chrome/browser/offlinepages/OfflinePageSavePageLaterEvaluationTest.java" ]
}
chrome_junit_test_java_sources += feed_junit_test_java_sources
chrome_test_java_sources += feed_test_java_sources
chrome_junit_test_java_sources += tab_management_junit_java_sources
chrome_junit_test_java_sources += price_tracking_junit_test_java_sources
chrome_test_java_sources += price_tracking_test_java_sources
chrome_test_java_sources += tab_management_test_java_sources
chrome_test_java_sources += share_test_java_sources
chrome_junit_test_java_sources += share_junit_test_java_sources
chrome_junit_test_java_deps = share_junit_test_java_deps
chrome_junit_test_java_deps += feed_test_deps
chrome_junit_test_java_sources += commerce_subscriptions_junit_test_sources
chrome_junit_test_java_deps += commerce_subscriptions_junit_test_deps
chrome_test_java_sources += commerce_merchant_viewer_java_test_sources
chrome_test_java_sources += tab_group_sync_test_java_sources
chrome_junit_test_java_sources += data_sharing_java_tests
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",
]
}