OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 'boringssl.gypi', | 7 'boringssl.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 'sources': [ '<@(boringssl_win_x86_sources)' ], | 101 'sources': [ '<@(boringssl_win_x86_sources)' ], |
102 # Windows' assembly is built with Yasm. The other platforms use | 102 # Windows' assembly is built with Yasm. The other platforms use |
103 # the platform assembler. | 103 # the platform assembler. |
104 'variables': { | 104 'variables': { |
105 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/bori
ngssl', | 105 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/bori
ngssl', |
106 }, | 106 }, |
107 'includes': [ | 107 'includes': [ |
108 '../yasm/yasm_compile.gypi', | 108 '../yasm/yasm_compile.gypi', |
109 ], | 109 ], |
110 }], | 110 }], |
111 ['OS != "mac" and OS != "ios" and OS != "linux" and OS != "win" and
OS != "android"', { | 111 ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"'
, { |
112 'direct_dependent_settings': { | 112 'direct_dependent_settings': { |
113 'defines': [ 'OPENSSL_NO_ASM' ], | 113 'defines': [ 'OPENSSL_NO_ASM' ], |
114 }, | 114 }, |
115 }], | 115 }], |
116 ] | 116 ] |
117 }], | 117 }], |
118 ['target_arch == "x64" and msan == 0', { | 118 ['target_arch == "x64" and msan == 0', { |
119 'conditions': [ | 119 'conditions': [ |
120 ['OS == "mac" or OS == "ios"', { | 120 ['OS == "mac" or OS == "ios"', { |
121 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], | 121 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], |
122 }], | 122 }], |
123 ['OS == "linux" or OS == "android"', { | 123 ['OS == "linux" or OS == "android"', { |
124 'sources': [ '<@(boringssl_linux_x86_64_sources)' ], | 124 'sources': [ '<@(boringssl_linux_x86_64_sources)' ], |
125 }], | 125 }], |
126 ['OS == "win"', { | 126 ['OS == "win"', { |
127 'sources': [ '<@(boringssl_win_x86_64_sources)' ], | 127 'sources': [ '<@(boringssl_win_x86_64_sources)' ], |
128 # Windows' assembly is built with Yasm. The other platforms use | 128 # Windows' assembly is built with Yasm. The other platforms use |
129 # the platform assembler. | 129 # the platform assembler. |
130 'variables': { | 130 'variables': { |
131 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/bori
ngssl', | 131 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/bori
ngssl', |
132 }, | 132 }, |
133 'includes': [ | 133 'includes': [ |
134 '../yasm/yasm_compile.gypi', | 134 '../yasm/yasm_compile.gypi', |
135 ], | 135 ], |
136 }], | 136 }], |
137 ['OS != "mac" and OS != "ios" and OS != "linux" and OS != "win" and
OS != "android"', { | 137 ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"'
, { |
138 'direct_dependent_settings': { | 138 'direct_dependent_settings': { |
139 'defines': [ 'OPENSSL_NO_ASM' ], | 139 'defines': [ 'OPENSSL_NO_ASM' ], |
140 }, | 140 }, |
141 }], | 141 }], |
142 ] | 142 ] |
143 }], | 143 }], |
144 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe
t_arch != "x64" and target_arch != "arm64")', { | 144 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe
t_arch != "x64" and target_arch != "arm64")', { |
145 'direct_dependent_settings': { | 145 'direct_dependent_settings': { |
146 'defines': [ 'OPENSSL_NO_ASM' ], | 146 'defines': [ 'OPENSSL_NO_ASM' ], |
147 }, | 147 }, |
148 }], | 148 }], |
149 ], | 149 ], |
150 }, | 150 }, |
151 ], | 151 ], |
152 } | 152 } |
OLD | NEW |