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