Chromium Code Reviews| Index: ios/clean/chrome/browser/ui/web_contents/BUILD.gn |
| diff --git a/ios/clean/chrome/browser/ui/web_contents/BUILD.gn b/ios/clean/chrome/browser/ui/web_contents/BUILD.gn |
| index 13a0a73dc27f39be8fa7f74ea61c219627637741..6c6553b294234b923d753b056b0f0f0426ce88d7 100644 |
| --- a/ios/clean/chrome/browser/ui/web_contents/BUILD.gn |
| +++ b/ios/clean/chrome/browser/ui/web_contents/BUILD.gn |
| @@ -4,8 +4,8 @@ |
| source_set("web_contents") { |
|
sdefresne
2017/02/07 14:44:53
(no action required) this is unfortunate name due
marq (ping after 24h)
2017/02/07 15:08:09
Duly noted; it might become 'web container'.
|
| sources = [ |
| - "web_contents_view_controller.h", |
| - "web_contents_view_controller.mm", |
| + "web_contents_mediator.h", |
| + "web_contents_mediator.mm", |
| "web_coordinator.h", |
| "web_coordinator.mm", |
| ] |
| @@ -13,6 +13,7 @@ source_set("web_contents") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| deps = [ |
| + ":web_contents_ui", |
| "//ios/clean/chrome/browser", |
| "//ios/shared/chrome/browser/coordinator_context", |
| "//ios/web", |
| @@ -20,3 +21,32 @@ source_set("web_contents") { |
| "//url", |
| ] |
| } |
| + |
| +source_set("web_contents_ui") { |
| + sources = [ |
| + "web_contents_consumer.h", |
| + "web_contents_view_controller.h", |
| + "web_contents_view_controller.mm", |
| + ] |
| + |
| + configs += [ "//build/config/compiler:enable_arc" ] |
| +} |
| + |
| +source_set("unit_tests") { |
| + testonly = true |
| + sources = [ |
| + "web_contents_mediator_unittest.mm", |
| + ] |
| + |
| + configs += [ "//build/config/compiler:enable_arc" ] |
| + |
| + deps = [ |
| + ":web_contents", |
| + ":web_contents_ui", |
| + "//base", |
| + "//base/test:test_support", |
| + "//ios/chrome/test/base", |
| + "//ios/web:test_support", |
| + "//testing/gtest", |
| + ] |
| +} |