| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 # Definitions for building standalone Dart binaries to run on Android. | 5 # Definitions for building standalone Dart binaries to run on Android. |
| 6 # This is mostly excerpted from: | 6 # This is mostly excerpted from: |
| 7 # http://src.chromium.org/viewvc/chrome/trunk/src/build/common.gypi | 7 # http://src.chromium.org/viewvc/chrome/trunk/src/build/common.gypi |
| 8 | 8 |
| 9 { | 9 { |
| 10 'variables': { | 10 'variables': { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 '__GNU_SOURCE=1', | 38 '__GNU_SOURCE=1', |
| 39 '_STLP_USE_PTR_SPECIALIZATIONS=1', | 39 '_STLP_USE_PTR_SPECIALIZATIONS=1', |
| 40 'HAVE_OFF64_T', | 40 'HAVE_OFF64_T', |
| 41 'HAVE_SYS_UIO_H', | 41 'HAVE_SYS_UIO_H', |
| 42 ], | 42 ], |
| 43 'cflags!': [ | 43 'cflags!': [ |
| 44 '-pthread', # Not supported by Android toolchain. | 44 '-pthread', # Not supported by Android toolchain. |
| 45 ], | 45 ], |
| 46 'cflags': [ | 46 'cflags': [ |
| 47 '-U__linux__', # Don't allow toolchain to claim -D__linux__ | 47 '-U__linux__', # Don't allow toolchain to claim -D__linux__ |
| 48 '-U__linux', |
| 48 '-ffunction-sections', | 49 '-ffunction-sections', |
| 49 '-funwind-tables', | 50 '-funwind-tables', |
| 50 '-fstack-protector', | 51 '-fstack-protector', |
| 51 '-fno-short-enums', | 52 '-fno-short-enums', |
| 52 '-finline-limit=64', | 53 '-finline-limit=64', |
| 53 '-Wa,--noexecstack', | 54 '-Wa,--noexecstack', |
| 54 ], | 55 ], |
| 55 }], | 56 }], |
| 56 ], | 57 ], |
| 57 }, | 58 }, |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 ], | 315 ], |
| 315 }], | 316 }], |
| 316 ['_toolset=="host"', { | 317 ['_toolset=="host"', { |
| 317 'ldflags': [ '-pthread' ], | 318 'ldflags': [ '-pthread' ], |
| 318 }], | 319 }], |
| 319 ], | 320 ], |
| 320 }, # Dart_Android_arm64_Base | 321 }, # Dart_Android_arm64_Base |
| 321 }, # configurations | 322 }, # configurations |
| 322 }, # target_defaults | 323 }, # target_defaults |
| 323 } | 324 } |
| OLD | NEW |