| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 # debug. This may still be 2x slower than Release (or worse). | 86 # debug. This may still be 2x slower than Release (or worse). |
| 87 # 2 - Turn on optimizations, and also #undef DEBUG / #define NDEBUG | 87 # 2 - Turn on optimizations, and also #undef DEBUG / #define NDEBUG |
| 88 # (but leave V8_ENABLE_CHECKS and most other assertions enabled. | 88 # (but leave V8_ENABLE_CHECKS and most other assertions enabled. |
| 89 # This may cause some v8 tests to fail in the Debug configuration. | 89 # This may cause some v8 tests to fail in the Debug configuration. |
| 90 # This roughly matches the performance of a Release build and can | 90 # This roughly matches the performance of a Release build and can |
| 91 # be used by embedders that need to build their own code as debug | 91 # be used by embedders that need to build their own code as debug |
| 92 # but don't want or need a debug version of V8. This should produce | 92 # but don't want or need a debug version of V8. This should produce |
| 93 # near-release speeds. | 93 # near-release speeds. |
| 94 'v8_optimized_debug%': 0, | 94 'v8_optimized_debug%': 0, |
| 95 | 95 |
| 96 # Use external files for startup data blobs: |
| 97 # the JS builtins sources and the start snapshot. |
| 98 # Embedders that don't use standalone.gypi will need to add |
| 99 # their own default value. |
| 100 'v8_use_external_startup_data%': 0, |
| 101 |
| 96 # Relative path to icu.gyp from this file. | 102 # Relative path to icu.gyp from this file. |
| 97 'icu_gyp_path': '../third_party/icu/icu.gyp', | 103 'icu_gyp_path': '../third_party/icu/icu.gyp', |
| 98 | 104 |
| 99 'conditions': [ | 105 'conditions': [ |
| 100 ['(v8_target_arch=="arm" and host_arch!="arm") or \ | 106 ['(v8_target_arch=="arm" and host_arch!="arm") or \ |
| 101 (v8_target_arch=="arm64" and host_arch!="arm64") or \ | 107 (v8_target_arch=="arm64" and host_arch!="arm64") or \ |
| 102 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \ | 108 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \ |
| 103 (v8_target_arch=="mips64el" and host_arch!="mips64el") or \ | 109 (v8_target_arch=="mips64el" and host_arch!="mips64el") or \ |
| 104 (v8_target_arch=="x64" and host_arch!="x64") or \ | 110 (v8_target_arch=="x64" and host_arch!="x64") or \ |
| 105 (OS=="android" or OS=="qnx")', { | 111 (OS=="android" or OS=="qnx")', { |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 ], | 450 ], |
| 445 }], | 451 }], |
| 446 ['clang==1 and OS=="win"', { | 452 ['clang==1 and OS=="win"', { |
| 447 'make_global_settings': [ | 453 'make_global_settings': [ |
| 448 # On Windows, gyp's ninja generator only looks at CC. | 454 # On Windows, gyp's ninja generator only looks at CC. |
| 449 ['CC', '<(make_clang_dir)/bin/clang-cl'], | 455 ['CC', '<(make_clang_dir)/bin/clang-cl'], |
| 450 ], | 456 ], |
| 451 }], | 457 }], |
| 452 ], | 458 ], |
| 453 } | 459 } |
| OLD | NEW |