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

Side by Side Diff: cc/BUILD.gn

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 years, 10 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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 component("cc") { 7 component("cc") {
8 sources = [ 8 sources = [
9 "animation/animation.cc", 9 "animation/animation.cc",
10 "animation/animation.h", 10 "animation/animation.h",
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 "trees/proxy_timing_history.h", 529 "trees/proxy_timing_history.h",
530 "trees/scoped_abort_remaining_swap_promises.h", 530 "trees/scoped_abort_remaining_swap_promises.h",
531 "trees/single_thread_proxy.cc", 531 "trees/single_thread_proxy.cc",
532 "trees/single_thread_proxy.h", 532 "trees/single_thread_proxy.h",
533 "trees/thread_proxy.cc", 533 "trees/thread_proxy.cc",
534 "trees/thread_proxy.h", 534 "trees/thread_proxy.h",
535 "trees/tree_synchronizer.cc", 535 "trees/tree_synchronizer.cc",
536 "trees/tree_synchronizer.h", 536 "trees/tree_synchronizer.h",
537 ] 537 ]
538 538
539 if (is_win) { 539 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
540 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 540 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
541 cflags = [ "/wd4267" ] # size_t -> int
542 }
543 541
544 public_deps = [ 542 public_deps = [
545 "//skia", 543 "//skia",
546 ] 544 ]
547 deps = [ 545 deps = [
548 "//base", 546 "//base",
549 "//base/third_party/dynamic_annotations", 547 "//base/third_party/dynamic_annotations",
550 "//cc/surfaces:surface_id", 548 "//cc/surfaces:surface_id",
551 "//gpu", 549 "//gpu",
552 "//gpu/command_buffer/client:gles2_interface", 550 "//gpu/command_buffer/client:gles2_interface",
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 "test/test_texture.cc", 688 "test/test_texture.cc",
691 "test/test_texture.h", 689 "test/test_texture.h",
692 "test/test_tile_priorities.cc", 690 "test/test_tile_priorities.cc",
693 "test/test_tile_priorities.h", 691 "test/test_tile_priorities.h",
694 "test/test_web_graphics_context_3d.cc", 692 "test/test_web_graphics_context_3d.cc",
695 "test/test_web_graphics_context_3d.h", 693 "test/test_web_graphics_context_3d.h",
696 "test/tiled_layer_test_common.cc", 694 "test/tiled_layer_test_common.cc",
697 "test/tiled_layer_test_common.h", 695 "test/tiled_layer_test_common.h",
698 ] 696 ]
699 697
698 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
699
700 include_dirs = [ 700 include_dirs = [
701 ".", 701 ".",
702 "test", 702 "test",
703 ] 703 ]
704 704
705 public_deps = [ 705 public_deps = [
706 ":cc", 706 ":cc",
707 "//gpu:test_support", 707 "//gpu:test_support",
708 ] 708 ]
709 deps = [ 709 deps = [
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 "//media", 914 "//media",
915 "//skia", 915 "//skia",
916 "//testing/gmock", 916 "//testing/gmock",
917 "//testing/gtest", 917 "//testing/gtest",
918 "//testing/perf", 918 "//testing/perf",
919 "//ui/gfx", 919 "//ui/gfx",
920 "//ui/gfx/geometry", 920 "//ui/gfx/geometry",
921 "//ui/gl", 921 "//ui/gl",
922 ] 922 ]
923 } 923 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698