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

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

Issue 874033003: Fix chrome target in Windows GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix building on chromeos. 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) { 287 if (is_chromeos || !use_x11) {
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 += [ 370 sources += [ "$root_gen_dir/chrome/other_version.rc" ]
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 ]
378 deps += [ 371 deps += [
379 "//chrome:chrome_version_resources", 372 "//chrome:chrome_version_resources",
380 "//third_party/isimpledom", 373 "//third_party/isimpledom",
381 "//third_party/wtl", 374 "//third_party/wtl",
382 "//ui/resources", 375 "//ui/resources",
383 ] 376 ]
384 } 377 }
385 378
386 if (is_mac) { 379 if (is_mac) {
387 datadeps = [ 380 datadeps = [
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 if (!enable_webrtc) { 824 if (!enable_webrtc) {
832 sources -= [ 825 sources -= [
833 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro wsertest.cc", 826 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro wsertest.cc",
834 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private _apitest.cc", 827 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private _apitest.cc",
835 "../browser/media/chrome_webrtc_browsertest.cc", 828 "../browser/media/chrome_webrtc_browsertest.cc",
836 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc", 829 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc",
837 "../browser/media/chrome_webrtc_getmediadevices_browsertest.cc", 830 "../browser/media/chrome_webrtc_getmediadevices_browsertest.cc",
838 ] 831 ]
839 } 832 }
840 if (is_win) { 833 if (is_win) {
841 sources += [ 834 sources += [ "$root_gen_dir/chrome/other_version.rc" ]
842 "$root_gen_dir/chrome/other_version.rc",
843 "$root_gen_dir/ui/resources/ui_unscaled_resources.rc",
844 ]
845 deps += [ 835 deps += [
846 "//chrome:chrome_version_resources", 836 "//chrome:chrome_version_resources",
847 "//third_party/wtl", 837 "//third_party/wtl",
848 "//ui/resources", 838 "//ui/resources",
849 ] 839 ]
850 } else { 840 } else {
851 sources -= [ 841 sources -= [
852 "../app/chrome_command_ids.h", 842 "../app/chrome_command_ids.h",
853 "../app/chrome_dll_resource.h", 843 "../app/chrome_dll_resource.h",
854 "../app/chrome_version.rc.version", 844 "../app/chrome_version.rc.version",
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 "../browser/sync/test/integration/multiple_client_dictionary_sync_test.c c", 1053 "../browser/sync/test/integration/multiple_client_dictionary_sync_test.c c",
1064 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc" , 1054 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc" ,
1065 "../browser/sync/test/integration/two_client_dictionary_sync_test.cc", 1055 "../browser/sync/test/integration/two_client_dictionary_sync_test.cc",
1066 ] 1056 ]
1067 1057
1068 # The sync_integration_tests do not run on mac without this flag. 1058 # The sync_integration_tests do not run on mac without this flag.
1069 # Search for comments about "xcode_settings" elsewhere in this file. 1059 # Search for comments about "xcode_settings" elsewhere in this file.
1070 ldflags = [ "-Wl,-ObjC" ] 1060 ldflags = [ "-Wl,-ObjC" ]
1071 } 1061 }
1072 if (is_win) { 1062 if (is_win) {
1073 sources += [ 1063 sources += [ "$root_gen_dir/chrome/other_version.rc" ]
1074 "$root_gen_dir/chrome/other_version.rc",
1075 "$root_gen_dir/ui/resources/ui_unscaled_resources.rc",
1076 ]
1077 deps += [ 1064 deps += [
1078 "//chrome:chrome_version_resources", 1065 "//chrome:chrome_version_resources",
1079 "//third_party/wtl", 1066 "//third_party/wtl",
1080 "//ui/resources", 1067 "//ui/resources",
1081 ] 1068 ]
1082 } else { 1069 } else {
1083 sources -= [ "../app/chrome_version.rc.version" ] 1070 sources -= [ "../app/chrome_version.rc.version" ]
1084 } 1071 }
1085 if (!is_chromeos) { 1072 if (!is_chromeos) {
1086 sources -= [ 1073 sources -= [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 1116
1130 if (is_mac) { 1117 if (is_mac) {
1131 # Dictionary sync is disabled on Mac. 1118 # Dictionary sync is disabled on Mac.
1132 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ] 1119 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ]
1133 1120
1134 # The sync_performance_tests do not run on mac without this flag. 1121 # The sync_performance_tests do not run on mac without this flag.
1135 # Search for comments about "xcode_settings" elsewhere in this file. 1122 # Search for comments about "xcode_settings" elsewhere in this file.
1136 ldflags = [ "-Wl,-ObjC" ] 1123 ldflags = [ "-Wl,-ObjC" ]
1137 } 1124 }
1138 if (is_win) { 1125 if (is_win) {
1139 sources += [ 1126 sources += [ "$root_gen_dir/chrome/other_version.rc" ]
1140 "$root_gen_dir/chrome/other_version.rc",
1141 "$root_gen_dir/ui/resources/ui_unscaled_resources.rc",
1142 ]
1143 deps += [ 1127 deps += [
1144 "//chrome:chrome_version_resources", 1128 "//chrome:chrome_version_resources",
1145 "//third_party/wtl", 1129 "//third_party/wtl",
1146 "//ui/resources", 1130 "//ui/resources",
1147 ] 1131 ]
1148 } else { 1132 } else {
1149 sources -= [ "../app/chrome_version.rc.version" ] 1133 sources -= [ "../app/chrome_version.rc.version" ]
1150 } 1134 }
1151 1135
1152 if (toolkit_views) { 1136 if (toolkit_views) {
(...skipping 17 matching lines...) Expand all
1170 # TODO(GYP) CDM adapter stuff. 1154 # TODO(GYP) CDM adapter stuff.
1171 #if (enable_pepper_cdms) { 1155 #if (enable_pepper_cdms) {
1172 # deps += [ 1156 # deps += [
1173 # "//media/cdm/ppapi:clearkeycdmadapter", 1157 # "//media/cdm/ppapi:clearkeycdmadapter",
1174 # "//ppapi:ppapi_cpp", 1158 # "//ppapi:ppapi_cpp",
1175 # "//third_party/widevine/cdm:adapter", 1159 # "//third_party/widevine/cdm:adapter",
1176 # ] 1160 # ]
1177 #} 1161 #}
1178 } 1162 }
1179 } 1163 }
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