OLD | NEW |
---|---|
1 # Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2015, 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 # This file is included to modify the configurations to build third-party | 5 # This file is included to modify the configurations to build third-party |
6 # code from BoringSSL. | 6 # code from BoringSSL. |
7 # This code is C code, not C++, and is not warning-free, so we need to remove | 7 # This code is C code, not C++, and is not warning-free, so we need to remove |
8 # C++-specific flags, and add flags to supress the warnings in the code. | 8 # C++-specific flags, and add flags to supress the warnings in the code. |
9 { | 9 { |
10 'variables': { | 10 'variables': { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
59 }, | 59 }, |
60 }, | 60 }, |
61 'Dart_Macos_Release': { | 61 'Dart_Macos_Release': { |
62 'abstract': 1, | 62 'abstract': 1, |
63 'xcode_settings': { | 63 'xcode_settings': { |
64 # Remove 'ansi' setting. | 64 # Remove 'ansi' setting. |
65 'GCC_C_LANGUAGE_STANDARD': 'c99', | 65 'GCC_C_LANGUAGE_STANDARD': 'c99', |
66 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror off | 66 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror off |
67 }, | 67 }, |
68 }, | 68 }, |
69 # Disable hand-coded assembly routines on ARMv6 and ARMv5TE. | |
70 'Dart_armv6_Base': { | |
71 'abstract': 1, | |
72 'defines': [ | |
73 'OPENSSL_NO_ASM' | |
74 ], | |
75 }, | |
76 'Dart_armv5te_Base': { | |
77 'abstract': 1, | |
78 'defines': [ | |
79 'OPENSSL_NO_ASM' | |
80 ], | |
81 }, | |
rmacnak
2016/01/22 22:59:34
Consider also for arm64 with a TODO(24321).
zra
2016/01/22 23:03:36
Done.
| |
69 # When being built for Android nss expects __linux__ to be defined. | 82 # When being built for Android nss expects __linux__ to be defined. |
70 'Dart_Android_Base': { | 83 'Dart_Android_Base': { |
71 'target_conditions': [ | 84 'target_conditions': [ |
72 ['_toolset=="host"', { | 85 ['_toolset=="host"', { |
73 'defines!': [ | 86 'defines!': [ |
74 'ANDROID', | 87 'ANDROID', |
75 ], | 88 ], |
76 # Define __linux__ on Android build for NSS. | 89 # Define __linux__ on Android build for NSS. |
77 'defines': [ | 90 'defines': [ |
78 '__linux__', | 91 '__linux__', |
(...skipping 10 matching lines...) Expand all Loading... | |
89 ], | 102 ], |
90 # Define __linux__ on Android build for NSS. | 103 # Define __linux__ on Android build for NSS. |
91 'cflags!': [ | 104 'cflags!': [ |
92 '-U__linux__', | 105 '-U__linux__', |
93 ], | 106 ], |
94 }] | 107 }] |
95 ], | 108 ], |
96 }, | 109 }, |
97 }, | 110 }, |
98 }, | 111 }, |
99 } | 112 } |
OLD | NEW |