| # 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/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/autofill_assistant/public/java_sources.gni") |
| import( |
| "//chrome/android/features/start_surface/internal/javatests/start_surface_test_java_sources.gni") |
| import( |
| "//chrome/android/features/start_surface/internal/junit/start_surface_junit_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/share/android/test_java_sources.gni") |
| import("//chrome/common/features.gni") |
| import("//components/feed/features.gni") |
| import("//components/offline_pages/buildflags/features.gni") |
| import("//components/omnibox/browser/test_java_sources.gni") |
| import("//device/vr/buildflags/buildflags.gni") |
| |
| chrome_java_sources += public_autofill_assistant_java_sources |
| |
| if (enable_vr) { |
| chrome_java_sources += [ "java/src/org/chromium/chrome/browser/component_updater/VrAssetsComponentInstaller.java" ] |
| } |
| |
| # 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_test_java_sources += start_surface_test_java_sources |
| chrome_junit_test_java_sources += start_surface_junit_java_sources |
| chrome_junit_test_java_sources += tab_management_junit_java_sources |
| chrome_test_java_sources += omnibox_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 |
| |
| if (enable_arcore) { |
| chrome_java_sources += [ |
| "java/src/org/chromium/chrome/browser/vr/ArCompositorDelegateImpl.java", |
| "java/src/org/chromium/chrome/browser/vr/ArCompositorDelegateProviderImpl.java", |
| "java/src/org/chromium/chrome/browser/vr/ArDelegateImpl.java", |
| ] |
| } |