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

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

Issue 1441923003: Add gn implementation for //components/translate/ios/browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@history
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
« no previous file with comments | « components/translate.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//ios/web/js_compile.gni")
6
7 source_set("browser") {
8 sources = [
9 "ios_translate_driver.h",
10 "ios_translate_driver.mm",
11 "js_language_detection_manager.h",
12 "js_language_detection_manager.mm",
13 "js_translate_manager.h",
14 "js_translate_manager.mm",
15 "language_detection_controller.h",
16 "language_detection_controller.mm",
17 "translate_controller.h",
18 "translate_controller.mm",
19 ]
20
21 deps = [
22 "//base",
23 "//components/translate/core/browser",
24 "//components/translate/core/common",
25 "//components/translate/core/language_detection",
26 "//ios/web",
27 "//url",
28 ":injected_js",
29 ]
30 }
31
32 js_compile_checked("injected_js") {
33 visibility = [ ":browser" ]
34 sources = [
35 "resources/language_detection.js",
36 "resources/translate_ios.js",
37 ]
38 }
39
40 source_set("unit_tests") {
41 testonly = true
42 sources = [
43 "js_translate_manager_unittest.mm",
44 "language_detection_controller_unittest.mm",
45 "translate_controller_unittest.mm",
46 ]
47
48 deps = [
49 "//base",
50 "//components/resources",
51 "//components/translate/core/common",
52 "//ios/web:test_support",
53 "//testing/gtest",
54 "//third_party/ocmock",
55 "//ui/base",
56 "//url",
57 ":browser",
58 ]
59 }
OLDNEW
« no previous file with comments | « components/translate.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698