# Copyright 2019 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/android/features/tab_ui/buildflags.gni") import("//chrome/common/features.gni") java_strings_grd("java_strings_grd") { defines = chrome_grit_defines grd_file = "java/strings/android_chrome_tab_ui_strings.grd" outputs = [ "values/android_chrome_tab_ui_strings.xml", "values-am/android_chrome_tab_ui_strings.xml", "values-ar/android_chrome_tab_ui_strings.xml", "values-bg/android_chrome_tab_ui_strings.xml", "values-bn/android_chrome_tab_ui_strings.xml", "values-ca/android_chrome_tab_ui_strings.xml", "values-cs/android_chrome_tab_ui_strings.xml", "values-da/android_chrome_tab_ui_strings.xml", "values-de/android_chrome_tab_ui_strings.xml", "values-el/android_chrome_tab_ui_strings.xml", "values-en-rGB/android_chrome_tab_ui_strings.xml", "values-es/android_chrome_tab_ui_strings.xml", "values-es-rUS/android_chrome_tab_ui_strings.xml", "values-et/android_chrome_tab_ui_strings.xml", "values-fa/android_chrome_tab_ui_strings.xml", "values-fi/android_chrome_tab_ui_strings.xml", "values-fr/android_chrome_tab_ui_strings.xml", "values-gu/android_chrome_tab_ui_strings.xml", "values-hi/android_chrome_tab_ui_strings.xml", "values-hr/android_chrome_tab_ui_strings.xml", "values-hu/android_chrome_tab_ui_strings.xml", "values-in/android_chrome_tab_ui_strings.xml", "values-it/android_chrome_tab_ui_strings.xml", "values-iw/android_chrome_tab_ui_strings.xml", "values-ja/android_chrome_tab_ui_strings.xml", "values-kn/android_chrome_tab_ui_strings.xml", "values-ko/android_chrome_tab_ui_strings.xml", "values-lt/android_chrome_tab_ui_strings.xml", "values-lv/android_chrome_tab_ui_strings.xml", "values-ml/android_chrome_tab_ui_strings.xml", "values-mr/android_chrome_tab_ui_strings.xml", "values-ms/android_chrome_tab_ui_strings.xml", "values-nb/android_chrome_tab_ui_strings.xml", "values-nl/android_chrome_tab_ui_strings.xml", "values-pl/android_chrome_tab_ui_strings.xml", "values-pt-rBR/android_chrome_tab_ui_strings.xml", "values-pt-rPT/android_chrome_tab_ui_strings.xml", "values-ro/android_chrome_tab_ui_strings.xml", "values-ru/android_chrome_tab_ui_strings.xml", "values-sk/android_chrome_tab_ui_strings.xml", "values-sl/android_chrome_tab_ui_strings.xml", "values-sr/android_chrome_tab_ui_strings.xml", "values-sv/android_chrome_tab_ui_strings.xml", "values-sw/android_chrome_tab_ui_strings.xml", "values-ta/android_chrome_tab_ui_strings.xml", "values-te/android_chrome_tab_ui_strings.xml", "values-th/android_chrome_tab_ui_strings.xml", "values-tl/android_chrome_tab_ui_strings.xml", "values-tr/android_chrome_tab_ui_strings.xml", "values-uk/android_chrome_tab_ui_strings.xml", "values-vi/android_chrome_tab_ui_strings.xml", "values-zh-rCN/android_chrome_tab_ui_strings.xml", "values-zh-rTW/android_chrome_tab_ui_strings.xml", ] } android_resources("java_resources") { resource_dirs = [ "java/res" ] deps = [ ":java_strings_grd", "//chrome/android:chrome_app_java_resources", ] custom_package = "org.chromium.chrome.tab_ui" } android_library("java") { java_files = [ "java/src/org/chromium/chrome/browser/tasks/TasksSurfaceCoordinator.java", "java/src/org/chromium/chrome/browser/tasks/TasksView.java", "java/src/org/chromium/chrome/browser/tasks/TasksViewBinder.java", "java/src/org/chromium/chrome/browser/tasks/tab_groups/TabGroupUtils.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/ClosableTabGridView.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/MultiThumbnailCardProvider.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/SelectableTabGridView.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridDialogCoordinator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridDialogMediator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridDialogParent.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridIphItemCoordinator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridIphItemMediator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridIphItemProperties.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridIphItemView.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridIphItemViewBinder.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridItemTouchHelperCallback.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridSheetCoordinator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridSheetMediator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridSheetContent.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridSheetProperties.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridSheetToolbarCoordinator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridSheetViewBinder.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridViewBinder.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupUiCoordinator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupUiMediator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupUiToolbarView.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupUiToolbarViewBinder.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabListContainerProperties.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabListContainerViewBinder.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabListCoordinator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabListFaviconProvider.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabListMediator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabListModel.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabListRecyclerView.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabManagementDelegateImpl.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabProperties.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabSelectionEditorCoordinator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabSelectionEditorLayout.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabSelectionEditorLayoutBinder.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabSelectionEditorMediator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabSelectionEditorProperties.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabSelectionEditorToolbar.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabStripToolbarCoordinator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabStripToolbarViewProperties.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabStripViewBinder.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabSwitcherCoordinator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabSwitcherMediator.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/TabUiColorProvider.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/UndoGroupSnackbarController.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionProvider.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/StaleTabSuggestionProvider.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionsRanker.java", "java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionProviderConfiguration.java", ] deps = [ ":java_resources", "//base:base_java", "//chrome/android:chrome_java", "//chrome/android:chrome_strings_grd", "//chrome/android:ui_locale_string_resources", "//chrome/android/features/start_surface/internal:java", "//chrome/android/public/profiles:java", "//chrome/app:java_strings_grd", "//chrome/lib/lifecycle/public/android:java", "//chrome/lib/util/public/android:java", "//components/embedder_support/android:web_contents_delegate_java", "//components/feature_engagement:feature_engagement_java", "//components/policy/android:policy_java", "//content/public/android:content_java", "//content/public/android:content_java_resources", "//third_party/android_deps:android_arch_lifecycle_common_java", "//third_party/android_deps:android_arch_lifecycle_runtime_java", "//third_party/android_deps:android_arch_lifecycle_viewmodel_java", "//third_party/android_deps:android_support_v7_appcompat_java", "//third_party/android_deps:com_android_support_recyclerview_v7_java", "//third_party/android_deps:com_android_support_support_annotations_java", "//third_party/android_deps:com_android_support_support_compat_java", "//third_party/android_deps:com_android_support_support_v13_java", "//ui/android:ui_java", ] if (async_tab_ui) { proguard_configs = [ "//base/android/proguard/chromium_code.flags" ] } }