OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2012 the V8 project authors. All rights reserved. | |
Jakob Kummerow
2013/03/25 17:10:43
nit: 2013
| |
2 # Redistribution and use in source and binary forms, with or without | |
3 # modification, are permitted provided that the following conditions are | |
4 # met: | |
5 # | |
6 # * Redistributions of source code must retain the above copyright | |
7 # notice, this list of conditions and the following disclaimer. | |
8 # * Redistributions in binary form must reproduce the above | |
9 # copyright notice, this list of conditions and the following | |
10 # disclaimer in the documentation and/or other materials provided | |
11 # with the distribution. | |
12 # * Neither the name of Google Inc. nor the names of its | |
13 # contributors may be used to endorse or promote products derived | |
14 # from this software without specific prior written permission. | |
15 # | |
16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
20 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
27 | |
28 { | |
29 'includes': ['../../../build/common.gypi'], | |
30 'variables': { | |
31 'console%': '', | |
Jakob Kummerow
2013/03/25 17:10:43
I don't see what you need this for.
| |
32 }, | |
33 'targets': [ | |
34 { | |
35 'target_name': 'v8_vtune', | |
36 'type': 'static_library', | |
37 'dependencies': [ | |
38 '../../../tools/gyp/v8.gyp:v8_base', | |
39 ], | |
40 'include_dirs+': [ | |
41 '../../../src', | |
Jakob Kummerow
2013/03/25 17:10:43
I don't think you need this either, since you have
| |
42 ], | |
43 'sources': [ | |
44 '../../../src/third_party/vtune/ittnotify_config.h', | |
Jakob Kummerow
2013/03/25 17:10:43
I don't think there's a need for this weird path s
| |
45 '../../../src/third_party/vtune/ittnotify_types.h', | |
46 '../../../src/third_party/vtune/jitprofiling.cc', | |
47 '../../../src/third_party/vtune/jitprofiling.h', | |
48 '../../../src/third_party/vtune/v8-vtune.h', | |
49 '../../../src/third_party/vtune/vtune-jit.cc', | |
50 '../../../src/third_party/vtune/vtune-jit.h', | |
51 ], | |
52 'conditions': [ | |
53 ['want_separate_host_toolset==1', { | |
54 'toolsets': ['host', 'target'], | |
Jakob Kummerow
2013/03/25 17:10:43
Why would you want to build the vtune lib for the
| |
55 }, { | |
56 'toolsets': ['target'], | |
57 }], | |
58 ['component=="shared_library"', { | |
59 'defines': [ | |
60 'BUILDING_V8_SHARED', | |
Jakob Kummerow
2013/03/25 17:10:43
As far as I can see you're not using either of the
| |
61 'V8_SHARED', | |
62 ], | |
63 }], | |
64 ], | |
65 'direct_dependent_settings': { | |
66 'defines': ['ENABLE_VTUNE_JIT_INTERFACE',], | |
67 'conditions': [ | |
68 ['OS != "win"', { | |
69 'libraries': ['-ldl',], | |
70 }], | |
71 ], | |
72 }, | |
73 }, | |
74 ], | |
75 } | |
OLD | NEW |