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

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

Issue 702023002: Renamed enable_printing and printing_mode in *.gyp* and .*gn* files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wed Nov 5 13:48:51 PST 2014 Created 6 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 | « 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 if (enable_extensions && enable_webrtc) { 123 if (enable_extensions && enable_webrtc) {
124 sources += rebase_path( 124 sources += rebase_path(
125 gypi_values.chrome_renderer_webrtc_extensions_sources, ".", "..") 125 gypi_values.chrome_renderer_webrtc_extensions_sources, ".", "..")
126 } 126 }
127 if (enable_spellcheck) { 127 if (enable_spellcheck) {
128 sources += rebase_path(gypi_values.chrome_renderer_spellchecker_sources, 128 sources += rebase_path(gypi_values.chrome_renderer_spellchecker_sources,
129 ".", "..") 129 ".", "..")
130 deps += [ "//third_party/hunspell" ] 130 deps += [ "//third_party/hunspell" ]
131 } 131 }
132 132
133 if (printing_mode > 0) { 133 if (enable_basic_printing || enable_print_preview) {
134 deps += [ "//printing" ] 134 deps += [ "//printing" ]
135 sources += rebase_path(gypi_values.chrome_renderer_printing_sources, 135 sources += rebase_path(gypi_values.chrome_renderer_printing_sources,
136 ".", "..") 136 ".", "..")
137 if (printing_mode == 1) { 137 if (enable_print_preview) {
138 sources += rebase_path(gypi_values.chrome_renderer_full_printing_sources, 138 sources += rebase_path(gypi_values.chrome_renderer_full_printing_sources,
139 ".", "..") 139 ".", "..")
140 } 140 }
141 } 141 }
142 142
143 if (is_mac) { 143 if (is_mac) {
144 deps += [ "//third_party/mach_override" ] 144 deps += [ "//third_party/mach_override" ]
145 } 145 }
146 if (is_win) { 146 if (is_win) {
147 deps += [ 147 deps += [
(...skipping 26 matching lines...) Expand all
174 "safe_browsing/test_utils.h", 174 "safe_browsing/test_utils.h",
175 ] 175 ]
176 176
177 deps = [ 177 deps = [
178 ":renderer", 178 ":renderer",
179 "//content/test:test_support", 179 "//content/test:test_support",
180 "//testing/gmock", 180 "//testing/gmock",
181 "//testing/gtest", 181 "//testing/gtest",
182 ] 182 ]
183 183
184 if (printing_mode == 1) { 184 if (enable_print_preview) {
185 deps += [ "//chrome/service" ] 185 deps += [ "//chrome/service" ]
186 } 186 }
187 if (printing_mode != 0) { 187 if (enable_basic_printing || enable_print_preview) {
188 sources += [ 188 sources += [
189 "printing/mock_printer.cc", 189 "printing/mock_printer.cc",
190 "printing/mock_printer.h", 190 "printing/mock_printer.h",
191 ] 191 ]
192 } 192 }
193 193
194 if (enable_webrtc) { 194 if (enable_webrtc) {
195 sources += [ 195 sources += [
196 "media/mock_webrtc_logging_message_filter.cc", 196 "media/mock_webrtc_logging_message_filter.cc",
197 "media/mock_webrtc_logging_message_filter.h", 197 "media/mock_webrtc_logging_message_filter.h",
198 ] 198 ]
199 } 199 }
200 } 200 }
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