Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Side by Side Diff: content/test/BUILD.gn

Issue 2005013002: mac: ensure ui::Compositor exists for visible RWHVs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure in ctor and always in show Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 ] 192 ]
193 } 193 }
194 194
195 if (is_win) { 195 if (is_win) {
196 deps += [ "//sandbox" ] 196 deps += [ "//sandbox" ]
197 } 197 }
198 198
199 if (v8_use_external_startup_data) { 199 if (v8_use_external_startup_data) {
200 deps += [ "//gin:gin" ] 200 deps += [ "//gin:gin" ]
201 } 201 }
202
203 if (is_mac) {
204 deps += [ "//ui/accelerated_widget_mac" ]
205 }
202 } 206 }
203 207
204 # browsertest_support can be used by targets that run content_shell based 208 # browsertest_support can be used by targets that run content_shell based
205 # browser tests. 209 # browser tests.
206 source_set("browsertest_support") { 210 source_set("browsertest_support") {
207 testonly = true 211 testonly = true
208 212
209 # See comment at the top of //content/BUILD.gn for why this is disabled in 213 # See comment at the top of //content/BUILD.gn for why this is disabled in
210 # component builds. 214 # component builds.
211 if (is_component_build) { 215 if (is_component_build) {
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 deps += [ "//third_party/iaccessible2" ] 791 deps += [ "//third_party/iaccessible2" ]
788 } 792 }
789 if (is_mac) { 793 if (is_mac) {
790 # These flags are needed to run the test on Mac. 794 # These flags are needed to run the test on Mac.
791 # Search for comments about "xcode_settings" in chrome_tests.gypi. 795 # Search for comments about "xcode_settings" in chrome_tests.gypi.
792 ldflags = [ "-Wl,-ObjC" ] 796 ldflags = [ "-Wl,-ObjC" ]
793 797
794 deps += [ 798 deps += [
795 "//third_party/mozilla", 799 "//third_party/mozilla",
796 "//third_party/ocmock", 800 "//third_party/ocmock",
801 "//ui/accelerated_widget_mac",
797 ] 802 ]
798 } 803 }
799 if (is_chromeos) { 804 if (is_chromeos) {
800 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] 805 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ]
801 deps += [ "//chromeos" ] 806 deps += [ "//chromeos" ]
802 } 807 }
803 if (is_android) { 808 if (is_android) {
804 sources += 809 sources +=
805 rebase_path(content_tests_gypi_values.content_unittests_android_sources, 810 rebase_path(content_tests_gypi_values.content_unittests_android_sources,
806 ".", 811 ".",
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 917
913 fuzzer_test("renderer_fuzzer") { 918 fuzzer_test("renderer_fuzzer") {
914 sources = [ 919 sources = [
915 "renderer_fuzzer.cc", 920 "renderer_fuzzer.cc",
916 ] 921 ]
917 deps = [ 922 deps = [
918 ":test_support", 923 ":test_support",
919 "//content/shell:content_shell_lib", 924 "//content/shell:content_shell_lib",
920 ] 925 ]
921 } 926 }
OLDNEW
« no previous file with comments | « content/public/test/test_renderer_host.cc ('k') | ui/accelerated_widget_mac/window_resize_helper_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698