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

Side by Side Diff: components/BUILD.gn

Issue 1115033003: resources: Prevent including the same resource in multiple pack files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix-gn 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
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/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
9 9
10 # Collection of all components. You wouldn't link to this, but this is rather 10 # Collection of all components. You wouldn't link to this, but this is rather
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 324
325 if (!is_ios) { 325 if (!is_ios) {
326 deps += [ "//components/scheduler:unit_tests" ] 326 deps += [ "//components/scheduler:unit_tests" ]
327 } 327 }
328 } 328 }
329 329
330 repack("components_tests_pak") { 330 repack("components_tests_pak") {
331 sources = [ 331 sources = [
332 "$root_gen_dir/components/components_resources.pak", 332 "$root_gen_dir/components/components_resources.pak",
333 "$root_gen_dir/components/strings/components_strings_en-US.pak", 333 "$root_gen_dir/components/strings/components_strings_en-US.pak",
334 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
335 "$root_gen_dir/ui/resources/webui_resources.pak",
336 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
337 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
338 ] 334 ]
339 335
340 output = "$root_out_dir/components_tests_resources.pak" 336 output = "$root_out_dir/components_tests_resources.pak"
341 337
342 deps = [ 338 deps = [
343 "//components/resources", 339 "//components/resources",
344 "//components/strings", 340 "//components/strings",
345 "//ui/resources", 341 "//ui/resources",
346 "//ui/strings", 342 "//ui/strings",
347 ] 343 ]
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 425
430 deps = [ 426 deps = [
431 "//base", 427 "//base",
432 "//base/test:test_support_perf", 428 "//base/test:test_support_perf",
433 "//testing/gtest", 429 "//testing/gtest",
434 "//testing/perf", 430 "//testing/perf",
435 "//content/test:test_support", 431 "//content/test:test_support",
436 "//components/visitedlink/browser", 432 "//components/visitedlink/browser",
437 ] 433 ]
438 } 434 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698