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

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

Issue 264463002: GN build improvements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | crypto/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 static_library("translate_core_browser") { 5 static_library("translate_core_browser") {
6 sources = [ 6 sources = [
7 "core/browser/language_state.cc", 7 "core/browser/language_state.cc",
8 "core/browser/language_state.h", 8 "core/browser/language_state.h",
9 "core/browser/page_translated_details.h", 9 "core/browser/page_translated_details.h",
10 "core/browser/translate_accept_languages.cc", 10 "core/browser/translate_accept_languages.cc",
(...skipping 15 matching lines...) Expand all
26 "core/browser/translate_script.h", 26 "core/browser/translate_script.h",
27 "core/browser/translate_url_fetcher.cc", 27 "core/browser/translate_url_fetcher.cc",
28 "core/browser/translate_url_fetcher.h", 28 "core/browser/translate_url_fetcher.h",
29 "core/browser/translate_url_util.cc", 29 "core/browser/translate_url_util.cc",
30 "core/browser/translate_url_util.h", 30 "core/browser/translate_url_util.h",
31 ] 31 ]
32 32
33 deps = [ 33 deps = [
34 ":translate_core_common", 34 ":translate_core_common",
35 "//base", 35 "//base",
36 "//components/language_usage_metrics",
36 "//components/resources:components_resources", 37 "//components/resources:components_resources",
37 "//url", 38 "//url",
38 ] 39 ]
40 if (!is_android) {
41 # TODO(brettw) move thise above. This project uses net headers. This is
42 # excluded for Android since net doesn't work in the GN build at the time
43 # of this writing.
44 deps += [ "//net" ]
45 }
39 } 46 }
40 47
41 static_library("translate_core_common") { 48 static_library("translate_core_common") {
42 sources = [ 49 sources = [
43 "core/common/language_detection_details.cc", 50 "core/common/language_detection_details.cc",
44 "core/common/language_detection_details.h", 51 "core/common/language_detection_details.h",
45 "core/common/translate_constants.cc", 52 "core/common/translate_constants.cc",
46 "core/common/translate_constants.h", 53 "core/common/translate_constants.h",
47 "core/common/translate_errors.h", 54 "core/common/translate_errors.h",
48 "core/common/translate_metrics.cc", 55 "core/common/translate_metrics.cc",
49 "core/common/translate_metrics.h", 56 "core/common/translate_metrics.h",
50 "core/common/translate_pref_names.cc", 57 "core/common/translate_pref_names.cc",
51 "core/common/translate_pref_names.h", 58 "core/common/translate_pref_names.h",
52 "core/common/translate_switches.cc", 59 "core/common/translate_switches.cc",
53 "core/common/translate_switches.h", 60 "core/common/translate_switches.h",
54 "core/common/translate_util.cc", 61 "core/common/translate_util.cc",
55 "core/common/translate_util.h", 62 "core/common/translate_util.h",
56 ] 63 ]
57 64
58 deps = [ 65 deps = [
59 "//base", 66 "//base",
60 "//url", 67 "//url",
61 ] 68 ]
62 } 69 }
OLDNEW
« no previous file with comments | « no previous file | crypto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698