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

Side by Side Diff: cc/BUILD.gn

Issue 1096703002: Reland: Add ETC1 powered SSE encoder for tile texture compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comments, casts and other minor issues. Created 5 years, 7 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
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("//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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 "//ui/gfx", 543 "//ui/gfx",
544 "//ui/gfx/geometry", 544 "//ui/gfx/geometry",
545 ] 545 ]
546 546
547 defines = [ "CC_IMPLEMENTATION=1" ] 547 defines = [ "CC_IMPLEMENTATION=1" ]
548 548
549 if (!is_debug && (is_win || is_android)) { 549 if (!is_debug && (is_win || is_android)) {
550 configs -= [ "//build/config/compiler:optimize" ] 550 configs -= [ "//build/config/compiler:optimize" ]
551 configs += [ "//build/config/compiler:optimize_max" ] 551 configs += [ "//build/config/compiler:optimize_max" ]
552 } 552 }
553
554 if (target_cpu == "ia32" || target_cpu == "x64") {
reveman 2015/05/07 16:26:29 Should we add "source_set("cc_opts_sse")" here and
radu.velea 2015/05/08 10:52:10 Done.
555 sources += [
556 "resources/texture_compressor_etc1_sse.cc",
557 "resources/texture_compressor_etc1_sse.h",
558 ]
559 cflags = [ "-msse2" ]
560 }
553 } 561 }
554 562
555 source_set("test_support") { 563 source_set("test_support") {
556 testonly = true 564 testonly = true
557 sources = [ 565 sources = [
558 "test/animation_test_common.cc", 566 "test/animation_test_common.cc",
559 "test/animation_test_common.h", 567 "test/animation_test_common.h",
560 "test/begin_frame_args_test.cc", 568 "test/begin_frame_args_test.cc",
561 "test/begin_frame_args_test.h", 569 "test/begin_frame_args_test.h",
562 "test/failure_output_surface.cc", 570 "test/failure_output_surface.cc",
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 "resources/picture_unittest.cc", 808 "resources/picture_unittest.cc",
801 "resources/pixel_ref_map_unittest.cc", 809 "resources/pixel_ref_map_unittest.cc",
802 "resources/platform_color_unittest.cc", 810 "resources/platform_color_unittest.cc",
803 "resources/prioritized_resource_unittest.cc", 811 "resources/prioritized_resource_unittest.cc",
804 "resources/recording_source_unittest.cc", 812 "resources/recording_source_unittest.cc",
805 "resources/resource_provider_unittest.cc", 813 "resources/resource_provider_unittest.cc",
806 "resources/resource_update_controller_unittest.cc", 814 "resources/resource_update_controller_unittest.cc",
807 "resources/scoped_gpu_raster_unittest.cc", 815 "resources/scoped_gpu_raster_unittest.cc",
808 "resources/scoped_resource_unittest.cc", 816 "resources/scoped_resource_unittest.cc",
809 "resources/task_graph_runner_unittest.cc", 817 "resources/task_graph_runner_unittest.cc",
818 "resources/texture_compressor_etc1_unittest.cc",
810 "resources/texture_mailbox_deleter_unittest.cc", 819 "resources/texture_mailbox_deleter_unittest.cc",
811 "resources/texture_uploader_unittest.cc", 820 "resources/texture_uploader_unittest.cc",
812 "resources/tile_manager_unittest.cc", 821 "resources/tile_manager_unittest.cc",
813 "resources/tile_priority_unittest.cc", 822 "resources/tile_priority_unittest.cc",
814 "resources/tile_task_worker_pool_unittest.cc", 823 "resources/tile_task_worker_pool_unittest.cc",
815 "resources/video_resource_updater_unittest.cc", 824 "resources/video_resource_updater_unittest.cc",
816 "scheduler/begin_frame_source_unittest.cc", 825 "scheduler/begin_frame_source_unittest.cc",
817 "scheduler/delay_based_time_source_unittest.cc", 826 "scheduler/delay_based_time_source_unittest.cc",
818 "scheduler/scheduler_state_machine_unittest.cc", 827 "scheduler/scheduler_state_machine_unittest.cc",
819 "scheduler/scheduler_unittest.cc", 828 "scheduler/scheduler_unittest.cc",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 "//testing/gmock", 925 "//testing/gmock",
917 "//testing/gtest", 926 "//testing/gtest",
918 "//testing/perf", 927 "//testing/perf",
919 "//ui/gfx", 928 "//ui/gfx",
920 "//ui/gfx/geometry", 929 "//ui/gfx/geometry",
921 "//ui/gl", 930 "//ui/gl",
922 ] 931 ]
923 } 932 }
924 # When adding support for isolates, please have a look at run-time dependencies 933 # When adding support for isolates, please have a look at run-time dependencies
925 # in the cc_unittests_run target in cc_tests.gyp. 934 # in the cc_unittests_run target in cc_tests.gyp.
OLDNEW
« no previous file with comments | « AUTHORS ('k') | cc/cc.gyp » ('j') | cc/resources/texture_compressor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698