OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # TODO(mark): Upstream this file to v8. |
| 6 { |
| 7 'variables': { |
| 8 'chromium_code': 1, |
| 9 'base_source_files': [ |
| 10 '../../v8/src/third_party/dtoa/dtoa.c', |
| 11 '../../v8/src/third_party/jscre/ASCIICType.h', |
| 12 '../../v8/src/third_party/jscre/config.h', |
| 13 '../../v8/src/third_party/jscre/pcre.h', |
| 14 '../../v8/src/third_party/jscre/pcre_chartables.c', |
| 15 '../../v8/src/third_party/jscre/pcre_compile.cpp', |
| 16 '../../v8/src/third_party/jscre/pcre_exec.cpp', |
| 17 '../../v8/src/third_party/jscre/pcre_internal.h', |
| 18 '../../v8/src/third_party/jscre/pcre_tables.cpp', |
| 19 '../../v8/src/third_party/jscre/pcre_ucp_searchfuncs.cpp', |
| 20 '../../v8/src/third_party/jscre/pcre_xclass.cpp', |
| 21 '../../v8/src/third_party/jscre/ucpinternal.h', |
| 22 '../../v8/src/third_party/jscre/ucptable.cpp', |
| 23 '../../v8/src/accessors.cc', |
| 24 '../../v8/src/accessors.h', |
| 25 '../../v8/src/allocation.cc', |
| 26 '../../v8/src/allocation.h', |
| 27 '../../v8/src/api.cc', |
| 28 '../../v8/src/api.h', |
| 29 '../../v8/src/apiutils.h', |
| 30 '../../v8/src/arguments.h', |
| 31 '../../v8/src/assembler-arm-inl.h', |
| 32 '../../v8/src/assembler-arm.cc', |
| 33 '../../v8/src/assembler-arm.h', |
| 34 '../../v8/src/assembler-ia32-inl.h', |
| 35 '../../v8/src/assembler-ia32.cc', |
| 36 '../../v8/src/assembler-ia32.h', |
| 37 '../../v8/src/assembler.cc', |
| 38 '../../v8/src/assembler.h', |
| 39 '../../v8/src/ast.cc', |
| 40 '../../v8/src/ast.h', |
| 41 '../../v8/src/bootstrapper.cc', |
| 42 '../../v8/src/bootstrapper.h', |
| 43 '../../v8/src/builtins-arm.cc', |
| 44 '../../v8/src/builtins-ia32.cc', |
| 45 '../../v8/src/builtins.cc', |
| 46 '../../v8/src/builtins.h', |
| 47 '../../v8/src/bytecodes-irregexp.h', |
| 48 '../../v8/src/char-predicates-inl.h', |
| 49 '../../v8/src/char-predicates.h', |
| 50 '../../v8/src/checks.cc', |
| 51 '../../v8/src/checks.h', |
| 52 '../../v8/src/code-stubs.cc', |
| 53 '../../v8/src/code-stubs.h', |
| 54 '../../v8/src/code.h', |
| 55 '../../v8/src/codegen-arm.cc', |
| 56 '../../v8/src/codegen-arm.h', |
| 57 '../../v8/src/codegen-ia32.cc', |
| 58 '../../v8/src/codegen-ia32.h', |
| 59 '../../v8/src/codegen-inl.h', |
| 60 '../../v8/src/codegen.cc', |
| 61 '../../v8/src/codegen.h', |
| 62 '../../v8/src/compilation-cache.cc', |
| 63 '../../v8/src/compilation-cache.h', |
| 64 '../../v8/src/compiler.cc', |
| 65 '../../v8/src/compiler.h', |
| 66 '../../v8/src/constants-arm.h', |
| 67 '../../v8/src/contexts.cc', |
| 68 '../../v8/src/contexts.h', |
| 69 '../../v8/src/conversions-inl.h', |
| 70 '../../v8/src/conversions.cc', |
| 71 '../../v8/src/conversions.h', |
| 72 '../../v8/src/counters.cc', |
| 73 '../../v8/src/counters.h', |
| 74 '../../v8/src/cpu-arm.cc', |
| 75 '../../v8/src/cpu-ia32.cc', |
| 76 '../../v8/src/cpu.h', |
| 77 '../../v8/src/dateparser.cc', |
| 78 '../../v8/src/dateparser.h', |
| 79 '../../v8/src/debug-arm.cc', |
| 80 '../../v8/src/debug-ia32.cc', |
| 81 '../../v8/src/debug.cc', |
| 82 '../../v8/src/debug.h', |
| 83 '../../v8/src/disasm-arm.cc', |
| 84 '../../v8/src/disasm-ia32.cc', |
| 85 '../../v8/src/disasm.h', |
| 86 '../../v8/src/disassembler.cc', |
| 87 '../../v8/src/disassembler.h', |
| 88 '../../v8/src/dtoa-config.c', |
| 89 '../../v8/src/execution.cc', |
| 90 '../../v8/src/execution.h', |
| 91 '../../v8/src/factory.cc', |
| 92 '../../v8/src/factory.h', |
| 93 '../../v8/src/flag-definitions.h', |
| 94 '../../v8/src/flags.cc', |
| 95 '../../v8/src/flags.h', |
| 96 '../../v8/src/frames-arm.cc', |
| 97 '../../v8/src/frames-arm.h', |
| 98 '../../v8/src/frames-ia32.cc', |
| 99 '../../v8/src/frames-ia32.h', |
| 100 '../../v8/src/frames-inl.h', |
| 101 '../../v8/src/frames.cc', |
| 102 '../../v8/src/frames.h', |
| 103 '../../v8/src/global-handles.cc', |
| 104 '../../v8/src/global-handles.h', |
| 105 '../../v8/src/globals.h', |
| 106 '../../v8/src/handles-inl.h', |
| 107 '../../v8/src/handles.cc', |
| 108 '../../v8/src/handles.h', |
| 109 '../../v8/src/hashmap.cc', |
| 110 '../../v8/src/hashmap.h', |
| 111 '../../v8/src/heap-inl.h', |
| 112 '../../v8/src/heap.cc', |
| 113 '../../v8/src/heap.h', |
| 114 '../../v8/src/ic-arm.cc', |
| 115 '../../v8/src/ic-ia32.cc', |
| 116 '../../v8/src/ic-inl.h', |
| 117 '../../v8/src/ic.cc', |
| 118 '../../v8/src/ic.h', |
| 119 '../../v8/src/interpreter-irregexp.cc', |
| 120 '../../v8/src/interpreter-irregexp.h', |
| 121 '../../v8/src/jsregexp-inl.h', |
| 122 '../../v8/src/jsregexp.cc', |
| 123 '../../v8/src/jsregexp.h', |
| 124 '../../v8/src/list-inl.h', |
| 125 '../../v8/src/list.h', |
| 126 '../../v8/src/log.cc', |
| 127 '../../v8/src/log.h', |
| 128 '../../v8/src/macro-assembler-arm.cc', |
| 129 '../../v8/src/macro-assembler-arm.h', |
| 130 '../../v8/src/macro-assembler-ia32.cc', |
| 131 '../../v8/src/macro-assembler-ia32.h', |
| 132 '../../v8/src/macro-assembler.h', |
| 133 '../../v8/src/mark-compact.cc', |
| 134 '../../v8/src/mark-compact.h', |
| 135 '../../v8/src/memory.h', |
| 136 '../../v8/src/messages.cc', |
| 137 '../../v8/src/messages.h', |
| 138 '../../v8/src/natives.h', |
| 139 '../../v8/src/objects-debug.cc', |
| 140 '../../v8/src/objects-inl.h', |
| 141 '../../v8/src/objects.cc', |
| 142 '../../v8/src/objects.h', |
| 143 '../../v8/src/parser.cc', |
| 144 '../../v8/src/parser.h', |
| 145 '../../v8/src/platform-freebsd.cc', |
| 146 '../../v8/src/platform-linux.cc', |
| 147 '../../v8/src/platform-macos.cc', |
| 148 '../../v8/src/platform-nullos.cc', |
| 149 '../../v8/src/platform-win32.cc', |
| 150 '../../v8/src/platform.h', |
| 151 '../../v8/src/prettyprinter.cc', |
| 152 '../../v8/src/prettyprinter.h', |
| 153 '../../v8/src/property.cc', |
| 154 '../../v8/src/property.h', |
| 155 '../../v8/src/regexp-macro-assembler-arm.cc', |
| 156 '../../v8/src/regexp-macro-assembler-arm.h', |
| 157 '../../v8/src/regexp-macro-assembler-ia32.cc', |
| 158 '../../v8/src/regexp-macro-assembler-ia32.h', |
| 159 '../../v8/src/regexp-macro-assembler-irregexp-inl.h', |
| 160 '../../v8/src/regexp-macro-assembler-irregexp.cc', |
| 161 '../../v8/src/regexp-macro-assembler-irregexp.h', |
| 162 '../../v8/src/regexp-macro-assembler-tracer.cc', |
| 163 '../../v8/src/regexp-macro-assembler-tracer.h', |
| 164 '../../v8/src/regexp-macro-assembler.cc', |
| 165 '../../v8/src/regexp-macro-assembler.h', |
| 166 '../../v8/src/regexp-stack.cc', |
| 167 '../../v8/src/regexp-stack.h', |
| 168 '../../v8/src/rewriter.cc', |
| 169 '../../v8/src/rewriter.h', |
| 170 '../../v8/src/runtime.cc', |
| 171 '../../v8/src/runtime.h', |
| 172 '../../v8/src/scanner.cc', |
| 173 '../../v8/src/scanner.h', |
| 174 '../../v8/src/scopeinfo.cc', |
| 175 '../../v8/src/scopeinfo.h', |
| 176 '../../v8/src/scopes.cc', |
| 177 '../../v8/src/scopes.h', |
| 178 '../../v8/src/serialize.cc', |
| 179 '../../v8/src/serialize.h', |
| 180 '../../v8/src/shell.h', |
| 181 '../../v8/src/simulator-arm.cc', |
| 182 '../../v8/src/smart-pointer.h', |
| 183 '../../v8/src/snapshot-common.cc', |
| 184 '../../v8/src/snapshot.h', |
| 185 '../../v8/src/spaces-inl.h', |
| 186 '../../v8/src/spaces.cc', |
| 187 '../../v8/src/spaces.h', |
| 188 '../../v8/src/string-stream.cc', |
| 189 '../../v8/src/string-stream.h', |
| 190 '../../v8/src/stub-cache-arm.cc', |
| 191 '../../v8/src/stub-cache-ia32.cc', |
| 192 '../../v8/src/stub-cache.cc', |
| 193 '../../v8/src/stub-cache.h', |
| 194 '../../v8/src/token.cc', |
| 195 '../../v8/src/token.h', |
| 196 '../../v8/src/top.cc', |
| 197 '../../v8/src/top.h', |
| 198 '../../v8/src/unicode-inl.h', |
| 199 '../../v8/src/unicode.cc', |
| 200 '../../v8/src/unicode.h', |
| 201 '../../v8/src/usage-analyzer.cc', |
| 202 '../../v8/src/usage-analyzer.h', |
| 203 '../../v8/src/utils.cc', |
| 204 '../../v8/src/utils.h', |
| 205 '../../v8/src/v8-counters.cc', |
| 206 '../../v8/src/v8-counters.h', |
| 207 '../../v8/src/v8.cc', |
| 208 '../../v8/src/v8.h', |
| 209 '../../v8/src/v8threads.cc', |
| 210 '../../v8/src/v8threads.h', |
| 211 '../../v8/src/variables.cc', |
| 212 '../../v8/src/variables.h', |
| 213 '../../v8/src/zone-inl.h', |
| 214 '../../v8/src/zone.cc', |
| 215 '../../v8/src/zone.h', |
| 216 ], |
| 217 'not_base_source_files': [ |
| 218 # These files are #included by others and are not meant to be compiled |
| 219 # directly. |
| 220 '../../v8/src/third_party/dtoa/dtoa.c', |
| 221 '../../v8/src/third_party/jscre/pcre_chartables.c', |
| 222 '../../v8/src/third_party/jscre/ucptable.cpp', |
| 223 ], |
| 224 'd8_source_files': [ |
| 225 '../../v8/src/d8-debug.cc', |
| 226 '../../v8/src/d8-readline.cc', |
| 227 '../../v8/src/d8.cc', |
| 228 ], |
| 229 }, |
| 230 'includes': [ |
| 231 '../common.gypi', |
| 232 ], |
| 233 'target_defaults': { |
| 234 'configurations': { |
| 235 'Debug': { |
| 236 'defines': [ |
| 237 'DEBUG', |
| 238 'ENABLE_DISASSEMBLER', |
| 239 'ENABLE_LOGGING_AND_PROFILING', |
| 240 ], |
| 241 }, |
| 242 }, |
| 243 'xcode_settings': { |
| 244 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', |
| 245 'GCC_ENABLE_CPP_RTTI': 'NO', |
| 246 }, |
| 247 }, |
| 248 'targets': [ |
| 249 # Targets that apply to any architecture. |
| 250 { |
| 251 'target_name': 'js2c', |
| 252 'type': 'none', |
| 253 'variables': { |
| 254 'library_files': [ |
| 255 '../../v8/src/runtime.js', |
| 256 '../../v8/src/v8natives.js', |
| 257 '../../v8/src/array.js', |
| 258 '../../v8/src/string.js', |
| 259 '../../v8/src/uri.js', |
| 260 '../../v8/src/math.js', |
| 261 '../../v8/src/messages.js', |
| 262 '../../v8/src/apinatives.js', |
| 263 '../../v8/src/debug-delay.js', |
| 264 '../../v8/src/mirror-delay.js', |
| 265 '../../v8/src/date-delay.js', |
| 266 '../../v8/src/regexp-delay.js', |
| 267 '../../v8/src/macros.py', |
| 268 ], |
| 269 }, |
| 270 'actions': [ |
| 271 { |
| 272 'action_name': 'js2c', |
| 273 'inputs': [ |
| 274 '../../v8/tools/js2c.py', |
| 275 '<@(library_files)', |
| 276 ], |
| 277 'outputs': [ |
| 278 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc', |
| 279 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries-empty.cc', |
| 280 ], |
| 281 'action': ['python', '../../v8/tools/js2c.py', '<@(_outputs)', 'CORE',
'<@(library_files)'], |
| 282 # TODO(sgk): figure out how to get gyp and SCons to play nice here. |
| 283 'conditions': [ |
| 284 ['OS=="linux"', {'action=': ['python', '${SOURCES[0]}', '${TARGETS}'
, 'CORE', '${SOURCES[1:]}'],}], |
| 285 ], |
| 286 }, |
| 287 ], |
| 288 }, |
| 289 { |
| 290 'target_name': 'd8_js2c', |
| 291 'type': 'none', |
| 292 'variables': { |
| 293 'library_files': [ |
| 294 '../../v8/src/d8.js', |
| 295 '../../v8/src/macros.py', |
| 296 ], |
| 297 }, |
| 298 'actions': [ |
| 299 { |
| 300 'action_name': 'js2c', |
| 301 'inputs': [ |
| 302 '../../v8/tools/js2c.py', |
| 303 '<@(library_files)', |
| 304 ], |
| 305 'extra_inputs': [ |
| 306 ], |
| 307 'outputs': [ |
| 308 '<(SHARED_INTERMEDIATE_DIR)/v8/d8-js.cc', |
| 309 '<(SHARED_INTERMEDIATE_DIR)/v8/d8-js-empty.cc', |
| 310 ], |
| 311 'action': ['python', '../../v8/tools/js2c.py', '<@(_outputs)', 'D8', '
<@(library_files)'], |
| 312 # TODO(sgk): figure out how to get gyp and SCons to play nice here. |
| 313 'conditions': [ |
| 314 ['OS=="linux"', {'action=': ['python', '${SOURCES[0]}', '${TARGETS}'
, 'D8', '${SOURCES[1:]}'],}], |
| 315 ], |
| 316 }, |
| 317 ], |
| 318 }, |
| 319 |
| 320 # Targets to build v8 for the native architecture (ia32). |
| 321 { |
| 322 'target_name': 'v8_base', |
| 323 'type': 'static_library', |
| 324 'include_dirs': [ |
| 325 '../../v8/src', |
| 326 ], |
| 327 'sources': [ |
| 328 '<@(base_source_files)', |
| 329 ], |
| 330 'sources!': [ |
| 331 '<@(not_base_source_files)', |
| 332 ], |
| 333 'sources/': [ |
| 334 ['exclude', '-arm\\.cc$'], |
| 335 ['exclude', 'src/platform-.*\\.cc$' ], |
| 336 ], |
| 337 'conditions': [ |
| 338 ['OS=="linux"', {'sources/': [['include', 'src/platform-linux\\.cc$']]}]
, |
| 339 ['OS=="mac"', {'sources/': [['include', 'src/platform-macos\\.cc$']]}], |
| 340 ['OS=="win"', { |
| 341 'sources/': [['include', 'src/platform-win32\\.cc$']], |
| 342 # 4355, 4800 came from common.vsprops |
| 343 # 4018, 4244 were a per file config on dtoa-config.c |
| 344 # TODO: It's probably possible and desirable to stop disabling the |
| 345 # dtoa-specific warnings by modifying dtoa as was done in Chromium |
| 346 # r9255. Refer to that revision for details. |
| 347 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], |
| 348 'all_dependent_settings': { |
| 349 'msvs_system_libraries': [ 'winmm.lib' ], |
| 350 }, |
| 351 }], |
| 352 ], |
| 353 }, |
| 354 { |
| 355 'target_name': 'v8_nosnapshot', |
| 356 'type': 'static_library', |
| 357 'dependencies': [ |
| 358 'js2c', |
| 359 'v8_base', |
| 360 ], |
| 361 'include_dirs': [ |
| 362 '../../v8/src', |
| 363 ], |
| 364 'sources': [ |
| 365 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc', |
| 366 '../../v8/src/snapshot-empty.cc', |
| 367 ], |
| 368 }, |
| 369 { |
| 370 'target_name': 'mksnapshot', |
| 371 'type': 'executable', |
| 372 'dependencies': [ |
| 373 'v8_nosnapshot', |
| 374 ], |
| 375 'sources': [ |
| 376 '../../v8/src/mksnapshot.cc', |
| 377 ], |
| 378 }, |
| 379 { |
| 380 'target_name': 'v8', |
| 381 'type': 'static_library', |
| 382 'dependencies': [ |
| 383 'js2c', |
| 384 'mksnapshot', |
| 385 'v8_base', |
| 386 ], |
| 387 'actions': [ |
| 388 { |
| 389 'action_name': 'mksnapshot', |
| 390 'inputs': [ |
| 391 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', |
| 392 ], |
| 393 'outputs': [ |
| 394 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 395 ], |
| 396 'action': ['<@(_inputs)', '<@(_outputs)'], |
| 397 }, |
| 398 ], |
| 399 'include_dirs': [ |
| 400 '../../v8/src', |
| 401 ], |
| 402 'sources': [ |
| 403 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries-empty.cc', |
| 404 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 405 ], |
| 406 'direct_dependent_settings': { |
| 407 'include_dirs': [ |
| 408 '../../v8/include', |
| 409 ], |
| 410 }, |
| 411 }, |
| 412 { |
| 413 'target_name': 'v8_shell', |
| 414 'type': 'executable', |
| 415 'dependencies': [ |
| 416 'v8', |
| 417 ], |
| 418 'sources': [ |
| 419 '../../v8/samples/shell.cc', |
| 420 ], |
| 421 'conditions': [ |
| 422 [ 'OS=="win"', { |
| 423 # This could be gotten by not setting chromium_code, if that's OK. |
| 424 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
| 425 }], |
| 426 ], |
| 427 }, |
| 428 { |
| 429 'target_name': 'd8', |
| 430 'type': 'executable', |
| 431 'dependencies': [ |
| 432 'd8_js2c', |
| 433 'v8', |
| 434 ], |
| 435 'include_dirs': [ |
| 436 '../../v8/src', |
| 437 ], |
| 438 'sources': [ |
| 439 '<(SHARED_INTERMEDIATE_DIR)/v8/d8-js.cc', |
| 440 '<@(d8_source_files)', |
| 441 ], |
| 442 'conditions': [ |
| 443 [ 'OS=="linux"', { |
| 444 'link_settings': { 'libraries': [ '-lreadline' ] }, |
| 445 }], |
| 446 [ 'OS=="mac"', { |
| 447 'link_settings': { 'libraries': [ |
| 448 '$(SDKROOT)/usr/lib/libreadline.dylib' |
| 449 ]}, |
| 450 }], |
| 451 [ 'OS=="win"', { |
| 452 'sources!': [ '../../v8/src/d8-readline.cc' ], |
| 453 }], |
| 454 ], |
| 455 }, |
| 456 |
| 457 # ARM targets, to test ARM code generation. These use an ARM simulator |
| 458 # (src/simulator-arm.cc). The ARM targets are not snapshot-enabled. |
| 459 { |
| 460 'target_name': 'v8_arm', |
| 461 'type': 'static_library', |
| 462 'dependencies': [ |
| 463 'js2c', |
| 464 ], |
| 465 'defines': [ |
| 466 'ARM', |
| 467 ], |
| 468 'include_dirs': [ |
| 469 '../../v8/src', |
| 470 ], |
| 471 'sources': [ |
| 472 '<@(base_source_files)', |
| 473 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc', |
| 474 '../../v8/src/snapshot-empty.cc', |
| 475 ], |
| 476 'sources!': [ |
| 477 '<@(not_base_source_files)', |
| 478 ], |
| 479 'sources/': [ |
| 480 ['exclude', '-ia32\\.cc$'], |
| 481 ['exclude', 'src/platform-.*\\.cc$' ], |
| 482 ], |
| 483 'direct_dependent_settings': { |
| 484 'include_dirs': [ |
| 485 '../../v8/include', |
| 486 ], |
| 487 }, |
| 488 'conditions': [ |
| 489 ['OS=="linux"', {'sources/': [['include', 'src/platform-linux\\.cc$']]}]
, |
| 490 ['OS=="mac"', {'sources/': [['include', 'src/platform-macos\\.cc$']]}], |
| 491 ['OS=="win"', { |
| 492 'sources/': [['include', 'src/platform-win32\\.cc$']], |
| 493 # 4355, 4800 came from common.vsprops |
| 494 # 4018, 4244 were a per file config on dtoa-config.c |
| 495 # TODO: It's probably possible and desirable to stop disabling the |
| 496 # dtoa-specific warnings by modifying dtoa as was done in Chromium |
| 497 # r9255. Refer to that revision for details. |
| 498 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], |
| 499 }], |
| 500 ], |
| 501 }, |
| 502 { |
| 503 'target_name': 'v8_shell_arm', |
| 504 'type': 'executable', |
| 505 'dependencies': [ |
| 506 'v8_arm', |
| 507 ], |
| 508 'defines': [ |
| 509 'ARM', |
| 510 ], |
| 511 'sources': [ |
| 512 '../../v8/samples/shell.cc', |
| 513 ], |
| 514 'conditions': [ |
| 515 [ 'OS=="win"', { |
| 516 # This could be gotten by not setting chromium_code, if that's OK. |
| 517 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
| 518 }], |
| 519 ], |
| 520 }, |
| 521 { |
| 522 'target_name': 'd8_arm', |
| 523 'type': 'executable', |
| 524 'dependencies': [ |
| 525 'd8_js2c', |
| 526 'v8_arm', |
| 527 ], |
| 528 'defines': [ |
| 529 'ARM', |
| 530 ], |
| 531 'include_dirs': [ |
| 532 '../../v8/src', |
| 533 ], |
| 534 'sources': [ |
| 535 '<(SHARED_INTERMEDIATE_DIR)/v8/d8-js.cc', |
| 536 '<@(d8_source_files)', |
| 537 ], |
| 538 'conditions': [ |
| 539 [ 'OS=="linux"', { |
| 540 'link_settings': { 'libraries': [ '-lreadline' ] }, |
| 541 }], |
| 542 [ 'OS=="mac"', { |
| 543 'link_settings': { 'libraries': [ |
| 544 '$(SDKROOT)/usr/lib/libreadline.dylib' |
| 545 ]}, |
| 546 }], |
| 547 [ 'OS=="win"', { |
| 548 'sources!': [ '../../v8/src/d8-readline.cc' ], |
| 549 }], |
| 550 ], |
| 551 }, |
| 552 ], |
| 553 } |
OLD | NEW |