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

Unified 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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libadblockplus.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: v8.gypi
diff --git a/v8.gypi b/v8.gypi
index e1838a449ca1fff3834db9cddf4727bd183c4f38..997a7fdbebeb9e40991eae07805d7f46c0bfd754 100644
--- a/v8.gypi
+++ b/v8.gypi
@@ -1,10 +1,11 @@
{
'variables': {
- 'libv8_include_dir': 'third_party/v8/include',
+ 'libv8_include_dir%': 'third_party/v8/include',
'libv8_build_targets': [],
+ 'libv8_no_build%': 0,
'conditions': [[
'OS=="win"', {
- 'libv8_lib_dir': 'v8/build/<(CONFIGURATION_NAME)',
+ 'libv8_lib_dir%': 'v8/build/<(CONFIGURATION_NAME)',
'libv8_libs': [
'-lv8_libplatform',
'-lv8_base_0',
@@ -17,27 +18,29 @@
],
}],
['OS=="linux" or OS=="mac"', {
+ 'libv8_lib_dir%': 'v8/out/<(CONFIGURATION_NAME)',
'libv8_libs': [
- 'v8/out/<(CONFIGURATION_NAME)/libv8_libplatform.a',
- 'v8/out/<(CONFIGURATION_NAME)/libv8_base.a',
- 'v8/out/<(CONFIGURATION_NAME)/libv8_snapshot.a',
- 'v8/out/<(CONFIGURATION_NAME)/libv8_libbase.a',
- 'v8/out/<(CONFIGURATION_NAME)/libv8_libsampler.a',
+ '-lv8_libplatform',
+ '-lv8_base',
+ '-lv8_snapshot',
+ '-lv8_libbase',
+ '-lv8_libsampler',
]
}],
['OS=="android"', {
+ 'libv8_lib_dir%': '', # must be specified, e.g. in Makefile
'libv8_libs': [
- 'android_<(target_arch).release/libv8_libplatform.a',
- 'android_<(target_arch).release/libv8_base.a',
- 'android_<(target_arch).release/libv8_snapshot.a',
- 'android_<(target_arch).release/libv8_libbase.a',
- 'android_<(target_arch).release/libv8_libsampler.a',
+ '<(libv8_lib_dir)/libv8_libplatform.a',
+ '<(libv8_lib_dir)/libv8_base.a',
+ '<(libv8_lib_dir)/libv8_snapshot.a',
+ '<(libv8_lib_dir)/libv8_libbase.a',
+ '<(libv8_lib_dir)/libv8_libsampler.a',
],
}],
]
},
'conditions': [[
- 'OS=="win"', {
+ 'OS=="win" and libv8_no_build!="true"', {
'variables': {
'libv8_build_targets': ['build-v8'],
},
« no previous file with comments | « libadblockplus.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld