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

Side by Side Diff: cc/BUILD.gn

Issue 1892303003: Added the Vulkan Context Provider implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | cc/output/output_surface.h » ('j') | cc/output/output_surface.h » ('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 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
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
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.
OLDNEW
« no previous file with comments | « no previous file | cc/output/output_surface.h » ('j') | cc/output/output_surface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698