OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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("//crypto/ssl/flags.gni") | 5 import("//crypto/ssl/flags.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 | 7 |
8 executable("chrome") { | 8 executable("chrome") { |
9 sources = [ | 9 sources = [ |
10 "app/breakpad_field_trial_win.cc", | 10 "app/breakpad_field_trial_win.cc", |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 "browser/devtools/devtools_toggle_action.h", | 123 "browser/devtools/devtools_toggle_action.h", |
124 "browser/devtools/devtools_window.cc", | 124 "browser/devtools/devtools_window.cc", |
125 "browser/devtools/devtools_window.h", | 125 "browser/devtools/devtools_window.h", |
126 "browser/devtools/port_forwarding_controller.cc", | 126 "browser/devtools/port_forwarding_controller.cc", |
127 "browser/devtools/port_forwarding_controller.h", | 127 "browser/devtools/port_forwarding_controller.h", |
128 "browser/devtools/remote_debugging_server.cc", | 128 "browser/devtools/remote_debugging_server.cc", |
129 "browser/devtools/remote_debugging_server.h", | 129 "browser/devtools/remote_debugging_server.h", |
130 ] | 130 ] |
131 | 131 |
132 deps = [ | 132 deps = [ |
133 ":chrome_extra_resources", | 133 # ":chrome_extra_resources", |
134 ":chrome_resources", | 134 # ":chrome_resources", |
135 ":chrome_strings", | 135 # ":chrome_strings", |
136 ":theme_resources", | 136 # ":theme_resources", |
137 "//base", | 137 "//base", |
138 "//net", | 138 "//net", |
139 "//net:http_server", | 139 "//net:http_server", |
140 "//skia", | 140 "//skia", |
141 "//third_party/icu:icui18n", | 141 "//third_party/icu:icui18n", |
142 "//third_party/icu:icuuc", | 142 "//third_party/icu:icuuc", |
143 "//third_party/leveldatabase", | 143 "//third_party/leveldatabase", |
144 "//third_party/libusb", | 144 "//third_party/libusb", |
145 ] | 145 ] |
146 | 146 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 # the last change file to force an update whenever the code is updated. | 197 # the last change file to force an update whenever the code is updated. |
198 source_prereqs = [ "//build/util/LASTCHANGE" ] | 198 source_prereqs = [ "//build/util/LASTCHANGE" ] |
199 | 199 |
200 hard_dep = true | 200 hard_dep = true |
201 | 201 |
202 args = [ "credits", build_relative_about_credits_file ] | 202 args = [ "credits", build_relative_about_credits_file ] |
203 } | 203 } |
204 | 204 |
205 # Resources -------------------------------------------------------------------- | 205 # Resources -------------------------------------------------------------------- |
206 | 206 |
207 group("chrome_resources") { | 207 #group("chrome_resources") { |
208 deps = [ | 208 # deps = [ |
209 ":browser_resources", | 209 # ":browser_resources", |
210 ":common_resources", | 210 # ":common_resources", |
211 ":renderer_resources", | 211 # ":renderer_resources", |
212 ] | 212 # ] |
213 } | 213 #} |
214 grit("browser_resources") { | 214 #grit("browser_resources") { |
215 source = "browser/browser_resources.grd" | 215 # source = "browser/browser_resources.grd" |
216 grit_flags = [ "-E", "about_credits_file=$build_relative_about_credits_file" ] | 216 # grit_flags = [ "-E", "about_credits_file=$build_relative_about_credits_file"
] |
217 deps = [ ":about_credits" ] | 217 # deps = [ ":about_credits" ] |
218 } | 218 #} |
219 grit("common_resources") { | 219 #grit("common_resources") { |
220 source = "common/common_resources.grd" | 220 # source = "common/common_resources.grd" |
221 } | 221 #} |
222 grit("renderer_resources") { | 222 #grit("renderer_resources") { |
223 source = "renderer/resources/renderer_resources.grd" | 223 # source = "renderer/resources/renderer_resources.grd" |
224 } | 224 #} |
225 | 225 # |
226 group("chrome_strings") { | 226 #group("chrome_strings") { |
227 deps = [ | 227 # deps = [ |
228 ":locale_settings", | 228 # ":locale_settings", |
229 ":chromium_strings", | 229 # ":chromium_strings", |
230 ":generated_resources", | 230 # ":generated_resources", |
231 ":google_chrome_strings", | 231 # ":google_chrome_strings", |
232 ] | 232 # ] |
233 } | 233 #} |
234 grit("locale_settings") { | 234 #grit("locale_settings") { |
235 source = "app/resources/locale_settings.grd" | 235 # source = "app/resources/locale_settings.grd" |
236 } | 236 #} |
237 grit("chromium_strings") { | 237 #grit("chromium_strings") { |
238 source = "app/chromium_strings.grd" | 238 # source = "app/chromium_strings.grd" |
239 } | 239 #} |
240 grit("generated_resources") { | 240 #grit("generated_resources") { |
241 source = "app/generated_resources.grd" | 241 # source = "app/generated_resources.grd" |
242 } | 242 #} |
243 grit("google_chrome_strings") { | 243 #grit("google_chrome_strings") { |
244 source = "app/google_chrome_strings.grd" | 244 # source = "app/google_chrome_strings.grd" |
245 } | 245 #} |
246 | 246 # |
247 group("chrome_extra_resources") { | 247 #group("chrome_extra_resources") { |
248 deps = [ | 248 # deps = [ |
249 ":memory_internals_resources", | 249 # ":memory_internals_resources", |
250 ":net_internals_resources", | 250 # ":net_internals_resources", |
251 ":signin_internals_resources", | 251 # ":signin_internals_resources", |
252 ":sync_internals_resources", | 252 # ":sync_internals_resources", |
253 ":translate_internals_resources", | 253 # ":translate_internals_resources", |
254 ] | 254 # ] |
255 | 255 # |
256 if (!is_ios) { | 256 # if (!is_ios) { |
257 deps += [ | 257 # deps += [ |
258 ":component_extension_resources", | 258 # ":component_extension_resources", |
259 ":devtools_discovery_page_resources", | 259 # ":devtools_discovery_page_resources", |
260 ":options_resources", | 260 # ":options_resources", |
261 ":quota_internals_resources", | 261 # ":quota_internals_resources", |
262 ":sync_file_system_internals_resources", | 262 # ":sync_file_system_internals_resources", |
263 ] | 263 # ] |
264 } | 264 # } |
265 } | 265 #} |
266 grit("component_extension_resources") { | 266 #grit("component_extension_resources") { |
267 source = "browser/resources/component_extension_resources.grd" | 267 # source = "browser/resources/component_extension_resources.grd" |
268 } | 268 #} |
269 grit("devtools_discovery_page_resources") { | 269 #grit("devtools_discovery_page_resources") { |
270 source = "browser/devtools/frontend/devtools_discovery_page_resources.grd" | 270 # source = "browser/devtools/frontend/devtools_discovery_page_resources.grd" |
271 } | 271 #} |
272 grit("memory_internals_resources") { | 272 #grit("memory_internals_resources") { |
273 source = "browser/resources/memory_internals_resources.grd" | 273 # source = "browser/resources/memory_internals_resources.grd" |
274 } | 274 #} |
275 grit("quota_internals_resources") { | 275 #grit("quota_internals_resources") { |
276 source = "browser/resources/quota_internals_resources.grd" | 276 # source = "browser/resources/quota_internals_resources.grd" |
277 } | 277 #} |
278 grit("net_internals_resources") { | 278 #grit("net_internals_resources") { |
279 source = "browser/resources/net_internals_resources.grd" | 279 # source = "browser/resources/net_internals_resources.grd" |
280 } | 280 #} |
281 grit("options_resources") { | 281 #grit("options_resources") { |
282 source = "browser/resources/options_resources.grd" | 282 # source = "browser/resources/options_resources.grd" |
283 } | 283 #} |
284 grit("signin_internals_resources") { | 284 #grit("signin_internals_resources") { |
285 source = "browser/resources/signin_internals_resources.grd" | 285 # source = "browser/resources/signin_internals_resources.grd" |
286 } | 286 #} |
287 grit("sync_file_system_internals_resources") { | 287 #grit("sync_file_system_internals_resources") { |
288 source = "browser/resources/sync_file_system_internals_resources.grd" | 288 # source = "browser/resources/sync_file_system_internals_resources.grd" |
289 } | 289 #} |
290 grit("sync_internals_resources") { | 290 #grit("sync_internals_resources") { |
291 source = "browser/resources/sync_internals_resources.grd" | 291 # source = "browser/resources/sync_internals_resources.grd" |
292 } | 292 #} |
293 grit("translate_internals_resources") { | 293 #grit("translate_internals_resources") { |
294 source = "browser/resources/translate_internals_resources.grd" | 294 # source = "browser/resources/translate_internals_resources.grd" |
295 } | 295 #} |
296 | 296 # |
297 group("theme_resources") { | 297 #group("theme_resources") { |
298 deps = [ | 298 # deps = [ |
299 ":theme_resources_gen", | 299 # ":theme_resources_gen", |
300 #"//ui:ui_resources", | 300 # #"//ui:ui_resources", |
301 ] | 301 # ] |
302 } | 302 #} |
303 | 303 # |
304 # TODO(brettw) rename "app_theme_resources" or something when we don't support | 304 ## TODO(brettw) rename "app_theme_resources" or something when we don't support |
305 # GYP any more. This name is required to match the GYP build. | 305 ## GYP any more. This name is required to match the GYP build. |
306 grit("theme_resources_gen") { | 306 #grit("theme_resources_gen") { |
307 source = "app/theme/theme_resources.grd" | 307 # source = "app/theme/theme_resources.grd" |
308 } | 308 #} |
OLD | NEW |