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

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

Issue 400243003: GN chrome/common build, rename enable_printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « chrome/common/BUILD.gn ('k') | 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",
33 "//components/translate/core/common", 35 "//components/translate/core/common",
34 "//components/translate/core/language_detection", 36 "//components/translate/core/language_detection",
35 "//components/visitedlink/renderer", 37 "//components/visitedlink/renderer",
36 "//content/public/renderer", 38 "//content/public/renderer",
39 "//extensions:extensions_resources",
37 "//media/cast/logging/proto", 40 "//media/cast/logging/proto",
38 "//third_party/re2", 41 "//third_party/re2",
39 "//net", 42 "//net",
40 "//skia", 43 "//skia",
41 "//third_party/WebKit/public:blink", 44 "//third_party/WebKit/public:blink",
42 "//third_party/icu", 45 "//third_party/icu",
43 "//third_party/npapi", 46 "//third_party/npapi",
44 "//third_party/widevine/cdm:version_h", 47 "//third_party/widevine/cdm:version_h",
45 "//ui/surface", 48 "//ui/surface",
46 "//v8:v8", 49 "//v8:v8",
47 "//webkit/child", 50 "//webkit/child",
48 "//webkit/common", 51 "//webkit/common",
49 "//webkit:resources", 52 "//webkit:resources",
50 #"../components/components.gyp:cdm_renderer", TODO(GYP) 53 #"../components/components.gyp:cdm_renderer", TODO(GYP)
51 #"../components/components.gyp:startup_metric_utils", TODO(GYP)
52 #"../components/components.gyp:plugins_renderer", TODO(GYP)
53 #"../extensions/extensions.gyp:extensions_renderer", TODO(GYP) 54 #"../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 }
65 65
66 if (enable_plugins) { 66 if (enable_plugins) {
67 sources += rebase_path(gypi_values.chrome_renderer_plugin_sources, 67 sources += rebase_path(gypi_values.chrome_renderer_plugin_sources,
68 ".", "..") 68 ".", "..")
69 deps += [ 69 deps += [
70 #'../ppapi/ppapi_internal.gyp:ppapi_host', TODO(GYP 70 "//ppapi:ppapi_ipc",
71 #'../ppapi/ppapi_internal.gyp:ppapi_proxy', TODO(GYP 71 "//ppapi:ppapi_proxy",
72 #'../ppapi/ppapi_internal.gyp:ppapi_ipc', TODO(GYP 72 "//ppapi:ppapi_shared",
73 #'../ppapi/ppapi_internal.gyp:ppapi_shared', TODO(GYP 73 #'../ppapi/ppapi_internal.gyp:ppapi_host', TODO(GYP)
74 ] 74 ]
75 } 75 }
76 76
77 if (safe_browsing_mode == 1) { 77 if (safe_browsing_mode == 1) {
78 sources += rebase_path(gypi_values.chrome_renderer_safe_browsing_sources, 78 sources += rebase_path(gypi_values.chrome_renderer_safe_browsing_sources,
79 ".", "..") 79 ".", "..")
80 sources += rebase_path( 80 sources += rebase_path(
81 gypi_values.chrome_renderer_basic_safe_browsing_sources, 81 gypi_values.chrome_renderer_basic_safe_browsing_sources,
82 ".", "..") 82 ".", "..")
83 defines += [ "FULL_SAFE_BROWSING" ] 83 defines += [ "FULL_SAFE_BROWSING" ]
(...skipping 17 matching lines...) Expand all
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 # TODO(GYP) When hunspell is done, the extra defines can be removed. 111 deps += [ "//third_party/hunspell" ]
112 #deps += [ "//third_party/hunspell" ]
113 defines += [ "HUNSPELL_STATIC", "HUNSPELL_CHROME_CLIENT", "OPENOFFICEORG" ]
114
115 } 112 }
116 113
117 if (enable_printing > 0) { 114 if (printing_mode > 0) {
118 deps += [ 115 deps += [ "//printing" ]
119 #"//printing", TODO(GYP) 116 if (printing_mode == 1) {
120 ]
121 if (enable_printing == 1) {
122 sources += rebase_path(gypi_values.chrome_renderer_printing_sources, 117 sources += rebase_path(gypi_values.chrome_renderer_printing_sources,
123 ".", "..") 118 ".", "..")
124 } 119 }
125 } 120 }
126 121
127 if (is_mac) { 122 if (is_mac) {
128 deps += [ "//third_party/mach_override" ] 123 deps += [ "//third_party/mach_override" ]
129 } 124 }
130 if (is_win) { 125 if (is_win) {
131 deps += [ 126 deps += [
(...skipping 17 matching lines...) Expand all
149 # ['win_pdf_metafile_for_printing==1', { 144 # ['win_pdf_metafile_for_printing==1', {
150 # 'sources': [ 145 # 'sources': [
151 # 'renderer/printing/print_web_view_helper_pdf_win.cc', 146 # 'renderer/printing/print_web_view_helper_pdf_win.cc',
152 # ], 147 # ],
153 # }, { 148 # }, {
154 # 'sources': [ 149 # 'sources': [
155 # 'renderer/printing/print_web_view_helper_win.cc', 150 # 'renderer/printing/print_web_view_helper_win.cc',
156 # ], 151 # ],
157 # }], 152 # }],
158 } 153 }
OLDNEW
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698