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

Unified Diff: preparser/preparser.gyp

Issue 13880018: Remove preparser library; link preparser executable against full V8 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | preparser/preparser-process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: preparser/preparser.gyp
diff --git a/preparser/preparser.gyp b/preparser/preparser.gyp
index 0b03382880f15fb3dd6287fdb60b05386a2bd3ec..2dcbaf9d1a64c187f77a4a5bf181c70ac30ec174 100644
--- a/preparser/preparser.gyp
+++ b/preparser/preparser.gyp
@@ -31,11 +31,22 @@
{
'target_name': 'preparser',
'type': 'executable',
- 'dependencies': [
- '../tools/gyp/v8.gyp:preparser_lib',
+ 'conditions': [
+ # preparser can't link against a shared library, so link against
+ # the underlying static targets.
+ ['v8_use_snapshot=="true"', {
+ 'dependencies': ['../tools/gyp/v8.gyp:v8_snapshot'],
+ }, {
+ 'dependencies': ['../tools/gyp/v8.gyp:v8_nosnapshot'],
+ }],
+ ],
+ 'include_dirs+': [
+ '../src',
],
'sources': [
'preparser-process.cc',
+ '../include/v8-preparser.h',
+ '../src/preparser-api.cc',
],
},
],
« no previous file with comments | « no previous file | preparser/preparser-process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698