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("//build_overrides/v8.gni") | 10 import("//build_overrides/v8.gni") |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 ] | 190 ] |
191 } | 191 } |
192 | 192 |
193 if (is_win) { | 193 if (is_win) { |
194 deps += [ "//sandbox" ] | 194 deps += [ "//sandbox" ] |
195 } | 195 } |
196 | 196 |
197 if (v8_use_external_startup_data) { | 197 if (v8_use_external_startup_data) { |
198 deps += [ "//gin:gin" ] | 198 deps += [ "//gin:gin" ] |
199 } | 199 } |
200 | |
201 if (is_mac) { | |
202 deps += [ "//ui/accelerated_widget_mac" ] | |
203 } | |
204 } | 200 } |
205 | 201 |
206 # browsertest_support can be used by targets that run content_shell based | 202 # browsertest_support can be used by targets that run content_shell based |
207 # browser tests. | 203 # browser tests. |
208 source_set("browsertest_support") { | 204 source_set("browsertest_support") { |
209 testonly = true | 205 testonly = true |
210 | 206 |
211 # See comment at the top of //content/BUILD.gn for why this is disabled in | 207 # See comment at the top of //content/BUILD.gn for why this is disabled in |
212 # component builds. | 208 # component builds. |
213 if (is_component_build) { | 209 if (is_component_build) { |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 deps += [ "//third_party/iaccessible2" ] | 785 deps += [ "//third_party/iaccessible2" ] |
790 } | 786 } |
791 if (is_mac) { | 787 if (is_mac) { |
792 # These flags are needed to run the test on Mac. | 788 # These flags are needed to run the test on Mac. |
793 # Search for comments about "xcode_settings" in chrome_tests.gypi. | 789 # Search for comments about "xcode_settings" in chrome_tests.gypi. |
794 ldflags = [ "-Wl,-ObjC" ] | 790 ldflags = [ "-Wl,-ObjC" ] |
795 | 791 |
796 deps += [ | 792 deps += [ |
797 "//third_party/mozilla", | 793 "//third_party/mozilla", |
798 "//third_party/ocmock", | 794 "//third_party/ocmock", |
799 "//ui/accelerated_widget_mac", | |
800 ] | 795 ] |
801 } | 796 } |
802 if (is_chromeos) { | 797 if (is_chromeos) { |
803 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] | 798 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] |
804 deps += [ "//chromeos" ] | 799 deps += [ "//chromeos" ] |
805 } | 800 } |
806 if (is_android) { | 801 if (is_android) { |
807 sources += | 802 sources += |
808 rebase_path(content_tests_gypi_values.content_unittests_android_sources, | 803 rebase_path(content_tests_gypi_values.content_unittests_android_sources, |
809 ".", | 804 ".", |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 | 910 |
916 fuzzer_test("renderer_fuzzer") { | 911 fuzzer_test("renderer_fuzzer") { |
917 sources = [ | 912 sources = [ |
918 "renderer_fuzzer.cc", | 913 "renderer_fuzzer.cc", |
919 ] | 914 ] |
920 deps = [ | 915 deps = [ |
921 ":test_support", | 916 ":test_support", |
922 "//content/shell:content_shell_lib", | 917 "//content/shell:content_shell_lib", |
923 ] | 918 ] |
924 } | 919 } |
OLD | NEW |