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

Side by Side Diff: trunk/src/chrome/renderer/BUILD.gn

Issue 409543008: Revert 284508 "GN chrome/common build, rename enable_printing." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | « trunk/src/chrome/common/BUILD.gn ('k') | trunk/src/chrome/utility/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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 gypi_values = exec_script( 8 gypi_values = exec_script(
9 "//build/gypi_to_gn.py", 9 "//build/gypi_to_gn.py",
10 [ rebase_path("../chrome_renderer.gypi") ], 10 [ rebase_path("../chrome_renderer.gypi") ],
(...skipping 12 matching lines...) Expand all
23 defines = [] 23 defines = []
24 24
25 deps = [ 25 deps = [
26 "//base/allocator", 26 "//base/allocator",
27 "//chrome/common", 27 "//chrome/common",
28 "//chrome/common/net", 28 "//chrome/common/net",
29 "//chrome:resources", 29 "//chrome:resources",
30 "//chrome:strings", 30 "//chrome:strings",
31 "//components/autofill/content/renderer", 31 "//components/autofill/content/renderer",
32 "//components/data_reduction_proxy/common", 32 "//components/data_reduction_proxy/common",
33 "//components/plugins/renderer",
34 "//components/startup_metric_utils",
35 "//components/translate/core/common", 33 "//components/translate/core/common",
36 "//components/translate/core/language_detection", 34 "//components/translate/core/language_detection",
37 "//components/visitedlink/renderer", 35 "//components/visitedlink/renderer",
38 "//content/public/renderer", 36 "//content/public/renderer",
39 "//extensions:extensions_resources",
40 "//media/cast/logging/proto", 37 "//media/cast/logging/proto",
41 "//third_party/re2", 38 "//third_party/re2",
42 "//net", 39 "//net",
43 "//skia", 40 "//skia",
44 "//third_party/WebKit/public:blink", 41 "//third_party/WebKit/public:blink",
45 "//third_party/icu", 42 "//third_party/icu",
46 "//third_party/npapi", 43 "//third_party/npapi",
47 "//third_party/widevine/cdm:version_h", 44 "//third_party/widevine/cdm:version_h",
48 "//ui/surface", 45 "//ui/surface",
49 "//v8:v8", 46 "//v8:v8",
50 "//webkit/child", 47 "//webkit/child",
51 "//webkit/common", 48 "//webkit/common",
52 "//webkit:resources", 49 "//webkit:resources",
53 #"../components/components.gyp:cdm_renderer", TODO(GYP) 50 #"../components/components.gyp:cdm_renderer", TODO(GYP)
51 #"../components/components.gyp:startup_metric_utils", TODO(GYP)
52 #"../components/components.gyp:plugins_renderer", TODO(GYP)
54 #"../extensions/extensions.gyp:extensions_renderer", TODO(GYP) 53 #"../extensions/extensions.gyp:extensions_renderer", TODO(GYP)
54 #"../extensions/extensions_resources.gyp:extensions_resources", TODO(GYP)
55 #"../media/cast/cast.gyp:cast_sender", TODO(GYP) 55 #"../media/cast/cast.gyp:cast_sender", TODO(GYP)
56 #"../media/cast/cast.gyp:cast_transport", TODO(GYP) 56 #"../media/cast/cast.gyp:cast_transport", TODO(GYP)
57 ] 57 ]
58 58
59 if (enable_nacl) { 59 if (enable_nacl) {
60 deps += [ 60 deps += [
61 #'../components/nacl.gyp:nacl', TODO(GYP) 61 #'../components/nacl.gyp:nacl', TODO(GYP)
62 #'../components/nacl.gyp:nacl_renderer', TODO(GYP) 62 #'../components/nacl.gyp:nacl_renderer', TODO(GYP)
63 ] 63 ]
64 } 64 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 sources += rebase_path(gypi_values.chrome_renderer_webrtc_sources, 101 sources += rebase_path(gypi_values.chrome_renderer_webrtc_sources,
102 ".", "..") 102 ".", "..")
103 } 103 }
104 if (enable_extensions && enable_webrtc) { 104 if (enable_extensions && enable_webrtc) {
105 sources += rebase_path( 105 sources += rebase_path(
106 gypi_values.chrome_renderer_webrtc_extensions_sources, ".", "..") 106 gypi_values.chrome_renderer_webrtc_extensions_sources, ".", "..")
107 } 107 }
108 if (enable_spellcheck) { 108 if (enable_spellcheck) {
109 sources += rebase_path(gypi_values.chrome_renderer_spellchecker_sources, 109 sources += rebase_path(gypi_values.chrome_renderer_spellchecker_sources,
110 ".", "..") 110 ".", "..")
111 deps += [ "//third_party/hunspell" ] 111 # TODO(GYP) When hunspell is done, the extra defines can be removed.
112 #deps += [ "//third_party/hunspell" ]
113 defines += [ "HUNSPELL_STATIC", "HUNSPELL_CHROME_CLIENT", "OPENOFFICEORG" ]
114
112 } 115 }
113 116
114 if (printing_mode > 0) { 117 if (enable_printing > 0) {
115 deps += [ "//printing" ] 118 deps += [
116 if (printing_mode == 1) { 119 #"//printing", TODO(GYP)
120 ]
121 if (enable_printing == 1) {
117 sources += rebase_path(gypi_values.chrome_renderer_printing_sources, 122 sources += rebase_path(gypi_values.chrome_renderer_printing_sources,
118 ".", "..") 123 ".", "..")
119 } 124 }
120 } 125 }
121 126
122 if (is_mac) { 127 if (is_mac) {
123 deps += [ "//third_party/mach_override" ] 128 deps += [ "//third_party/mach_override" ]
124 } 129 }
125 if (is_win) { 130 if (is_win) {
126 deps += [ 131 deps += [
(...skipping 17 matching lines...) Expand all
144 # ['win_pdf_metafile_for_printing==1', { 149 # ['win_pdf_metafile_for_printing==1', {
145 # 'sources': [ 150 # 'sources': [
146 # 'renderer/printing/print_web_view_helper_pdf_win.cc', 151 # 'renderer/printing/print_web_view_helper_pdf_win.cc',
147 # ], 152 # ],
148 # }, { 153 # }, {
149 # 'sources': [ 154 # 'sources': [
150 # 'renderer/printing/print_web_view_helper_win.cc', 155 # 'renderer/printing/print_web_view_helper_win.cc',
151 # ], 156 # ],
152 # }], 157 # }],
153 } 158 }
OLDNEW
« no previous file with comments | « trunk/src/chrome/common/BUILD.gn ('k') | trunk/src/chrome/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698