Mugdha Lakhani | b676216 | 2020-03-30 10:23:25 | [diff] [blame] | 1 | if (is_android) { |
| 2 | import("//build/config/android/rules.gni") |
| 3 | } |
| 4 | |
| 5 | static_library("page_info") { |
| 6 | sources = [ |
| 7 | "page_info.cc", |
| 8 | "page_info.h", |
| 9 | "page_info_delegate.h", |
| 10 | "page_info_ui.cc", |
| 11 | "page_info_ui.h", |
| 12 | "page_info_ui_delegate.h", |
| 13 | ] |
| 14 | |
| 15 | deps = [ |
| 16 | "//base", |
Yuta Hijikata | 62dbeaf | 2020-12-10 04:15:51 | [diff] [blame] | 17 | "//build:chromeos_buildflags", |
Mugdha Lakhani | b676216 | 2020-03-30 10:23:25 | [diff] [blame] | 18 | "//components/browsing_data/content", |
Mariam Ali | bcdd0229 | 2023-08-09 15:15:56 | [diff] [blame] | 19 | "//components/browsing_data/core", |
Mugdha Lakhani | 3c22480d4 | 2020-04-24 12:43:42 | [diff] [blame] | 20 | "//components/content_settings/browser", |
Zofia Salata | 47a06f1 | 2022-08-29 13:07:55 | [diff] [blame] | 21 | "//components/content_settings/browser/ui", |
Mugdha Lakhani | b676216 | 2020-03-30 10:23:25 | [diff] [blame] | 22 | "//components/content_settings/core/browser", |
Olesia Marukhno | c32df88 | 2021-09-27 14:17:45 | [diff] [blame] | 23 | "//components/keyed_service/core", |
Olesia Marukhno | c32df88 | 2021-09-27 14:17:45 | [diff] [blame] | 24 | "//components/optimization_guide/core", |
Olesia Marukhno | 46ccd43 | 2021-12-03 08:50:27 | [diff] [blame] | 25 | "//components/page_info/core", |
Mugdha Lakhani | b676216 | 2020-03-30 10:23:25 | [diff] [blame] | 26 | "//components/password_manager/core/browser", |
| 27 | "//components/permissions", |
Carlos IL | b1c3fd5 | 2020-06-17 22:12:04 | [diff] [blame] | 28 | "//components/prefs", |
Christian Dullweber | 9b55cdf | 2022-03-08 17:54:10 | [diff] [blame] | 29 | "//components/privacy_sandbox", |
Mugdha Lakhani | b676216 | 2020-03-30 10:23:25 | [diff] [blame] | 30 | "//components/safe_browsing:buildflags", |
Colin Blundell | 78b3992 | 2021-06-24 08:42:08 | [diff] [blame] | 31 | "//components/safe_browsing/content/browser/password_protection", |
Colin Blundell | 51fe564 | 2021-06-25 11:58:37 | [diff] [blame] | 32 | "//components/safe_browsing/core/browser/password_protection:password_protection_metrics_util", |
Sarah Criel | 43deb2c | 2023-09-01 16:58:25 | [diff] [blame] | 33 | "//components/safe_browsing/core/common:common", |
Colin Blundell | 8bee039 | 2021-06-29 08:34:32 | [diff] [blame] | 34 | "//components/safe_browsing/core/common/proto:csd_proto", |
Mugdha Lakhani | b676216 | 2020-03-30 10:23:25 | [diff] [blame] | 35 | "//components/security_interstitials/content:security_interstitial_page", |
| 36 | "//components/security_interstitials/core", |
| 37 | "//components/security_state/core", |
| 38 | "//components/signin/public/identity_manager", |
| 39 | "//components/ssl_errors:ssl_errors", |
Henrique Ferreiro | 10ff95a | 2023-09-14 10:58:27 | [diff] [blame] | 40 | "//components/strings:components_branded_strings_grit", |
Mugdha Lakhani | b676216 | 2020-03-30 10:23:25 | [diff] [blame] | 41 | "//components/strings:components_strings_grit", |
| 42 | "//components/subresource_filter/core/browser", |
| 43 | "//components/ukm/content", |
| 44 | "//components/url_formatter", |
| 45 | "//components/vector_icons:vector_icons", |
| 46 | "//content/public/browser:browser", |
| 47 | "//services/device/public/cpp:device_features", |
| 48 | "//services/metrics/public/cpp:ukm_builders", |
| 49 | ] |
| 50 | |
| 51 | if (is_android) { |
| 52 | deps += [ |
| 53 | "//components/browser_ui/util/android", |
| 54 | "//components/password_manager/core/browser:password_manager_java_enums_srcjar", |
| 55 | "//components/resources:android_resources", |
| 56 | ] |
Peter Kasting | 11957ed | 2021-04-21 22:21:54 | [diff] [blame] | 57 | } else { |
| 58 | deps += [ "//ui/native_theme" ] |
Mugdha Lakhani | b676216 | 2020-03-30 10:23:25 | [diff] [blame] | 59 | } |
| 60 | } |
| 61 | |
| 62 | if (is_android) { |
| 63 | java_cpp_enum("page_info_action_javagen") { |
| 64 | sources = [ "page_info.h" ] |
| 65 | } |
| 66 | } |