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

Side by Side Diff: base/base.gyp

Issue 103333004: Allow Win64 build of base library even in a Win32 build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Base Win64: Replace existing base_nacl_win64 target with the new target. Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/chrome_exe.gypi » ('j') | third_party/modp_b64/modp_b64.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 'check_example.cc', 1048 'check_example.cc',
1049 ], 1049 ],
1050 'dependencies': [ 1050 'dependencies': [
1051 'base', 1051 'base',
1052 ], 1052 ],
1053 }, 1053 },
1054 ], 1054 ],
1055 }], 1055 }],
1056 ['OS == "win" and target_arch=="ia32"', { 1056 ['OS == "win" and target_arch=="ia32"', {
1057 'targets': [ 1057 'targets': [
1058 # The base_win64 target here allows us to use base for a Win64
1059 # binary that might need to be built when building a Win32 browser,
brettw 2013/12/19 21:06:05 I'd change this to something simpler like "The bas
Pete Williamson 2013/12/20 01:52:09 Done.
1060 # such as NaCl and the DeskBand.
1058 { 1061 {
1059 'target_name': 'base_nacl_win64', 1062 'target_name': 'base_win64',
1060 'type': '<(component)', 1063 'type': '<(component)',
1061 'variables': { 1064 'variables': {
1062 'base_target': 1, 1065 'base_target': 1,
1063 }, 1066 },
1064 'dependencies': [ 1067 'dependencies': [
1065 'base_static_win64', 1068 'base_static_win64',
1066 'allocator/allocator.gyp:allocator_extension_thunks_win64', 1069 'allocator/allocator.gyp:allocator_extension_thunks_win64',
1070 '../third_party/modp_b64/modp_b64.gyp:modp_b64_win64',
1067 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations_win64', 1071 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations_win64',
1068 ], 1072 ],
1069 # TODO(gregoryd): direct_dependent_settings should be shared with the 1073 # TODO(gregoryd): direct_dependent_settings should be shared with the
1070 # 32-bit target, but it doesn't work due to a bug in gyp 1074 # 32-bit target, but it doesn't work due to a bug in gyp
1071 'direct_dependent_settings': { 1075 'direct_dependent_settings': {
1072 'include_dirs': [ 1076 'include_dirs': [
1073 '..', 1077 '..',
1074 ], 1078 ],
1075 }, 1079 },
1076 'defines': [ 1080 'defines': [
1081 'BASE_WIN64',
1077 '<@(nacl_win64_defines)', 1082 '<@(nacl_win64_defines)',
1078 ], 1083 ],
1079 'sources!': [
1080 # base64.cc depends on modp_b64.
1081 'base64.cc',
1082 ],
1083 'configurations': { 1084 'configurations': {
1084 'Common_Base': { 1085 'Common_Base': {
1085 'msvs_target_platform': 'x64', 1086 'msvs_target_platform': 'x64',
1086 }, 1087 },
1087 }, 1088 },
1088 'conditions': [ 1089 'conditions': [
1089 ['component == "shared_library"', { 1090 ['component == "shared_library"', {
1090 'sources!': [ 1091 'sources!': [
1091 'debug/debug_on_start_win.cc', 1092 'debug/debug_on_start_win.cc',
1092 ], 1093 ],
1093 }], 1094 }],
1094 ], 1095 ],
1096 # TODO(rvargas): Bug 78117. Remove this.
1097 'msvs_disabled_warnings': [
1098 4244,
1099 4996,
1100 4267,
1101 ],
1102 'sources': [
1103 'third_party/nspr/prcpucfg.h',
1104 'third_party/nspr/prcpucfg_win.h',
1105 'third_party/nspr/prtypes.h',
1106 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
1107 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
1108 'async_socket_io_handler.h',
1109 'async_socket_io_handler_posix.cc',
1110 'async_socket_io_handler_win.cc',
1111 'auto_reset.h',
1112 'event_recorder.h',
1113 'event_recorder_stubs.cc',
1114 'event_recorder_win.cc',
1115 'linux_util.cc',
1116 'linux_util.h',
1117 'md5.cc',
1118 'md5.h',
1119 'message_loop/message_pump_observer.h',
1120 'message_loop/message_pump_libevent.cc',
1121 'message_loop/message_pump_libevent.h',
1122 'metrics/field_trial.cc',
1123 'metrics/field_trial.h',
1124 'posix/file_descriptor_shuffle.cc',
1125 'posix/file_descriptor_shuffle.h',
1126 'sync_socket.h',
1127 'sync_socket_win.cc',
1128 'sync_socket_posix.cc',
1129 ],
1095 }, 1130 },
1096 { 1131 {
1097 'target_name': 'base_i18n_nacl_win64', 1132 'target_name': 'base_i18n_nacl_win64',
1098 'type': '<(component)', 1133 'type': '<(component)',
1099 # TODO(gregoryd): direct_dependent_settings should be shared with the 1134 # TODO(gregoryd): direct_dependent_settings should be shared with the
1100 # 32-bit target, but it doesn't work due to a bug in gyp 1135 # 32-bit target, but it doesn't work due to a bug in gyp
1101 'direct_dependent_settings': { 1136 'direct_dependent_settings': {
1102 'include_dirs': [ 1137 'include_dirs': [
1103 '..', 1138 '..',
1104 ], 1139 ],
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1136 ], 1171 ],
1137 'include_dirs': [ 1172 'include_dirs': [
1138 '..', 1173 '..',
1139 ], 1174 ],
1140 'configurations': { 1175 'configurations': {
1141 'Common_Base': { 1176 'Common_Base': {
1142 'msvs_target_platform': 'x64', 1177 'msvs_target_platform': 'x64',
1143 }, 1178 },
1144 }, 1179 },
1145 'defines': [ 1180 'defines': [
1146 'NACL_WIN64', 1181 '<@(nacl_win64_defines)',
1147 ], 1182 ],
1148 # TODO(rvargas): Bug 78117. Remove this. 1183 # TODO(rvargas): Bug 78117. Remove this.
1149 'msvs_disabled_warnings': [ 1184 'msvs_disabled_warnings': [
1150 4244, 1185 4244,
1151 ], 1186 ],
1152 }, 1187 },
1153 ], 1188 ],
1154 }], 1189 }],
1155 ['os_posix==1 and OS!="mac" and OS!="ios"', { 1190 ['os_posix==1 and OS!="mac" and OS!="ios"', {
1156 'targets': [ 1191 'targets': [
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1400 'base_unittests.isolate', 1435 'base_unittests.isolate',
1401 ], 1436 ],
1402 'sources': [ 1437 'sources': [
1403 'base_unittests.isolate', 1438 'base_unittests.isolate',
1404 ], 1439 ],
1405 }, 1440 },
1406 ], 1441 ],
1407 }], 1442 }],
1408 ], 1443 ],
1409 } 1444 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_exe.gypi » ('j') | third_party/modp_b64/modp_b64.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698