blob: 188e7a867084874c65aa983efe5b102424d4b68a [file] [log] [blame]
# 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("//build/config/locales.gni")
import("//chrome/android/features/tab_ui/buildflags.gni")
import("//chrome/common/features.gni")
import("//components/module_installer/android/module_desc_java.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" ] +
process_file_template(
android_bundle_locales_as_resources,
[ "values-{{source_name_part}}/android_chrome_tab_ui_strings.xml" ])
}
android_resources("java_resources") {
sources = [
"java/res/anim/iph_hovered_card_animation.xml",
"java/res/anim/iph_selected_card_animation.xml",
"java/res/anim/iph_selected_card_color_change_animation.xml",
"java/res/anim/iph_touch_point_alpha_animation.xml",
"java/res/anim/iph_touch_point_animation.xml",
"java/res/anim/iph_touch_point_background_alpha_animation.xml",
"java/res/anim/iph_touch_point_background_animation.xml",
"java/res/color/dark_text_color_list.xml",
"java/res/drawable-v21/fake_search_box_bg_incognito.xml",
"java/res/drawable/fake_search_box_text_box_bg_incognito.xml",
"java/res/drawable/hovered_tab_grid_card_background.xml",
"java/res/drawable/ic_check_googblue_20dp_animated.xml",
"java/res/drawable/ic_group_icon_16dp.xml",
"java/res/drawable/iph_drag_and_drop_animated_drawable.xml",
"java/res/drawable/iph_drag_and_drop_drawable.xml",
"java/res/drawable/message_card_background.xml",
"java/res/drawable/message_card_background_with_inset.xml",
"java/res/drawable/popup_bg_dark.xml",
"java/res/drawable/selected_tab_background.xml",
"java/res/drawable/selected_tab_background_incognito.xml",
"java/res/drawable/single_tab_background.xml",
"java/res/drawable/tab_grid_dialog_background.xml",
"java/res/drawable/tab_grid_dialog_background_incognito.xml",
"java/res/drawable/tab_grid_selection_list_icon.xml",
"java/res/drawable/tab_strip_fading_edge_end.xml",
"java/res/drawable/tab_strip_fading_edge_start.xml",
"java/res/drawable/tab_strip_favicon_circle.xml",
"java/res/drawable/tab_strip_selected_ring.xml",
"java/res/drawable/tab_strip_selected_ring_incognito.xml",
"java/res/drawable/tabstrip_favicon_background.xml",
"java/res/drawable/ungroup_bar_background.xml",
"java/res/layout/bottom_tab_grid_toolbar.xml",
"java/res/layout/bottom_tab_strip_toolbar.xml",
"java/res/layout/closable_tab_grid_card_item.xml",
"java/res/layout/closable_tab_list_card_item.xml",
"java/res/layout/incognito_description_container_layout.xml",
"java/res/layout/iph_drag_and_drop_dialog_layout.xml",
"java/res/layout/new_tab_tile_card_item.xml",
"java/res/layout/selectable_tab_grid_card_item.xml",
"java/res/layout/selectable_tab_list_card_item.xml",
"java/res/layout/single_tab_view_layout.xml",
"java/res/layout/tab_grid_card_item.xml",
"java/res/layout/tab_grid_dialog_layout.xml",
"java/res/layout/tab_grid_message_card_item.xml",
"java/res/layout/tab_list_card_item.xml",
"java/res/layout/tab_list_recycler_view_layout.xml",
"java/res/layout/tab_selection_editor_layout.xml",
"java/res/layout/tab_selection_editor_toolbar.xml",
"java/res/layout/tab_strip_item.xml",
"java/res/layout/tasks_view_layout.xml",
"java/res/layout/trendy_terms_item.xml",
"java/res/values/colors.xml",
"java/res/values/dimens.xml",
"java/res/values/drawables.xml",
"java/res/values/ids.xml",
"java/res/values/styles.xml",
]
deps = [
":java_strings_grd",
"//chrome/android:chrome_app_java_resources",
]
create_srcjar = false
}
android_library("java") {
sources = [
"java/src/org/chromium/chrome/browser/tasks/MostVisitedListCoordinator.java",
"java/src/org/chromium/chrome/browser/tasks/MostVisitedListViewBinder.java",
"java/src/org/chromium/chrome/browser/tasks/SingleTabSwitcherCoordinator.java",
"java/src/org/chromium/chrome/browser/tasks/SingleTabSwitcherMediator.java",
"java/src/org/chromium/chrome/browser/tasks/SingleTabView.java",
"java/src/org/chromium/chrome/browser/tasks/SingleTabViewBinder.java",
"java/src/org/chromium/chrome/browser/tasks/SingleTabViewProperties.java",
"java/src/org/chromium/chrome/browser/tasks/TasksSurfaceCoordinator.java",
"java/src/org/chromium/chrome/browser/tasks/TasksSurfaceMediator.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/TrendyTermsCache.java",
"java/src/org/chromium/chrome/browser/tasks/TrendyTermsCoordinator.java",
"java/src/org/chromium/chrome/browser/tasks/TrendyTermsProperties.java",
"java/src/org/chromium/chrome/browser/tasks/TrendyTermsViewBinder.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/IphMessageCardViewModel.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/IphMessageService.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/MessageCardProviderCoordinator.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/MessageCardProviderMediator.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/MessageCardView.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/MessageCardViewBinder.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/MessageCardViewProperties.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/MessageService.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/MultiThumbnailCardProvider.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/NewTabTileCoordinator.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/NewTabTileMediator.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/NewTabTileView.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/NewTabTileViewBinder.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/NewTabTileViewProperties.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/TabGridDialogMenuCoordinator.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridDialogMenuItemBinder.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridDialogMenuItemProperties.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridDialogView.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridIphDialogCoordinator.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridIphDialogView.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridItemTouchHelperCallback.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridPanelProperties.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridPanelViewBinder.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridThumbnailView.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGridViewBinder.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupTitleEditor.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/TabGroupUiProperties.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupUiToolbarView.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupUiViewBinder.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/TabListViewBinder.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/TabSelectionEditorActionProvider.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/TabStripViewBinder.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabSuggestionMessageCardViewModel.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/TabSuggestionMessageService.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/BaselineTabSuggestionProvider.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/StaleTabSuggestionProvider.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabContextObserver.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionProvider.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionProviderConfiguration.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionsClientFetcher.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionsFetcher.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionsFetcherResults.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionsOrchestrator.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionsRanker.java",
"java/src/org/chromium/chrome/browser/tasks/tab_management/suggestions/TabSuggestionsServerFetcher.java",
]
deps = [
":java_resources",
"//base:base_java",
"//chrome/android:chrome_java",
"//chrome/android:ui_locale_string_resources",
"//chrome/android/features/start_surface/internal:java",
"//chrome/app:java_strings_grd",
"//chrome/browser/android/lifecycle:java",
"//chrome/browser/browser_controls/android:java",
"//chrome/browser/flags:java",
"//chrome/browser/profiles/android:java",
"//chrome/browser/share:java",
"//chrome/browser/tab:java",
"//chrome/browser/tabmodel:java",
"//chrome/browser/ui/android/favicon:java",
"//chrome/browser/ui/android/strings:ui_strings_grd",
"//chrome/browser/ui/messages/android:java",
"//chrome/browser/util:java",
"//components/browser_ui/android/bottomsheet:java",
"//components/browser_ui/share/android:java",
"//components/browser_ui/styles/android:java",
"//components/browser_ui/widget/android:java",
"//components/content_settings/android:content_settings_enums_java",
"//components/embedder_support/android:util_java",
"//components/embedder_support/android:web_contents_delegate_java",
"//components/feature_engagement:feature_engagement_java",
"//components/infobars/core:infobar_enums_java",
"//components/policy/android:policy_java",
"//components/search_engines/android:java",
"//components/signin/public/android:java",
"//content/public/android:content_java",
"//content/public/android:content_java_resources",
"//third_party/android_deps:android_support_v7_appcompat_java",
"//third_party/android_deps:androidx_annotation_annotation_java",
"//third_party/android_deps:androidx_appcompat_appcompat_resources_java",
"//third_party/android_deps:androidx_core_core_java",
"//third_party/android_deps:androidx_lifecycle_lifecycle_common_java",
"//third_party/android_deps:androidx_lifecycle_lifecycle_runtime_java",
"//third_party/android_deps:androidx_lifecycle_lifecycle_viewmodel_java",
"//third_party/android_deps:androidx_recyclerview_recyclerview_java",
"//third_party/android_deps:material_design_java",
"//ui/android:ui_java",
]
resources_package = "org.chromium.chrome.tab_ui"
}
module_desc_java("module_desc_java") {
module_name = "tab_management"
}