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

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

Issue 1652573002: Update GN build files for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@presf_move
Patch Set: Created 4 years, 10 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 | « components/translate/core/browser/BUILD.gn ('k') | components/ui/zoom/BUILD.gn » ('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 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 ":injected_js",
23 "//base", 23 "//base",
24 "//base:prefs", 24 "//components/prefs",
25 "//components/translate/core/browser", 25 "//components/translate/core/browser",
26 "//components/translate/core/common", 26 "//components/translate/core/common",
27 "//components/translate/core/language_detection", 27 "//components/translate/core/language_detection",
28 "//ios/web", 28 "//ios/web",
29 "//ui/base", 29 "//ui/base",
30 "//url", 30 "//url",
31 ] 31 ]
32 } 32 }
33 33
34 js_compile_checked("injected_js") { 34 js_compile_checked("injected_js") {
35 visibility = [ ":browser" ] 35 visibility = [ ":browser" ]
36 sources = [ 36 sources = [
37 "resources/language_detection.js", 37 "resources/language_detection.js",
38 "resources/translate_ios.js", 38 "resources/translate_ios.js",
39 ] 39 ]
40 } 40 }
41 41
42 source_set("unit_tests") { 42 source_set("unit_tests") {
43 testonly = true 43 testonly = true
44 sources = [ 44 sources = [
45 "js_translate_manager_unittest.mm", 45 "js_translate_manager_unittest.mm",
46 "language_detection_controller_unittest.mm", 46 "language_detection_controller_unittest.mm",
47 "translate_controller_unittest.mm", 47 "translate_controller_unittest.mm",
48 ] 48 ]
49 49
50 deps = [ 50 deps = [
51 ":browser", 51 ":browser",
52 "//base", 52 "//base",
53 "//base:prefs_test_support", 53 "//components/prefs:test_support",
54 "//components/resources", 54 "//components/resources",
55 "//components/translate/core/common", 55 "//components/translate/core/common",
56 "//ios/web:test_support", 56 "//ios/web:test_support",
57 "//testing/gtest", 57 "//testing/gtest",
58 "//third_party/ocmock", 58 "//third_party/ocmock",
59 "//ui/base", 59 "//ui/base",
60 "//url", 60 "//url",
61 ] 61 ]
62 } 62 }
OLDNEW
« no previous file with comments | « components/translate/core/browser/BUILD.gn ('k') | components/ui/zoom/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698