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("translate") { | 5 source_set("translate") { |
6 sources = [ | 6 sources = [ |
7 "after_translate_infobar_controller.h", | 7 "after_translate_infobar_controller.h", |
8 "after_translate_infobar_controller.mm", | 8 "after_translate_infobar_controller.mm", |
9 "before_translate_infobar_controller.h", | 9 "before_translate_infobar_controller.h", |
10 "before_translate_infobar_controller.mm", | 10 "before_translate_infobar_controller.mm", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "//ui/base", | 42 "//ui/base", |
43 "//ui/gfx", | 43 "//ui/gfx", |
44 "//url", | 44 "//url", |
45 ] | 45 ] |
46 allow_circular_includes_from = [ "//ios/chrome/browser/infobars" ] | 46 allow_circular_includes_from = [ "//ios/chrome/browser/infobars" ] |
47 } | 47 } |
48 | 48 |
49 source_set("unit_tests") { | 49 source_set("unit_tests") { |
50 testonly = true | 50 testonly = true |
51 sources = [ | 51 sources = [ |
52 "js_language_detection_manager_unittest.mm", | |
53 "translate_service_ios_unittest.cc", | 52 "translate_service_ios_unittest.cc", |
54 ] | 53 ] |
55 deps = [ | 54 deps = [ |
56 ":translate", | 55 ":translate", |
57 "//base", | |
58 "//base/test:test_support", | |
59 "//components/translate/ios/browser", | |
60 "//ios/chrome/browser", | 56 "//ios/chrome/browser", |
61 "//ios/chrome/browser/web:test_support", | |
62 "//ios/chrome/common", | |
63 "//ios/public/provider/chrome/browser:test_support", | 57 "//ios/public/provider/chrome/browser:test_support", |
64 "//ios/web", | |
65 "//ios/web:test_support", | |
66 "//testing/gtest", | 58 "//testing/gtest", |
67 "//url", | 59 "//url", |
68 ] | 60 ] |
69 } | 61 } |
70 | |
71 source_set("eg_tests") { | |
72 testonly = true | |
73 sources = [ | |
74 "translate_egtest.mm", | |
75 ] | |
76 deps = [ | |
77 "//base", | |
78 "//components/strings", | |
79 "//components/translate/core/browser", | |
80 "//components/translate/core/common", | |
81 "//components/translate/ios/browser", | |
82 "//ios/chrome/browser/browser_state", | |
83 "//ios/chrome/browser/translate", | |
84 "//ios/chrome/test/app:test_support", | |
85 "//ios/chrome/test/earl_grey:test_support", | |
86 "//ios/testing:ios_test_support", | |
87 "//ios/third_party/earl_grey", | |
88 "//ios/web:test_support", | |
89 "//net", | |
90 "//ui/base", | |
91 ] | |
92 libs = [ "XCTest.framework" ] | |
93 } | |
OLD | NEW |