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 }, |
| 82 # TODO(24321): Also disable temporarily on arm64. Reenable after the next |
| 83 # roll. |
| 84 'Dart_arm64_Base': { |
| 85 'abstract': 1, |
| 86 'defines': [ |
| 87 'OPENSSL_NO_ASM', |
| 88 ], |
| 89 }, |
69 # When being built for Android nss expects __linux__ to be defined. | 90 # When being built for Android nss expects __linux__ to be defined. |
70 'Dart_Android_Base': { | 91 'Dart_Android_Base': { |
71 'target_conditions': [ | 92 'target_conditions': [ |
72 ['_toolset=="host"', { | 93 ['_toolset=="host"', { |
73 'defines!': [ | 94 'defines!': [ |
74 'ANDROID', | 95 'ANDROID', |
75 ], | 96 ], |
76 # Define __linux__ on Android build for NSS. | 97 # Define __linux__ on Android build for NSS. |
77 'defines': [ | 98 'defines': [ |
78 '__linux__', | 99 '__linux__', |
(...skipping 10 matching lines...) Expand all Loading... |
89 ], | 110 ], |
90 # Define __linux__ on Android build for NSS. | 111 # Define __linux__ on Android build for NSS. |
91 'cflags!': [ | 112 'cflags!': [ |
92 '-U__linux__', | 113 '-U__linux__', |
93 ], | 114 ], |
94 }] | 115 }] |
95 ], | 116 ], |
96 }, | 117 }, |
97 }, | 118 }, |
98 }, | 119 }, |
99 } | 120 } |
OLD | NEW |