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

Side by Side Diff: chrome/browser/resources/BUILD.gn

Issue 2927273002: Move code for old, deprecated Options UI to only ChromeOS (Closed)
Patch Set: font utils Created 3 years, 6 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
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("//chrome/common/features.gni") 5 import("//chrome/common/features.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 assert(!is_ios, "Chromium/iOS shouldn't use anything in //chrome") 8 assert(!is_ios, "Chromium/iOS shouldn't use anything in //chrome")
9 9
10 grit("invalidations_resources") { 10 grit("invalidations_resources") {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 outputs = [ 100 outputs = [
101 "grit/component_extension_resources.h", 101 "grit/component_extension_resources.h",
102 "grit/component_extension_resources_map.cc", 102 "grit/component_extension_resources_map.cc",
103 "grit/component_extension_resources_map.h", 103 "grit/component_extension_resources_map.h",
104 "component_extension_resources.pak", 104 "component_extension_resources.pak",
105 ] 105 ]
106 output_dir = "$root_gen_dir/chrome" 106 output_dir = "$root_gen_dir/chrome"
107 } 107 }
108 108
109 grit("options_resources") { 109 if (is_chromeos) {
Lei Zhang 2017/06/09 04:22:53 Move out of if (!is_android), i.e. no need for nes
Dan Beam 2017/06/09 06:32:55 Done.
110 source = "options_resources.grd" 110 grit("options_resources") {
111 defines = chrome_grit_defines 111 source = "options_resources.grd"
112 outputs = [ 112 defines = chrome_grit_defines
113 "grit/options_resources.h", 113 outputs = [
114 "options_resources.pak", 114 "grit/options_resources.h",
115 ] 115 "options_resources.pak",
116 output_dir = "$root_gen_dir/chrome" 116 ]
117 output_dir = "$root_gen_dir/chrome"
118 }
117 } 119 }
118 120
119 grit("settings_resources") { 121 grit("settings_resources") {
120 if (use_vulcanize) { 122 if (use_vulcanize) {
121 source = "settings/settings_resources_vulcanized.grd" 123 source = "settings/settings_resources_vulcanized.grd"
122 deps = [ 124 deps = [
123 "//chrome/browser/resources/settings:build", 125 "//chrome/browser/resources/settings:build",
124 ] 126 ]
125 grit_flags = [ 127 grit_flags = [
126 "-E", 128 "-E",
(...skipping 18 matching lines...) Expand all
145 grit("sync_file_system_internals_resources") { 147 grit("sync_file_system_internals_resources") {
146 source = "sync_file_system_internals_resources.grd" 148 source = "sync_file_system_internals_resources.grd"
147 defines = chrome_grit_defines 149 defines = chrome_grit_defines
148 outputs = [ 150 outputs = [
149 "grit/sync_file_system_internals_resources.h", 151 "grit/sync_file_system_internals_resources.h",
150 "sync_file_system_internals_resources.pak", 152 "sync_file_system_internals_resources.pak",
151 ] 153 ]
152 output_dir = "$root_gen_dir/chrome" 154 output_dir = "$root_gen_dir/chrome"
153 } 155 }
154 } 156 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698