| 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)', | |
| 39 }, | 38 }, |
| 40 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], | 39 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], |
| 41 'targets': [ | 40 'targets': [ |
| 42 { | 41 { |
| 43 'target_name': 'v8', | 42 'target_name': 'v8', |
| 44 'dependencies_traverse': 1, | 43 'dependencies_traverse': 1, |
| 45 'dependencies': ['v8_maybe_snapshot'], | 44 'dependencies': ['v8_maybe_snapshot'], |
| 46 'conditions': [ | 45 'conditions': [ |
| 47 ['want_separate_host_toolset==1', { | 46 ['want_separate_host_toolset==1', { |
| 48 'toolsets': ['host', 'target'], | 47 'toolsets': ['host', 'target'], |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 }], | 375 }], |
| 377 ], | 376 ], |
| 378 }, | 377 }, |
| 379 { | 378 { |
| 380 'target_name': 'v8_base', | 379 'target_name': 'v8_base', |
| 381 'type': 'static_library', | 380 'type': 'static_library', |
| 382 'dependencies': [ | 381 'dependencies': [ |
| 383 'v8_libbase', | 382 'v8_libbase', |
| 384 'v8_libsampler', | 383 'v8_libsampler', |
| 385 ], | 384 ], |
| 386 'objs': ['foo.o'], | |
| 387 'variables': { | 385 'variables': { |
| 388 'optimize': 'max', | 386 'optimize': 'max', |
| 389 }, | 387 }, |
| 390 'include_dirs+': [ | 388 'include_dirs+': [ |
| 391 '..', | 389 '..', |
| 392 '<(DEPTH)', | 390 '<(DEPTH)', |
| 393 '<(SHARED_INTERMEDIATE_DIR)' | |
| 394 ], | 391 ], |
| 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 }], | |
| 411 'sources': [ ### gcmole(all) ### | 392 'sources': [ ### gcmole(all) ### |
| 412 '../include/v8-debug.h', | 393 '../include/v8-debug.h', |
| 413 '../include/v8-experimental.h', | 394 '../include/v8-experimental.h', |
| 414 '../include/v8-platform.h', | 395 '../include/v8-platform.h', |
| 415 '../include/v8-profiler.h', | 396 '../include/v8-profiler.h', |
| 416 '../include/v8-testing.h', | 397 '../include/v8-testing.h', |
| 417 '../include/v8-util.h', | 398 '../include/v8-util.h', |
| 418 '../include/v8-version.h', | 399 '../include/v8-version.h', |
| 419 '../include/v8.h', | 400 '../include/v8.h', |
| 420 '../include/v8config.h', | 401 '../include/v8config.h', |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 'interpreter/bytecode-dead-code-optimizer.h', | 922 'interpreter/bytecode-dead-code-optimizer.h', |
| 942 'interpreter/bytecode-decoder.cc', | 923 'interpreter/bytecode-decoder.cc', |
| 943 'interpreter/bytecode-decoder.h', | 924 'interpreter/bytecode-decoder.h', |
| 944 'interpreter/bytecode-flags.cc', | 925 'interpreter/bytecode-flags.cc', |
| 945 'interpreter/bytecode-flags.h', | 926 'interpreter/bytecode-flags.h', |
| 946 'interpreter/bytecode-generator.cc', | 927 'interpreter/bytecode-generator.cc', |
| 947 'interpreter/bytecode-generator.h', | 928 'interpreter/bytecode-generator.h', |
| 948 'interpreter/bytecode-label.h', | 929 'interpreter/bytecode-label.h', |
| 949 'interpreter/bytecode-peephole-optimizer.cc', | 930 'interpreter/bytecode-peephole-optimizer.cc', |
| 950 'interpreter/bytecode-peephole-optimizer.h', | 931 'interpreter/bytecode-peephole-optimizer.h', |
| 951 'interpreter/bytecode-peephole-table.h', | |
| 952 'interpreter/bytecode-pipeline.cc', | 932 'interpreter/bytecode-pipeline.cc', |
| 953 'interpreter/bytecode-pipeline.h', | 933 'interpreter/bytecode-pipeline.h', |
| 954 'interpreter/bytecode-register.cc', | 934 'interpreter/bytecode-register.cc', |
| 955 'interpreter/bytecode-register.h', | 935 'interpreter/bytecode-register.h', |
| 956 'interpreter/bytecode-register-allocator.cc', | 936 'interpreter/bytecode-register-allocator.cc', |
| 957 'interpreter/bytecode-register-allocator.h', | 937 'interpreter/bytecode-register-allocator.h', |
| 958 'interpreter/bytecode-register-optimizer.cc', | 938 'interpreter/bytecode-register-optimizer.cc', |
| 959 'interpreter/bytecode-register-optimizer.h', | 939 'interpreter/bytecode-register-optimizer.h', |
| 960 'interpreter/bytecode-traits.h', | 940 'interpreter/bytecode-traits.h', |
| 961 'interpreter/constant-array-builder.cc', | 941 'interpreter/constant-array-builder.cc', |
| (...skipping 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2328 '<(icu_gyp_path):icuuc', | 2308 '<(icu_gyp_path):icuuc', |
| 2329 ] | 2309 ] |
| 2330 }], | 2310 }], |
| 2331 ['want_separate_host_toolset==1', { | 2311 ['want_separate_host_toolset==1', { |
| 2332 'toolsets': ['host'], | 2312 'toolsets': ['host'], |
| 2333 }, { | 2313 }, { |
| 2334 'toolsets': ['target'], | 2314 'toolsets': ['target'], |
| 2335 }], | 2315 }], |
| 2336 ], | 2316 ], |
| 2337 }, | 2317 }, |
| 2338 { | |
| 2339 'target_name': 'mkpeephole', | |
| 2340 'type': 'executable', | |
| 2341 'dependencies': [ 'v8_libbase' ], | |
| 2342 'include_dirs+': [ | |
| 2343 '..', | |
| 2344 ], | |
| 2345 'sources': [ | |
| 2346 'interpreter/bytecode-peephole-table.h', | |
| 2347 'interpreter/bytecodes.h', | |
| 2348 'interpreter/bytecodes.cc', | |
| 2349 'interpreter/mkpeephole.cc' | |
| 2350 ], | |
| 2351 'conditions': [ | |
| 2352 ['want_separate_host_toolset==1', { | |
| 2353 'toolsets': ['host'], | |
| 2354 }, { | |
| 2355 'toolsets': ['target'], | |
| 2356 }], | |
| 2357 ], | |
| 2358 }, | |
| 2359 ], | 2318 ], |
| 2360 } | 2319 } |
| OLD | NEW |