Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Unified Diff: ios/chrome/browser/ui/dialogs/BUILD.gn

Issue 2589843002: Upstream Chrome on iOS source code [11/11]. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/ui/contextual_search/protos/BUILD.gn ('k') | ios/chrome/browser/ui/downloads/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/dialogs/BUILD.gn
diff --git a/ios/chrome/browser/ui/dialogs/BUILD.gn b/ios/chrome/browser/ui/dialogs/BUILD.gn
index 506aa95b1f60f137454163483636a29f24b7b043..6f7f5575739ef59a940d155c04e57a26f7373be5 100644
--- a/ios/chrome/browser/ui/dialogs/BUILD.gn
+++ b/ios/chrome/browser/ui/dialogs/BUILD.gn
@@ -32,3 +32,76 @@ source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
}
+
+source_set("dialogs_internal") {
+ sources = [
+ "dialog_presenter.h",
+ "dialog_presenter.mm",
+ "java_script_dialog_presenter_impl.h",
+ "java_script_dialog_presenter_impl.mm",
+ "nsurl_protection_space_util.h",
+ "nsurl_protection_space_util.mm",
+ ]
+ deps = [
+ "//base",
+ "//components/strings",
+ "//components/url_formatter",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/browser/ui",
+ "//ios/chrome/browser/ui/alert_coordinator",
+ "//ios/chrome/browser/ui/dialogs",
+ "//ios/web",
+ "//ui/base",
+ "//url",
+ ]
+ libs = [ "UIKit.framework" ]
+}
+
+source_set("unit_tests_internal") {
+ testonly = true
+ sources = [
+ "dialog_presenter_unittest.mm",
+ "nsurl_protection_space_util_unittest.mm",
+ ]
+ deps = [
+ ":dialogs_internal",
+ "//base",
+ "//components/strings",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/browser/ui/alert_coordinator",
+ "//ios/web:test_support",
+ "//ios/web:web",
+ "//testing/gtest",
+ "//ui/base",
+ "//url",
+ ]
+}
+
+source_set("eg_tests") {
+ configs += [ "//build/config/compiler:enable_arc" ]
+ testonly = true
+ sources = [
+ "javascript_dialog_egtest.mm",
+ ]
+ deps = [
+ "//base",
+ "//components/strings",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/browser/ui",
+ "//ios/chrome/browser/ui/dialogs:dialogs_internal",
+ "//ios/chrome/browser/ui/tools_menu",
+ "//ios/chrome/test/app:test_support",
+ "//ios/chrome/test/earl_grey:test_support",
+ "//ios/testing:ios_test_support",
+ "//ios/testing/earl_grey:earl_grey_support",
+ "//ios/third_party/earl_grey",
+ "//ios/web",
+ "//ios/web:test_support",
+ "//ui/base",
+ "//url",
+ ]
+ libs = [
+ "UIKit.framework",
+ "XCTest.framework",
+ ]
+}
« no previous file with comments | « ios/chrome/browser/ui/contextual_search/protos/BUILD.gn ('k') | ios/chrome/browser/ui/downloads/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698