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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 "//media", | 525 "//media", |
526 "//ui/events:events_base", | 526 "//ui/events:events_base", |
527 "//ui/gfx", | 527 "//ui/gfx", |
528 "//ui/gfx/geometry", | 528 "//ui/gfx/geometry", |
529 "//ui/gl", | 529 "//ui/gl", |
530 ] | 530 ] |
531 | 531 |
532 defines = [ "CC_IMPLEMENTATION=1" ] | 532 defines = [ "CC_IMPLEMENTATION=1" ] |
533 | 533 |
534 if (!is_debug && (is_win || is_android)) { | 534 if (!is_debug && (is_win || is_android)) { |
535 configs -= [ "//build/config/compiler:optimize" ] | 535 configs -= [ "//build/config/compiler:default_optimization" ] |
536 configs += [ "//build/config/compiler:optimize_max" ] | 536 configs += [ "//build/config/compiler:optimize_max" ] |
537 } | 537 } |
538 } | 538 } |
539 | 539 |
540 source_set("test_support") { | 540 source_set("test_support") { |
541 testonly = true | 541 testonly = true |
542 sources = [ | 542 sources = [ |
543 "test/animation_test_common.cc", | 543 "test/animation_test_common.cc", |
544 "test/animation_test_common.h", | 544 "test/animation_test_common.h", |
545 "test/animation_timelines_test_common.cc", | 545 "test/animation_timelines_test_common.cc", |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 "//ui/gl", | 928 "//ui/gl", |
929 "//ui/gl:test_support", | 929 "//ui/gl:test_support", |
930 ] | 930 ] |
931 | 931 |
932 if (is_android) { | 932 if (is_android) { |
933 isolate_file = "cc_perftests.isolate" | 933 isolate_file = "cc_perftests.isolate" |
934 } | 934 } |
935 } | 935 } |
936 # When adding support for isolates, please have a look at run-time dependencies | 936 # When adding support for isolates, please have a look at run-time dependencies |
937 # in the cc_unittests_run target in cc_tests.gyp. | 937 # in the cc_unittests_run target in cc_tests.gyp. |
OLD | NEW |