| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 '-fstack-protector', | 195 '-fstack-protector', |
| 196 '-U__linux__' | 196 '-U__linux__' |
| 197 ], | 197 ], |
| 198 'cflags': [ | 198 'cflags': [ |
| 199 '-fno-stack-protector', | 199 '-fno-stack-protector', |
| 200 ], | 200 ], |
| 201 'ldflags': [ | 201 'ldflags': [ |
| 202 '-L<(android_stlport_libs)/mips', | 202 '-L<(android_stlport_libs)/mips', |
| 203 ], | 203 ], |
| 204 }], | 204 }], |
| 205 ['(target_arch=="arm" or target_arch=="arm64" or target_arch=="x64") a
nd component!="shared_library"', { | 205 ['(target_arch=="arm" or target_arch=="arm64" or target_arch=="x64" or
target_arch=="ia32") and component!="shared_library"', { |
| 206 'cflags': [ | 206 'cflags': [ |
| 207 '-fPIE', | 207 '-fPIE', |
| 208 ], | 208 ], |
| 209 'ldflags': [ | 209 'ldflags': [ |
| 210 '-pie', | 210 '-pie', |
| 211 ], | 211 ], |
| 212 }], | 212 }], |
| 213 ], | 213 ], |
| 214 'target_conditions': [ | 214 'target_conditions': [ |
| 215 ['_type=="executable"', { | 215 ['_type=="executable"', { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 'ldflags!': [ | 257 'ldflags!': [ |
| 258 '-Wl,-z,noexecstack', | 258 '-Wl,-z,noexecstack', |
| 259 '-Wl,--gc-sections', | 259 '-Wl,--gc-sections', |
| 260 '-Wl,-O1', | 260 '-Wl,-O1', |
| 261 '-Wl,--as-needed', | 261 '-Wl,--as-needed', |
| 262 ], | 262 ], |
| 263 }], | 263 }], |
| 264 ], # target_conditions | 264 ], # target_conditions |
| 265 }, # target_defaults | 265 }, # target_defaults |
| 266 } | 266 } |
| OLD | NEW |