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

Side by Side Diff: components/scheduler/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 | « components/safe_json/BUILD.gn ('k') | components/search_engines/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # GYP version: components/scheduler.gypi:scheduler 5 # GYP version: components/scheduler.gypi:scheduler
6 component("scheduler") { 6 component("scheduler") {
7 sources = [ 7 sources = [
8 "base/cancelable_closure_holder.cc", 8 "base/cancelable_closure_holder.cc",
9 "base/cancelable_closure_holder.h", 9 "base/cancelable_closure_holder.h",
10 "base/enqueue_order.cc", 10 "base/enqueue_order.cc",
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 "//ui/gfx:gfx", 104 "//ui/gfx:gfx",
105 ] 105 ]
106 106
107 public_deps = [ 107 public_deps = [
108 "//third_party/WebKit/public:blink", 108 "//third_party/WebKit/public:blink",
109 "//v8", 109 "//v8",
110 ] 110 ]
111 } 111 }
112 112
113 # GYP version: components/scheduler.gypi:scheduler_common 113 # GYP version: components/scheduler.gypi:scheduler_common
114 source_set("common") { 114 static_library("common") {
115 sources = [ 115 sources = [
116 "common/scheduler_switches.cc", 116 "common/scheduler_switches.cc",
117 "common/scheduler_switches.h", 117 "common/scheduler_switches.h",
118 ] 118 ]
119 } 119 }
120 120
121 source_set("unit_tests") { 121 source_set("unit_tests") {
122 testonly = true 122 testonly = true
123 123
124 sources = [ 124 sources = [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 deps = [ 156 deps = [
157 ":scheduler", 157 ":scheduler",
158 "//base/test:test_support", 158 "//base/test:test_support",
159 "//cc:test_support", 159 "//cc:test_support",
160 "//testing/gmock", 160 "//testing/gmock",
161 "//testing/gtest", 161 "//testing/gtest",
162 ] 162 ]
163 } 163 }
164 164
165 # GYP version: components/scheduler.gypi:scheduler_test_support 165 # GYP version: components/scheduler.gypi:scheduler_test_support
166 source_set("test_support") { 166 static_library("test_support") {
167 testonly = true 167 testonly = true
168 168
169 sources = [ 169 sources = [
170 "test/lazy_scheduler_message_loop_delegate_for_tests.cc", 170 "test/lazy_scheduler_message_loop_delegate_for_tests.cc",
171 "test/lazy_scheduler_message_loop_delegate_for_tests.h", 171 "test/lazy_scheduler_message_loop_delegate_for_tests.h",
172 "test/renderer_scheduler_test_support.cc", 172 "test/renderer_scheduler_test_support.cc",
173 "test/renderer_scheduler_test_support.h", 173 "test/renderer_scheduler_test_support.h",
174 ] 174 ]
175 175
176 deps = [ 176 deps = [
177 "//third_party/WebKit/public:blink", 177 "//third_party/WebKit/public:blink",
178 ] 178 ]
179 179
180 public_deps = [ 180 public_deps = [
181 ":scheduler", 181 ":scheduler",
182 "//base", 182 "//base",
183 ] 183 ]
184 } 184 }
OLDNEW
« no previous file with comments | « components/safe_json/BUILD.gn ('k') | components/search_engines/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698