| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 'target_arch%': '<(target_arch)', | 70 'target_arch%': '<(target_arch)', |
| 71 'v8_target_arch%': '<(v8_target_arch)', | 71 'v8_target_arch%': '<(v8_target_arch)', |
| 72 'werror%': '-Werror', | 72 'werror%': '-Werror', |
| 73 | 73 |
| 74 # .gyp files or targets should set v8_code to 1 if they build V8 specific | 74 # .gyp files or targets should set v8_code to 1 if they build V8 specific |
| 75 # code, as opposed to external code. This variable is used to control such | 75 # code, as opposed to external code. This variable is used to control such |
| 76 # things as the set of warnings to enable, and whether warnings are treated | 76 # things as the set of warnings to enable, and whether warnings are treated |
| 77 # as errors. | 77 # as errors. |
| 78 'v8_code%': 0, | 78 'v8_code%': 0, |
| 79 | 79 |
| 80 # Speeds up Debug builds: |
| 81 # 0 - Compiler optimizations off (debuggable) (default). This may |
| 82 # be 5x slower than Release (or worse). |
| 83 # 1 - Turn on compiler optimizations. This may be hard or impossible to |
| 84 # debug. This may still be 2x slower than Release (or worse). |
| 85 # 2 - Turn on optimizations, and also #undef DEBUG / #define NDEBUG |
| 86 # (but leave V8_ENABLE_CHECKS and most other assertions enabled. |
| 87 # This may cause some v8 tests to fail in the Debug configuration. |
| 88 # This roughly matches the performance of a Release build and can |
| 89 # be used by embedders that need to build their own code as debug |
| 90 # but don't want or need a debug version of V8. This should produce |
| 91 # near-release speeds. |
| 92 'v8_optimized_debug%': 0, |
| 93 |
| 80 # Relative path to icu.gyp from this file. | 94 # Relative path to icu.gyp from this file. |
| 81 'icu_gyp_path': '../third_party/icu/icu.gyp', | 95 'icu_gyp_path': '../third_party/icu/icu.gyp', |
| 82 | 96 |
| 83 'conditions': [ | 97 'conditions': [ |
| 84 ['(v8_target_arch=="arm" and host_arch!="arm") or \ | 98 ['(v8_target_arch=="arm" and host_arch!="arm") or \ |
| 85 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \ | 99 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \ |
| 86 (v8_target_arch=="x64" and host_arch!="x64") or \ | 100 (v8_target_arch=="x64" and host_arch!="x64") or \ |
| 87 (OS=="android")', { | 101 (OS=="android")', { |
| 88 'want_separate_host_toolset': 1, | 102 'want_separate_host_toolset': 1, |
| 89 }, { | 103 }, { |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 }, | 293 }, |
| 280 'target_conditions': [ | 294 'target_conditions': [ |
| 281 ['_type!="static_library"', { | 295 ['_type!="static_library"', { |
| 282 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 296 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 283 }], | 297 }], |
| 284 ], # target_conditions | 298 ], # target_conditions |
| 285 }, # target_defaults | 299 }, # target_defaults |
| 286 }], # OS=="mac" | 300 }], # OS=="mac" |
| 287 ], | 301 ], |
| 288 } | 302 } |
| OLD | NEW |