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

Side by Side Diff: media/BUILD.gn

Issue 2033893006: mac/gn: Add tests to media_unittests missing in gn build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 | media/base/mac/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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 356
357 if (current_cpu != "arm" && is_chromeos) { 357 if (current_cpu != "arm" && is_chromeos) {
358 sources += [ 358 sources += [
359 "filters/h264_bitstream_buffer.cc", 359 "filters/h264_bitstream_buffer.cc",
360 "filters/h264_bitstream_buffer.h", 360 "filters/h264_bitstream_buffer.h",
361 ] 361 ]
362 } 362 }
363 363
364 if (is_mac) { 364 if (is_mac) {
365 public_deps += [ "//media/base/mac" ] 365 public_deps += [ "//media/base/mac" ]
366 libs += [
367 "CoreVideo.framework",
368 "OpenGL.framework",
369 ]
370 } 366 }
371 367
372 if (is_ios) { 368 if (is_ios) {
373 deps += [ "//media/base/mac" ] 369 deps += [ "//media/base/mac" ]
374 } 370 }
375 371
376 if (is_win) { 372 if (is_win) {
377 deps += [ "//media/base/win" ] 373 deps += [ "//media/base/win" ]
378 libs += [ 374 libs += [
379 "mf.lib", 375 "mf.lib",
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 "filters/decrypting_audio_decoder_unittest.cc", 618 "filters/decrypting_audio_decoder_unittest.cc",
623 "filters/decrypting_video_decoder_unittest.cc", 619 "filters/decrypting_video_decoder_unittest.cc",
624 ] 620 ]
625 deps += [ 621 deps += [
626 "//media/base/android:media_java", 622 "//media/base/android:media_java",
627 "//media/base/android:unittests", 623 "//media/base/android:unittests",
628 "//media/capture/video/android:capture_java", 624 "//media/capture/video/android:capture_java",
629 "//ui/android:ui_java", 625 "//ui/android:ui_java",
630 ] 626 ]
631 } 627 }
628 if (is_mac || is_ios) {
629 deps += [ "//media/base/mac:unittests" ]
630 }
632 631
633 # If ExternalClearKey is built, we can test CdmAdapter. 632 # If ExternalClearKey is built, we can test CdmAdapter.
634 if (enable_pepper_cdms) { 633 if (enable_pepper_cdms) {
635 sources += [ "cdm/cdm_adapter_unittest.cc" ] 634 sources += [ "cdm/cdm_adapter_unittest.cc" ]
636 data_deps += [ "//media/cdm/ppapi:clearkeycdm" ] 635 data_deps += [ "//media/cdm/ppapi:clearkeycdm" ]
637 } 636 }
638 637
639 if (media_use_ffmpeg) { 638 if (media_use_ffmpeg) {
640 deps += [ "//media/ffmpeg:ffmpeg_unittests" ] 639 deps += [ "//media/ffmpeg:ffmpeg_unittests" ]
641 sources += [ 640 sources += [
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 sources = [ 883 sources = [
885 "filters/vpx_video_decoder_fuzzertest.cc", 884 "filters/vpx_video_decoder_fuzzertest.cc",
886 ] 885 ]
887 deps = [ 886 deps = [
888 ":media", 887 ":media",
889 "//base", 888 "//base",
890 ] 889 ]
891 libfuzzer_options = [ "max_len = 400000" ] 890 libfuzzer_options = [ "max_len = 400000" ]
892 seed_corpus = "//media/test/data" 891 seed_corpus = "//media/test/data"
893 } 892 }
OLDNEW
« no previous file with comments | « no previous file | media/base/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698