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

Side by Side Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 2574593003: Fix Windows build warning LNK4217 for blink_platform.dll. (Closed)
Patch Set: Rebase and change new code file's license 2016-->2017 Created 3 years, 11 months 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 | « no previous file | third_party/WebKit/Source/platform/mojo/BUILD.gn » ('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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 import("//third_party/WebKit/public/public_features.gni") 9 import("//third_party/WebKit/public/public_features.gni")
10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 10 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1115 "mediastream/MediaStreamSource.h", 1115 "mediastream/MediaStreamSource.h",
1116 "mediastream/MediaStreamWebAudioSource.cpp", 1116 "mediastream/MediaStreamWebAudioSource.cpp",
1117 "mediastream/MediaStreamWebAudioSource.h", 1117 "mediastream/MediaStreamWebAudioSource.h",
1118 "mhtml/ArchiveResource.cpp", 1118 "mhtml/ArchiveResource.cpp",
1119 "mhtml/MHTMLArchive.cpp", 1119 "mhtml/MHTMLArchive.cpp",
1120 "mhtml/MHTMLArchive.h", 1120 "mhtml/MHTMLArchive.h",
1121 "mhtml/MHTMLParser.cpp", 1121 "mhtml/MHTMLParser.cpp",
1122 "mhtml/MHTMLParser.h", 1122 "mhtml/MHTMLParser.h",
1123 "mojo/BluetoothStructTraits.cpp", 1123 "mojo/BluetoothStructTraits.cpp",
1124 "mojo/CommonCustomTypesStructTraits.cpp", 1124 "mojo/CommonCustomTypesStructTraits.cpp",
1125 "mojo/GeometryStructTraits.cpp",
1126 "mojo/MojoHelper.h", 1125 "mojo/MojoHelper.h",
1127 "network/ContentSecurityPolicyParsers.cpp", 1126 "network/ContentSecurityPolicyParsers.cpp",
1128 "network/ContentSecurityPolicyParsers.h", 1127 "network/ContentSecurityPolicyParsers.h",
1129 "network/ContentSecurityPolicyResponseHeaders.cpp", 1128 "network/ContentSecurityPolicyResponseHeaders.cpp",
1130 "network/ContentSecurityPolicyResponseHeaders.h", 1129 "network/ContentSecurityPolicyResponseHeaders.h",
1131 "network/EncodedFormData.cpp", 1130 "network/EncodedFormData.cpp",
1132 "network/EncodedFormData.h", 1131 "network/EncodedFormData.h",
1133 "network/FormDataEncoder.cpp", 1132 "network/FormDataEncoder.cpp",
1134 "network/FormDataEncoder.h", 1133 "network/FormDataEncoder.h",
1135 "network/HTTPHeaderMap.cpp", 1134 "network/HTTPHeaderMap.cpp",
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
1506 "clipboard/ClipboardUtilitiesPosix.cpp", 1505 "clipboard/ClipboardUtilitiesPosix.cpp",
1507 1506
1508 # Uses LocaleWin instead. 1507 # Uses LocaleWin instead.
1509 "text/LocaleICU.cpp", 1508 "text/LocaleICU.cpp",
1510 "text/LocaleICU.h", 1509 "text/LocaleICU.h",
1511 ] 1510 ]
1512 cflags = [ 1511 cflags = [
1513 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. 1512 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits.
1514 "/wd4724", # Modulo by 0. 1513 "/wd4724", # Modulo by 0.
1515 ] 1514 ]
1516
1517 # crbug.com/654776: Suppress symbol import warnings.
1518 if (is_component_build) {
1519 ldflags = [
1520 "/ignore:4217",
1521 "/ignore:4049",
1522 ]
1523 }
1524 } else { 1515 } else {
1525 sources -= [ 1516 sources -= [
1526 "clipboard/ClipboardUtilitiesWin.cpp", 1517 "clipboard/ClipboardUtilitiesWin.cpp",
1527 "text/LocaleWin.cpp", 1518 "text/LocaleWin.cpp",
1528 ] 1519 ]
1529 } 1520 }
1530 1521
1531 if (is_android) { 1522 if (is_android) {
1532 # Add in some Linux files also shared with Android. 1523 # Add in some Linux files also shared with Android.
1533 set_sources_assignment_filter([]) 1524 set_sources_assignment_filter([])
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
2096 "//third_party/WebKit/Source:config", 2087 "//third_party/WebKit/Source:config",
2097 "//third_party/WebKit/Source:inside_blink", 2088 "//third_party/WebKit/Source:inside_blink",
2098 ] 2089 ]
2099 2090
2100 deps = [ 2091 deps = [
2101 ":test_support", 2092 ":test_support",
2102 "//testing/gmock", 2093 "//testing/gmock",
2103 "//testing/gtest", 2094 "//testing/gtest",
2104 ] 2095 ]
2105 } 2096 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698