| 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("static_content") { | 5 source_set("static_content") { |
| 6 sources = [ | 6 sources = [ |
| 7 "static_html_native_content.h", | 7 "static_html_native_content.h", |
| 8 "static_html_native_content.mm", | 8 "static_html_native_content.mm", |
| 9 "static_html_view_controller.h", | 9 "static_html_view_controller.h", |
| 10 "static_html_view_controller.mm", | 10 "static_html_view_controller.mm", |
| 11 ] | 11 ] |
| 12 deps = [ | 12 deps = [ |
| 13 "//base", | 13 "//base", |
| 14 "//ios/chrome/browser/ui", | 14 "//ios/chrome/browser/ui", |
| 15 "//ios/web", | 15 "//ios/web", |
| 16 "//net", | 16 "//net", |
| 17 "//ui/base", | 17 "//ui/base", |
| 18 ] | 18 ] |
| 19 } | 19 } |
| 20 | 20 |
| 21 source_set("unit_tests") { | 21 source_set("unit_tests") { |
| 22 configs += [ "//build/config/compiler:enable_arc" ] |
| 22 testonly = true | 23 testonly = true |
| 23 sources = [ | 24 sources = [ |
| 24 "static_html_native_content_unittest.mm", | 25 "static_html_native_content_unittest.mm", |
| 25 "static_html_view_controller_unittest.mm", | 26 "static_html_view_controller_unittest.mm", |
| 26 ] | 27 ] |
| 27 deps = [ | 28 deps = [ |
| 28 ":static_content", | 29 ":static_content", |
| 29 "//base", | 30 "//base", |
| 30 "//base/test:test_support", | 31 "//base/test:test_support", |
| 31 "//ios/chrome/app/strings", | 32 "//ios/chrome/app/strings", |
| 32 "//ios/chrome/browser/browser_state:test_support", | 33 "//ios/chrome/browser/browser_state:test_support", |
| 33 "//ios/chrome/browser/ui", | 34 "//ios/chrome/browser/ui", |
| 34 "//ios/testing:ocmock_support", | 35 "//ios/testing:ocmock_support", |
| 35 "//ios/web", | 36 "//ios/web", |
| 36 "//ios/web:test_support", | 37 "//ios/web:test_support", |
| 37 "//net", | 38 "//net", |
| 38 "//testing/gtest", | 39 "//testing/gtest", |
| 39 "//third_party/ocmock", | 40 "//third_party/ocmock", |
| 40 "//ui/base", | 41 "//ui/base", |
| 41 ] | 42 ] |
| 42 } | 43 } |
| OLD | NEW |