Chromium Code Reviews| 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 source_set("web_contents") { | 5 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'.
| |
| 6 sources = [ | 6 sources = [ |
| 7 "web_contents_view_controller.h", | 7 "web_contents_mediator.h", |
| 8 "web_contents_view_controller.mm", | 8 "web_contents_mediator.mm", |
| 9 "web_coordinator.h", | 9 "web_coordinator.h", |
| 10 "web_coordinator.mm", | 10 "web_coordinator.mm", |
| 11 ] | 11 ] |
| 12 | 12 |
| 13 configs += [ "//build/config/compiler:enable_arc" ] | 13 configs += [ "//build/config/compiler:enable_arc" ] |
| 14 | 14 |
| 15 deps = [ | 15 deps = [ |
| 16 ":web_contents_ui", | |
| 16 "//ios/clean/chrome/browser", | 17 "//ios/clean/chrome/browser", |
| 17 "//ios/shared/chrome/browser/coordinator_context", | 18 "//ios/shared/chrome/browser/coordinator_context", |
| 18 "//ios/web", | 19 "//ios/web", |
| 19 "//ui/base", | 20 "//ui/base", |
| 20 "//url", | 21 "//url", |
| 21 ] | 22 ] |
| 22 } | 23 } |
| 24 | |
| 25 source_set("web_contents_ui") { | |
| 26 sources = [ | |
| 27 "web_contents_consumer.h", | |
| 28 "web_contents_view_controller.h", | |
| 29 "web_contents_view_controller.mm", | |
| 30 ] | |
| 31 | |
| 32 configs += [ "//build/config/compiler:enable_arc" ] | |
| 33 } | |
| 34 | |
| 35 source_set("unit_tests") { | |
| 36 testonly = true | |
| 37 sources = [ | |
| 38 "web_contents_mediator_unittest.mm", | |
| 39 ] | |
| 40 | |
| 41 configs += [ "//build/config/compiler:enable_arc" ] | |
| 42 | |
| 43 deps = [ | |
| 44 ":web_contents", | |
| 45 ":web_contents_ui", | |
| 46 "//base", | |
| 47 "//base/test:test_support", | |
| 48 "//ios/chrome/test/base", | |
| 49 "//ios/web:test_support", | |
| 50 "//testing/gtest", | |
| 51 ] | |
| 52 } | |
| OLD | NEW |