1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
# Copyright 2021 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/rules.gni")
import("//chrome/android/features/android_library_factory_tmpl.gni")
source_set("android") {
sources = [
"credential_edit_bridge.cc",
"credential_edit_bridge.h",
]
deps = [
"//base",
"//chrome/app:generated_resources",
"//chrome/browser/password_entry_edit/android/internal:jni",
"//chrome/browser/ui",
"//components/password_manager/core/browser",
"//components/password_manager/core/browser/affiliation:affiliation_fetching",
"//components/url_formatter",
"//ui/base",
]
}
android_library("java") {
sources = [
"//chrome/browser/password_entry_edit/android/java/src/org/chromium/chrome/browser/password_entry_edit/BlockedCredentialFragmentView.java",
"//chrome/browser/password_entry_edit/android/java/src/org/chromium/chrome/browser/password_entry_edit/CredentialEditFragmentView.java",
"//chrome/browser/password_entry_edit/android/java/src/org/chromium/chrome/browser/password_entry_edit/CredentialEntryFragmentViewBase.java",
"//chrome/browser/password_entry_edit/android/java/src/org/chromium/chrome/browser/password_entry_edit/FederatedCredentialFragmentView.java",
]
deps = [
":java_resources",
"//base:supplier_java",
"//components/browser_ui/settings/android:java",
"//third_party/android_deps:material_design_java",
"//third_party/androidx:androidx_annotation_annotation_java",
"//third_party/androidx:androidx_core_core_java",
"//third_party/androidx:androidx_fragment_fragment_java",
"//third_party/androidx:androidx_preference_preference_java",
"//ui/android:ui_no_recycler_view_java",
]
resources_package = "org.chromium.chrome.browser.password_entry_edit"
}
android_resources("java_resources") {
sources = [
"java/res/layout/blocked_credential_view.xml",
"java/res/layout/credential_edit_view.xml",
"java/res/layout/federated_credential_view.xml",
"java/res/layout/site_or_app.xml",
"java/res/menu/credential_edit_action_bar_menu.xml",
"java/res/values/dimens.xml",
]
deps = [
"//chrome/browser/feedback/android:java_resources",
"//chrome/browser/ui/android/strings:ui_strings_grd",
"//components/browser_ui/styles/android:java_resources",
"//components/browser_ui/widget/android:java_resources",
]
}
android_library_factory("factory_java") {
# These deps will be inherited by the resulting android_library target.
deps = [
":java",
"//chrome/browser/feedback/android:java",
"//chrome/browser/profiles/android:java",
]
# This internal file will be replaced by a generated file so the resulting
# android_library target does not actually depend on this internal file.
sources = [ "//chrome/browser/password_entry_edit/android/internal/java/src/org/chromium/chrome/browser/password_entry_edit/CredentialEditUiFactory.java" ]
}
|