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

Side by Side Diff: media/cast/BUILD.gn

Issue 1664653003: Revert of Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « media/blink/BUILD.gn ('k') | media/midi/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/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 import("//third_party/protobuf/proto_library.gni") 9 import("//third_party/protobuf/proto_library.gni")
10 10
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 # details. http://crbug.com/558714 292 # details. http://crbug.com/558714
293 if (!is_android && !is_chromecast) { 293 if (!is_android && !is_chromecast) {
294 sources += [ 294 sources += [
295 "test/fake_media_source.cc", 295 "test/fake_media_source.cc",
296 "test/fake_media_source.h", 296 "test/fake_media_source.h",
297 ] 297 ]
298 deps += [ "//third_party/ffmpeg" ] 298 deps += [ "//third_party/ffmpeg" ]
299 } 299 }
300 } 300 }
301 301
302 # TODO(GYP): Delete this after we've converted everything to GN.
303 # The _run targets exist only for compatibility w/ GYP.
304 group("cast_unittests_run") {
305 testonly = true
306 deps = [
307 ":cast_unittests",
308 ]
309 }
310
302 test("cast_unittests") { 311 test("cast_unittests") {
303 sources = [ 312 sources = [
304 "common/expanded_value_base_unittest.cc", 313 "common/expanded_value_base_unittest.cc",
305 "common/rtp_time_unittest.cc", 314 "common/rtp_time_unittest.cc",
306 "logging/encoding_event_subscriber_unittest.cc", 315 "logging/encoding_event_subscriber_unittest.cc",
307 "logging/receiver_time_offset_estimator_impl_unittest.cc", 316 "logging/receiver_time_offset_estimator_impl_unittest.cc",
308 "logging/serialize_deserialize_test.cc", 317 "logging/serialize_deserialize_test.cc",
309 "logging/simple_event_subscriber_unittest.cc", 318 "logging/simple_event_subscriber_unittest.cc",
310 "logging/stats_event_subscriber_unittest.cc", 319 "logging/stats_event_subscriber_unittest.cc",
311 "net/cast_transport_sender_impl_unittest.cc", 320 "net/cast_transport_sender_impl_unittest.cc",
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 deps = [ 550 deps = [
542 ":sender", 551 ":sender",
543 ] 552 ]
544 } 553 }
545 554
546 static_library("cast_receiver") { 555 static_library("cast_receiver") {
547 deps = [ 556 deps = [
548 ":receiver", 557 ":receiver",
549 ] 558 ]
550 } 559 }
OLDNEW
« no previous file with comments | « media/blink/BUILD.gn ('k') | media/midi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698