| 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 component("cc") { | 8 component("cc") { |
| 9 sources = [ | 9 sources = [ |
| 10 "animation/animation.cc", | 10 "animation/animation.cc", |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 defines = [ "CC_IMPLEMENTATION=1" ] | 561 defines = [ "CC_IMPLEMENTATION=1" ] |
| 562 | 562 |
| 563 if (!is_debug && (is_win || is_android)) { | 563 if (!is_debug && (is_win || is_android)) { |
| 564 configs -= [ "//build/config/compiler:default_optimization" ] | 564 configs -= [ "//build/config/compiler:default_optimization" ] |
| 565 configs += [ "//build/config/compiler:optimize_max" ] | 565 configs += [ "//build/config/compiler:optimize_max" ] |
| 566 } | 566 } |
| 567 | 567 |
| 568 if (enable_vulkan) { | 568 if (enable_vulkan) { |
| 569 sources += [ | 569 sources += [ |
| 570 "output/vulkan_context_provider.h", | 570 "output/vulkan_context_provider.h", |
| 571 "output/vulkan_derived_context_provider.cc", |
| 572 "output/vulkan_derived_context_provider.h", |
| 571 "output/vulkan_in_process_context_provider.cc", | 573 "output/vulkan_in_process_context_provider.cc", |
| 572 "output/vulkan_in_process_context_provider.h", | 574 "output/vulkan_in_process_context_provider.h", |
| 573 "output/vulkan_renderer.cc", | 575 "output/vulkan_renderer.cc", |
| 574 "output/vulkan_renderer.h", | 576 "output/vulkan_renderer.h", |
| 575 ] | 577 ] |
| 576 | 578 |
| 577 deps += [ "//gpu/vulkan" ] | 579 deps += [ "//gpu/vulkan" ] |
| 578 } | 580 } |
| 579 } | 581 } |
| 580 | 582 |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 "//ui/gl", | 1004 "//ui/gl", |
| 1003 "//ui/gl:test_support", | 1005 "//ui/gl:test_support", |
| 1004 ] | 1006 ] |
| 1005 | 1007 |
| 1006 if (is_android) { | 1008 if (is_android) { |
| 1007 isolate_file = "cc_perftests.isolate" | 1009 isolate_file = "cc_perftests.isolate" |
| 1008 } | 1010 } |
| 1009 } | 1011 } |
| 1010 # When adding support for isolates, please have a look at run-time dependencies | 1012 # When adding support for isolates, please have a look at run-time dependencies |
| 1011 # in the cc_unittests_run target in cc_tests.gyp. | 1013 # in the cc_unittests_run target in cc_tests.gyp. |
| OLD | NEW |