OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
989 '../../src/base/safe_math_impl.h', | 989 '../../src/base/safe_math_impl.h', |
990 '../../src/base/utils/random-number-generator.cc', | 990 '../../src/base/utils/random-number-generator.cc', |
991 '../../src/base/utils/random-number-generator.h', | 991 '../../src/base/utils/random-number-generator.h', |
992 ], | 992 ], |
993 'conditions': [ | 993 'conditions': [ |
994 ['want_separate_host_toolset==1', { | 994 ['want_separate_host_toolset==1', { |
995 'toolsets': ['host', 'target'], | 995 'toolsets': ['host', 'target'], |
996 }, { | 996 }, { |
997 'toolsets': ['target'], | 997 'toolsets': ['target'], |
998 }], | 998 }], |
999 ['component=="shared_library"', { | |
1000 'defines': [ | |
1001 'BUILDING_V8_SHARED', | |
1002 'V8_SHARED', | |
1003 ], | |
1004 }], | |
1005 ['OS=="linux"', { | 999 ['OS=="linux"', { |
1006 'link_settings': { | 1000 'link_settings': { |
1007 'libraries': [ | 1001 'libraries': [ |
1008 '-lrt' | 1002 '-lrt' |
1009 ] | 1003 ] |
1010 }, | 1004 }, |
1011 'sources': [ | 1005 'sources': [ |
1012 '../../src/base/platform/platform-linux.cc', | 1006 '../../src/base/platform/platform-linux.cc', |
1013 '../../src/base/platform/platform-posix.cc' | 1007 '../../src/base/platform/platform-posix.cc' |
1014 ], | 1008 ], |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1186 '../../src/base/win32-math.cc', | 1180 '../../src/base/win32-math.cc', |
1187 '../../src/base/win32-math.h' | 1181 '../../src/base/win32-math.h' |
1188 ], | 1182 ], |
1189 'msvs_disabled_warnings': [4351, 4355, 4800], | 1183 'msvs_disabled_warnings': [4351, 4355, 4800], |
1190 'link_settings': { | 1184 'link_settings': { |
1191 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], | 1185 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], |
1192 }, | 1186 }, |
1193 }], | 1187 }], |
1194 ], | 1188 ], |
1195 }], | 1189 }], |
1196 ['component=="shared_library"', { | |
1197 'defines': [ | |
1198 'BUILDING_V8_SHARED', | |
1199 'V8_SHARED', | |
1200 ], | |
1201 }], | |
1202 ], | 1190 ], |
1203 }, | 1191 }, |
1204 { | 1192 { |
1205 'target_name': 'v8_libplatform', | 1193 'target_name': 'v8_libplatform', |
1206 'type': 'static_library', | 1194 'type': 'static_library', |
1207 'variables': { | 1195 'variables': { |
1208 'optimize': 'max', | 1196 'optimize': 'max', |
1209 }, | 1197 }, |
1210 'dependencies': [ | 1198 'dependencies': [ |
1211 'v8_libbase', | 1199 'v8_libbase', |
1212 ], | 1200 ], |
1213 'include_dirs+': [ | 1201 'include_dirs+': [ |
1214 '../..', | 1202 '../..', |
1215 ], | 1203 ], |
1216 'sources': [ | 1204 'sources': [ |
1217 '../../include/libplatform/libplatform.h', | 1205 '../../include/libplatform/libplatform.h', |
1218 '../../src/libplatform/default-platform.cc', | 1206 '../../src/libplatform/default-platform.cc', |
1219 '../../src/libplatform/default-platform.h', | 1207 '../../src/libplatform/default-platform.h', |
1220 '../../src/libplatform/task-queue.cc', | 1208 '../../src/libplatform/task-queue.cc', |
1221 '../../src/libplatform/task-queue.h', | 1209 '../../src/libplatform/task-queue.h', |
1222 '../../src/libplatform/worker-thread.cc', | 1210 '../../src/libplatform/worker-thread.cc', |
1223 '../../src/libplatform/worker-thread.h', | 1211 '../../src/libplatform/worker-thread.h', |
1224 ], | 1212 ], |
1225 'conditions': [ | 1213 'conditions': [ |
1226 ['want_separate_host_toolset==1', { | 1214 ['want_separate_host_toolset==1', { |
1227 'toolsets': ['host', 'target'], | 1215 'toolsets': ['host', 'target'], |
1228 }, { | 1216 }, { |
1229 'toolsets': ['target'], | 1217 'toolsets': ['target'], |
1230 }], | 1218 }], |
1231 ['component=="shared_library"', { | |
1232 'defines': [ | |
1233 'BUILDING_V8_SHARED', | |
1234 'V8_SHARED', | |
1235 ], | |
1236 }], | |
1237 ], | 1219 ], |
1238 }, | 1220 }, |
1239 { | 1221 { |
1240 'target_name': 'natives_blob', | 1222 'target_name': 'natives_blob', |
1241 'type': 'none', | 1223 'type': 'none', |
1242 'conditions': [ | 1224 'conditions': [ |
1243 [ 'v8_use_external_startup_data==1', { | 1225 [ 'v8_use_external_startup_data==1', { |
1244 'dependencies': ['js2c'], | 1226 'dependencies': ['js2c'], |
1245 'actions': [{ | 1227 'actions': [{ |
1246 'action_name': 'concatenate_natives_blob', | 1228 'action_name': 'concatenate_natives_blob', |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1425 }], | 1407 }], |
1426 ['v8_compress_startup_data=="bz2"', { | 1408 ['v8_compress_startup_data=="bz2"', { |
1427 'libraries': [ | 1409 'libraries': [ |
1428 '-lbz2', | 1410 '-lbz2', |
1429 ] | 1411 ] |
1430 }], | 1412 }], |
1431 ], | 1413 ], |
1432 }, | 1414 }, |
1433 ], | 1415 ], |
1434 } | 1416 } |
OLD | NEW |