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

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

Issue 1464873002: Run gn --format over all .gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
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 sources = [ 8 sources = [
9 "ios_translate_driver.h", 9 "ios_translate_driver.h",
10 "ios_translate_driver.mm", 10 "ios_translate_driver.mm",
11 "js_language_detection_manager.h", 11 "js_language_detection_manager.h",
12 "js_language_detection_manager.mm", 12 "js_language_detection_manager.mm",
13 "js_translate_manager.h", 13 "js_translate_manager.h",
14 "js_translate_manager.mm", 14 "js_translate_manager.mm",
15 "language_detection_controller.h", 15 "language_detection_controller.h",
16 "language_detection_controller.mm", 16 "language_detection_controller.mm",
17 "translate_controller.h", 17 "translate_controller.h",
18 "translate_controller.mm", 18 "translate_controller.mm",
19 ] 19 ]
20 20
21 deps = [ 21 deps = [
22 ":injected_js",
22 "//base", 23 "//base",
23 "//components/translate/core/browser", 24 "//components/translate/core/browser",
24 "//components/translate/core/common", 25 "//components/translate/core/common",
25 "//components/translate/core/language_detection", 26 "//components/translate/core/language_detection",
26 "//ios/web", 27 "//ios/web",
27 "//url", 28 "//url",
28 ":injected_js",
29 ] 29 ]
30 } 30 }
31 31
32 js_compile_checked("injected_js") { 32 js_compile_checked("injected_js") {
33 visibility = [ ":browser" ] 33 visibility = [ ":browser" ]
34 sources = [ 34 sources = [
35 "resources/language_detection.js", 35 "resources/language_detection.js",
36 "resources/translate_ios.js", 36 "resources/translate_ios.js",
37 ] 37 ]
38 } 38 }
39 39
40 source_set("unit_tests") { 40 source_set("unit_tests") {
41 testonly = true 41 testonly = true
42 sources = [ 42 sources = [
43 "js_translate_manager_unittest.mm", 43 "js_translate_manager_unittest.mm",
44 "language_detection_controller_unittest.mm", 44 "language_detection_controller_unittest.mm",
45 "translate_controller_unittest.mm", 45 "translate_controller_unittest.mm",
46 ] 46 ]
47 47
48 deps = [ 48 deps = [
49 ":browser",
49 "//base", 50 "//base",
50 "//components/resources", 51 "//components/resources",
51 "//components/translate/core/common", 52 "//components/translate/core/common",
52 "//ios/web:test_support", 53 "//ios/web:test_support",
53 "//testing/gtest", 54 "//testing/gtest",
54 "//third_party/ocmock", 55 "//third_party/ocmock",
55 "//ui/base", 56 "//ui/base",
56 "//url", 57 "//url",
57 ":browser",
58 ] 58 ]
59 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698