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/crypto.gni") | 6 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
8 import("//build/module_args/v8.gni") | 9 import("//build/module_args/v8.gni") |
9 import("//testing/test.gni") | 10 import("//testing/test.gni") |
10 | 11 |
11 # This target exists to reference other test executables to bring these files | 12 # This target exists to reference other test executables to bring these files |
12 # into the build. | 13 # into the build. |
13 group("test") { | 14 group("test") { |
14 testonly = true | 15 testonly = true |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 chrome_tests_gypi_values.chrome_interactive_ui_test_non_linux_and_
chromeos_sources, | 367 chrome_tests_gypi_values.chrome_interactive_ui_test_non_linux_and_
chromeos_sources, |
367 ".", | 368 ".", |
368 "//chrome") | 369 "//chrome") |
369 } | 370 } |
370 | 371 |
371 if (is_win) { | 372 if (is_win) { |
372 sources += rebase_path( | 373 sources += rebase_path( |
373 chrome_tests_gypi_values.chrome_interactive_ui_test_win_sources, | 374 chrome_tests_gypi_values.chrome_interactive_ui_test_win_sources, |
374 ".", | 375 ".", |
375 "//chrome") | 376 "//chrome") |
376 sources += [ "$root_gen_dir/chrome/other_version.rc" ] | |
377 deps += [ | 377 deps += [ |
378 "//chrome:chrome_version_resources", | 378 "//chrome:other_version", |
379 "//third_party/isimpledom", | 379 "//third_party/isimpledom", |
380 "//third_party/wtl", | 380 "//third_party/wtl", |
381 "//ui/resources", | 381 "//ui/resources", |
382 ] | 382 ] |
383 | 383 |
384 configs -= [ "//build/config/win:default_incremental_linking" ] | 384 configs -= [ "//build/config/win:default_incremental_linking" ] |
385 configs += | 385 configs += |
386 [ "//build/config/win:default_large_module_incremental_linking" ] | 386 [ "//build/config/win:default_large_module_incremental_linking" ] |
387 } | 387 } |
388 | 388 |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 if (!enable_webrtc) { | 839 if (!enable_webrtc) { |
840 sources -= [ | 840 sources -= [ |
841 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro
wsertest.cc", | 841 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro
wsertest.cc", |
842 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private
_apitest.cc", | 842 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private
_apitest.cc", |
843 "../browser/media/chrome_webrtc_browsertest.cc", | 843 "../browser/media/chrome_webrtc_browsertest.cc", |
844 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc", | 844 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc", |
845 "../browser/media/chrome_webrtc_getmediadevices_browsertest.cc", | 845 "../browser/media/chrome_webrtc_getmediadevices_browsertest.cc", |
846 ] | 846 ] |
847 } | 847 } |
848 if (is_win) { | 848 if (is_win) { |
849 sources += [ "$root_gen_dir/chrome/other_version.rc" ] | |
850 deps += [ | 849 deps += [ |
851 "//chrome:chrome_version_resources", | 850 "//chrome:other_version", |
852 "//third_party/wtl", | 851 "//third_party/wtl", |
853 "//ui/resources", | 852 "//ui/resources", |
854 ] | 853 ] |
855 } else { | 854 } else { |
856 sources -= [ | 855 sources -= [ |
857 "../app/chrome_command_ids.h", | 856 "../app/chrome_command_ids.h", |
858 "../app/chrome_dll_resource.h", | 857 "../app/chrome_dll_resource.h", |
859 "../app/chrome_version.rc.version", | 858 "../app/chrome_version.rc.version", |
860 "../browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc
", | 859 "../browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc
", |
861 ] | 860 ] |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1063 "../browser/sync/test/integration/multiple_client_dictionary_sync_test.c
c", | 1062 "../browser/sync/test/integration/multiple_client_dictionary_sync_test.c
c", |
1064 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc"
, | 1063 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc"
, |
1065 "../browser/sync/test/integration/two_client_dictionary_sync_test.cc", | 1064 "../browser/sync/test/integration/two_client_dictionary_sync_test.cc", |
1066 ] | 1065 ] |
1067 | 1066 |
1068 # The sync_integration_tests do not run on mac without this flag. | 1067 # The sync_integration_tests do not run on mac without this flag. |
1069 # Search for comments about "xcode_settings" elsewhere in this file. | 1068 # Search for comments about "xcode_settings" elsewhere in this file. |
1070 ldflags = [ "-Wl,-ObjC" ] | 1069 ldflags = [ "-Wl,-ObjC" ] |
1071 } | 1070 } |
1072 if (is_win) { | 1071 if (is_win) { |
1073 sources += [ "$root_gen_dir/chrome/other_version.rc" ] | |
1074 deps += [ | 1072 deps += [ |
1075 "//chrome:chrome_version_resources", | 1073 "//chrome:other_version", |
1076 "//third_party/wtl", | 1074 "//third_party/wtl", |
1077 "//ui/resources", | 1075 "//ui/resources", |
1078 ] | 1076 ] |
1079 | 1077 |
1080 configs -= [ "//build/config/win:default_incremental_linking" ] | 1078 configs -= [ "//build/config/win:default_incremental_linking" ] |
1081 configs += | 1079 configs += |
1082 [ "//build/config/win:default_large_module_incremental_linking" ] | 1080 [ "//build/config/win:default_large_module_incremental_linking" ] |
1083 } else { | 1081 } else { |
1084 sources -= [ "../app/chrome_version.rc.version" ] | 1082 sources -= [ "../app/chrome_version.rc.version" ] |
1085 } | 1083 } |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1132 | 1130 |
1133 if (is_mac) { | 1131 if (is_mac) { |
1134 # Dictionary sync is disabled on Mac. | 1132 # Dictionary sync is disabled on Mac. |
1135 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync
_perf_test.cc" ] | 1133 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync
_perf_test.cc" ] |
1136 | 1134 |
1137 # The sync_performance_tests do not run on mac without this flag. | 1135 # The sync_performance_tests do not run on mac without this flag. |
1138 # Search for comments about "xcode_settings" elsewhere in this file. | 1136 # Search for comments about "xcode_settings" elsewhere in this file. |
1139 ldflags = [ "-Wl,-ObjC" ] | 1137 ldflags = [ "-Wl,-ObjC" ] |
1140 } | 1138 } |
1141 if (is_win) { | 1139 if (is_win) { |
1142 sources += [ "$root_gen_dir/chrome/other_version.rc" ] | |
1143 deps += [ | 1140 deps += [ |
1144 "//chrome:chrome_version_resources", | 1141 "//chrome:other_version", |
| 1142 "//chrome/installer/util:strings", |
1145 "//third_party/wtl", | 1143 "//third_party/wtl", |
1146 "//ui/resources", | 1144 "//ui/resources", |
1147 ] | 1145 ] |
1148 configs -= [ "//build/config/win:default_incremental_linking" ] | 1146 configs -= [ "//build/config/win:default_incremental_linking" ] |
1149 configs += | 1147 configs += |
1150 [ "//build/config/win:default_large_module_incremental_linking" ] | 1148 [ "//build/config/win:default_large_module_incremental_linking" ] |
1151 } else { | 1149 } else { |
1152 sources -= [ "../app/chrome_version.rc.version" ] | 1150 sources -= [ "../app/chrome_version.rc.version" ] |
1153 } | 1151 } |
1154 | 1152 |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1589 if (is_win) { | 1587 if (is_win) { |
1590 if (!is_component_build) { | 1588 if (!is_component_build) { |
1591 # Unit_tests pdb files can get too big when incremental linking is | 1589 # Unit_tests pdb files can get too big when incremental linking is |
1592 # on, disabling for this target. | 1590 # on, disabling for this target. |
1593 #'LinkIncremental': '<(msvs_debug_link_nonincremental)', TODO(GYP) | 1591 #'LinkIncremental': '<(msvs_debug_link_nonincremental)', TODO(GYP) |
1594 } | 1592 } |
1595 | 1593 |
1596 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_sources, | 1594 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_sources, |
1597 ".", | 1595 ".", |
1598 "//chrome") | 1596 "//chrome") |
1599 sources += [ | |
1600 # TODO: It would be nice to have these pulled in | |
1601 # automatically from direct_dependent_settings in | |
1602 # their various targets (net.gyp:net_resources, etc.), | |
1603 # but that causes errors in other targets when | |
1604 # resulting .res files get referenced multiple times. | |
1605 #'<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', TODO(GYP
) | |
1606 #'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc', TO
DO(GYP) | |
1607 ] | |
1608 | |
1609 deps += [ | 1597 deps += [ |
1610 #'browser/safe_browsing/incident_reporting/verifier_test/verifier_unitte
st.gyp:verifier_test_dll_1', TODO(GYP) | 1598 #'browser/safe_browsing/incident_reporting/verifier_test/verifier_unitte
st.gyp:verifier_test_dll_1', TODO(GYP) |
1611 #'browser/safe_browsing/incident_reporting/verifier_test/verifier_unitte
st.gyp:verifier_test_dll_2', TODO(GYP) | 1599 #'browser/safe_browsing/incident_reporting/verifier_test/verifier_unitte
st.gyp:verifier_test_dll_2', TODO(GYP) |
1612 #'chrome_version_resources', TODO(GYP) | 1600 "//chrome:other_version", |
1613 "//chrome_elf:blacklist_test_dll_1", | 1601 "//chrome_elf:blacklist_test_dll_1", |
1614 "//chrome/installer/util:strings", | 1602 "//chrome/installer/util:strings", |
1615 "//third_party/iaccessible2", | 1603 "//third_party/iaccessible2", |
1616 "//third_party/isimpledom", | 1604 "//third_party/isimpledom", |
1617 "//third_party/wtl", | 1605 "//third_party/wtl", |
| 1606 "//ui/resources", |
1618 ] | 1607 ] |
1619 | 1608 |
1620 configs -= [ "//build/config/win:default_incremental_linking" ] | 1609 configs -= [ "//build/config/win:default_incremental_linking" ] |
1621 configs += | 1610 configs += |
1622 [ "//build/config/win:default_large_module_incremental_linking" ] | 1611 [ "//build/config/win:default_large_module_incremental_linking" ] |
1623 | 1612 |
1624 libs = [ | 1613 libs = [ |
1625 "comsupp.lib", | 1614 "comsupp.lib", |
1626 "oleacc.lib", | 1615 "oleacc.lib", |
1627 "rpcrt4.lib", | 1616 "rpcrt4.lib", |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1753 } | 1742 } |
1754 | 1743 |
1755 if (cld_version == 0 || cld_version == 2) { | 1744 if (cld_version == 0 || cld_version == 2) { |
1756 # Use whatever CLD2 data access mode that the | 1745 # Use whatever CLD2 data access mode that the |
1757 # application embedder is using. | 1746 # application embedder is using. |
1758 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 1747 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
1759 } | 1748 } |
1760 } | 1749 } |
1761 } | 1750 } |
1762 } | 1751 } |
OLD | NEW |