| OLD | NEW |
| 1 # Copyright (C) 2012 Google Inc. All rights reserved. | 1 # Copyright (C) 2012 Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 'targets': [ | 43 'targets': [ |
| 44 { | 44 { |
| 45 # This target sets up defines and includes that are required by WTF and | 45 # This target sets up defines and includes that are required by WTF and |
| 46 # its dependents. | 46 # its dependents. |
| 47 'target_name': 'wtf_config', | 47 'target_name': 'wtf_config', |
| 48 'type': 'none', | 48 'type': 'none', |
| 49 'direct_dependent_settings': { | 49 'direct_dependent_settings': { |
| 50 'defines': [ | 50 'defines': [ |
| 51 # Import features_defines from features.gypi | 51 # Import features_defines from features.gypi |
| 52 '<@(feature_defines)', | 52 '<@(feature_defines)', |
| 53 | |
| 54 # Turns on #if PLATFORM(CHROMIUM) | |
| 55 'BUILDING_CHROMIUM__=1', | |
| 56 ], | 53 ], |
| 57 'conditions': [ | 54 'conditions': [ |
| 58 ['OS=="win"', { | 55 ['OS=="win"', { |
| 59 'defines': [ | 56 'defines': [ |
| 60 '__STD_C', | 57 '__STD_C', |
| 61 '_CRT_SECURE_NO_DEPRECATE', | 58 '_CRT_SECURE_NO_DEPRECATE', |
| 62 '_SCL_SECURE_NO_DEPRECATE', | 59 '_SCL_SECURE_NO_DEPRECATE', |
| 63 'CRASH=__debugbreak', | 60 'CRASH=__debugbreak', |
| 64 ], | 61 ], |
| 65 'include_dirs': [ | 62 'include_dirs': [ |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 'sources/': [ | 141 'sources/': [ |
| 145 ['exclude', 'Mac\\.mm$'], | 142 ['exclude', 'Mac\\.mm$'], |
| 146 # mac is the only OS that uses WebKit's copy of TCMalloc. | 143 # mac is the only OS that uses WebKit's copy of TCMalloc. |
| 147 ['exclude', 'TC.*\\.(cpp|h)$'], | 144 ['exclude', 'TC.*\\.(cpp|h)$'], |
| 148 ], | 145 ], |
| 149 }], | 146 }], |
| 150 ], | 147 ], |
| 151 }, | 148 }, |
| 152 ] | 149 ] |
| 153 } | 150 } |
| OLD | NEW |