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

Side by Side Diff: cc/BUILD.gn

Issue 2151653003: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: crypto Created 4 years, 5 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 | components/open_from_clipboard/BUILD.gn » ('j') | no next file with comments »
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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 if (enable_vulkan) { 582 if (enable_vulkan) {
583 sources += [ 583 sources += [
584 "output/vulkan_renderer.cc", 584 "output/vulkan_renderer.cc",
585 "output/vulkan_renderer.h", 585 "output/vulkan_renderer.h",
586 ] 586 ]
587 587
588 deps += [ "//gpu/vulkan" ] 588 deps += [ "//gpu/vulkan" ]
589 } 589 }
590 } 590 }
591 591
592 source_set("test_support") { 592 static_library("test_support") {
593 testonly = true 593 testonly = true
594 sources = [ 594 sources = [
595 "test/animation_test_common.cc", 595 "test/animation_test_common.cc",
596 "test/animation_test_common.h", 596 "test/animation_test_common.h",
597 "test/animation_timelines_test_common.cc", 597 "test/animation_timelines_test_common.cc",
598 "test/animation_timelines_test_common.h", 598 "test/animation_timelines_test_common.h",
599 "test/begin_frame_args_test.cc", 599 "test/begin_frame_args_test.cc",
600 "test/begin_frame_args_test.h", 600 "test/begin_frame_args_test.h",
601 "test/begin_frame_source_test.cc", 601 "test/begin_frame_source_test.cc",
602 "test/begin_frame_source_test.h", 602 "test/begin_frame_source_test.h",
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 "//ui/gfx/geometry", 1043 "//ui/gfx/geometry",
1044 "//ui/gl", 1044 "//ui/gl",
1045 "//ui/gl:test_support", 1045 "//ui/gl:test_support",
1046 ] 1046 ]
1047 1047
1048 # This target should not require the Chrome executable to run. 1048 # This target should not require the Chrome executable to run.
1049 assert_no_deps = [ "//chrome" ] 1049 assert_no_deps = [ "//chrome" ]
1050 } 1050 }
1051 # When adding support for isolates, please have a look at run-time dependencies 1051 # When adding support for isolates, please have a look at run-time dependencies
1052 # in the cc_unittests_run target in cc_tests.gyp. 1052 # in the cc_unittests_run target in cc_tests.gyp.
OLDNEW
« no previous file with comments | « no previous file | components/open_from_clipboard/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698