OLD | NEW |
(Empty) | |
| 1 { |
| 2 'variables': { |
| 3 'libv8_include_dir': 'third_party/v8/include', |
| 4 'libv8_build_targets': [], |
| 5 'conditions': [[ |
| 6 'OS=="win"', { |
| 7 'libv8_lib_dir': 'v8/build/<(CONFIGURATION_NAME)', |
| 8 'libv8_libs': [ |
| 9 '-lv8_libplatform', |
| 10 '-lv8_base_0', |
| 11 '-lv8_base_1', |
| 12 '-lv8_base_2', |
| 13 '-lv8_base_3', |
| 14 '-lv8_libbase', |
| 15 '-lv8_libsampler', |
| 16 '-lv8_snapshot', |
| 17 ], |
| 18 }], |
| 19 ['OS=="linux" or OS=="mac"', { |
| 20 'libv8_libs': [ |
| 21 'v8/out/<(CONFIGURATION_NAME)/libv8_libplatform.a', |
| 22 'v8/out/<(CONFIGURATION_NAME)/libv8_base.a', |
| 23 'v8/out/<(CONFIGURATION_NAME)/libv8_snapshot.a', |
| 24 'v8/out/<(CONFIGURATION_NAME)/libv8_libbase.a', |
| 25 'v8/out/<(CONFIGURATION_NAME)/libv8_libsampler.a', |
| 26 ] |
| 27 }], |
| 28 ['OS=="android"', { |
| 29 'libv8_libs': [ |
| 30 'android_<(target_arch).release/libv8_libplatform.a', |
| 31 'android_<(target_arch).release/libv8_base.a', |
| 32 'android_<(target_arch).release/libv8_snapshot.a', |
| 33 'android_<(target_arch).release/libv8_libbase.a', |
| 34 'android_<(target_arch).release/libv8_libsampler.a', |
| 35 ], |
| 36 }], |
| 37 ] |
| 38 }, |
| 39 'conditions': [[ |
| 40 'OS=="win"', { |
| 41 'variables': { |
| 42 'libv8_build_targets': ['build-v8'], |
| 43 }, |
| 44 'targets': [{ |
| 45 'target_name': 'build-v8', |
| 46 'type': 'none', |
| 47 'actions': [{ |
| 48 'action_name': 'build-v8', |
| 49 'inputs': ['build-v8.cmd'], |
| 50 'outputs': [ |
| 51 'build/<(target_arch)/v8/build/<(CONFIGURATION_NAME)/v8_libplatform.
lib', |
| 52 'build/<(target_arch)/v8/build/<(CONFIGURATION_NAME)/v8_base_0.lib', |
| 53 'build/<(target_arch)/v8/build/<(CONFIGURATION_NAME)/v8_base_1.lib', |
| 54 'build/<(target_arch)/v8/build/<(CONFIGURATION_NAME)/v8_base_2.lib', |
| 55 'build/<(target_arch)/v8/build/<(CONFIGURATION_NAME)/v8_base_3.lib', |
| 56 'build/<(target_arch)/v8/build/<(CONFIGURATION_NAME)/v8_libbase.lib'
, |
| 57 'build/<(target_arch)/v8/build/<(CONFIGURATION_NAME)/v8_libsampler.l
ib', |
| 58 'build/<(target_arch)/v8/build/<(CONFIGURATION_NAME)/v8_snapshot.lib
', |
| 59 ], |
| 60 'action': [ |
| 61 'cmd', |
| 62 '/C', |
| 63 'build-v8.cmd', |
| 64 '$(MSBuildBinPath)', |
| 65 '<(target_arch)', |
| 66 '<(CONFIGURATION_NAME)', |
| 67 '$(PlatformToolset)' |
| 68 ] |
| 69 }], |
| 70 }] |
| 71 } |
| 72 ]], |
| 73 } |
OLD | NEW |