| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 'conditions': [ | 48 'conditions': [ |
| 49 ['OS=="win" and component=="shared_library"', { | 49 ['OS=="win" and component=="shared_library"', { |
| 50 'defines': [ | 50 'defines': [ |
| 51 'USING_V8_SHARED', | 51 'USING_V8_SHARED', |
| 52 ], | 52 ], |
| 53 }], | 53 }], |
| 54 ['OS=="win"', { | 54 ['OS=="win"', { |
| 55 'defines': [ | 55 'defines': [ |
| 56 '__PRETTY_FUNCTION__=__FUNCTION__', | 56 '__PRETTY_FUNCTION__=__FUNCTION__', |
| 57 ], | 57 ], |
| 58 'sources/': [ |
| 59 ['exclude', 'Posix\\.cpp$'], |
| 60 ], |
| 61 },{ # OS!="win" |
| 62 'sources/': [ |
| 63 ['exclude', 'Win\\.cpp$'], |
| 64 ], |
| 58 }], | 65 }], |
| 59 ['OS!="win" and remove_webcore_debug_symbols==1', { | 66 ['OS!="win" and remove_webcore_debug_symbols==1', { |
| 60 # Remove -g from all targets defined here. | 67 # Remove -g from all targets defined here. |
| 61 'cflags!': ['-g'], | 68 'cflags!': ['-g'], |
| 62 }], | 69 }], |
| 63 ['gcc_version>=46', { | 70 ['gcc_version>=46', { |
| 64 # Disable warnings about c++0x compatibility, as some names (such as | 71 # Disable warnings about c++0x compatibility, as some names (such as |
| 65 # nullptr) conflict with upcoming c++0x types. | 72 # nullptr) conflict with upcoming c++0x types. |
| 66 'cflags_cc': ['-Wno-c++0x-compat'], | 73 'cflags_cc': ['-Wno-c++0x-compat'], |
| 67 }], | 74 }], |
| (...skipping 26 matching lines...) Expand all Loading... |
| 94 ], | 101 ], |
| 95 'direct_dependent_settings': { | 102 'direct_dependent_settings': { |
| 96 'cflags!': ['-Wglobal-constructors'], | 103 'cflags!': ['-Wglobal-constructors'], |
| 97 'xcode_settings': { | 104 'xcode_settings': { |
| 98 'WARNING_CFLAGS!': ['-Wglobal-constructors'], | 105 'WARNING_CFLAGS!': ['-Wglobal-constructors'], |
| 99 }, | 106 }, |
| 100 }, | 107 }, |
| 101 } | 108 } |
| 102 ], | 109 ], |
| 103 } | 110 } |
| OLD | NEW |