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

Unified Diff: ios/chrome/app/safe_mode/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/app/application_delegate/BUILD.gn ('k') | ios/chrome/app/spotlight/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/safe_mode/BUILD.gn
diff --git a/ios/chrome/app/safe_mode/BUILD.gn b/ios/chrome/app/safe_mode/BUILD.gn
index 17b18e6bf814ef4f2fe1d7d9115fdb81579a6f7c..947affb02528419f4b4d477498ed81aaad11cea3 100644
--- a/ios/chrome/app/safe_mode/BUILD.gn
+++ b/ios/chrome/app/safe_mode/BUILD.gn
@@ -12,3 +12,62 @@ bundle_data("resources") {
"{{bundle_resources_dir}}/{{source_file_part}}",
]
}
+
+source_set("safe_mode") {
+ sources = [
+ "safe_mode_coordinator.h",
+ "safe_mode_coordinator.mm",
+ "safe_mode_view_controller.h",
+ "safe_mode_view_controller.mm",
+ ]
+
+ deps = [
+ "//base",
+ "//ios/chrome/app",
+ "//ios/chrome/app/safe_mode:resources",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/browser",
+ "//ios/chrome/browser/crash_report",
+ "//ios/chrome/browser/ui",
+ "//ios/chrome/browser/ui/fancy_ui",
+ "//ui/gfx",
+ ]
+
+ libs = [ "UIKit.framework" ]
+}
+
+source_set("eg_tests") {
+ testonly = true
+ sources = [
+ "safe_mode_egtest.mm",
+ ]
+ deps = [
+ ":safe_mode",
+ "//base",
+ "//ios/chrome/app:app_internal",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/browser/ui/main",
+ "//ios/chrome/test/base",
+ "//ios/chrome/test/earl_grey:test_support",
+ "//ios/third_party/earl_grey",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "safe_mode_coordinator_unittest.mm",
+ "safe_mode_view_controller_unittest.mm",
+ ]
+ deps = [
+ ":safe_mode",
+ "//base",
+ "//breakpad:client",
+ "//ios/chrome/browser/crash_report",
+ "//ios/chrome/test/base",
+ "//ios/chrome/test/ocmock",
+ "//testing/gtest",
+ "//third_party/ocmock",
+ ]
+ libs = [ "UIKit.framework" ]
+}
« no previous file with comments | « ios/chrome/app/application_delegate/BUILD.gn ('k') | ios/chrome/app/spotlight/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698