| 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/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//mojo/public/tools/bindings/mojom.gni") | 10 import("//mojo/public/tools/bindings/mojom.gni") |
| (...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 if (enable_web_speech) { | 766 if (enable_web_speech) { |
| 767 sources += | 767 sources += |
| 768 rebase_path(content_tests_gypi_values.content_unittests_speech_sources, | 768 rebase_path(content_tests_gypi_values.content_unittests_speech_sources, |
| 769 ".", | 769 ".", |
| 770 "//content") | 770 "//content") |
| 771 } | 771 } |
| 772 | 772 |
| 773 if (is_linux) { | 773 if (is_linux) { |
| 774 if (use_dbus) { | 774 if (use_dbus) { |
| 775 deps += [ "//dbus:test_support" ] | 775 deps += [ "//dbus:test_support" ] |
| 776 } else { | |
| 777 sources -= | |
| 778 [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] | |
| 779 } | 776 } |
| 780 } | 777 } |
| 781 if (is_win) { | 778 if (is_win) { |
| 782 deps += [ "//third_party/iaccessible2" ] | 779 deps += [ "//third_party/iaccessible2" ] |
| 783 } | 780 } |
| 784 if (is_mac) { | 781 if (is_mac) { |
| 785 # These flags are needed to run the test on Mac. | 782 # These flags are needed to run the test on Mac. |
| 786 # Search for comments about "xcode_settings" in chrome_tests.gypi. | 783 # Search for comments about "xcode_settings" in chrome_tests.gypi. |
| 787 ldflags = [ "-Wl,-ObjC" ] | 784 ldflags = [ "-Wl,-ObjC" ] |
| 788 | 785 |
| 789 deps += [ | 786 deps += [ |
| 790 "//third_party/mozilla", | 787 "//third_party/mozilla", |
| 791 "//third_party/ocmock", | 788 "//third_party/ocmock", |
| 792 "//ui/accelerated_widget_mac", | 789 "//ui/accelerated_widget_mac", |
| 793 ] | 790 ] |
| 794 } | 791 } |
| 795 if (is_chromeos) { | 792 if (is_chromeos) { |
| 796 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] | |
| 797 deps += [ "//chromeos" ] | 793 deps += [ "//chromeos" ] |
| 798 } | 794 } |
| 799 if (is_android) { | 795 if (is_android) { |
| 800 sources += | 796 sources += |
| 801 rebase_path(content_tests_gypi_values.content_unittests_android_sources, | 797 rebase_path(content_tests_gypi_values.content_unittests_android_sources, |
| 802 ".", | 798 ".", |
| 803 "//content") | 799 "//content") |
| 804 sources -= [ | 800 sources -= [ |
| 805 "../browser/geolocation/network_location_provider_unittest.cc", | |
| 806 "../browser/geolocation/wifi_data_provider_common_unittest.cc", | |
| 807 "../browser/power_usage_monitor_impl_unittest.cc", | 801 "../browser/power_usage_monitor_impl_unittest.cc", |
| 808 "../browser/webui/url_data_manager_backend_unittest.cc", | 802 "../browser/webui/url_data_manager_backend_unittest.cc", |
| 809 ] | 803 ] |
| 810 deps -= [ "//device/battery" ] | 804 deps -= [ "//device/battery" ] |
| 811 | 805 |
| 812 deps += [ | 806 deps += [ |
| 813 "//base:base_java_unittest_support", | 807 "//base:base_java_unittest_support", |
| 814 "//content/public/android:content_java", | 808 "//content/public/android:content_java", |
| 815 "//v8:v8_external_startup_data_assets", | 809 "//v8:v8_external_startup_data_assets", |
| 816 ] | 810 ] |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 if (is_android) { | 898 if (is_android) { |
| 905 deps += [ "//testing/android/native_test:native_test_native_code" ] | 899 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 906 } | 900 } |
| 907 } | 901 } |
| 908 | 902 |
| 909 group("fuzzers") { | 903 group("fuzzers") { |
| 910 deps = [ | 904 deps = [ |
| 911 "//content/test/fuzzer", | 905 "//content/test/fuzzer", |
| 912 ] | 906 ] |
| 913 } | 907 } |
| OLD | NEW |