| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 { | 28 { |
| 29 'variables': { | 29 'variables': { |
| 30 'v8_code': 1, | 30 'v8_code': 1, |
| 31 'v8_random_seed%': 314159265, | 31 'v8_random_seed%': 314159265, |
| 32 'v8_vector_stores%': 0, | 32 'v8_vector_stores%': 0, |
| 33 'embed_script%': "", | 33 'embed_script%': "", |
| 34 'warmup_script%': "", | 34 'warmup_script%': "", |
| 35 'v8_extra_library_files%': [], | 35 'v8_extra_library_files%': [], |
| 36 'v8_experimental_extra_library_files%': [], | 36 'v8_experimental_extra_library_files%': [], |
| 37 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL
E_SUFFIX)', | 37 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL
E_SUFFIX)', |
| 38 'mkpeephole_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkpeephole<(EXECUTABL
E_SUFFIX)', |
| 38 }, | 39 }, |
| 39 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], | 40 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], |
| 40 'targets': [ | 41 'targets': [ |
| 41 { | 42 { |
| 42 'target_name': 'v8', | 43 'target_name': 'v8', |
| 43 'dependencies_traverse': 1, | 44 'dependencies_traverse': 1, |
| 44 'dependencies': ['v8_maybe_snapshot'], | 45 'dependencies': ['v8_maybe_snapshot'], |
| 45 'conditions': [ | 46 'conditions': [ |
| 46 ['want_separate_host_toolset==1', { | 47 ['want_separate_host_toolset==1', { |
| 47 'toolsets': ['host', 'target'], | 48 'toolsets': ['host', 'target'], |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 }], | 376 }], |
| 376 ], | 377 ], |
| 377 }, | 378 }, |
| 378 { | 379 { |
| 379 'target_name': 'v8_base', | 380 'target_name': 'v8_base', |
| 380 'type': 'static_library', | 381 'type': 'static_library', |
| 381 'dependencies': [ | 382 'dependencies': [ |
| 382 'v8_libbase', | 383 'v8_libbase', |
| 383 'v8_libsampler', | 384 'v8_libsampler', |
| 384 ], | 385 ], |
| 386 'objs': ['foo.o'], |
| 385 'variables': { | 387 'variables': { |
| 386 'optimize': 'max', | 388 'optimize': 'max', |
| 387 }, | 389 }, |
| 388 'include_dirs+': [ | 390 'include_dirs+': [ |
| 389 '..', | 391 '..', |
| 390 '<(DEPTH)', | 392 '<(DEPTH)', |
| 393 '<(SHARED_INTERMEDIATE_DIR)' |
| 391 ], | 394 ], |
| 395 'actions':[{ |
| 396 'action_name': 'run mkpeephole', |
| 397 'inputs': ['<(mkpeephole_exec)'], |
| 398 'outputs': ['<(INTERMEDIATE_DIR)/bytecode-peephole-table.cc'], |
| 399 'action': ['<(mkpeephole_exec)', '<(INTERMEDIATE_DIR)/bytecode-peephole-
table.cc' ], |
| 400 'process_outputs_as_sources': 1, |
| 401 'conditions': [ |
| 402 ['want_separate_host_toolset==1', { |
| 403 'dependencies': ['mkpeephole#host'], |
| 404 'toolsets': ['host'], |
| 405 }, { |
| 406 'dependencies': ['mkpeephole'], |
| 407 'toolsets': ['target'], |
| 408 }], |
| 409 ], |
| 410 }], |
| 392 'sources': [ ### gcmole(all) ### | 411 'sources': [ ### gcmole(all) ### |
| 393 '../include/v8-debug.h', | 412 '../include/v8-debug.h', |
| 394 '../include/v8-experimental.h', | 413 '../include/v8-experimental.h', |
| 395 '../include/v8-platform.h', | 414 '../include/v8-platform.h', |
| 396 '../include/v8-profiler.h', | 415 '../include/v8-profiler.h', |
| 397 '../include/v8-testing.h', | 416 '../include/v8-testing.h', |
| 398 '../include/v8-util.h', | 417 '../include/v8-util.h', |
| 399 '../include/v8-version.h', | 418 '../include/v8-version.h', |
| 400 '../include/v8.h', | 419 '../include/v8.h', |
| 401 '../include/v8config.h', | 420 '../include/v8config.h', |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 918 'interpreter/bytecode-dead-code-optimizer.h', | 937 'interpreter/bytecode-dead-code-optimizer.h', |
| 919 'interpreter/bytecode-decoder.cc', | 938 'interpreter/bytecode-decoder.cc', |
| 920 'interpreter/bytecode-decoder.h', | 939 'interpreter/bytecode-decoder.h', |
| 921 'interpreter/bytecode-flags.cc', | 940 'interpreter/bytecode-flags.cc', |
| 922 'interpreter/bytecode-flags.h', | 941 'interpreter/bytecode-flags.h', |
| 923 'interpreter/bytecode-generator.cc', | 942 'interpreter/bytecode-generator.cc', |
| 924 'interpreter/bytecode-generator.h', | 943 'interpreter/bytecode-generator.h', |
| 925 'interpreter/bytecode-label.h', | 944 'interpreter/bytecode-label.h', |
| 926 'interpreter/bytecode-peephole-optimizer.cc', | 945 'interpreter/bytecode-peephole-optimizer.cc', |
| 927 'interpreter/bytecode-peephole-optimizer.h', | 946 'interpreter/bytecode-peephole-optimizer.h', |
| 947 'interpreter/bytecode-peephole-table.h', |
| 928 'interpreter/bytecode-pipeline.cc', | 948 'interpreter/bytecode-pipeline.cc', |
| 929 'interpreter/bytecode-pipeline.h', | 949 'interpreter/bytecode-pipeline.h', |
| 930 'interpreter/bytecode-register.cc', | 950 'interpreter/bytecode-register.cc', |
| 931 'interpreter/bytecode-register.h', | 951 'interpreter/bytecode-register.h', |
| 932 'interpreter/bytecode-register-allocator.cc', | 952 'interpreter/bytecode-register-allocator.cc', |
| 933 'interpreter/bytecode-register-allocator.h', | 953 'interpreter/bytecode-register-allocator.h', |
| 934 'interpreter/bytecode-register-optimizer.cc', | 954 'interpreter/bytecode-register-optimizer.cc', |
| 935 'interpreter/bytecode-register-optimizer.h', | 955 'interpreter/bytecode-register-optimizer.h', |
| 936 'interpreter/bytecode-traits.h', | 956 'interpreter/bytecode-traits.h', |
| 937 'interpreter/constant-array-builder.cc', | 957 'interpreter/constant-array-builder.cc', |
| (...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2295 '<(icu_gyp_path):icuuc', | 2315 '<(icu_gyp_path):icuuc', |
| 2296 ] | 2316 ] |
| 2297 }], | 2317 }], |
| 2298 ['want_separate_host_toolset==1', { | 2318 ['want_separate_host_toolset==1', { |
| 2299 'toolsets': ['host'], | 2319 'toolsets': ['host'], |
| 2300 }, { | 2320 }, { |
| 2301 'toolsets': ['target'], | 2321 'toolsets': ['target'], |
| 2302 }], | 2322 }], |
| 2303 ], | 2323 ], |
| 2304 }, | 2324 }, |
| 2325 { |
| 2326 'target_name': 'mkpeephole', |
| 2327 'type': 'executable', |
| 2328 'dependencies': [ 'v8_libbase' ], |
| 2329 'include_dirs+': [ |
| 2330 '..', |
| 2331 ], |
| 2332 'sources': [ |
| 2333 'interpreter/bytecode-peephole-table.h', |
| 2334 'interpreter/bytecodes.h', |
| 2335 'interpreter/bytecodes.cc', |
| 2336 'interpreter/mkpeephole.cc' |
| 2337 ], |
| 2338 'conditions': [ |
| 2339 ['want_separate_host_toolset==1', { |
| 2340 'toolsets': ['host'], |
| 2341 }, { |
| 2342 'toolsets': ['target'], |
| 2343 }], |
| 2344 ], |
| 2345 }, |
| 2305 ], | 2346 ], |
| 2306 } | 2347 } |
| OLD | NEW |