rossberg@chromium.org | fab1498 | 2012-01-05 15:02:15 +0000 | [diff] [blame] | 1 | # Copyright 2012 the V8 project authors. All rights reserved. |
ager@chromium.org | 3a37e9b | 2009-04-27 09:26:21 +0000 | [diff] [blame] | 2 | # Redistribution and use in source and binary forms, with or without |
| 3 | # modification, are permitted provided that the following conditions are |
| 4 | # met: |
sgjesse@chromium.org | 755c5b1 | 2009-05-29 11:04:38 +0000 | [diff] [blame] | 5 | # |
ager@chromium.org | 3a37e9b | 2009-04-27 09:26:21 +0000 | [diff] [blame] | 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. |
sgjesse@chromium.org | 755c5b1 | 2009-05-29 11:04:38 +0000 | [diff] [blame] | 15 | # |
ager@chromium.org | 3a37e9b | 2009-04-27 09:26:21 +0000 | [diff] [blame] | 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 | { |
ricow@chromium.org | 4668a2c | 2011-08-29 10:41:00 +0000 | [diff] [blame] | 29 | 'includes': ['../../build/common.gypi'], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 30 | 'conditions': [ |
| 31 | ['use_system_v8==0', { |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 32 | 'targets': [ |
kasperl@chromium.org | d628ef5 | 2009-07-09 11:16:01 +0000 | [diff] [blame] | 33 | { |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 34 | 'target_name': 'v8', |
jkummerow@chromium.org | 1145ef8 | 2012-02-02 16:21:15 +0000 | [diff] [blame] | 35 | 'dependencies_traverse': 1, |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 36 | 'conditions': [ |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 37 | ['want_separate_host_toolset==1', { |
| 38 | 'toolsets': ['host', 'target'], |
| 39 | }, { |
| 40 | 'toolsets': ['target'], |
| 41 | }], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 42 | ['v8_use_snapshot=="true"', { |
yangguo@chromium.org | 154ff99 | 2012-03-13 08:09:54 +0000 | [diff] [blame] | 43 | # The dependency on v8_base should come from a transitive |
| 44 | # dependency however the Android toolchain requires libv8_base.a |
| 45 | # to appear before libv8_snapshot.a so it's listed explicitly. |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 46 | 'dependencies': ['v8_base.<(v8_target_arch)', 'v8_snapshot'], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 47 | }, |
| 48 | { |
yangguo@chromium.org | 154ff99 | 2012-03-13 08:09:54 +0000 | [diff] [blame] | 49 | # The dependency on v8_base should come from a transitive |
| 50 | # dependency however the Android toolchain requires libv8_base.a |
| 51 | # to appear before libv8_snapshot.a so it's listed explicitly. |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 52 | 'dependencies': [ |
| 53 | 'v8_base.<(v8_target_arch)', |
| 54 | 'v8_nosnapshot.<(v8_target_arch)', |
| 55 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 56 | }], |
fschneider@chromium.org | fb144a0 | 2011-05-04 12:43:48 +0000 | [diff] [blame] | 57 | ['component=="shared_library"', { |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 58 | 'type': '<(component)', |
| 59 | 'sources': [ |
fschneider@chromium.org | fb144a0 | 2011-05-04 12:43:48 +0000 | [diff] [blame] | 60 | # Note: on non-Windows we still build this file so that gyp |
| 61 | # has some sources to link into the component. |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 62 | '../../src/v8dll-main.cc', |
| 63 | ], |
ulan@chromium.org | d6899c3 | 2012-05-18 14:12:25 +0000 | [diff] [blame] | 64 | 'defines': [ |
| 65 | 'V8_SHARED', |
| 66 | 'BUILDING_V8_SHARED', |
| 67 | ], |
| 68 | 'direct_dependent_settings': { |
| 69 | 'defines': [ |
| 70 | 'V8_SHARED', |
| 71 | 'USING_V8_SHARED', |
| 72 | ], |
| 73 | }, |
mstarzinger@chromium.org | 71fc346 | 2013-02-27 09:34:27 +0000 | [diff] [blame] | 74 | 'target_conditions': [ |
| 75 | ['OS=="android" and _toolset=="target"', { |
mvstanton@chromium.org | e4ac3ef | 2012-11-12 14:53:34 +0000 | [diff] [blame] | 76 | 'libraries': [ |
| 77 | '-llog', |
| 78 | ], |
| 79 | 'include_dirs': [ |
| 80 | 'src/common/android/include', |
| 81 | ], |
| 82 | }], |
mstarzinger@chromium.org | 71fc346 | 2013-02-27 09:34:27 +0000 | [diff] [blame] | 83 | ], |
| 84 | 'conditions': [ |
fschneider@chromium.org | 7d10be5 | 2012-04-10 12:30:14 +0000 | [diff] [blame] | 85 | ['OS=="mac"', { |
| 86 | 'xcode_settings': { |
| 87 | 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load'] |
| 88 | }, |
| 89 | }], |
ricow@chromium.org | 55ee807 | 2011-09-08 16:33:10 +0000 | [diff] [blame] | 90 | ['soname_version!=""', { |
jkummerow@chromium.org | c3b3712 | 2011-11-07 10:14:12 +0000 | [diff] [blame] | 91 | 'product_extension': 'so.<(soname_version)', |
ricow@chromium.org | 55ee807 | 2011-09-08 16:33:10 +0000 | [diff] [blame] | 92 | }], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 93 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 94 | }, |
| 95 | { |
| 96 | 'type': 'none', |
| 97 | }], |
kmillikin@chromium.org | 69ea396 | 2010-07-05 11:01:40 +0000 | [diff] [blame] | 98 | ], |
fschneider@chromium.org | ed78ffd | 2010-07-21 11:05:19 +0000 | [diff] [blame] | 99 | 'direct_dependent_settings': { |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 100 | 'include_dirs': [ |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 101 | '../../include', |
fschneider@chromium.org | ed78ffd | 2010-07-21 11:05:19 +0000 | [diff] [blame] | 102 | ], |
| 103 | }, |
kmillikin@chromium.org | 69ea396 | 2010-07-05 11:01:40 +0000 | [diff] [blame] | 104 | }, |
| 105 | { |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 106 | 'target_name': 'v8_snapshot', |
yangguo@chromium.org | 28381b4 | 2013-01-21 14:39:38 +0000 | [diff] [blame] | 107 | 'type': 'static_library', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 108 | 'conditions': [ |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 109 | ['want_separate_host_toolset==1', { |
| 110 | 'toolsets': ['host', 'target'], |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 111 | 'dependencies': [ |
| 112 | 'mksnapshot.<(v8_target_arch)#host', |
| 113 | 'js2c#host', |
| 114 | ], |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 115 | }, { |
| 116 | 'toolsets': ['target'], |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 117 | 'dependencies': ['mksnapshot.<(v8_target_arch)', 'js2c'], |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 118 | }], |
fschneider@chromium.org | fb144a0 | 2011-05-04 12:43:48 +0000 | [diff] [blame] | 119 | ['component=="shared_library"', { |
ulan@chromium.org | d6899c3 | 2012-05-18 14:12:25 +0000 | [diff] [blame] | 120 | 'defines': [ |
| 121 | 'V8_SHARED', |
| 122 | 'BUILDING_V8_SHARED', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 123 | ], |
ulan@chromium.org | d6899c3 | 2012-05-18 14:12:25 +0000 | [diff] [blame] | 124 | 'direct_dependent_settings': { |
| 125 | 'defines': [ |
| 126 | 'V8_SHARED', |
| 127 | 'USING_V8_SHARED', |
| 128 | ], |
| 129 | }, |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 130 | }], |
| 131 | ], |
| 132 | 'dependencies': [ |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 133 | 'v8_base.<(v8_target_arch)', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 134 | ], |
| 135 | 'include_dirs+': [ |
| 136 | '../../src', |
| 137 | ], |
| 138 | 'sources': [ |
danno@chromium.org | 160a7b0 | 2011-04-18 15:51:38 +0000 | [diff] [blame] | 139 | '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 140 | '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 141 | '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 142 | ], |
| 143 | 'actions': [ |
| 144 | { |
| 145 | 'action_name': 'run_mksnapshot', |
| 146 | 'inputs': [ |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 147 | '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EXECUTABLE_SUFFIX)', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 148 | ], |
| 149 | 'outputs': [ |
| 150 | '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 151 | ], |
danno@chromium.org | 40cb878 | 2011-05-25 07:58:50 +0000 | [diff] [blame] | 152 | 'variables': { |
rossberg@chromium.org | 28a3708 | 2011-08-22 11:03:23 +0000 | [diff] [blame] | 153 | 'mksnapshot_flags': [ |
| 154 | '--log-snapshot-positions', |
| 155 | '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', |
| 156 | ], |
danno@chromium.org | 40cb878 | 2011-05-25 07:58:50 +0000 | [diff] [blame] | 157 | }, |
danno@chromium.org | 40cb878 | 2011-05-25 07:58:50 +0000 | [diff] [blame] | 158 | 'action': [ |
| 159 | '<@(_inputs)', |
| 160 | '<@(mksnapshot_flags)', |
| 161 | '<@(_outputs)' |
| 162 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 163 | }, |
| 164 | ], |
| 165 | }, |
| 166 | { |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 167 | 'target_name': 'v8_nosnapshot.<(v8_target_arch)', |
yangguo@chromium.org | 28381b4 | 2013-01-21 14:39:38 +0000 | [diff] [blame] | 168 | 'type': 'static_library', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 169 | 'dependencies': [ |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 170 | 'v8_base.<(v8_target_arch)', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 171 | ], |
| 172 | 'include_dirs+': [ |
| 173 | '../../src', |
| 174 | ], |
| 175 | 'sources': [ |
| 176 | '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
danno@chromium.org | 160a7b0 | 2011-04-18 15:51:38 +0000 | [diff] [blame] | 177 | '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 178 | '../../src/snapshot-empty.cc', |
kasperl@chromium.org | d628ef5 | 2009-07-09 11:16:01 +0000 | [diff] [blame] | 179 | ], |
ager@chromium.org | c4c9272 | 2009-11-18 14:12:51 +0000 | [diff] [blame] | 180 | 'conditions': [ |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 181 | ['want_separate_host_toolset==1', { |
| 182 | 'toolsets': ['host', 'target'], |
| 183 | 'dependencies': ['js2c#host'], |
| 184 | }, { |
| 185 | 'toolsets': ['target'], |
| 186 | 'dependencies': ['js2c'], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 187 | }], |
fschneider@chromium.org | fb144a0 | 2011-05-04 12:43:48 +0000 | [diff] [blame] | 188 | ['component=="shared_library"', { |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 189 | 'defines': [ |
| 190 | 'BUILDING_V8_SHARED', |
fschneider@chromium.org | fb144a0 | 2011-05-04 12:43:48 +0000 | [diff] [blame] | 191 | 'V8_SHARED', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 192 | ], |
| 193 | }], |
| 194 | ] |
| 195 | }, |
| 196 | { |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 197 | 'target_name': 'v8_base.<(v8_target_arch)', |
yangguo@chromium.org | 28381b4 | 2013-01-21 14:39:38 +0000 | [diff] [blame] | 198 | 'type': 'static_library', |
ricow@chromium.org | 8712044 | 2011-12-22 07:19:34 +0000 | [diff] [blame] | 199 | 'variables': { |
| 200 | 'optimize': 'max', |
| 201 | }, |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 202 | 'include_dirs+': [ |
| 203 | '../../src', |
| 204 | ], |
ulan@chromium.org | 77ca49a | 2013-04-22 09:43:56 +0000 | [diff] [blame] | 205 | 'sources': [ ### gcmole(all) ### |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 206 | '../../src/accessors.cc', |
| 207 | '../../src/accessors.h', |
| 208 | '../../src/allocation.cc', |
| 209 | '../../src/allocation.h', |
| 210 | '../../src/api.cc', |
| 211 | '../../src/api.h', |
| 212 | '../../src/apiutils.h', |
| 213 | '../../src/arguments.h', |
| 214 | '../../src/assembler.cc', |
| 215 | '../../src/assembler.h', |
| 216 | '../../src/ast.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 217 | '../../src/ast.h', |
jkummerow@chromium.org | 1456e70 | 2012-03-30 08:38:13 +0000 | [diff] [blame] | 218 | '../../src/atomicops.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 219 | '../../src/atomicops_internals_x86_gcc.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 220 | '../../src/bignum-dtoa.cc', |
| 221 | '../../src/bignum-dtoa.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 222 | '../../src/bignum.cc', |
| 223 | '../../src/bignum.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 224 | '../../src/bootstrapper.cc', |
| 225 | '../../src/bootstrapper.h', |
| 226 | '../../src/builtins.cc', |
| 227 | '../../src/builtins.h', |
| 228 | '../../src/bytecodes-irregexp.h', |
| 229 | '../../src/cached-powers.cc', |
| 230 | '../../src/cached-powers.h', |
| 231 | '../../src/char-predicates-inl.h', |
| 232 | '../../src/char-predicates.h', |
| 233 | '../../src/checks.cc', |
| 234 | '../../src/checks.h', |
| 235 | '../../src/circular-queue-inl.h', |
| 236 | '../../src/circular-queue.cc', |
| 237 | '../../src/circular-queue.h', |
| 238 | '../../src/code-stubs.cc', |
| 239 | '../../src/code-stubs.h', |
yangguo@chromium.org | a6bbcc8 | 2012-12-21 12:35:02 +0000 | [diff] [blame] | 240 | '../../src/code-stubs-hydrogen.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 241 | '../../src/code.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 242 | '../../src/codegen.cc', |
| 243 | '../../src/codegen.h', |
| 244 | '../../src/compilation-cache.cc', |
| 245 | '../../src/compilation-cache.h', |
| 246 | '../../src/compiler.cc', |
| 247 | '../../src/compiler.h', |
| 248 | '../../src/contexts.cc', |
| 249 | '../../src/contexts.h', |
| 250 | '../../src/conversions-inl.h', |
| 251 | '../../src/conversions.cc', |
| 252 | '../../src/conversions.h', |
| 253 | '../../src/counters.cc', |
| 254 | '../../src/counters.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 255 | '../../src/cpu-profiler-inl.h', |
| 256 | '../../src/cpu-profiler.cc', |
| 257 | '../../src/cpu-profiler.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 258 | '../../src/cpu.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 259 | '../../src/data-flow.cc', |
| 260 | '../../src/data-flow.h', |
svenpanne@chromium.org | 4efbdb1 | 2012-03-12 08:18:42 +0000 | [diff] [blame] | 261 | '../../src/date.cc', |
| 262 | '../../src/date.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 263 | '../../src/dateparser-inl.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 264 | '../../src/dateparser.cc', |
| 265 | '../../src/dateparser.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 266 | '../../src/debug-agent.cc', |
| 267 | '../../src/debug-agent.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 268 | '../../src/debug.cc', |
| 269 | '../../src/debug.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 270 | '../../src/deoptimizer.cc', |
| 271 | '../../src/deoptimizer.h', |
| 272 | '../../src/disasm.h', |
| 273 | '../../src/disassembler.cc', |
| 274 | '../../src/disassembler.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 275 | '../../src/diy-fp.cc', |
| 276 | '../../src/diy-fp.h', |
| 277 | '../../src/double.h', |
ricow@chromium.org | 55ee807 | 2011-09-08 16:33:10 +0000 | [diff] [blame] | 278 | '../../src/dtoa.cc', |
| 279 | '../../src/dtoa.h', |
svenpanne@chromium.org | 830d30c | 2012-05-29 13:20:14 +0000 | [diff] [blame] | 280 | '../../src/elements-kind.cc', |
| 281 | '../../src/elements-kind.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 282 | '../../src/elements.cc', |
| 283 | '../../src/elements.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 284 | '../../src/execution.cc', |
| 285 | '../../src/execution.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 286 | '../../src/extensions/externalize-string-extension.cc', |
| 287 | '../../src/extensions/externalize-string-extension.h', |
| 288 | '../../src/extensions/gc-extension.cc', |
| 289 | '../../src/extensions/gc-extension.h', |
yangguo@chromium.org | 304cc33 | 2012-07-24 07:59:48 +0000 | [diff] [blame] | 290 | '../../src/extensions/statistics-extension.cc', |
| 291 | '../../src/extensions/statistics-extension.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 292 | '../../src/factory.cc', |
| 293 | '../../src/factory.h', |
| 294 | '../../src/fast-dtoa.cc', |
| 295 | '../../src/fast-dtoa.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 296 | '../../src/fixed-dtoa.cc', |
| 297 | '../../src/fixed-dtoa.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 298 | '../../src/flag-definitions.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 299 | '../../src/flags.cc', |
| 300 | '../../src/flags.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 301 | '../../src/frames-inl.h', |
| 302 | '../../src/frames.cc', |
| 303 | '../../src/frames.h', |
| 304 | '../../src/full-codegen.cc', |
| 305 | '../../src/full-codegen.h', |
| 306 | '../../src/func-name-inferrer.cc', |
| 307 | '../../src/func-name-inferrer.h', |
verwaest@chromium.org | 33e09c8 | 2012-10-10 17:07:22 +0000 | [diff] [blame] | 308 | '../../src/gdb-jit.cc', |
| 309 | '../../src/gdb-jit.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 310 | '../../src/global-handles.cc', |
| 311 | '../../src/global-handles.h', |
| 312 | '../../src/globals.h', |
| 313 | '../../src/handles-inl.h', |
| 314 | '../../src/handles.cc', |
| 315 | '../../src/handles.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 316 | '../../src/hashmap.h', |
| 317 | '../../src/heap-inl.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 318 | '../../src/heap-profiler.cc', |
| 319 | '../../src/heap-profiler.h', |
ulan@chromium.org | 2e04b58 | 2013-02-21 14:06:02 +0000 | [diff] [blame] | 320 | '../../src/heap-snapshot-generator-inl.h', |
| 321 | '../../src/heap-snapshot-generator.cc', |
| 322 | '../../src/heap-snapshot-generator.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 323 | '../../src/heap.cc', |
| 324 | '../../src/heap.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 325 | '../../src/hydrogen-instructions.cc', |
| 326 | '../../src/hydrogen-instructions.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 327 | '../../src/hydrogen.cc', |
| 328 | '../../src/hydrogen.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 329 | '../../src/ic-inl.h', |
| 330 | '../../src/ic.cc', |
| 331 | '../../src/ic.h', |
erik.corry@gmail.com | c3b670f | 2011-10-05 21:44:48 +0000 | [diff] [blame] | 332 | '../../src/incremental-marking.cc', |
| 333 | '../../src/incremental-marking.h', |
erik.corry@gmail.com | bbceb57 | 2012-03-09 10:52:05 +0000 | [diff] [blame] | 334 | '../../src/interface.cc', |
| 335 | '../../src/interface.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 336 | '../../src/interpreter-irregexp.cc', |
| 337 | '../../src/interpreter-irregexp.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 338 | '../../src/isolate.cc', |
| 339 | '../../src/isolate.h', |
danno@chromium.org | 40cb878 | 2011-05-25 07:58:50 +0000 | [diff] [blame] | 340 | '../../src/json-parser.h', |
danno@chromium.org | 72204d5 | 2012-10-31 10:02:10 +0000 | [diff] [blame] | 341 | '../../src/json-stringifier.h', |
mmassi@chromium.org | 2f0efde | 2013-02-06 14:12:58 +0000 | [diff] [blame] | 342 | '../../src/jsregexp-inl.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 343 | '../../src/jsregexp.cc', |
| 344 | '../../src/jsregexp.h', |
jkummerow@chromium.org | 1456e70 | 2012-03-30 08:38:13 +0000 | [diff] [blame] | 345 | '../../src/lazy-instance.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 346 | '../../src/list-inl.h', |
| 347 | '../../src/list.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 348 | '../../src/lithium-allocator-inl.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 349 | '../../src/lithium-allocator.cc', |
| 350 | '../../src/lithium-allocator.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 351 | '../../src/lithium.cc', |
| 352 | '../../src/lithium.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 353 | '../../src/liveedit.cc', |
| 354 | '../../src/liveedit.h', |
| 355 | '../../src/log-inl.h', |
| 356 | '../../src/log-utils.cc', |
| 357 | '../../src/log-utils.h', |
| 358 | '../../src/log.cc', |
| 359 | '../../src/log.h', |
| 360 | '../../src/macro-assembler.h', |
| 361 | '../../src/mark-compact.cc', |
| 362 | '../../src/mark-compact.h', |
mstarzinger@chromium.org | e3b8d0f | 2013-02-01 09:06:41 +0000 | [diff] [blame] | 363 | '../../src/marking-thread.h', |
| 364 | '../../src/marking-thread.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 365 | '../../src/messages.cc', |
| 366 | '../../src/messages.h', |
| 367 | '../../src/natives.h', |
| 368 | '../../src/objects-debug.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 369 | '../../src/objects-inl.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 370 | '../../src/objects-printer.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 371 | '../../src/objects-visiting.cc', |
| 372 | '../../src/objects-visiting.h', |
| 373 | '../../src/objects.cc', |
| 374 | '../../src/objects.h', |
jkummerow@chromium.org | 1456e70 | 2012-03-30 08:38:13 +0000 | [diff] [blame] | 375 | '../../src/once.cc', |
| 376 | '../../src/once.h', |
yangguo@chromium.org | 304cc33 | 2012-07-24 07:59:48 +0000 | [diff] [blame] | 377 | '../../src/optimizing-compiler-thread.h', |
| 378 | '../../src/optimizing-compiler-thread.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 379 | '../../src/parser.cc', |
| 380 | '../../src/parser.h', |
danno@chromium.org | 8c0a43f | 2012-04-03 08:37:53 +0000 | [diff] [blame] | 381 | '../../src/platform-posix.h', |
fschneider@chromium.org | 7979bbb | 2011-03-28 10:47:03 +0000 | [diff] [blame] | 382 | '../../src/platform-tls-mac.h', |
| 383 | '../../src/platform-tls-win32.h', |
| 384 | '../../src/platform-tls.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 385 | '../../src/platform.h', |
lrn@chromium.org | 1c09276 | 2011-05-09 09:42:16 +0000 | [diff] [blame] | 386 | '../../src/preparse-data-format.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 387 | '../../src/preparse-data.cc', |
| 388 | '../../src/preparse-data.h', |
| 389 | '../../src/preparser.cc', |
| 390 | '../../src/preparser.h', |
| 391 | '../../src/prettyprinter.cc', |
| 392 | '../../src/prettyprinter.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 393 | '../../src/profile-generator-inl.h', |
| 394 | '../../src/profile-generator.cc', |
| 395 | '../../src/profile-generator.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 396 | '../../src/property-details.h', |
| 397 | '../../src/property.cc', |
| 398 | '../../src/property.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 399 | '../../src/regexp-macro-assembler-irregexp-inl.h', |
| 400 | '../../src/regexp-macro-assembler-irregexp.cc', |
| 401 | '../../src/regexp-macro-assembler-irregexp.h', |
| 402 | '../../src/regexp-macro-assembler-tracer.cc', |
| 403 | '../../src/regexp-macro-assembler-tracer.h', |
| 404 | '../../src/regexp-macro-assembler.cc', |
| 405 | '../../src/regexp-macro-assembler.h', |
| 406 | '../../src/regexp-stack.cc', |
| 407 | '../../src/regexp-stack.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 408 | '../../src/rewriter.cc', |
| 409 | '../../src/rewriter.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 410 | '../../src/runtime-profiler.cc', |
| 411 | '../../src/runtime-profiler.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 412 | '../../src/runtime.cc', |
| 413 | '../../src/runtime.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 414 | '../../src/safepoint-table.cc', |
| 415 | '../../src/safepoint-table.h', |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 416 | '../../src/sampler.cc', |
| 417 | '../../src/sampler.h', |
ricow@chromium.org | 55ee807 | 2011-09-08 16:33:10 +0000 | [diff] [blame] | 418 | '../../src/scanner-character-streams.cc', |
| 419 | '../../src/scanner-character-streams.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 420 | '../../src/scanner.cc', |
| 421 | '../../src/scanner.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 422 | '../../src/scopeinfo.cc', |
| 423 | '../../src/scopeinfo.h', |
| 424 | '../../src/scopes.cc', |
| 425 | '../../src/scopes.h', |
| 426 | '../../src/serialize.cc', |
| 427 | '../../src/serialize.h', |
fschneider@chromium.org | 7979bbb | 2011-03-28 10:47:03 +0000 | [diff] [blame] | 428 | '../../src/small-pointer-list.h', |
yangguo@chromium.org | 304cc33 | 2012-07-24 07:59:48 +0000 | [diff] [blame] | 429 | '../../src/smart-pointers.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 430 | '../../src/snapshot-common.cc', |
| 431 | '../../src/snapshot.h', |
| 432 | '../../src/spaces-inl.h', |
| 433 | '../../src/spaces.cc', |
| 434 | '../../src/spaces.h', |
erik.corry@gmail.com | c3b670f | 2011-10-05 21:44:48 +0000 | [diff] [blame] | 435 | '../../src/store-buffer-inl.h', |
| 436 | '../../src/store-buffer.cc', |
| 437 | '../../src/store-buffer.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 438 | '../../src/string-search.cc', |
| 439 | '../../src/string-search.h', |
| 440 | '../../src/string-stream.cc', |
| 441 | '../../src/string-stream.h', |
| 442 | '../../src/strtod.cc', |
| 443 | '../../src/strtod.h', |
| 444 | '../../src/stub-cache.cc', |
| 445 | '../../src/stub-cache.h', |
mstarzinger@chromium.org | e3b8d0f | 2013-02-01 09:06:41 +0000 | [diff] [blame] | 446 | '../../src/sweeper-thread.h', |
| 447 | '../../src/sweeper-thread.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 448 | '../../src/token.cc', |
| 449 | '../../src/token.h', |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 450 | '../../src/transitions-inl.h', |
| 451 | '../../src/transitions.cc', |
| 452 | '../../src/transitions.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 453 | '../../src/type-info.cc', |
| 454 | '../../src/type-info.h', |
| 455 | '../../src/unbound-queue-inl.h', |
| 456 | '../../src/unbound-queue.h', |
| 457 | '../../src/unicode-inl.h', |
| 458 | '../../src/unicode.cc', |
| 459 | '../../src/unicode.h', |
ulan@chromium.org | 2e04b58 | 2013-02-21 14:06:02 +0000 | [diff] [blame] | 460 | '../../src/uri.h', |
lrn@chromium.org | 1c09276 | 2011-05-09 09:42:16 +0000 | [diff] [blame] | 461 | '../../src/utils-inl.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 462 | '../../src/utils.cc', |
| 463 | '../../src/utils.h', |
| 464 | '../../src/v8-counters.cc', |
| 465 | '../../src/v8-counters.h', |
| 466 | '../../src/v8.cc', |
| 467 | '../../src/v8.h', |
| 468 | '../../src/v8checks.h', |
jkummerow@chromium.org | ddda9e8 | 2011-07-06 11:27:02 +0000 | [diff] [blame] | 469 | '../../src/v8conversions.cc', |
| 470 | '../../src/v8conversions.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 471 | '../../src/v8globals.h', |
sgjesse@chromium.org | ea88ce9 | 2011-03-23 11:19:56 +0000 | [diff] [blame] | 472 | '../../src/v8memory.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 473 | '../../src/v8threads.cc', |
| 474 | '../../src/v8threads.h', |
jkummerow@chromium.org | ddda9e8 | 2011-07-06 11:27:02 +0000 | [diff] [blame] | 475 | '../../src/v8utils.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 476 | '../../src/v8utils.h', |
| 477 | '../../src/variables.cc', |
| 478 | '../../src/variables.h', |
| 479 | '../../src/version.cc', |
| 480 | '../../src/version.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 481 | '../../src/vm-state-inl.h', |
| 482 | '../../src/vm-state.h', |
| 483 | '../../src/zone-inl.h', |
| 484 | '../../src/zone.cc', |
| 485 | '../../src/zone.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 486 | ], |
| 487 | 'conditions': [ |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 488 | ['want_separate_host_toolset==1', { |
| 489 | 'toolsets': ['host', 'target'], |
| 490 | }, { |
| 491 | 'toolsets': ['target'], |
| 492 | }], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 493 | ['v8_target_arch=="arm"', { |
ulan@chromium.org | 77ca49a | 2013-04-22 09:43:56 +0000 | [diff] [blame] | 494 | 'sources': [ ### gcmole(arch:arm) ### |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 495 | '../../src/arm/assembler-arm-inl.h', |
| 496 | '../../src/arm/assembler-arm.cc', |
| 497 | '../../src/arm/assembler-arm.h', |
| 498 | '../../src/arm/builtins-arm.cc', |
| 499 | '../../src/arm/code-stubs-arm.cc', |
| 500 | '../../src/arm/code-stubs-arm.h', |
| 501 | '../../src/arm/codegen-arm.cc', |
| 502 | '../../src/arm/codegen-arm.h', |
| 503 | '../../src/arm/constants-arm.h', |
| 504 | '../../src/arm/constants-arm.cc', |
| 505 | '../../src/arm/cpu-arm.cc', |
| 506 | '../../src/arm/debug-arm.cc', |
| 507 | '../../src/arm/deoptimizer-arm.cc', |
| 508 | '../../src/arm/disasm-arm.cc', |
| 509 | '../../src/arm/frames-arm.cc', |
| 510 | '../../src/arm/frames-arm.h', |
| 511 | '../../src/arm/full-codegen-arm.cc', |
| 512 | '../../src/arm/ic-arm.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 513 | '../../src/arm/lithium-arm.cc', |
| 514 | '../../src/arm/lithium-arm.h', |
erik.corry@gmail.com | 0511e24 | 2011-01-19 11:11:08 +0000 | [diff] [blame] | 515 | '../../src/arm/lithium-codegen-arm.cc', |
| 516 | '../../src/arm/lithium-codegen-arm.h', |
fschneider@chromium.org | 3a5fd78 | 2011-02-24 10:10:44 +0000 | [diff] [blame] | 517 | '../../src/arm/lithium-gap-resolver-arm.cc', |
| 518 | '../../src/arm/lithium-gap-resolver-arm.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 519 | '../../src/arm/macro-assembler-arm.cc', |
| 520 | '../../src/arm/macro-assembler-arm.h', |
| 521 | '../../src/arm/regexp-macro-assembler-arm.cc', |
| 522 | '../../src/arm/regexp-macro-assembler-arm.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 523 | '../../src/arm/simulator-arm.cc', |
| 524 | '../../src/arm/stub-cache-arm.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 525 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 526 | }], |
| 527 | ['v8_target_arch=="ia32" or v8_target_arch=="mac" or OS=="mac"', { |
ulan@chromium.org | 77ca49a | 2013-04-22 09:43:56 +0000 | [diff] [blame] | 528 | 'sources': [ ### gcmole(arch:ia32) ### |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 529 | '../../src/ia32/assembler-ia32-inl.h', |
| 530 | '../../src/ia32/assembler-ia32.cc', |
| 531 | '../../src/ia32/assembler-ia32.h', |
| 532 | '../../src/ia32/builtins-ia32.cc', |
| 533 | '../../src/ia32/code-stubs-ia32.cc', |
| 534 | '../../src/ia32/code-stubs-ia32.h', |
| 535 | '../../src/ia32/codegen-ia32.cc', |
| 536 | '../../src/ia32/codegen-ia32.h', |
| 537 | '../../src/ia32/cpu-ia32.cc', |
| 538 | '../../src/ia32/debug-ia32.cc', |
| 539 | '../../src/ia32/deoptimizer-ia32.cc', |
| 540 | '../../src/ia32/disasm-ia32.cc', |
| 541 | '../../src/ia32/frames-ia32.cc', |
| 542 | '../../src/ia32/frames-ia32.h', |
| 543 | '../../src/ia32/full-codegen-ia32.cc', |
| 544 | '../../src/ia32/ic-ia32.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 545 | '../../src/ia32/lithium-codegen-ia32.cc', |
| 546 | '../../src/ia32/lithium-codegen-ia32.h', |
erik.corry@gmail.com | 0511e24 | 2011-01-19 11:11:08 +0000 | [diff] [blame] | 547 | '../../src/ia32/lithium-gap-resolver-ia32.cc', |
| 548 | '../../src/ia32/lithium-gap-resolver-ia32.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 549 | '../../src/ia32/lithium-ia32.cc', |
| 550 | '../../src/ia32/lithium-ia32.h', |
| 551 | '../../src/ia32/macro-assembler-ia32.cc', |
| 552 | '../../src/ia32/macro-assembler-ia32.h', |
| 553 | '../../src/ia32/regexp-macro-assembler-ia32.cc', |
| 554 | '../../src/ia32/regexp-macro-assembler-ia32.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 555 | '../../src/ia32/stub-cache-ia32.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 556 | ], |
| 557 | }], |
rossberg@chromium.org | 657d53b | 2012-07-12 11:06:03 +0000 | [diff] [blame] | 558 | ['v8_target_arch=="mipsel"', { |
ulan@chromium.org | 77ca49a | 2013-04-22 09:43:56 +0000 | [diff] [blame] | 559 | 'sources': [ ### gcmole(arch:mipsel) ### |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 560 | '../../src/mips/assembler-mips.cc', |
| 561 | '../../src/mips/assembler-mips.h', |
| 562 | '../../src/mips/assembler-mips-inl.h', |
| 563 | '../../src/mips/builtins-mips.cc', |
| 564 | '../../src/mips/codegen-mips.cc', |
| 565 | '../../src/mips/codegen-mips.h', |
| 566 | '../../src/mips/code-stubs-mips.cc', |
| 567 | '../../src/mips/code-stubs-mips.h', |
| 568 | '../../src/mips/constants-mips.cc', |
| 569 | '../../src/mips/constants-mips.h', |
| 570 | '../../src/mips/cpu-mips.cc', |
| 571 | '../../src/mips/debug-mips.cc', |
| 572 | '../../src/mips/deoptimizer-mips.cc', |
| 573 | '../../src/mips/disasm-mips.cc', |
| 574 | '../../src/mips/frames-mips.cc', |
| 575 | '../../src/mips/frames-mips.h', |
| 576 | '../../src/mips/full-codegen-mips.cc', |
| 577 | '../../src/mips/ic-mips.cc', |
| 578 | '../../src/mips/lithium-codegen-mips.cc', |
| 579 | '../../src/mips/lithium-codegen-mips.h', |
| 580 | '../../src/mips/lithium-gap-resolver-mips.cc', |
| 581 | '../../src/mips/lithium-gap-resolver-mips.h', |
| 582 | '../../src/mips/lithium-mips.cc', |
| 583 | '../../src/mips/lithium-mips.h', |
| 584 | '../../src/mips/macro-assembler-mips.cc', |
| 585 | '../../src/mips/macro-assembler-mips.h', |
| 586 | '../../src/mips/regexp-macro-assembler-mips.cc', |
| 587 | '../../src/mips/regexp-macro-assembler-mips.h', |
| 588 | '../../src/mips/simulator-mips.cc', |
| 589 | '../../src/mips/stub-cache-mips.cc', |
| 590 | ], |
| 591 | }], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 592 | ['v8_target_arch=="x64" or v8_target_arch=="mac" or OS=="mac"', { |
ulan@chromium.org | 77ca49a | 2013-04-22 09:43:56 +0000 | [diff] [blame] | 593 | 'sources': [ ### gcmole(arch:x64) ### |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 594 | '../../src/x64/assembler-x64-inl.h', |
| 595 | '../../src/x64/assembler-x64.cc', |
| 596 | '../../src/x64/assembler-x64.h', |
| 597 | '../../src/x64/builtins-x64.cc', |
| 598 | '../../src/x64/code-stubs-x64.cc', |
| 599 | '../../src/x64/code-stubs-x64.h', |
| 600 | '../../src/x64/codegen-x64.cc', |
| 601 | '../../src/x64/codegen-x64.h', |
| 602 | '../../src/x64/cpu-x64.cc', |
| 603 | '../../src/x64/debug-x64.cc', |
| 604 | '../../src/x64/deoptimizer-x64.cc', |
| 605 | '../../src/x64/disasm-x64.cc', |
| 606 | '../../src/x64/frames-x64.cc', |
| 607 | '../../src/x64/frames-x64.h', |
| 608 | '../../src/x64/full-codegen-x64.cc', |
| 609 | '../../src/x64/ic-x64.cc', |
sgjesse@chromium.org | c6c5718 | 2011-01-17 12:24:25 +0000 | [diff] [blame] | 610 | '../../src/x64/lithium-codegen-x64.cc', |
kmillikin@chromium.org | d2c22f0 | 2011-01-10 08:15:37 +0000 | [diff] [blame] | 611 | '../../src/x64/lithium-codegen-x64.h', |
ager@chromium.org | 0ee099b | 2011-01-25 14:06:47 +0000 | [diff] [blame] | 612 | '../../src/x64/lithium-gap-resolver-x64.cc', |
| 613 | '../../src/x64/lithium-gap-resolver-x64.h', |
kmillikin@chromium.org | d2c22f0 | 2011-01-10 08:15:37 +0000 | [diff] [blame] | 614 | '../../src/x64/lithium-x64.cc', |
| 615 | '../../src/x64/lithium-x64.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 616 | '../../src/x64/macro-assembler-x64.cc', |
| 617 | '../../src/x64/macro-assembler-x64.h', |
| 618 | '../../src/x64/regexp-macro-assembler-x64.cc', |
| 619 | '../../src/x64/regexp-macro-assembler-x64.h', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 620 | '../../src/x64/stub-cache-x64.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 621 | ], |
| 622 | }], |
| 623 | ['OS=="linux"', { |
| 624 | 'link_settings': { |
sgjesse@chromium.org | 8e8294a | 2011-05-02 14:30:53 +0000 | [diff] [blame] | 625 | 'conditions': [ |
| 626 | ['v8_compress_startup_data=="bz2"', { |
| 627 | 'libraries': [ |
| 628 | '-lbz2', |
jkummerow@chromium.org | c3b3712 | 2011-11-07 10:14:12 +0000 | [diff] [blame] | 629 | ] |
| 630 | }], |
sgjesse@chromium.org | 8e8294a | 2011-05-02 14:30:53 +0000 | [diff] [blame] | 631 | ], |
| 632 | }, |
ulan@chromium.org | 77ca49a | 2013-04-22 09:43:56 +0000 | [diff] [blame] | 633 | 'sources': [ ### gcmole(os:linux) ### |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 634 | '../../src/platform-linux.cc', |
| 635 | '../../src/platform-posix.cc' |
| 636 | ], |
| 637 | } |
| 638 | ], |
danno@chromium.org | 40cb878 | 2011-05-25 07:58:50 +0000 | [diff] [blame] | 639 | ['OS=="android"', { |
jkummerow@chromium.org | c3b3712 | 2011-11-07 10:14:12 +0000 | [diff] [blame] | 640 | 'defines': [ |
| 641 | 'CAN_USE_VFP_INSTRUCTIONS', |
| 642 | ], |
danno@chromium.org | 40cb878 | 2011-05-25 07:58:50 +0000 | [diff] [blame] | 643 | 'sources': [ |
| 644 | '../../src/platform-posix.cc', |
| 645 | ], |
| 646 | 'conditions': [ |
mstarzinger@chromium.org | 1b3afd1 | 2011-11-29 14:28:56 +0000 | [diff] [blame] | 647 | ['host_os=="mac"', { |
| 648 | 'target_conditions': [ |
| 649 | ['_toolset=="host"', { |
| 650 | 'sources': [ |
| 651 | '../../src/platform-macos.cc' |
| 652 | ] |
| 653 | }, { |
| 654 | 'sources': [ |
| 655 | '../../src/platform-linux.cc' |
| 656 | ] |
| 657 | }], |
| 658 | ], |
danno@chromium.org | 40cb878 | 2011-05-25 07:58:50 +0000 | [diff] [blame] | 659 | }, { |
| 660 | 'sources': [ |
| 661 | '../../src/platform-linux.cc' |
| 662 | ] |
| 663 | }], |
danno@chromium.org | 40cb878 | 2011-05-25 07:58:50 +0000 | [diff] [blame] | 664 | ], |
| 665 | }, |
| 666 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 667 | ['OS=="freebsd"', { |
| 668 | 'link_settings': { |
| 669 | 'libraries': [ |
| 670 | '-L/usr/local/lib -lexecinfo', |
| 671 | ]}, |
| 672 | 'sources': [ |
| 673 | '../../src/platform-freebsd.cc', |
| 674 | '../../src/platform-posix.cc' |
| 675 | ], |
| 676 | } |
| 677 | ], |
| 678 | ['OS=="openbsd"', { |
| 679 | 'link_settings': { |
| 680 | 'libraries': [ |
| 681 | '-L/usr/local/lib -lexecinfo', |
| 682 | ]}, |
| 683 | 'sources': [ |
| 684 | '../../src/platform-openbsd.cc', |
| 685 | '../../src/platform-posix.cc' |
| 686 | ], |
| 687 | } |
| 688 | ], |
rossberg@chromium.org | fab1498 | 2012-01-05 15:02:15 +0000 | [diff] [blame] | 689 | ['OS=="netbsd"', { |
| 690 | 'link_settings': { |
| 691 | 'libraries': [ |
| 692 | '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo', |
| 693 | ]}, |
| 694 | 'sources': [ |
| 695 | '../../src/platform-openbsd.cc', |
| 696 | '../../src/platform-posix.cc' |
| 697 | ], |
| 698 | } |
| 699 | ], |
erik.corry@gmail.com | c3b670f | 2011-10-05 21:44:48 +0000 | [diff] [blame] | 700 | ['OS=="solaris"', { |
jkummerow@chromium.org | 05ed9dd | 2012-01-23 14:42:48 +0000 | [diff] [blame] | 701 | 'link_settings': { |
| 702 | 'libraries': [ |
| 703 | '-lsocket -lnsl', |
| 704 | ]}, |
erik.corry@gmail.com | c3b670f | 2011-10-05 21:44:48 +0000 | [diff] [blame] | 705 | 'sources': [ |
| 706 | '../../src/platform-solaris.cc', |
| 707 | '../../src/platform-posix.cc', |
| 708 | ], |
| 709 | } |
| 710 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 711 | ['OS=="mac"', { |
| 712 | 'sources': [ |
| 713 | '../../src/platform-macos.cc', |
| 714 | '../../src/platform-posix.cc' |
| 715 | ]}, |
| 716 | ], |
| 717 | ['OS=="win"', { |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 718 | 'variables': { |
| 719 | 'gyp_generators': '<!(echo $GYP_GENERATORS)', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 720 | }, |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 721 | 'conditions': [ |
| 722 | ['gyp_generators=="make"', { |
| 723 | 'variables': { |
| 724 | 'build_env': '<!(uname -o)', |
| 725 | }, |
| 726 | 'conditions': [ |
| 727 | ['build_env=="Cygwin"', { |
| 728 | 'sources': [ |
| 729 | '../../src/platform-cygwin.cc', |
| 730 | '../../src/platform-posix.cc', |
| 731 | ], |
| 732 | }, { |
| 733 | 'sources': [ |
| 734 | '../../src/platform-win32.cc', |
| 735 | '../../src/win32-math.h', |
| 736 | '../../src/win32-math.cc', |
| 737 | ], |
| 738 | }], |
| 739 | ], |
| 740 | 'link_settings': { |
| 741 | 'libraries': [ '-lwinmm', '-lws2_32' ], |
| 742 | }, |
| 743 | }, { |
| 744 | 'sources': [ |
| 745 | '../../src/platform-win32.cc', |
| 746 | '../../src/win32-math.h', |
| 747 | '../../src/win32-math.cc', |
| 748 | ], |
| 749 | 'msvs_disabled_warnings': [4351, 4355, 4800], |
| 750 | 'link_settings': { |
| 751 | 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], |
| 752 | }, |
| 753 | }], |
| 754 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 755 | }], |
fschneider@chromium.org | fb144a0 | 2011-05-04 12:43:48 +0000 | [diff] [blame] | 756 | ['component=="shared_library"', { |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 757 | 'defines': [ |
fschneider@chromium.org | fb144a0 | 2011-05-04 12:43:48 +0000 | [diff] [blame] | 758 | 'BUILDING_V8_SHARED', |
| 759 | 'V8_SHARED', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 760 | ], |
| 761 | }], |
rossberg@chromium.org | 994edf6 | 2012-02-06 10:12:55 +0000 | [diff] [blame] | 762 | ['v8_postmortem_support=="true"', { |
| 763 | 'sources': [ |
| 764 | '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', |
| 765 | ] |
| 766 | }], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 767 | ], |
| 768 | }, |
| 769 | { |
| 770 | 'target_name': 'js2c', |
| 771 | 'type': 'none', |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 772 | 'conditions': [ |
| 773 | ['want_separate_host_toolset==1', { |
| 774 | 'toolsets': ['host'], |
| 775 | }, { |
| 776 | 'toolsets': ['target'], |
| 777 | }], |
| 778 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 779 | 'variables': { |
| 780 | 'library_files': [ |
| 781 | '../../src/runtime.js', |
| 782 | '../../src/v8natives.js', |
| 783 | '../../src/array.js', |
| 784 | '../../src/string.js', |
| 785 | '../../src/uri.js', |
| 786 | '../../src/math.js', |
| 787 | '../../src/messages.js', |
| 788 | '../../src/apinatives.js', |
| 789 | '../../src/debug-debugger.js', |
| 790 | '../../src/mirror-debugger.js', |
| 791 | '../../src/liveedit-debugger.js', |
| 792 | '../../src/date.js', |
| 793 | '../../src/json.js', |
| 794 | '../../src/regexp.js', |
| 795 | '../../src/macros.py', |
| 796 | ], |
fschneider@chromium.org | fb144a0 | 2011-05-04 12:43:48 +0000 | [diff] [blame] | 797 | 'experimental_library_files': [ |
danno@chromium.org | 160a7b0 | 2011-04-18 15:51:38 +0000 | [diff] [blame] | 798 | '../../src/macros.py', |
yangguo@chromium.org | 4a9f655 | 2013-03-04 14:46:33 +0000 | [diff] [blame] | 799 | '../../src/symbol.js', |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 800 | '../../src/proxy.js', |
erik.corry@gmail.com | 394dbcf | 2011-10-27 07:38:48 +0000 | [diff] [blame] | 801 | '../../src/collection.js', |
mstarzinger@chromium.org | f705b50 | 2013-04-04 11:38:09 +0000 | [diff] [blame] | 802 | '../../src/object-observe.js', |
ulan@chromium.org | 57ff881 | 2013-05-10 08:16:55 +0000 | [diff] [blame^] | 803 | '../../src/arraybuffer.js', |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 804 | '../../src/typedarray.js', |
| 805 | '../../src/generator.js' |
fschneider@chromium.org | fb144a0 | 2011-05-04 12:43:48 +0000 | [diff] [blame] | 806 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 807 | }, |
| 808 | 'actions': [ |
| 809 | { |
| 810 | 'action_name': 'js2c', |
| 811 | 'inputs': [ |
| 812 | '../../tools/js2c.py', |
| 813 | '<@(library_files)', |
| 814 | ], |
| 815 | 'outputs': [ |
| 816 | '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 817 | ], |
| 818 | 'action': [ |
| 819 | 'python', |
| 820 | '../../tools/js2c.py', |
| 821 | '<@(_outputs)', |
| 822 | 'CORE', |
jkummerow@chromium.org | e297f59 | 2011-06-08 10:05:15 +0000 | [diff] [blame] | 823 | '<(v8_compress_startup_data)', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 824 | '<@(library_files)' |
| 825 | ], |
| 826 | }, |
fschneider@chromium.org | fb144a0 | 2011-05-04 12:43:48 +0000 | [diff] [blame] | 827 | { |
danno@chromium.org | 160a7b0 | 2011-04-18 15:51:38 +0000 | [diff] [blame] | 828 | 'action_name': 'js2c_experimental', |
| 829 | 'inputs': [ |
| 830 | '../../tools/js2c.py', |
| 831 | '<@(experimental_library_files)', |
| 832 | ], |
| 833 | 'outputs': [ |
| 834 | '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 835 | ], |
| 836 | 'action': [ |
| 837 | 'python', |
| 838 | '../../tools/js2c.py', |
| 839 | '<@(_outputs)', |
| 840 | 'EXPERIMENTAL', |
jkummerow@chromium.org | e297f59 | 2011-06-08 10:05:15 +0000 | [diff] [blame] | 841 | '<(v8_compress_startup_data)', |
danno@chromium.org | 160a7b0 | 2011-04-18 15:51:38 +0000 | [diff] [blame] | 842 | '<@(experimental_library_files)' |
| 843 | ], |
| 844 | }, |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 845 | ], |
| 846 | }, |
| 847 | { |
rossberg@chromium.org | 994edf6 | 2012-02-06 10:12:55 +0000 | [diff] [blame] | 848 | 'target_name': 'postmortem-metadata', |
| 849 | 'type': 'none', |
| 850 | 'variables': { |
| 851 | 'heapobject_files': [ |
| 852 | '../../src/objects.h', |
| 853 | '../../src/objects-inl.h', |
| 854 | ], |
| 855 | }, |
| 856 | 'actions': [ |
| 857 | { |
| 858 | 'action_name': 'gen-postmortem-metadata', |
| 859 | 'inputs': [ |
| 860 | '../../tools/gen-postmortem-metadata.py', |
| 861 | '<@(heapobject_files)', |
| 862 | ], |
| 863 | 'outputs': [ |
| 864 | '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', |
| 865 | ], |
| 866 | 'action': [ |
| 867 | 'python', |
| 868 | '../../tools/gen-postmortem-metadata.py', |
| 869 | '<@(_outputs)', |
| 870 | '<@(heapobject_files)' |
| 871 | ] |
| 872 | } |
| 873 | ] |
| 874 | }, |
| 875 | { |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 876 | 'target_name': 'mksnapshot.<(v8_target_arch)', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 877 | 'type': 'executable', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 878 | 'dependencies': [ |
mstarzinger@chromium.org | e27d617 | 2013-04-17 11:51:44 +0000 | [diff] [blame] | 879 | 'v8_base.<(v8_target_arch)', |
| 880 | 'v8_nosnapshot.<(v8_target_arch)', |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 881 | ], |
| 882 | 'include_dirs+': [ |
| 883 | '../../src', |
| 884 | ], |
| 885 | 'sources': [ |
| 886 | '../../src/mksnapshot.cc', |
| 887 | ], |
| 888 | 'conditions': [ |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 889 | ['want_separate_host_toolset==1', { |
| 890 | 'toolsets': ['host'], |
| 891 | }, { |
| 892 | 'toolsets': ['target'], |
sgjesse@chromium.org | 8e8294a | 2011-05-02 14:30:53 +0000 | [diff] [blame] | 893 | }], |
| 894 | ['v8_compress_startup_data=="bz2"', { |
| 895 | 'libraries': [ |
| 896 | '-lbz2', |
jkummerow@chromium.org | c3b3712 | 2011-11-07 10:14:12 +0000 | [diff] [blame] | 897 | ] |
| 898 | }], |
ricow@chromium.org | 4668a2c | 2011-08-29 10:41:00 +0000 | [diff] [blame] | 899 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 900 | }, |
ager@chromium.org | 3a37e9b | 2009-04-27 09:26:21 +0000 | [diff] [blame] | 901 | { |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 902 | 'target_name': 'v8_shell', |
| 903 | 'type': 'executable', |
| 904 | 'dependencies': [ |
| 905 | 'v8' |
ager@chromium.org | 3a37e9b | 2009-04-27 09:26:21 +0000 | [diff] [blame] | 906 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 907 | 'sources': [ |
| 908 | '../../samples/shell.cc', |
ager@chromium.org | 3a37e9b | 2009-04-27 09:26:21 +0000 | [diff] [blame] | 909 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 910 | 'conditions': [ |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 911 | ['want_separate_host_toolset==1', { |
| 912 | 'toolsets': ['host'], |
| 913 | }, { |
| 914 | 'toolsets': ['target'], |
| 915 | }], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 916 | ['OS=="win"', { |
| 917 | # This could be gotten by not setting chromium_code, if that's OK. |
| 918 | 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
| 919 | }], |
sgjesse@chromium.org | 8e8294a | 2011-05-02 14:30:53 +0000 | [diff] [blame] | 920 | ['v8_compress_startup_data=="bz2"', { |
| 921 | 'libraries': [ |
| 922 | '-lbz2', |
jkummerow@chromium.org | c3b3712 | 2011-11-07 10:14:12 +0000 | [diff] [blame] | 923 | ] |
| 924 | }], |
kasperl@chromium.org | 3a2bafb | 2009-07-09 07:03:57 +0000 | [diff] [blame] | 925 | ], |
kasperl@chromium.org | 3a2bafb | 2009-07-09 07:03:57 +0000 | [diff] [blame] | 926 | }, |
| 927 | ], |
ulan@chromium.org | 77ca49a | 2013-04-22 09:43:56 +0000 | [diff] [blame] | 928 | }, { # use_system_v8 != 0 |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 929 | 'targets': [ |
| 930 | { |
| 931 | 'target_name': 'v8', |
rossberg@chromium.org | b4b2aa6 | 2011-10-13 09:49:59 +0000 | [diff] [blame] | 932 | 'type': 'none', |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 933 | 'conditions': [ |
| 934 | ['want_separate_host_toolset==1', { |
| 935 | 'toolsets': ['host', 'target'], |
| 936 | }, { |
| 937 | 'toolsets': ['target'], |
| 938 | }], |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 939 | ], |
yangguo@chromium.org | 46a2a51 | 2013-01-18 16:29:40 +0000 | [diff] [blame] | 940 | 'variables': { |
| 941 | 'shim_headers_path': '<(SHARED_INTERMEDIATE_DIR)/shim_headers/<(_target_name)/<(_toolset)', |
| 942 | }, |
| 943 | 'include_dirs++': [ |
| 944 | '<(shim_headers_path)', |
| 945 | ], |
ulan@chromium.org | 750145a | 2013-03-07 15:14:13 +0000 | [diff] [blame] | 946 | 'all_dependent_settings': { |
yangguo@chromium.org | 46a2a51 | 2013-01-18 16:29:40 +0000 | [diff] [blame] | 947 | 'include_dirs+++': [ |
| 948 | '<(shim_headers_path)', |
| 949 | ], |
| 950 | }, |
| 951 | 'actions': [ |
| 952 | { |
| 953 | 'variables': { |
| 954 | 'generator_path': '../../../tools/generate_shim_headers/generate_shim_headers.py', |
| 955 | 'generator_args': [ |
| 956 | '--headers-root', '../../include', |
| 957 | '--output-directory', '<(shim_headers_path)', |
| 958 | 'v8-debug.h', |
| 959 | 'v8-preparser.h', |
| 960 | 'v8-profiler.h', |
| 961 | 'v8-testing.h', |
| 962 | 'v8.h', |
| 963 | 'v8stdint.h', |
| 964 | ], |
| 965 | }, |
| 966 | 'action_name': 'generate_<(_target_name)_shim_headers', |
| 967 | 'inputs': [ |
| 968 | '<(generator_path)', |
| 969 | ], |
| 970 | 'outputs': [ |
| 971 | '<!@pymod_do_main(generate_shim_headers <@(generator_args) --outputs)', |
| 972 | ], |
| 973 | 'action': ['python', |
| 974 | '<(generator_path)', |
| 975 | '<@(generator_args)', |
| 976 | '--generate', |
| 977 | ], |
| 978 | 'message': 'Generating <(_target_name) shim headers.', |
| 979 | }, |
| 980 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 981 | 'link_settings': { |
| 982 | 'libraries': [ |
| 983 | '-lv8', |
| 984 | ], |
| 985 | }, |
| 986 | }, |
| 987 | { |
| 988 | 'target_name': 'v8_shell', |
| 989 | 'type': 'none', |
kmillikin@chromium.org | 7c2628c | 2011-08-10 11:27:35 +0000 | [diff] [blame] | 990 | 'conditions': [ |
| 991 | ['want_separate_host_toolset==1', { |
| 992 | 'toolsets': ['host'], |
| 993 | }, { |
| 994 | 'toolsets': ['target'], |
| 995 | }], |
| 996 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 997 | 'dependencies': [ |
| 998 | 'v8' |
| 999 | ], |
| 1000 | }, |
ager@chromium.org | 3a37e9b | 2009-04-27 09:26:21 +0000 | [diff] [blame] | 1001 | ], |
lrn@chromium.org | 5d00b60 | 2011-01-05 09:51:43 +0000 | [diff] [blame] | 1002 | }], |
ager@chromium.org | 3a37e9b | 2009-04-27 09:26:21 +0000 | [diff] [blame] | 1003 | ], |
ager@chromium.org | 3a37e9b | 2009-04-27 09:26:21 +0000 | [diff] [blame] | 1004 | } |