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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.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/module_args/v8.gni") | 9 import("//build/module_args/v8.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 if (is_linux || is_mac || is_win) { | 604 if (is_linux || is_mac || is_win) { |
605 sources += | 605 sources += |
606 [ "../browser/media/capture/desktop_capture_device_unittest.cc" ] | 606 [ "../browser/media/capture/desktop_capture_device_unittest.cc" ] |
607 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 607 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
608 } | 608 } |
609 | 609 |
610 if (is_chromeos) { | 610 if (is_chromeos) { |
611 sources += | 611 sources += |
612 [ "../browser/media/capture/desktop_capture_device_aura_unittest.cc" ] | 612 [ "../browser/media/capture/desktop_capture_device_aura_unittest.cc" ] |
613 } | 613 } |
614 } else { | |
615 if (enable_plugins) { | |
616 # This file is added only when plugins are enabled, but we don't want it | |
617 # unless webrtc is also enabled. | |
618 sources -= | |
619 [ "../renderer/media/pepper_to_video_track_adapter_unittest.cc" ] | |
620 } | |
621 } | 614 } |
622 | 615 |
623 if (enable_web_speech) { | 616 if (enable_web_speech) { |
624 sources += | 617 sources += |
625 rebase_path(content_tests_gypi_values.content_unittests_speech_sources, | 618 rebase_path(content_tests_gypi_values.content_unittests_speech_sources, |
626 ".", | 619 ".", |
627 "//content") | 620 "//content") |
628 } | 621 } |
629 | 622 |
630 if (is_linux) { | 623 if (is_linux) { |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 "//testing/gtest", | 790 "//testing/gtest", |
798 "//third_party/WebKit/public:blink", | 791 "//third_party/WebKit/public:blink", |
799 "//ui/base", | 792 "//ui/base", |
800 "//ui/gfx", | 793 "//ui/gfx", |
801 "//ui/gfx/geometry", | 794 "//ui/gfx/geometry", |
802 "//ui/gl", | 795 "//ui/gl", |
803 "//ui/gl:test_support", | 796 "//ui/gl:test_support", |
804 ] | 797 ] |
805 } | 798 } |
806 } | 799 } |
OLD | NEW |