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

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

Issue 411543005: Encode all grit outputs in .gn files (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') | components/resources/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") ],
11 "scope", 11 "scope",
12 [ "../chrome_renderer.gypi" ]) 12 [ "../chrome_renderer.gypi" ])
13 13
14 # GYP version: chrome/chrome_resources.gyp:chrome_resources 14 # GYP version: chrome/chrome_resources.gyp:chrome_resources
15 # (generate_renderer_resources action) 15 # (generate_renderer_resources action)
16 grit("resources") { 16 grit("resources") {
17 source = "resources/renderer_resources.grd" 17 source = "resources/renderer_resources.grd"
18 outputs = [
19 "grit/renderer_resources.h",
20 "renderer_resources_100_percent.pak",
21 "renderer_resources_200_percent.pak",
22 ]
18 } 23 }
19 24
20 static_library("renderer") { 25 static_library("renderer") {
21 sources = rebase_path(gypi_values.chrome_renderer_sources, ".", "..") 26 sources = rebase_path(gypi_values.chrome_renderer_sources, ".", "..")
22 27
23 defines = [] 28 defines = []
24 29
25 deps = [ 30 deps = [
26 "//base/allocator", 31 "//base/allocator",
27 "//chrome/common", 32 "//chrome/common",
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 | « chrome/common/BUILD.gn ('k') | components/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698