| OLD | NEW | 
|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be | 
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. | 
| 4 | 4 | 
| 5 import("//ios/web/js_compile.gni") | 5 import("//ios/web/js_compile.gni") | 
| 6 | 6 | 
| 7 source_set("web") { | 7 source_set("web") { | 
| 8   configs += [ "//build/config/compiler:enable_arc" ] | 8   configs += [ "//build/config/compiler:enable_arc" ] | 
| 9   sources = [ | 9   sources = [ | 
| 10     "dom_altering_lock.h", | 10     "dom_altering_lock.h", | 
| 11     "dom_altering_lock.mm", | 11     "dom_altering_lock.mm", | 
|  | 12     "mailto_handler.h", | 
|  | 13     "mailto_handler.mm", | 
|  | 14     "mailto_handler_gmail.h", | 
|  | 15     "mailto_handler_gmail.mm", | 
|  | 16     "mailto_handler_system_mail.h", | 
|  | 17     "mailto_handler_system_mail.mm", | 
|  | 18     "mailto_url_rewriter.h", | 
|  | 19     "mailto_url_rewriter.mm", | 
| 12     "navigation_manager_util.h", | 20     "navigation_manager_util.h", | 
| 13     "navigation_manager_util.mm", | 21     "navigation_manager_util.mm", | 
| 14     "network_activity_indicator_tab_helper.h", | 22     "network_activity_indicator_tab_helper.h", | 
| 15     "network_activity_indicator_tab_helper.mm", | 23     "network_activity_indicator_tab_helper.mm", | 
| 16     "repost_form_tab_helper.h", | 24     "repost_form_tab_helper.h", | 
| 17     "repost_form_tab_helper.mm", | 25     "repost_form_tab_helper.mm", | 
| 18     "sad_tab_tab_helper.h", | 26     "sad_tab_tab_helper.h", | 
| 19     "sad_tab_tab_helper.mm", | 27     "sad_tab_tab_helper.mm", | 
| 20   ] | 28   ] | 
| 21   deps = [ | 29   deps = [ | 
| 22     ":sad_tab_tab_helper_delegate", | 30     ":sad_tab_tab_helper_delegate", | 
| 23     "//base", | 31     "//base", | 
| 24     "//components/strings", | 32     "//components/strings", | 
|  | 33     "//ios/chrome/app/strings:ios_strings_grit", | 
| 25     "//ios/chrome/browser/ui", | 34     "//ios/chrome/browser/ui", | 
| 26     "//ios/chrome/browser/ui/alert_coordinator:alert_coordinator", | 35     "//ios/chrome/browser/ui/alert_coordinator:alert_coordinator", | 
| 27     "//ios/chrome/browser/ui/commands:commands", | 36     "//ios/chrome/browser/ui/commands:commands", | 
| 28     "//ios/chrome/browser/ui/sad_tab:sad_tab", | 37     "//ios/chrome/browser/ui/sad_tab:sad_tab", | 
| 29     "//ios/chrome/browser/ui/util:util", | 38     "//ios/chrome/browser/ui/util:util", | 
| 30     "//ios/web", | 39     "//ios/web", | 
| 31     "//ios/web:web_arc", | 40     "//ios/web:web_arc", | 
| 32     "//ui/base", | 41     "//ui/base", | 
|  | 42     "//url", | 
| 33   ] | 43   ] | 
| 34 } | 44 } | 
| 35 | 45 | 
| 36 source_set("sad_tab_tab_helper_delegate") { | 46 source_set("sad_tab_tab_helper_delegate") { | 
| 37   configs += [ "//build/config/compiler:enable_arc" ] | 47   configs += [ "//build/config/compiler:enable_arc" ] | 
| 38   sources = [ | 48   sources = [ | 
| 39     "sad_tab_tab_helper_delegate.h", | 49     "sad_tab_tab_helper_delegate.h", | 
| 40   ] | 50   ] | 
| 41 } | 51 } | 
| 42 | 52 | 
| 43 source_set("unit_tests") { | 53 source_set("unit_tests") { | 
| 44   configs += [ "//build/config/compiler:enable_arc" ] | 54   configs += [ "//build/config/compiler:enable_arc" ] | 
| 45   testonly = true | 55   testonly = true | 
| 46   sources = [ | 56   sources = [ | 
|  | 57     "mailto_handler_gmail_unittest.mm", | 
|  | 58     "mailto_handler_system_mail_unittest.mm", | 
|  | 59     "mailto_handler_unittest.mm", | 
|  | 60     "mailto_url_rewriter_unittest.mm", | 
| 47     "navigation_manager_util_unittest.mm", | 61     "navigation_manager_util_unittest.mm", | 
| 48     "network_activity_indicator_tab_helper_unittest.mm", | 62     "network_activity_indicator_tab_helper_unittest.mm", | 
| 49     "repost_form_tab_helper_unittest.mm", | 63     "repost_form_tab_helper_unittest.mm", | 
| 50     "sad_tab_tab_helper_unittest.mm", | 64     "sad_tab_tab_helper_unittest.mm", | 
| 51   ] | 65   ] | 
| 52   deps = [ | 66   deps = [ | 
| 53     ":sad_tab_tab_helper_delegate", | 67     ":sad_tab_tab_helper_delegate", | 
| 54     ":web", | 68     ":web", | 
| 55     "//base:base", | 69     "//base:base", | 
| 56     "//base/test:test_support", | 70     "//base/test:test_support", | 
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 205     "//components/version_info", | 219     "//components/version_info", | 
| 206     "//ios/chrome/app/strings", | 220     "//ios/chrome/app/strings", | 
| 207     "//ios/chrome/browser", | 221     "//ios/chrome/browser", | 
| 208     "//ios/chrome/browser:browser_impl", | 222     "//ios/chrome/browser:browser_impl", | 
| 209     "//ios/chrome/browser/browser_state", | 223     "//ios/chrome/browser/browser_state", | 
| 210     "//ios/chrome/browser/content_settings", | 224     "//ios/chrome/browser/content_settings", | 
| 211     "//ios/chrome/browser/infobars", | 225     "//ios/chrome/browser/infobars", | 
| 212     "//ios/chrome/browser/ssl", | 226     "//ios/chrome/browser/ssl", | 
| 213     "//ios/chrome/browser/tabs", | 227     "//ios/chrome/browser/tabs", | 
| 214     "//ios/chrome/browser/ui/commands", | 228     "//ios/chrome/browser/ui/commands", | 
| 215     "//ios/chrome/browser/ui/overscroll_actions", |  | 
| 216     "//ios/chrome/browser/ui/static_content", | 229     "//ios/chrome/browser/ui/static_content", | 
|  | 230     "//ios/chrome/browser/web", | 
| 217     "//ios/public/provider/chrome/browser", | 231     "//ios/public/provider/chrome/browser", | 
| 218     "//ios/public/provider/chrome/browser/voice", | 232     "//ios/public/provider/chrome/browser/voice", | 
| 219     "//ios/third_party/material_components_ios", | 233     "//ios/third_party/material_components_ios", | 
| 220     "//ios/web", | 234     "//ios/web", | 
| 221     "//ios/web:user_agent", | 235     "//ios/web:user_agent", | 
| 222     "//net", | 236     "//net", | 
| 223     "//ui/base", | 237     "//ui/base", | 
| 224     "//ui/gfx", | 238     "//ui/gfx", | 
| 225     "//url", | 239     "//url", | 
| 226   ] | 240   ] | 
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 328     "early_page_script_perftest.mm", | 342     "early_page_script_perftest.mm", | 
| 329   ] | 343   ] | 
| 330   deps = [ | 344   deps = [ | 
| 331     "//base", | 345     "//base", | 
| 332     "//ios/chrome/test/base:perf_test_support", | 346     "//ios/chrome/test/base:perf_test_support", | 
| 333     "//ios/web", | 347     "//ios/web", | 
| 334     "//ios/web:test_support", | 348     "//ios/web:test_support", | 
| 335   ] | 349   ] | 
| 336   libs = [ "WebKit.framework" ] | 350   libs = [ "WebKit.framework" ] | 
| 337 } | 351 } | 
| OLD | NEW | 
|---|