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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 ] | 184 ] |
185 } | 185 } |
186 | 186 |
187 if (is_win) { | 187 if (is_win) { |
188 deps += [ "//sandbox" ] | 188 deps += [ "//sandbox" ] |
189 } | 189 } |
190 | 190 |
191 if (v8_use_external_startup_data) { | 191 if (v8_use_external_startup_data) { |
192 deps += [ "//gin:gin" ] | 192 deps += [ "//gin:gin" ] |
193 } | 193 } |
194 | |
195 if (is_mac) { | |
196 deps += [ "//ui/accelerated_widget_mac" ] | |
197 } | |
198 } | 194 } |
199 | 195 |
200 # browsertest_support can be used by targets that run content_shell based | 196 # browsertest_support can be used by targets that run content_shell based |
201 # browser tests. | 197 # browser tests. |
202 source_set("browsertest_support") { | 198 source_set("browsertest_support") { |
203 testonly = true | 199 testonly = true |
204 | 200 |
205 # See comment at the top of //content/BUILD.gn for why this is disabled in | 201 # See comment at the top of //content/BUILD.gn for why this is disabled in |
206 # component builds. | 202 # component builds. |
207 if (is_component_build) { | 203 if (is_component_build) { |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 deps += [ "//third_party/iaccessible2" ] | 781 deps += [ "//third_party/iaccessible2" ] |
786 } | 782 } |
787 if (is_mac) { | 783 if (is_mac) { |
788 # These flags are needed to run the test on Mac. | 784 # These flags are needed to run the test on Mac. |
789 # Search for comments about "xcode_settings" in chrome_tests.gypi. | 785 # Search for comments about "xcode_settings" in chrome_tests.gypi. |
790 ldflags = [ "-Wl,-ObjC" ] | 786 ldflags = [ "-Wl,-ObjC" ] |
791 | 787 |
792 deps += [ | 788 deps += [ |
793 "//third_party/mozilla", | 789 "//third_party/mozilla", |
794 "//third_party/ocmock", | 790 "//third_party/ocmock", |
795 "//ui/accelerated_widget_mac", | |
796 ] | 791 ] |
797 } | 792 } |
798 if (is_chromeos) { | 793 if (is_chromeos) { |
799 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] | 794 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] |
800 deps += [ "//chromeos" ] | 795 deps += [ "//chromeos" ] |
801 } | 796 } |
802 if (is_android) { | 797 if (is_android) { |
803 sources += | 798 sources += |
804 rebase_path(content_tests_gypi_values.content_unittests_android_sources, | 799 rebase_path(content_tests_gypi_values.content_unittests_android_sources, |
805 ".", | 800 ".", |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 "//testing/gtest", | 896 "//testing/gtest", |
902 "//testing/perf", | 897 "//testing/perf", |
903 "//ui/gfx", | 898 "//ui/gfx", |
904 "//ui/gfx/geometry", | 899 "//ui/gfx/geometry", |
905 ] | 900 ] |
906 | 901 |
907 if (is_android) { | 902 if (is_android) { |
908 deps += [ "//testing/android/native_test:native_test_native_code" ] | 903 deps += [ "//testing/android/native_test:native_test_native_code" ] |
909 } | 904 } |
910 } | 905 } |
OLD | NEW |