| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 'V8_ANDROID_LOG_STDOUT', | 68 'V8_ANDROID_LOG_STDOUT', |
| 69 ], | 69 ], |
| 70 'configurations': { | 70 'configurations': { |
| 71 'Release': { | 71 'Release': { |
| 72 'cflags': [ | 72 'cflags': [ |
| 73 '-fomit-frame-pointer', | 73 '-fomit-frame-pointer', |
| 74 ], | 74 ], |
| 75 }, # Release | 75 }, # Release |
| 76 }, # configurations | 76 }, # configurations |
| 77 'cflags': [ '-Wno-abi', '-Wall', '-W', '-Wno-unused-parameter', | 77 'cflags': [ '-Wno-abi', '-Wall', '-W', '-Wno-unused-parameter', |
| 78 '-Wnon-virtual-dtor', '-fno-rtti', '-fno-exceptions', ], | 78 '-Wnon-virtual-dtor', '-fno-rtti', '-fno-exceptions', |
| 79 # Note: Using -std=c++0x will define __STRICT_ANSI__, which in |
| 80 # turn will leave out some template stuff for 'long long'. What |
| 81 # we want is -std=c++11, but this is not supported by GCC 4.6 or |
| 82 # Xcode 4.2 |
| 83 '-std=gnu++0x' ], |
| 79 'target_conditions': [ | 84 'target_conditions': [ |
| 80 ['_toolset=="target"', { | 85 ['_toolset=="target"', { |
| 81 'cflags!': [ | 86 'cflags!': [ |
| 82 '-pthread', # Not supported by Android toolchain. | 87 '-pthread', # Not supported by Android toolchain. |
| 83 ], | 88 ], |
| 84 'cflags': [ | 89 'cflags': [ |
| 85 '-U__linux__', # Don't allow toolchain to claim -D__linux__ | 90 '-U__linux__', # Don't allow toolchain to claim -D__linux__ |
| 86 '-ffunction-sections', | 91 '-ffunction-sections', |
| 87 '-funwind-tables', | 92 '-funwind-tables', |
| 88 '-fstack-protector', | 93 '-fstack-protector', |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 'ldflags!': [ | 270 'ldflags!': [ |
| 266 '-Wl,-z,noexecstack', | 271 '-Wl,-z,noexecstack', |
| 267 '-Wl,--gc-sections', | 272 '-Wl,--gc-sections', |
| 268 '-Wl,-O1', | 273 '-Wl,-O1', |
| 269 '-Wl,--as-needed', | 274 '-Wl,--as-needed', |
| 270 ], | 275 ], |
| 271 }], | 276 }], |
| 272 ], # target_conditions | 277 ], # target_conditions |
| 273 }, # target_defaults | 278 }, # target_defaults |
| 274 } | 279 } |
| OLD | NEW |