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

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

Issue 886243002: Revert "Fix chrome target in Windows GN build." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | components/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//build/module_args/v8.gni") 7 import("//build/module_args/v8.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 9
10 # This target exists to reference other test executables to bring these files 10 # This target exists to reference other test executables to bring these files
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 sources += rebase_path( 277 sources += rebase_path(
278 gypi_values.chrome_interactive_ui_test_views_non_mac_sources, 278 gypi_values.chrome_interactive_ui_test_views_non_mac_sources,
279 ".", 279 ".",
280 "//chrome") 280 "//chrome")
281 } 281 }
282 if (is_linux) { 282 if (is_linux) {
283 # TODO(gbillock): aura linux does not support the automation for 283 # TODO(gbillock): aura linux does not support the automation for
284 # SendMouseMoveNotifyWhenDone 284 # SendMouseMoveNotifyWhenDone
285 sources -= [ "../browser/ui/views/toolbar/toolbar_button_test.cc" ] 285 sources -= [ "../browser/ui/views/toolbar/toolbar_button_test.cc" ]
286 } 286 }
287 if (is_chromeos || !use_x11) { 287 if (is_chromeos) {
288 sources -= [ 288 sources -= [
289 "../../ui/views/widget/desktop_aura/desktop_window_tree_host_x11_inter active_uitest.cc", 289 "../../ui/views/widget/desktop_aura/desktop_window_tree_host_x11_inter active_uitest.cc",
290 "../../ui/views/widget/desktop_aura/x11_topmost_window_finder_interact ive_uitest.cc", 290 "../../ui/views/widget/desktop_aura/x11_topmost_window_finder_interact ive_uitest.cc",
291 ] 291 ]
292 } 292 }
293 } 293 }
294 294
295 if (is_linux && !is_chromeos) { 295 if (is_linux && !is_chromeos) {
296 # Desktop linux. 296 # Desktop linux.
297 sources -= [ 297 sources -= [
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 sources += rebase_path( 360 sources += rebase_path(
361 gypi_values.chrome_interactive_ui_test_non_linux_and_chromeos_sour ces, 361 gypi_values.chrome_interactive_ui_test_non_linux_and_chromeos_sour ces,
362 ".", 362 ".",
363 "//chrome") 363 "//chrome")
364 } 364 }
365 365
366 if (is_win) { 366 if (is_win) {
367 sources += rebase_path(gypi_values.chrome_interactive_ui_test_win_sources, 367 sources += rebase_path(gypi_values.chrome_interactive_ui_test_win_sources,
368 ".", 368 ".",
369 "//chrome") 369 "//chrome")
370 sources += [ "$root_gen_dir/chrome/other_version.rc" ] 370 sources += [
371 # TODO: It would be nice to have these pulled in automatically from
372 # direct_dependent_settings in their various targets
373 # (net.gyp:net_resources, etc.), but that causes errors in other
374 # targets when resulting .res files get referenced multiple times.
375 "$root_gen_dir/chrome/other_version.rc",
376 "$root_gen_dir/ui/resources/ui_unscaled_resources.rc",
377 ]
371 deps += [ 378 deps += [
372 "//chrome:chrome_version_resources", 379 "//chrome:chrome_version_resources",
373 "//third_party/isimpledom", 380 "//third_party/isimpledom",
374 "//third_party/wtl", 381 "//third_party/wtl",
375 "//ui/resources", 382 "//ui/resources",
376 ] 383 ]
377 } 384 }
378 385
379 if (is_mac) { 386 if (is_mac) {
380 datadeps = [ 387 datadeps = [
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 if (!enable_webrtc) { 831 if (!enable_webrtc) {
825 sources -= [ 832 sources -= [
826 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro wsertest.cc", 833 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro wsertest.cc",
827 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private _apitest.cc", 834 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private _apitest.cc",
828 "../browser/media/chrome_webrtc_browsertest.cc", 835 "../browser/media/chrome_webrtc_browsertest.cc",
829 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc", 836 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc",
830 "../browser/media/chrome_webrtc_getmediadevices_browsertest.cc", 837 "../browser/media/chrome_webrtc_getmediadevices_browsertest.cc",
831 ] 838 ]
832 } 839 }
833 if (is_win) { 840 if (is_win) {
834 sources += [ "$root_gen_dir/chrome/other_version.rc" ] 841 sources += [
842 "$root_gen_dir/chrome/other_version.rc",
843 "$root_gen_dir/ui/resources/ui_unscaled_resources.rc",
844 ]
835 deps += [ 845 deps += [
836 "//chrome:chrome_version_resources", 846 "//chrome:chrome_version_resources",
837 "//third_party/wtl", 847 "//third_party/wtl",
838 "//ui/resources", 848 "//ui/resources",
839 ] 849 ]
840 } else { 850 } else {
841 sources -= [ 851 sources -= [
842 "../app/chrome_command_ids.h", 852 "../app/chrome_command_ids.h",
843 "../app/chrome_dll_resource.h", 853 "../app/chrome_dll_resource.h",
844 "../app/chrome_version.rc.version", 854 "../app/chrome_version.rc.version",
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 "../browser/sync/test/integration/multiple_client_dictionary_sync_test.c c", 1063 "../browser/sync/test/integration/multiple_client_dictionary_sync_test.c c",
1054 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc" , 1064 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc" ,
1055 "../browser/sync/test/integration/two_client_dictionary_sync_test.cc", 1065 "../browser/sync/test/integration/two_client_dictionary_sync_test.cc",
1056 ] 1066 ]
1057 1067
1058 # The sync_integration_tests do not run on mac without this flag. 1068 # The sync_integration_tests do not run on mac without this flag.
1059 # Search for comments about "xcode_settings" elsewhere in this file. 1069 # Search for comments about "xcode_settings" elsewhere in this file.
1060 ldflags = [ "-Wl,-ObjC" ] 1070 ldflags = [ "-Wl,-ObjC" ]
1061 } 1071 }
1062 if (is_win) { 1072 if (is_win) {
1063 sources += [ "$root_gen_dir/chrome/other_version.rc" ] 1073 sources += [
1074 "$root_gen_dir/chrome/other_version.rc",
1075 "$root_gen_dir/ui/resources/ui_unscaled_resources.rc",
1076 ]
1064 deps += [ 1077 deps += [
1065 "//chrome:chrome_version_resources", 1078 "//chrome:chrome_version_resources",
1066 "//third_party/wtl", 1079 "//third_party/wtl",
1067 "//ui/resources", 1080 "//ui/resources",
1068 ] 1081 ]
1069 } else { 1082 } else {
1070 sources -= [ "../app/chrome_version.rc.version" ] 1083 sources -= [ "../app/chrome_version.rc.version" ]
1071 } 1084 }
1072 if (!is_chromeos) { 1085 if (!is_chromeos) {
1073 sources -= [ 1086 sources -= [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 1129
1117 if (is_mac) { 1130 if (is_mac) {
1118 # Dictionary sync is disabled on Mac. 1131 # Dictionary sync is disabled on Mac.
1119 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ] 1132 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ]
1120 1133
1121 # The sync_performance_tests do not run on mac without this flag. 1134 # The sync_performance_tests do not run on mac without this flag.
1122 # Search for comments about "xcode_settings" elsewhere in this file. 1135 # Search for comments about "xcode_settings" elsewhere in this file.
1123 ldflags = [ "-Wl,-ObjC" ] 1136 ldflags = [ "-Wl,-ObjC" ]
1124 } 1137 }
1125 if (is_win) { 1138 if (is_win) {
1126 sources += [ "$root_gen_dir/chrome/other_version.rc" ] 1139 sources += [
1140 "$root_gen_dir/chrome/other_version.rc",
1141 "$root_gen_dir/ui/resources/ui_unscaled_resources.rc",
1142 ]
1127 deps += [ 1143 deps += [
1128 "//chrome:chrome_version_resources", 1144 "//chrome:chrome_version_resources",
1129 "//third_party/wtl", 1145 "//third_party/wtl",
1130 "//ui/resources", 1146 "//ui/resources",
1131 ] 1147 ]
1132 } else { 1148 } else {
1133 sources -= [ "../app/chrome_version.rc.version" ] 1149 sources -= [ "../app/chrome_version.rc.version" ]
1134 } 1150 }
1135 1151
1136 if (toolkit_views) { 1152 if (toolkit_views) {
(...skipping 17 matching lines...) Expand all
1154 # TODO(GYP) CDM adapter stuff. 1170 # TODO(GYP) CDM adapter stuff.
1155 #if (enable_pepper_cdms) { 1171 #if (enable_pepper_cdms) {
1156 # deps += [ 1172 # deps += [
1157 # "//media/cdm/ppapi:clearkeycdmadapter", 1173 # "//media/cdm/ppapi:clearkeycdmadapter",
1158 # "//ppapi:ppapi_cpp", 1174 # "//ppapi:ppapi_cpp",
1159 # "//third_party/widevine/cdm:adapter", 1175 # "//third_party/widevine/cdm:adapter",
1160 # ] 1176 # ]
1161 #} 1177 #}
1162 } 1178 }
1163 } 1179 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698