Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: components/translate/ios/browser/BUILD.gn

Issue 2813703002: [ObjC ARC] Converts components/translate/ios/browser:unit_tests to ARC. (Closed)
Patch Set: make_unique Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/translate/ios/browser/js_translate_manager_unittest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import("//ios/web/js_compile.gni") 5 import("//ios/web/js_compile.gni")
6 6
7 source_set("browser") { 7 source_set("browser") {
8 configs += [ "//build/config/compiler:enable_arc" ] 8 configs += [ "//build/config/compiler:enable_arc" ]
9 sources = [ 9 sources = [
10 "ios_translate_driver.h", 10 "ios_translate_driver.h",
(...skipping 25 matching lines...) Expand all
36 36
37 js_compile_checked("injected_js") { 37 js_compile_checked("injected_js") {
38 visibility = [ ":browser" ] 38 visibility = [ ":browser" ]
39 sources = [ 39 sources = [
40 "resources/language_detection.js", 40 "resources/language_detection.js",
41 "resources/translate_ios.js", 41 "resources/translate_ios.js",
42 ] 42 ]
43 } 43 }
44 44
45 source_set("unit_tests") { 45 source_set("unit_tests") {
46 configs += [ "//build/config/compiler:enable_arc" ]
46 testonly = true 47 testonly = true
47 sources = [ 48 sources = [
48 "js_translate_manager_unittest.mm", 49 "js_translate_manager_unittest.mm",
49 "language_detection_controller_unittest.mm", 50 "language_detection_controller_unittest.mm",
50 "string_clipping_util_unittest.cc", 51 "string_clipping_util_unittest.cc",
51 "translate_controller_unittest.mm", 52 "translate_controller_unittest.mm",
52 ] 53 ]
53 54
54 deps = [ 55 deps = [
55 ":browser", 56 ":browser",
56 "//base", 57 "//base",
57 "//components/prefs:test_support", 58 "//components/prefs:test_support",
58 "//components/resources", 59 "//components/resources",
59 "//components/translate/core/common", 60 "//components/translate/core/common",
60 "//ios/web:test_support", 61 "//ios/web:test_support",
61 "//testing/gtest", 62 "//testing/gtest",
62 "//third_party/ocmock", 63 "//third_party/ocmock",
63 "//ui/base", 64 "//ui/base",
64 "//url", 65 "//url",
65 ] 66 ]
66 } 67 }
OLDNEW
« no previous file with comments | « no previous file | components/translate/ios/browser/js_translate_manager_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698