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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 'interpreter/bytecode-dead-code-optimizer.h', | 945 'interpreter/bytecode-dead-code-optimizer.h', |
927 'interpreter/bytecode-decoder.cc', | 946 'interpreter/bytecode-decoder.cc', |
928 'interpreter/bytecode-decoder.h', | 947 'interpreter/bytecode-decoder.h', |
929 'interpreter/bytecode-flags.cc', | 948 'interpreter/bytecode-flags.cc', |
930 'interpreter/bytecode-flags.h', | 949 'interpreter/bytecode-flags.h', |
931 'interpreter/bytecode-generator.cc', | 950 'interpreter/bytecode-generator.cc', |
932 'interpreter/bytecode-generator.h', | 951 'interpreter/bytecode-generator.h', |
933 'interpreter/bytecode-label.h', | 952 'interpreter/bytecode-label.h', |
934 'interpreter/bytecode-peephole-optimizer.cc', | 953 'interpreter/bytecode-peephole-optimizer.cc', |
935 'interpreter/bytecode-peephole-optimizer.h', | 954 'interpreter/bytecode-peephole-optimizer.h', |
| 955 'interpreter/bytecode-peephole-table.h', |
936 'interpreter/bytecode-pipeline.cc', | 956 'interpreter/bytecode-pipeline.cc', |
937 'interpreter/bytecode-pipeline.h', | 957 'interpreter/bytecode-pipeline.h', |
938 'interpreter/bytecode-register.cc', | 958 'interpreter/bytecode-register.cc', |
939 'interpreter/bytecode-register.h', | 959 'interpreter/bytecode-register.h', |
940 'interpreter/bytecode-register-allocator.cc', | 960 'interpreter/bytecode-register-allocator.cc', |
941 'interpreter/bytecode-register-allocator.h', | 961 'interpreter/bytecode-register-allocator.h', |
942 'interpreter/bytecode-register-optimizer.cc', | 962 'interpreter/bytecode-register-optimizer.cc', |
943 'interpreter/bytecode-register-optimizer.h', | 963 'interpreter/bytecode-register-optimizer.h', |
944 'interpreter/bytecode-traits.h', | 964 'interpreter/bytecode-traits.h', |
945 'interpreter/constant-array-builder.cc', | 965 'interpreter/constant-array-builder.cc', |
(...skipping 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2312 '<(icu_gyp_path):icuuc', | 2332 '<(icu_gyp_path):icuuc', |
2313 ] | 2333 ] |
2314 }], | 2334 }], |
2315 ['want_separate_host_toolset==1', { | 2335 ['want_separate_host_toolset==1', { |
2316 'toolsets': ['host'], | 2336 'toolsets': ['host'], |
2317 }, { | 2337 }, { |
2318 'toolsets': ['target'], | 2338 'toolsets': ['target'], |
2319 }], | 2339 }], |
2320 ], | 2340 ], |
2321 }, | 2341 }, |
| 2342 { |
| 2343 'target_name': 'mkpeephole', |
| 2344 'type': 'executable', |
| 2345 'dependencies': [ 'v8_libbase' ], |
| 2346 'include_dirs+': [ |
| 2347 '..', |
| 2348 ], |
| 2349 'sources': [ |
| 2350 'interpreter/bytecode-peephole-table.h', |
| 2351 'interpreter/bytecodes.h', |
| 2352 'interpreter/bytecodes.cc', |
| 2353 'interpreter/mkpeephole.cc' |
| 2354 ], |
| 2355 'conditions': [ |
| 2356 ['want_separate_host_toolset==1', { |
| 2357 'toolsets': ['host'], |
| 2358 }, { |
| 2359 'toolsets': ['target'], |
| 2360 }], |
| 2361 ], |
| 2362 }, |
2322 ], | 2363 ], |
2323 } | 2364 } |
OLD | NEW |