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