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