Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: v8.gypi

Issue 29493566: Issue 5433 - add option to use prebuilt v8 (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: update readme Created July 20, 2017, 7:59 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « libadblockplus.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 'variables': { 2 'variables': {
3 'libv8_include_dir': 'third_party/v8/include', 3 'libv8_include_dir%': 'third_party/v8/include',
4 'libv8_build_targets': [], 4 'libv8_build_targets': [],
5 'libv8_no_build%': 0,
5 'conditions': [[ 6 'conditions': [[
6 'OS=="win"', { 7 'OS=="win"', {
7 'libv8_lib_dir': 'v8/build/<(CONFIGURATION_NAME)', 8 'libv8_lib_dir%': 'v8/build/<(CONFIGURATION_NAME)',
8 'libv8_libs': [ 9 'libv8_libs': [
9 '-lv8_libplatform', 10 '-lv8_libplatform',
10 '-lv8_base_0', 11 '-lv8_base_0',
11 '-lv8_base_1', 12 '-lv8_base_1',
12 '-lv8_base_2', 13 '-lv8_base_2',
13 '-lv8_base_3', 14 '-lv8_base_3',
14 '-lv8_libbase', 15 '-lv8_libbase',
15 '-lv8_libsampler', 16 '-lv8_libsampler',
16 '-lv8_snapshot', 17 '-lv8_snapshot',
17 ], 18 ],
18 }], 19 }],
19 ['OS=="linux" or OS=="mac"', { 20 ['OS=="linux" or OS=="mac"', {
21 'libv8_lib_dir%': 'v8/out/<(CONFIGURATION_NAME)',
20 'libv8_libs': [ 22 'libv8_libs': [
21 'v8/out/<(CONFIGURATION_NAME)/libv8_libplatform.a', 23 '-lv8_libplatform',
22 'v8/out/<(CONFIGURATION_NAME)/libv8_base.a', 24 '-lv8_base',
23 'v8/out/<(CONFIGURATION_NAME)/libv8_snapshot.a', 25 '-lv8_snapshot',
24 'v8/out/<(CONFIGURATION_NAME)/libv8_libbase.a', 26 '-lv8_libbase',
25 'v8/out/<(CONFIGURATION_NAME)/libv8_libsampler.a', 27 '-lv8_libsampler',
26 ] 28 ]
27 }], 29 }],
28 ['OS=="android"', { 30 ['OS=="android"', {
31 'libv8_lib_dir%': '', # must be specified, e.g. in Makefile
29 'libv8_libs': [ 32 'libv8_libs': [
30 'android_<(target_arch).release/libv8_libplatform.a', 33 '<(libv8_lib_dir)/libv8_libplatform.a',
31 'android_<(target_arch).release/libv8_base.a', 34 '<(libv8_lib_dir)/libv8_base.a',
32 'android_<(target_arch).release/libv8_snapshot.a', 35 '<(libv8_lib_dir)/libv8_snapshot.a',
33 'android_<(target_arch).release/libv8_libbase.a', 36 '<(libv8_lib_dir)/libv8_libbase.a',
34 'android_<(target_arch).release/libv8_libsampler.a', 37 '<(libv8_lib_dir)/libv8_libsampler.a',
35 ], 38 ],
36 }], 39 }],
37 ] 40 ]
38 }, 41 },
39 'conditions': [[ 42 'conditions': [[
40 'OS=="win"', { 43 'OS=="win" and libv8_no_build!="true"', {
41 'variables': { 44 'variables': {
42 'libv8_build_targets': ['build-v8'], 45 'libv8_build_targets': ['build-v8'],
43 }, 46 },
44 'targets': [{ 47 'targets': [{
45 'target_name': 'build-v8', 48 'target_name': 'build-v8',
46 'type': 'none', 49 'type': 'none',
47 'actions': [{ 50 'actions': [{
48 'action_name': 'build-v8', 51 'action_name': 'build-v8',
49 'inputs': ['build-v8.cmd'], 52 'inputs': ['build-v8.cmd'],
50 'outputs': [ 53 'outputs': [
(...skipping 13 matching lines...) Expand all
64 '$(MSBuildBinPath)', 67 '$(MSBuildBinPath)',
65 '<(target_arch)', 68 '<(target_arch)',
66 '<(CONFIGURATION_NAME)', 69 '<(CONFIGURATION_NAME)',
67 '$(PlatformToolset)' 70 '$(PlatformToolset)'
68 ] 71 ]
69 }], 72 }],
70 }] 73 }]
71 } 74 }
72 ]], 75 ]],
73 } 76 }
OLDNEW
« no previous file with comments | « libadblockplus.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld