| 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("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 "//third_party/libjingle:libpeerconnection", | 594 "//third_party/libjingle:libpeerconnection", |
| 595 "//third_party/webrtc/modules/video_capture", | 595 "//third_party/webrtc/modules/video_capture", |
| 596 ] | 596 ] |
| 597 | 597 |
| 598 if (is_linux || is_mac || is_win) { | 598 if (is_linux || is_mac || is_win) { |
| 599 sources += | 599 sources += |
| 600 [ "../browser/media/capture/desktop_capture_device_unittest.cc" ] | 600 [ "../browser/media/capture/desktop_capture_device_unittest.cc" ] |
| 601 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 601 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
| 602 } | 602 } |
| 603 | 603 |
| 604 if (is_chromeos) { | 604 if (is_chromeos_ui) { |
| 605 sources += | 605 sources += |
| 606 [ "../browser/media/capture/desktop_capture_device_aura_unittest.cc" ] | 606 [ "../browser/media/capture/desktop_capture_device_aura_unittest.cc" ] |
| 607 } | 607 } |
| 608 } else { | 608 } else { |
| 609 if (enable_plugins) { | 609 if (enable_plugins) { |
| 610 # This file is added only when plugins are enabled, but we don't want it | 610 # This file is added only when plugins are enabled, but we don't want it |
| 611 # unless webrtc is also enabled. | 611 # unless webrtc is also enabled. |
| 612 sources -= | 612 sources -= |
| 613 [ "../renderer/media/webrtc/video_destination_handler_unittest.cc" ] | 613 [ "../renderer/media/webrtc/video_destination_handler_unittest.cc" ] |
| 614 } | 614 } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 632 if (is_win) { | 632 if (is_win) { |
| 633 deps += [ "//third_party/iaccessible2" ] | 633 deps += [ "//third_party/iaccessible2" ] |
| 634 } | 634 } |
| 635 if (is_mac) { | 635 if (is_mac) { |
| 636 # These flags are needed to run the test on Mac. | 636 # These flags are needed to run the test on Mac. |
| 637 # Search for comments about "xcode_settings" in chrome_tests.gypi. | 637 # Search for comments about "xcode_settings" in chrome_tests.gypi. |
| 638 ldflags = [ "-Wl,-ObjC" ] | 638 ldflags = [ "-Wl,-ObjC" ] |
| 639 | 639 |
| 640 deps += [ "//third_party/ocmock" ] | 640 deps += [ "//third_party/ocmock" ] |
| 641 } | 641 } |
| 642 if (is_chromeos) { | 642 if (is_chromeos_ui) { |
| 643 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] | 643 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] |
| 644 deps += [ "//chromeos" ] | 644 deps += [ "//chromeos" ] |
| 645 } | 645 } |
| 646 if (is_android) { | 646 if (is_android) { |
| 647 sources += | 647 sources += |
| 648 rebase_path(content_tests_gypi_values.content_unittests_android_sources, | 648 rebase_path(content_tests_gypi_values.content_unittests_android_sources, |
| 649 ".", | 649 ".", |
| 650 "//content") | 650 "//content") |
| 651 sources -= [ | 651 sources -= [ |
| 652 "../browser/geolocation/network_location_provider_unittest.cc", | 652 "../browser/geolocation/network_location_provider_unittest.cc", |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 "//testing/gtest", | 789 "//testing/gtest", |
| 790 "//third_party/WebKit/public:blink", | 790 "//third_party/WebKit/public:blink", |
| 791 "//ui/base", | 791 "//ui/base", |
| 792 "//ui/gfx", | 792 "//ui/gfx", |
| 793 "//ui/gfx/geometry", | 793 "//ui/gfx/geometry", |
| 794 "//ui/gl", | 794 "//ui/gl", |
| 795 "//ui/gl:test_support", | 795 "//ui/gl:test_support", |
| 796 ] | 796 ] |
| 797 } | 797 } |
| 798 } | 798 } |
| OLD | NEW |