Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: third_party/boringssl/boringssl.gyp

Issue 684093011: Disable size_t truncation warning (C4267) on BoringSSL Win64. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update_gypi_and_asm.py Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/boringssl/BUILD.gn ('k') | third_party/boringssl/boringssl_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'boringssl', 8 'target_name': 'boringssl',
9 'type': '<(component)', 9 'type': '<(component)',
10 'includes': [ 10 'includes': [
11 'boringssl.gypi', 11 'boringssl.gypi',
12 ], 12 ],
13 'sources': [ 13 'sources': [
14 '<@(boringssl_lib_sources)', 14 '<@(boringssl_lib_sources)',
15 ], 15 ],
16 'defines': [ 16 'defines': [
17 'BORINGSSL_IMPLEMENTATION', 17 'BORINGSSL_IMPLEMENTATION',
18 'BORINGSSL_NO_STATIC_INITIALIZER', 18 'BORINGSSL_NO_STATIC_INITIALIZER',
19 ], 19 ],
20 # TODO(davidben): Fix size_t truncations in BoringSSL.
21 # https://crbug.com/429039
22 'msvs_disabled_warnings': [ 4267, ],
20 'conditions': [ 23 'conditions': [
21 ['component == "shared_library"', { 24 ['component == "shared_library"', {
22 'defines': [ 25 'defines': [
23 'BORINGSSL_SHARED_LIBRARY', 26 'BORINGSSL_SHARED_LIBRARY',
24 ], 27 ],
25 }], 28 }],
26 ['target_arch == "arm"', { 29 ['target_arch == "arm"', {
27 'sources': [ '<@(boringssl_linux_arm_sources)' ], 30 'sources': [ '<@(boringssl_linux_arm_sources)' ],
28 }], 31 }],
29 ['target_arch == "ia32"', { 32 ['target_arch == "ia32"', {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 ['component == "shared_library"', { 88 ['component == "shared_library"', {
86 'defines': [ 89 'defines': [
87 'BORINGSSL_SHARED_LIBRARY', 90 'BORINGSSL_SHARED_LIBRARY',
88 ], 91 ],
89 }], 92 }],
90 ], 93 ],
91 }, 94 },
92 }, 95 },
93 ], 96 ],
94 } 97 }
OLDNEW
« no previous file with comments | « third_party/boringssl/BUILD.gn ('k') | third_party/boringssl/boringssl_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698