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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
80 # turn will leave out some template stuff for 'long long'. What | 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 | 81 # we want is -std=c++11, but this is not supported by GCC 4.6 or |
82 # Xcode 4.2 | 82 # Xcode 4.2 |
83 '-std=gnu++0x' ], | 83 '-std=gnu++0x' ], |
84 'target_conditions': [ | 84 'target_conditions': [ |
85 ['_toolset=="target"', { | 85 ['_toolset=="target"', { |
86 'cflags!': [ | 86 'cflags!': [ |
87 '-pthread', # Not supported by Android toolchain. | 87 '-pthread', # Not supported by Android toolchain. |
88 ], | 88 ], |
89 'cflags': [ | 89 'cflags': [ |
90 '-U__linux__', # Don't allow toolchain to claim -D__linux__ | |
ulan
2014/08/19 08:09:02
Chrome common.gypi doesn't have line anymore.
| |
91 '-ffunction-sections', | 90 '-ffunction-sections', |
92 '-funwind-tables', | 91 '-funwind-tables', |
93 '-fstack-protector', | 92 '-fstack-protector', |
94 '-fno-short-enums', | 93 '-fno-short-enums', |
95 '-finline-limit=64', | 94 '-finline-limit=64', |
96 '-Wa,--noexecstack', | 95 '-Wa,--noexecstack', |
97 '-Wno-error=non-virtual-dtor', # TODO(michaelbai): Fix warnings. | 96 '-Wno-error=non-virtual-dtor', # TODO(michaelbai): Fix warnings. |
98 # Note: This include is in cflags to ensure that it comes after | 97 # Note: This include is in cflags to ensure that it comes after |
99 # all of the includes. | 98 # all of the includes. |
100 '-I<(android_include)', | 99 '-I<(android_include)', |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
270 'ldflags!': [ | 269 'ldflags!': [ |
271 '-Wl,-z,noexecstack', | 270 '-Wl,-z,noexecstack', |
272 '-Wl,--gc-sections', | 271 '-Wl,--gc-sections', |
273 '-Wl,-O1', | 272 '-Wl,-O1', |
274 '-Wl,--as-needed', | 273 '-Wl,--as-needed', |
275 ], | 274 ], |
276 }], | 275 }], |
277 ], # target_conditions | 276 ], # target_conditions |
278 }, # target_defaults | 277 }, # target_defaults |
279 } | 278 } |
OLD | NEW |