OLD | NEW |
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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 deps = [ | 521 deps = [ |
522 "//base", | 522 "//base", |
523 "//base/third_party/dynamic_annotations", | 523 "//base/third_party/dynamic_annotations", |
524 "//cc/surfaces:surface_id", | 524 "//cc/surfaces:surface_id", |
525 "//gpu", | 525 "//gpu", |
526 "//gpu/command_buffer/client:gles2_interface", | 526 "//gpu/command_buffer/client:gles2_interface", |
527 "//media", | 527 "//media", |
528 "//ui/events:events_base", | 528 "//ui/events:events_base", |
529 "//ui/gfx", | 529 "//ui/gfx", |
530 "//ui/gfx/geometry", | 530 "//ui/gfx/geometry", |
| 531 "//ui/gl", |
531 ] | 532 ] |
532 | 533 |
533 defines = [ "CC_IMPLEMENTATION=1" ] | 534 defines = [ "CC_IMPLEMENTATION=1" ] |
534 | 535 |
535 if (!is_debug && (is_win || is_android)) { | 536 if (!is_debug && (is_win || is_android)) { |
536 configs -= [ "//build/config/compiler:optimize" ] | 537 configs -= [ "//build/config/compiler:optimize" ] |
537 configs += [ "//build/config/compiler:optimize_max" ] | 538 configs += [ "//build/config/compiler:optimize_max" ] |
538 } | 539 } |
539 } | 540 } |
540 | 541 |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
921 "//ui/gl", | 922 "//ui/gl", |
922 "//ui/gl:test_support", | 923 "//ui/gl:test_support", |
923 ] | 924 ] |
924 | 925 |
925 if (is_android) { | 926 if (is_android) { |
926 isolate_file = "cc_perftests.isolate" | 927 isolate_file = "cc_perftests.isolate" |
927 } | 928 } |
928 } | 929 } |
929 # When adding support for isolates, please have a look at run-time dependencies | 930 # When adding support for isolates, please have a look at run-time dependencies |
930 # in the cc_unittests_run target in cc_tests.gyp. | 931 # in the cc_unittests_run target in cc_tests.gyp. |
OLD | NEW |