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': { |
| 11 'dart_io_ssl_builtin_roots': 0, |
11 'android_ndk_root': '<(PRODUCT_DIR)/../../third_party/android_tools/ndk', | 12 'android_ndk_root': '<(PRODUCT_DIR)/../../third_party/android_tools/ndk', |
12 }, # variables | 13 }, # variables |
13 'target_defaults': { | 14 'target_defaults': { |
14 'configurations': { | 15 'configurations': { |
15 # It is very important to get the order of the linker arguments correct. | 16 # It is very important to get the order of the linker arguments correct. |
16 # Therefore, we put them all in the architecture specific configurations, | 17 # Therefore, we put them all in the architecture specific configurations, |
17 # even though there are many flags in common, to avoid splitting them | 18 # even though there are many flags in common, to avoid splitting them |
18 # between two configurations and possibly accidentally mixing up the | 19 # between two configurations and possibly accidentally mixing up the |
19 # order. | 20 # order. |
20 'Dart_Android_Base': { | 21 'Dart_Android_Base': { |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 ], | 306 ], |
306 }], | 307 }], |
307 ['_toolset=="host"', { | 308 ['_toolset=="host"', { |
308 'ldflags': [ '-pthread' ], | 309 'ldflags': [ '-pthread' ], |
309 }], | 310 }], |
310 ], | 311 ], |
311 }, # Dart_Android_arm64_Base | 312 }, # Dart_Android_arm64_Base |
312 }, # configurations | 313 }, # configurations |
313 }, # target_defaults | 314 }, # target_defaults |
314 } | 315 } |
OLD | NEW |