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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 "//ios/chrome/browser/ui/infobars", | 45 "//ios/chrome/browser/ui/infobars", |
46 "//ios/web", | 46 "//ios/web", |
47 "//ui/base", | 47 "//ui/base", |
48 "//ui/gfx", | 48 "//ui/gfx", |
49 "//url", | 49 "//url", |
50 ] | 50 ] |
51 allow_circular_includes_from = [ "//ios/chrome/browser/infobars" ] | 51 allow_circular_includes_from = [ "//ios/chrome/browser/infobars" ] |
52 } | 52 } |
53 | 53 |
54 source_set("unit_tests") { | 54 source_set("unit_tests") { |
| 55 configs += [ "//build/config/compiler:enable_arc" ] |
55 testonly = true | 56 testonly = true |
56 sources = [ | 57 sources = [ |
57 "js_language_detection_manager_unittest.mm", | 58 "js_language_detection_manager_unittest.mm", |
58 "translate_service_ios_unittest.cc", | 59 "translate_service_ios_unittest.cc", |
59 ] | 60 ] |
60 deps = [ | 61 deps = [ |
61 ":translate", | 62 ":translate", |
62 "//base", | 63 "//base", |
63 "//base/test:test_support", | 64 "//base/test:test_support", |
64 "//components/translate/ios/browser", | 65 "//components/translate/ios/browser", |
(...skipping 30 matching lines...) Expand all Loading... |
95 "//ios/chrome/test/app:test_support", | 96 "//ios/chrome/test/app:test_support", |
96 "//ios/chrome/test/earl_grey:test_support", | 97 "//ios/chrome/test/earl_grey:test_support", |
97 "//ios/testing:ios_test_support", | 98 "//ios/testing:ios_test_support", |
98 "//ios/third_party/earl_grey", | 99 "//ios/third_party/earl_grey", |
99 "//ios/web:test_support", | 100 "//ios/web:test_support", |
100 "//net", | 101 "//net", |
101 "//ui/base", | 102 "//ui/base", |
102 ] | 103 ] |
103 libs = [ "XCTest.framework" ] | 104 libs = [ "XCTest.framework" ] |
104 } | 105 } |
OLD | NEW |