| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2009 Google Inc. All rights reserved. | 2 # Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 # | 29 # |
| 30 | 30 |
| 31 { | 31 { |
| 32 # The following defines turn WebKit features on and off. | 32 # The following defines turn WebKit features on and off. |
| 33 'variables': { | 33 'variables': { |
| 34 'feature_defines': [ | 34 'feature_defines': [ |
| 35 'ENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0', | 35 'ENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0', |
| 36 # WTF_USE_DYNAMIC_ANNOTATIONS=1 may be defined in build/common.gypi | 36 # WTF_USE_DYNAMIC_ANNOTATIONS=1 may be defined in build/common.gypi |
| 37 # We can't define it here because it should be present only | 37 # We can't define it here because it should be present only |
| 38 # in Debug or release_valgrind_build=1 builds. | 38 # in Debug or release_valgrind_build=1 builds. |
| 39 '<@(public_feature_defines)' |
| 39 ], | 40 ], |
| 41 'public_feature_defines': [ |
| 42 ], |
| 43 |
| 40 # We have to nest variables inside variables so that they can be overridden | 44 # We have to nest variables inside variables so that they can be overridden |
| 41 # through GYP_DEFINES. | 45 # through GYP_DEFINES. |
| 42 'variables': { | 46 'variables': { |
| 43 # Enables the Oilpan garbage-collection infrastructure. | 47 # Enables the Oilpan garbage-collection infrastructure. |
| 44 'enable_oilpan%': 0, | 48 'enable_oilpan%': 0, |
| 45 'blink_gc_profiling%': 0, | 49 'blink_gc_profiling%': 0, |
| 46 'blink_logging_always_on%': 0, | 50 'blink_logging_always_on%': 0, |
| 47 }, | 51 }, |
| 48 'conditions': [ | 52 'conditions': [ |
| 49 ['use_concatenated_impulse_responses==1', { | 53 ['use_concatenated_impulse_responses==1', { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 69 # allow most WebAudio features to work on Android. | 73 # allow most WebAudio features to work on Android. |
| 70 'ENABLE_WEB_AUDIO=1', | 74 'ENABLE_WEB_AUDIO=1', |
| 71 ], | 75 ], |
| 72 }], | 76 }], |
| 73 ['use_default_render_theme==1', { | 77 ['use_default_render_theme==1', { |
| 74 'feature_defines': [ | 78 'feature_defines': [ |
| 75 'WTF_USE_DEFAULT_RENDER_THEME=1', | 79 'WTF_USE_DEFAULT_RENDER_THEME=1', |
| 76 ], | 80 ], |
| 77 }], | 81 }], |
| 78 ['enable_oilpan==1', { | 82 ['enable_oilpan==1', { |
| 79 'feature_defines': [ | 83 'public_feature_defines': [ |
| 80 'ENABLE_OILPAN=1', | 84 'ENABLE_OILPAN=1', |
| 81 ], | 85 ], |
| 82 }], | 86 }], |
| 83 ['blink_gc_profiling==1', { | 87 ['blink_gc_profiling==1', { |
| 84 'feature_defines': [ | 88 'feature_defines': [ |
| 85 'ENABLE_GC_PROFILING=1', | 89 'ENABLE_GC_PROFILING=1', |
| 86 ], | 90 ], |
| 87 }], | 91 }], |
| 88 ['blink_logging_always_on==1', { | 92 ['blink_logging_always_on==1', { |
| 89 'feature_defines': [ | 93 'feature_defines': [ |
| 90 'LOG_DISABLED=0', | 94 'LOG_DISABLED=0', |
| 91 ], | 95 ], |
| 92 }], | 96 }], |
| 93 ], | 97 ], |
| 94 }, | 98 }, |
| 95 } | 99 } |
| OLD | NEW |