1 |
phajdan.jr 10/10/29 08:52:07 |
2 |
|
3 |
Added: v8.gyp |
4 |
Log: |
5 |
Add experimental support for building with system-provided v8. |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 www-client/chromium/files/v8.gyp |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/v8.gyp?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/v8.gyp?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: v8.gyp |
15 |
=================================================================== |
16 |
# Copyright 2009-2010 the V8 project authors. All rights reserved. |
17 |
# Redistribution and use in source and binary forms, with or without |
18 |
# modification, are permitted provided that the following conditions are |
19 |
# met: |
20 |
# |
21 |
# * Redistributions of source code must retain the above copyright |
22 |
# notice, this list of conditions and the following disclaimer. |
23 |
# * Redistributions in binary form must reproduce the above |
24 |
# copyright notice, this list of conditions and the following |
25 |
# disclaimer in the documentation and/or other materials provided |
26 |
# with the distribution. |
27 |
# * Neither the name of Google Inc. nor the names of its |
28 |
# contributors may be used to endorse or promote products derived |
29 |
# from this software without specific prior written permission. |
30 |
# |
31 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
32 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
33 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
34 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
35 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
36 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
37 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
38 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
39 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
40 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
41 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
42 |
|
43 |
{ |
44 |
'variables': { |
45 |
'msvs_use_common_release': 0, |
46 |
'gcc_version%': 'unknown', |
47 |
'v8_target_arch%': '<(target_arch)', |
48 |
'v8_use_snapshot%': 'true', |
49 |
}, |
50 |
'targets': [ |
51 |
{ |
52 |
'target_name': 'v8', |
53 |
'type': 'settings', |
54 |
'link_settings': { |
55 |
'libraries': [ |
56 |
'-lv8', |
57 |
], |
58 |
}, |
59 |
}, |
60 |
{ |
61 |
'target_name': 'v8_snapshot', |
62 |
'type': 'none', |
63 |
'dependencies': [ |
64 |
'v8' |
65 |
], |
66 |
}, |
67 |
{ |
68 |
'target_name': 'v8_nosnapshot', |
69 |
'type': 'none', |
70 |
'dependencies': [ |
71 |
'v8' |
72 |
], |
73 |
}, |
74 |
{ |
75 |
'target_name': 'v8_base', |
76 |
'type': 'none', |
77 |
'dependencies': [ |
78 |
'v8' |
79 |
], |
80 |
}, |
81 |
{ |
82 |
'target_name': 'js2c', |
83 |
'type': 'none', |
84 |
'dependencies': [ |
85 |
'v8' |
86 |
], |
87 |
}, |
88 |
{ |
89 |
'target_name': 'mksnapshot', |
90 |
'type': 'none', |
91 |
'dependencies': [ |
92 |
'v8' |
93 |
], |
94 |
}, |
95 |
{ |
96 |
'target_name': 'v8_shell', |
97 |
'type': 'none', |
98 |
'dependencies': [ |
99 |
'v8' |
100 |
], |
101 |
}, |
102 |
], |
103 |
} |