OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1037 'check_example.cc', | 1037 'check_example.cc', |
1038 ], | 1038 ], |
1039 'dependencies': [ | 1039 'dependencies': [ |
1040 'base', | 1040 'base', |
1041 ], | 1041 ], |
1042 }, | 1042 }, |
1043 ], | 1043 ], |
1044 }], | 1044 }], |
1045 ['OS == "win" and target_arch=="ia32"', { | 1045 ['OS == "win" and target_arch=="ia32"', { |
1046 'targets': [ | 1046 'targets': [ |
| 1047 # The base_win64 target here allows us to use base for Win64 targets |
| 1048 # (the normal build is 32 bits). |
1047 { | 1049 { |
1048 'target_name': 'base_nacl_win64', | 1050 'target_name': 'base_win64', |
1049 'type': '<(component)', | 1051 'type': '<(component)', |
1050 'variables': { | 1052 'variables': { |
1051 'base_target': 1, | 1053 'base_target': 1, |
1052 }, | 1054 }, |
1053 'dependencies': [ | 1055 'dependencies': [ |
1054 'base_static_win64', | 1056 'base_static_win64', |
1055 'allocator/allocator.gyp:allocator_extension_thunks_win64', | 1057 'allocator/allocator.gyp:allocator_extension_thunks_win64', |
| 1058 '../third_party/modp_b64/modp_b64.gyp:modp_b64_win64', |
1056 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations_win64', | 1059 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations_win64', |
1057 ], | 1060 ], |
1058 # TODO(gregoryd): direct_dependent_settings should be shared with the | 1061 # TODO(gregoryd): direct_dependent_settings should be shared with the |
1059 # 32-bit target, but it doesn't work due to a bug in gyp | 1062 # 32-bit target, but it doesn't work due to a bug in gyp |
1060 'direct_dependent_settings': { | 1063 'direct_dependent_settings': { |
1061 'include_dirs': [ | 1064 'include_dirs': [ |
1062 '..', | 1065 '..', |
1063 ], | 1066 ], |
1064 }, | 1067 }, |
1065 'defines': [ | 1068 'defines': [ |
| 1069 'BASE_WIN64', |
1066 '<@(nacl_win64_defines)', | 1070 '<@(nacl_win64_defines)', |
1067 ], | 1071 ], |
1068 'sources!': [ | |
1069 # base64.cc depends on modp_b64. | |
1070 'base64.cc', | |
1071 ], | |
1072 'configurations': { | 1072 'configurations': { |
1073 'Common_Base': { | 1073 'Common_Base': { |
1074 'msvs_target_platform': 'x64', | 1074 'msvs_target_platform': 'x64', |
1075 }, | 1075 }, |
1076 }, | 1076 }, |
1077 'conditions': [ | 1077 'conditions': [ |
1078 ['component == "shared_library"', { | 1078 ['component == "shared_library"', { |
1079 'sources!': [ | 1079 'sources!': [ |
1080 'debug/debug_on_start_win.cc', | 1080 'debug/debug_on_start_win.cc', |
1081 ], | 1081 ], |
1082 }], | 1082 }], |
1083 ], | 1083 ], |
| 1084 # TODO(rvargas): Bug 78117. Remove this. |
| 1085 'msvs_disabled_warnings': [ |
| 1086 4244, |
| 1087 4996, |
| 1088 4267, |
| 1089 ], |
| 1090 'sources': [ |
| 1091 'third_party/nspr/prcpucfg.h', |
| 1092 'third_party/nspr/prcpucfg_win.h', |
| 1093 'third_party/nspr/prtypes.h', |
| 1094 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
| 1095 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', |
| 1096 'async_socket_io_handler.h', |
| 1097 'async_socket_io_handler_posix.cc', |
| 1098 'async_socket_io_handler_win.cc', |
| 1099 'auto_reset.h', |
| 1100 'event_recorder.h', |
| 1101 'event_recorder_stubs.cc', |
| 1102 'event_recorder_win.cc', |
| 1103 'linux_util.cc', |
| 1104 'linux_util.h', |
| 1105 'md5.cc', |
| 1106 'md5.h', |
| 1107 'message_loop/message_pump_observer.h', |
| 1108 'message_loop/message_pump_libevent.cc', |
| 1109 'message_loop/message_pump_libevent.h', |
| 1110 'metrics/field_trial.cc', |
| 1111 'metrics/field_trial.h', |
| 1112 'posix/file_descriptor_shuffle.cc', |
| 1113 'posix/file_descriptor_shuffle.h', |
| 1114 'sync_socket.h', |
| 1115 'sync_socket_win.cc', |
| 1116 'sync_socket_posix.cc', |
| 1117 ], |
1084 }, | 1118 }, |
1085 { | 1119 { |
1086 'target_name': 'base_i18n_nacl_win64', | 1120 'target_name': 'base_i18n_nacl_win64', |
1087 'type': '<(component)', | 1121 'type': '<(component)', |
1088 # TODO(gregoryd): direct_dependent_settings should be shared with the | 1122 # TODO(gregoryd): direct_dependent_settings should be shared with the |
1089 # 32-bit target, but it doesn't work due to a bug in gyp | 1123 # 32-bit target, but it doesn't work due to a bug in gyp |
1090 'direct_dependent_settings': { | 1124 'direct_dependent_settings': { |
1091 'include_dirs': [ | 1125 'include_dirs': [ |
1092 '..', | 1126 '..', |
1093 ], | 1127 ], |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1125 ], | 1159 ], |
1126 'include_dirs': [ | 1160 'include_dirs': [ |
1127 '..', | 1161 '..', |
1128 ], | 1162 ], |
1129 'configurations': { | 1163 'configurations': { |
1130 'Common_Base': { | 1164 'Common_Base': { |
1131 'msvs_target_platform': 'x64', | 1165 'msvs_target_platform': 'x64', |
1132 }, | 1166 }, |
1133 }, | 1167 }, |
1134 'defines': [ | 1168 'defines': [ |
1135 'NACL_WIN64', | 1169 '<@(nacl_win64_defines)', |
1136 ], | 1170 ], |
1137 # TODO(rvargas): Bug 78117. Remove this. | 1171 # TODO(rvargas): Bug 78117. Remove this. |
1138 'msvs_disabled_warnings': [ | 1172 'msvs_disabled_warnings': [ |
1139 4244, | 1173 4244, |
1140 ], | 1174 ], |
1141 }, | 1175 }, |
1142 ], | 1176 ], |
1143 }], | 1177 }], |
1144 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1178 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
1145 'targets': [ | 1179 'targets': [ |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1389 'base_unittests.isolate', | 1423 'base_unittests.isolate', |
1390 ], | 1424 ], |
1391 'sources': [ | 1425 'sources': [ |
1392 'base_unittests.isolate', | 1426 'base_unittests.isolate', |
1393 ], | 1427 ], |
1394 }, | 1428 }, |
1395 ], | 1429 ], |
1396 }], | 1430 }], |
1397 ], | 1431 ], |
1398 } | 1432 } |
OLD | NEW |