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

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

Issue 477263003: pdf: Create a separate component for using the pdf pepper plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 3 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
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 gypi_values.chrome_renderer_webrtc_extensions_sources, ".", "..") 117 gypi_values.chrome_renderer_webrtc_extensions_sources, ".", "..")
118 } 118 }
119 if (enable_spellcheck) { 119 if (enable_spellcheck) {
120 sources += rebase_path(gypi_values.chrome_renderer_spellchecker_sources, 120 sources += rebase_path(gypi_values.chrome_renderer_spellchecker_sources,
121 ".", "..") 121 ".", "..")
122 deps += [ "//third_party/hunspell" ] 122 deps += [ "//third_party/hunspell" ]
123 } 123 }
124 124
125 if (printing_mode > 0) { 125 if (printing_mode > 0) {
126 deps += [ "//printing" ] 126 deps += [ "//printing" ]
127 sources += rebase_path(gypi_values.chrome_renderer_printing_sources,
128 ".", "..")
127 if (printing_mode == 1) { 129 if (printing_mode == 1) {
128 sources += rebase_path(gypi_values.chrome_renderer_printing_sources, 130 sources += rebase_path(gypi_values.chrome_renderer_full_printing_sources,
129 ".", "..") 131 ".", "..")
130 } 132 }
131 } 133 }
132 134
133 if (is_mac) { 135 if (is_mac) {
134 deps += [ "//third_party/mach_override" ] 136 deps += [ "//third_party/mach_override" ]
135 } 137 }
136 if (is_win) { 138 if (is_win) {
137 deps += [ 139 deps += [
138 #'../chrome_elf/chrome_elf.gyp:chrome_elf', TODO(GYP) 140 #'../chrome_elf/chrome_elf.gyp:chrome_elf', TODO(GYP)
(...skipping 16 matching lines...) Expand all
155 # ['win_pdf_metafile_for_printing==1', { 157 # ['win_pdf_metafile_for_printing==1', {
156 # 'sources': [ 158 # 'sources': [
157 # 'renderer/printing/print_web_view_helper_pdf_win.cc', 159 # 'renderer/printing/print_web_view_helper_pdf_win.cc',
158 # ], 160 # ],
159 # }, { 161 # }, {
160 # 'sources': [ 162 # 'sources': [
161 # 'renderer/printing/print_web_view_helper_win.cc', 163 # 'renderer/printing/print_web_view_helper_win.cc',
162 # ], 164 # ],
163 # }], 165 # }],
164 } 166 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698