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

Side by Side Diff: ui/resources/BUILD.gn

Issue 1134753009: Remove enable_polymer_v08 flag from build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add todo Created 5 years, 7 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
« no previous file with comments | « no previous file | ui/resources/ui_resources.gyp » ('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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 import("//tools/grit/repack.gni") 6 import("//tools/grit/repack.gni")
7 7
8 declare_args() {
9 # Enable to include Polymer 0.8 in the binary.
10 enable_polymer_v08 = false
11 }
12
13 # GYP version: ui/resources/ui_resources.gyp:ui_resources 8 # GYP version: ui/resources/ui_resources.gyp:ui_resources
14 group("resources") { 9 group("resources") {
15 deps = [ 10 deps = [
16 ":ui_resources_grd", 11 ":ui_resources_grd",
17 ":ui_unscaled_resources_grd", 12 ":ui_unscaled_resources_grd",
18 ":webui_resources_grd", 13 ":webui_resources_grd",
19 ] 14 ]
20 } 15 }
21 16
22 grit("ui_resources_grd") { 17 grit("ui_resources_grd") {
(...skipping 10 matching lines...) Expand all
33 28
34 grit("ui_unscaled_resources_grd") { 29 grit("ui_unscaled_resources_grd") {
35 source = "ui_unscaled_resources.grd" 30 source = "ui_unscaled_resources.grd"
36 use_qualified_include = true 31 use_qualified_include = true
37 outputs = [ 32 outputs = [
38 "grit/ui_unscaled_resources.h", 33 "grit/ui_unscaled_resources.h",
39 "ui_unscaled_resources.rc", 34 "ui_unscaled_resources.rc",
40 ] 35 ]
41 } 36 }
42 37
43 webui_grit_defines = []
44 if (enable_polymer_v08) {
45 webui_grit_defines += [ "enable_polymer_v08" ]
46 }
47
48 grit("webui_resources_grd") { 38 grit("webui_resources_grd") {
49 source = "../webui/resources/webui_resources.grd" 39 source = "../webui/resources/webui_resources.grd"
50 outputs = [ 40 outputs = [
51 "grit/webui_resources.h", 41 "grit/webui_resources.h",
52 "grit/webui_resources_map.cc", 42 "grit/webui_resources_map.cc",
53 "grit/webui_resources_map.h", 43 "grit/webui_resources_map.h",
54 "webui_resources.pak", 44 "webui_resources.pak",
55 ] 45 ]
56 defines = webui_grit_defines
57 } 46 }
58 47
59 if (!is_mac) { 48 if (!is_mac) {
60 copy("copy_ui_resources_100_percent") { 49 copy("copy_ui_resources_100_percent") {
61 sources = [ 50 sources = [
62 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", 51 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
63 ] 52 ]
64 outputs = [ 53 outputs = [
65 "$root_out_dir/ui_resources_100_percent.pak", 54 "$root_out_dir/ui_resources_100_percent.pak",
66 ] 55 ]
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", 137 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
149 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", 138 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
150 ] 139 ]
151 140
152 output = "$root_out_dir/ui/en.lproj/locale.pak" 141 output = "$root_out_dir/ui/en.lproj/locale.pak"
153 142
154 deps = [ 143 deps = [
155 "//ui/strings", 144 "//ui/strings",
156 ] 145 ]
157 } 146 }
OLDNEW
« no previous file with comments | « no previous file | ui/resources/ui_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698