OLD | NEW |
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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 ":sender", | 358 ":sender", |
359 ":test_support", | 359 ":test_support", |
360 "//base/test:run_all_unittests", | 360 "//base/test:run_all_unittests", |
361 "//testing/gmock", | 361 "//testing/gmock", |
362 "//testing/gtest", | 362 "//testing/gtest", |
363 ] | 363 ] |
364 | 364 |
365 if (is_android) { | 365 if (is_android) { |
366 deps += [ "//testing/android/native_test:native_test_native_code" ] | 366 deps += [ "//testing/android/native_test:native_test_native_code" ] |
367 } | 367 } |
368 } | |
369 | 368 |
370 # TODO(miu): This can be rolled into cast_unittests now that FFMPEG dependency | 369 if (is_ios || is_mac) { |
371 # issues are resolved for iOS; but there are bot/isolates to update too. | 370 sources += [ "sender/h264_vt_encoder_unittest.cc" ] |
372 if (is_ios || is_mac) { | 371 |
373 test("cast_h264_vt_encoder_unittests") { | 372 deps += [ "//third_party/ffmpeg" ] |
374 sources = [ | |
375 "sender/h264_vt_encoder_unittest.cc", | |
376 ] | |
377 deps = [ | |
378 ":common", | |
379 ":sender", | |
380 ":test_support", | |
381 "//testing/gmock", | |
382 "//testing/gtest", | |
383 "//third_party/ffmpeg", | |
384 ] | |
385 } | 373 } |
386 } | 374 } |
387 | 375 |
388 if (is_win || is_mac || (is_linux && !is_chromeos)) { | 376 if (is_win || is_mac || (is_linux && !is_chromeos)) { |
389 # This is a target for the collection of cast development tools. They are | 377 # This is a target for the collection of cast development tools. They are |
390 # not built/linked into the Chromium browser. | 378 # not built/linked into the Chromium browser. |
391 group("testing_tools") { | 379 group("testing_tools") { |
392 testonly = true | 380 testonly = true |
393 deps = [ | 381 deps = [ |
394 ":cast_benchmarks", | 382 ":cast_benchmarks", |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 ":sender", | 537 ":sender", |
550 ] | 538 ] |
551 } | 539 } |
552 | 540 |
553 static_library("cast_receiver") { | 541 static_library("cast_receiver") { |
554 complete_static_lib = true | 542 complete_static_lib = true |
555 deps = [ | 543 deps = [ |
556 ":receiver", | 544 ":receiver", |
557 ] | 545 ] |
558 } | 546 } |
OLD | NEW |