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

Side by Side Diff: chrome/BUILD.gn

Issue 637163002: Changes the location of the component resources in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | chrome/chrome_repack_locales.gni » ('j') | components/strings/BUILD.gn » ('J')
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("//build/config/locales.gni") 6 import("//build/config/locales.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//chrome/chrome_repack_locales.gni") 8 import("//chrome/chrome_repack_locales.gni")
9 import("//chrome/version.gni") 9 import("//chrome/version.gni")
10 10
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 "$root_gen_dir/chrome/browser_resources.pak", 327 "$root_gen_dir/chrome/browser_resources.pak",
328 "$root_gen_dir/chrome/app/theme/chrome_unscaled_resources.pak", 328 "$root_gen_dir/chrome/app/theme/chrome_unscaled_resources.pak",
329 "$root_gen_dir/chrome/common_resources.pak", 329 "$root_gen_dir/chrome/common_resources.pak",
330 "$root_gen_dir/chrome/browser/resources/invalidations_resources.pak", 330 "$root_gen_dir/chrome/browser/resources/invalidations_resources.pak",
331 "$root_gen_dir/chrome/browser/resources/memory_internals_resources.pak", 331 "$root_gen_dir/chrome/browser/resources/memory_internals_resources.pak",
332 "$root_gen_dir/chrome/browser/resources/net_internals_resources.pak", 332 "$root_gen_dir/chrome/browser/resources/net_internals_resources.pak",
333 "$root_gen_dir/chrome/browser/resources/password_manager_internals_resources .pak", 333 "$root_gen_dir/chrome/browser/resources/password_manager_internals_resources .pak",
334 "$root_gen_dir/chrome/browser/resources/signin_internals_resources.pak", 334 "$root_gen_dir/chrome/browser/resources/signin_internals_resources.pak",
335 "$root_gen_dir/chrome/browser/resources/sync_internals_resources.pak", 335 "$root_gen_dir/chrome/browser/resources/sync_internals_resources.pak",
336 "$root_gen_dir/chrome/browser/resources/translate_internals_resources.pak", 336 "$root_gen_dir/chrome/browser/resources/translate_internals_resources.pak",
337 "$root_gen_dir/components/resources/components_resources.pak", 337 "$root_gen_dir/components/components_resources.pak",
338 "$root_gen_dir/net/net_resources.pak", 338 "$root_gen_dir/net/net_resources.pak",
339 "$root_gen_dir/ui/resources/webui_resources.pak", 339 "$root_gen_dir/ui/resources/webui_resources.pak",
340 ] 340 ]
341 deps = [ 341 deps = [
342 "//chrome/browser:resources", 342 "//chrome/browser:resources",
343 "//chrome/app/theme:chrome_unscaled_resources", 343 "//chrome/app/theme:chrome_unscaled_resources",
344 "//chrome/common:resources", 344 "//chrome/common:resources",
345 "//chrome/browser/resources:invalidations_resources", 345 "//chrome/browser/resources:invalidations_resources",
346 "//chrome/browser/resources:memory_internals_resources", 346 "//chrome/browser/resources:memory_internals_resources",
347 "//chrome/browser/resources:net_internals_resources", 347 "//chrome/browser/resources:net_internals_resources",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 444
445 repack_name = "${target_name}_repack" 445 repack_name = "${target_name}_repack"
446 repack_output_file = "$root_gen_dir/repack/chrome_${percent}_percent.pak" 446 repack_output_file = "$root_gen_dir/repack/chrome_${percent}_percent.pak"
447 447
448 copy_name = target_name 448 copy_name = target_name
449 449
450 repack(repack_name) { 450 repack(repack_name) {
451 visibility = [ ":$copy_name" ] 451 visibility = [ ":$copy_name" ]
452 # All sources should also have deps for completeness. 452 # All sources should also have deps for completeness.
453 sources = [ 453 sources = [
454 "$root_gen_dir/components/resources/components_resources_${percent}_percen t.pak", 454 "$root_gen_dir/components/components_resources_${percent}_percent.pak",
455 "$root_gen_dir/ui/resources/ui_resources_${percent}_percent.pak", 455 "$root_gen_dir/ui/resources/ui_resources_${percent}_percent.pak",
456 "$root_gen_dir/chrome/renderer_resources_${percent}_percent.pak", 456 "$root_gen_dir/chrome/renderer_resources_${percent}_percent.pak",
457 "$root_gen_dir/chrome/app/theme/theme_resources_${percent}_percent.pak", 457 "$root_gen_dir/chrome/app/theme/theme_resources_${percent}_percent.pak",
458 ] 458 ]
459 459
460 deps = [ 460 deps = [
461 "//chrome/app/theme:theme_resources", 461 "//chrome/app/theme:theme_resources",
462 "//chrome/renderer:resources", 462 "//chrome/renderer:resources",
463 "//components/strings", 463 "//components/strings",
464 "//net:net_resources", 464 "//net:net_resources",
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 515
516 # GYP version: chrome/chrome_resources.gyp:chrome_strings 516 # GYP version: chrome/chrome_resources.gyp:chrome_strings
517 group("strings") { 517 group("strings") {
518 deps = [ 518 deps = [
519 "//chrome/app:chromium_strings", 519 "//chrome/app:chromium_strings",
520 "//chrome/app:generated_resources", 520 "//chrome/app:generated_resources",
521 "//chrome/app:google_chrome_strings", 521 "//chrome/app:google_chrome_strings",
522 "//chrome/app/resources:locale_settings", 522 "//chrome/app/resources:locale_settings",
523 ] 523 ]
524 } 524 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_repack_locales.gni » ('j') | components/strings/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698