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

Side by Side Diff: cc/BUILD.gn

Issue 464153002: GN: Create a :gles2_interface target to resolve some check errors in //cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing config forwarding Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/common/BUILD.gn » ('j') | gpu/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 component("cc") { 5 component("cc") {
6 sources = [ 6 sources = [
7 "animation/animation.cc", 7 "animation/animation.cc",
8 "animation/animation.h", 8 "animation/animation.h",
9 "animation/animation_curve.cc", 9 "animation/animation_curve.cc",
10 "animation/animation_curve.h", 10 "animation/animation_curve.h",
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 463
464 if (is_win) { 464 if (is_win) {
465 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 465 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
466 cflags = [ "/wd4267" ] # size_t -> int 466 cflags = [ "/wd4267" ] # size_t -> int
467 } 467 }
468 468
469 deps = [ 469 deps = [
470 "//base", 470 "//base",
471 "//base/third_party/dynamic_annotations", 471 "//base/third_party/dynamic_annotations",
472 "//gpu", 472 "//gpu",
473 "//gpu/command_buffer/client:gles2_interface",
473 "//media", 474 "//media",
474 "//skia", 475 "//skia",
475 "//ui/events:events_base", 476 "//ui/events:events_base",
476 "//ui/gfx", 477 "//ui/gfx",
477 "//ui/gfx/geometry", 478 "//ui/gfx/geometry",
478 "//ui/gl", 479 "//ui/gl",
479 ] 480 ]
480 forward_dependent_configs_from = [ 481 forward_dependent_configs_from = [
481 "//skia", 482 "//skia",
482 ] 483 ]
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 "//testing/gtest", 626 "//testing/gtest",
626 "//ui/gfx", 627 "//ui/gfx",
627 "//ui/gfx/geometry", 628 "//ui/gfx/geometry",
628 "//ui/gfx:test_support", 629 "//ui/gfx:test_support",
629 "//ui/gl", 630 "//ui/gl",
630 ] 631 ]
631 632
632 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. 633 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
633 deps += [ "//third_party/mesa:osmesa" ] 634 deps += [ "//third_party/mesa:osmesa" ]
634 } 635 }
636
637 forward_dependent_configs_from = [
638 "//gpu:test_support",
jbroman 2014/08/13 19:27:16 test_context_provider.h includes gles2_interface_s
639 ]
635 } 640 }
636 641
637 test("cc_unittests") { 642 test("cc_unittests") {
638 sources = [ 643 sources = [
639 "animation/animation_unittest.cc", 644 "animation/animation_unittest.cc",
640 "animation/keyframed_animation_curve_unittest.cc", 645 "animation/keyframed_animation_curve_unittest.cc",
641 "animation/layer_animation_controller_unittest.cc", 646 "animation/layer_animation_controller_unittest.cc",
642 "animation/scroll_offset_animation_curve_unittest.cc", 647 "animation/scroll_offset_animation_curve_unittest.cc",
643 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", 648 "animation/scrollbar_animation_controller_linear_fade_unittest.cc",
644 "animation/scrollbar_animation_controller_thinning_unittest.cc", 649 "animation/scrollbar_animation_controller_thinning_unittest.cc",
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 "test/cc_test_suite.cc", 762 "test/cc_test_suite.cc",
758 ] 763 ]
759 764
760 deps = [ 765 deps = [
761 ":cc", 766 ":cc",
762 ":test_support", 767 ":test_support",
763 "//base/test:test_support", 768 "//base/test:test_support",
764 "//cc/surfaces", 769 "//cc/surfaces",
765 "//gpu", 770 "//gpu",
766 "//gpu:test_support", 771 "//gpu:test_support",
772 "//gpu/command_buffer/client:gles2_interface",
jbroman 2014/08/13 19:27:16 //cc doesn't forward configs for this, and I belie
767 "//gpu/command_buffer/common:gles2_utils", 773 "//gpu/command_buffer/common:gles2_utils",
768 "//media", 774 "//media",
769 "//testing/gmock", 775 "//testing/gmock",
770 "//testing/gtest", 776 "//testing/gtest",
771 "//ui/events:events_base", 777 "//ui/events:events_base",
772 "//ui/gfx", 778 "//ui/gfx",
773 "//ui/gfx/geometry", 779 "//ui/gfx/geometry",
774 ] 780 ]
775 } 781 }
776 782
(...skipping 22 matching lines...) Expand all
799 "//gpu/command_buffer/common:gles2_utils", 805 "//gpu/command_buffer/common:gles2_utils",
800 "//media", 806 "//media",
801 "//skia", 807 "//skia",
802 "//testing/gmock", 808 "//testing/gmock",
803 "//testing/gtest", 809 "//testing/gtest",
804 "//testing/perf", 810 "//testing/perf",
805 "//ui/gfx", 811 "//ui/gfx",
806 "//ui/gfx/geometry", 812 "//ui/gfx/geometry",
807 ] 813 ]
808 } 814 }
OLDNEW
« no previous file with comments | « no previous file | content/common/BUILD.gn » ('j') | gpu/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698