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 15 matching lines...) Expand all Loading... | |
26 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', | 26 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', |
27 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', | 27 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', |
28 # Enable to use the system stlport, otherwise statically | 28 # Enable to use the system stlport, otherwise statically |
29 # link the NDK one? | 29 # link the NDK one? |
30 'use_system_stlport%': '<(android_build_type)', | 30 'use_system_stlport%': '<(android_build_type)', |
31 'android_stlport_library': 'stlport_static', | 31 'android_stlport_library': 'stlport_static', |
32 # Copy it out one scope. | 32 # Copy it out one scope. |
33 'android_build_type%': '<(android_build_type)', | 33 'android_build_type%': '<(android_build_type)', |
34 | 34 |
35 'OS': 'android', | 35 'OS': 'android', |
36 'android_target_arch' : 'x86', | 36 'android_target_arch%' : 'x86', |
Ivan Posva
2013/09/13 22:08:38
Shouldn't we set the default for Android targets t
zra
2013/09/13 23:28:47
Changed to arm.
| |
37 }, # variables | 37 }, # variables |
38 'target_defaults': { | 38 'target_defaults': { |
39 'defines': [ | 39 'defines': [ |
40 'ANDROID', | 40 'ANDROID', |
41 ], | 41 ], |
42 'configurations': { | 42 'configurations': { |
43 'Dart_Debug': { | 43 'Dart_Debug': { |
44 'defines': [ | 44 'defines': [ |
45 'DEBUG', | 45 'DEBUG', |
46 ], | 46 ], |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
203 'ldflags!': [ | 203 'ldflags!': [ |
204 '-Wl,-z,noexecstack', | 204 '-Wl,-z,noexecstack', |
205 '-Wl,--gc-sections', | 205 '-Wl,--gc-sections', |
206 '-Wl,-O1', | 206 '-Wl,-O1', |
207 '-Wl,--as-needed', | 207 '-Wl,--as-needed', |
208 ], | 208 ], |
209 }], | 209 }], |
210 ], # target_conditions | 210 ], # target_conditions |
211 }, # target_defaults | 211 }, # target_defaults |
212 } | 212 } |
OLD | NEW |