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/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 "audio_renderer_mixer_unittest.cc", | 383 "audio_renderer_mixer_unittest.cc", |
384 "audio_shifter_unittest.cc", | 384 "audio_shifter_unittest.cc", |
385 "audio_splicer_unittest.cc", | 385 "audio_splicer_unittest.cc", |
386 "audio_timestamp_helper_unittest.cc", | 386 "audio_timestamp_helper_unittest.cc", |
387 "bind_to_current_loop_unittest.cc", | 387 "bind_to_current_loop_unittest.cc", |
388 "bit_reader_unittest.cc", | 388 "bit_reader_unittest.cc", |
389 "callback_holder.h", | 389 "callback_holder.h", |
390 "callback_holder_unittest.cc", | 390 "callback_holder_unittest.cc", |
391 "channel_mixer_unittest.cc", | 391 "channel_mixer_unittest.cc", |
392 "channel_mixing_matrix_unittest.cc", | 392 "channel_mixing_matrix_unittest.cc", |
| 393 "container_names_unittest.cc", |
393 "data_buffer_unittest.cc", | 394 "data_buffer_unittest.cc", |
394 "decoder_buffer_queue_unittest.cc", | 395 "decoder_buffer_queue_unittest.cc", |
395 "decoder_buffer_unittest.cc", | 396 "decoder_buffer_unittest.cc", |
396 "djb2_unittest.cc", | 397 "djb2_unittest.cc", |
397 "fake_demuxer_stream_unittest.cc", | 398 "fake_demuxer_stream_unittest.cc", |
398 "gmock_callback_support_unittest.cc", | 399 "gmock_callback_support_unittest.cc", |
399 "key_systems_unittest.cc", | 400 "key_systems_unittest.cc", |
400 "mime_util_unittest.cc", | 401 "mime_util_unittest.cc", |
401 "moving_average_unittest.cc", | 402 "moving_average_unittest.cc", |
402 "multi_channel_resampler_unittest.cc", | 403 "multi_channel_resampler_unittest.cc", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 | 437 |
437 # Even if FFmpeg is enabled on Android we don't want these. | 438 # Even if FFmpeg is enabled on Android we don't want these. |
438 # TODO(watk): Refactor tests that could be made to run on Android. | 439 # TODO(watk): Refactor tests that could be made to run on Android. |
439 if (media_use_ffmpeg && !is_android) { | 440 if (media_use_ffmpeg && !is_android) { |
440 sources += [ | 441 sources += [ |
441 "audio_video_metadata_extractor_unittest.cc", | 442 "audio_video_metadata_extractor_unittest.cc", |
442 "media_file_checker_unittest.cc", | 443 "media_file_checker_unittest.cc", |
443 ] | 444 ] |
444 } | 445 } |
445 | 446 |
446 if (!is_android) { | 447 if (is_android) { |
447 sources += [ "container_names_unittest.cc" ] | |
448 } else { | |
449 deps += [ "//ui/gl" ] | 448 deps += [ "//ui/gl" ] |
450 } | 449 } |
451 | 450 |
452 if (current_cpu == "x86" || current_cpu == "x64") { | 451 if (current_cpu == "x86" || current_cpu == "x64") { |
453 sources += [ "simd/convert_rgb_to_yuv_unittest.cc" ] | 452 sources += [ "simd/convert_rgb_to_yuv_unittest.cc" ] |
454 } | 453 } |
455 } | 454 } |
456 | 455 |
457 source_set("perftests") { | 456 source_set("perftests") { |
458 testonly = true | 457 testonly = true |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 if (is_posix) { | 535 if (is_posix) { |
537 yasm_flags += [ "-DELF" ] | 536 yasm_flags += [ "-DELF" ] |
538 if (current_cpu == "x64") { | 537 if (current_cpu == "x64") { |
539 # TODO(ajwong): Why isn't this true in mac? | 538 # TODO(ajwong): Why isn't this true in mac? |
540 yasm_flags += [ "-DPIC" ] | 539 yasm_flags += [ "-DPIC" ] |
541 } | 540 } |
542 } | 541 } |
543 } | 542 } |
544 } | 543 } |
545 } | 544 } |
OLD | NEW |