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

Side by Side Diff: base/BUILD.gn

Issue 1783973002: Update .gn .isolate files for VS 2015 DLLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 18 matching lines...) Expand all
29 declare_args() { 29 declare_args() {
30 # Override this value to give a specific build date. 30 # Override this value to give a specific build date.
31 # See //base/build_time.cc for more details. 31 # See //base/build_time.cc for more details.
32 override_build_date = "N/A" 32 override_build_date = "N/A"
33 } 33 }
34 34
35 if (is_android) { 35 if (is_android) {
36 import("//build/config/android/rules.gni") 36 import("//build/config/android/rules.gni")
37 } 37 }
38 38
39 if (is_win) {
40 import("//build/config/win/visual_studio_version.gni")
41 }
42
39 config("base_flags") { 43 config("base_flags") {
40 if (is_clang) { 44 if (is_clang) {
41 cflags = [ 45 cflags = [
42 # Don't die on dtoa code that uses a char as an array index. 46 # Don't die on dtoa code that uses a char as an array index.
43 # This is required solely for base/third_party/dmg_fp/dtoa_wrapper.cc. 47 # This is required solely for base/third_party/dmg_fp/dtoa_wrapper.cc.
44 "-Wno-char-subscripts", 48 "-Wno-char-subscripts",
45 ] 49 ]
46 } 50 }
47 } 51 }
48 52
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 # preinstalled on the target machine. The debug runtimes have a "d" at 1159 # preinstalled on the target machine. The debug runtimes have a "d" at
1156 # the end. 1160 # the end.
1157 if (is_debug) { 1161 if (is_debug) {
1158 vcrt_suffix = "d" 1162 vcrt_suffix = "d"
1159 } else { 1163 } else {
1160 vcrt_suffix = "" 1164 vcrt_suffix = ""
1161 } 1165 }
1162 1166
1163 # These runtime files are copied to the output directory by the 1167 # These runtime files are copied to the output directory by the
1164 # vs_toolchain script that runs as part of toolchain configuration. 1168 # vs_toolchain script that runs as part of toolchain configuration.
1165 data += [ 1169 if (visual_studio_version == "2015") {
1166 "$root_out_dir/msvcp120${vcrt_suffix}.dll", 1170 data += [
1167 "$root_out_dir/msvcr120${vcrt_suffix}.dll", 1171 "$root_out_dir/msvcp140${vcrt_suffix}.dll",
1168 ] 1172 "$root_out_dir/vccorlib140${vcrt_suffix}.dll",
1173 "$root_out_dir/vcruntime140${vcrt_suffix}.dll",
1174
1175 # Universal Windows 10 CRT files
1176 "$root_out_dir/api-ms-win-core-console-l1-1-0.dll",
1177 "$root_out_dir/api-ms-win-core-datetime-l1-1-0.dll",
1178 "$root_out_dir/api-ms-win-core-debug-l1-1-0.dll",
1179 "$root_out_dir/api-ms-win-core-errorhandling-l1-1-0.dll",
1180 "$root_out_dir/api-ms-win-core-file-l1-1-0.dll",
1181 "$root_out_dir/api-ms-win-core-file-l1-2-0.dll",
1182 "$root_out_dir/api-ms-win-core-file-l2-1-0.dll",
1183 "$root_out_dir/api-ms-win-core-handle-l1-1-0.dll",
1184 "$root_out_dir/api-ms-win-core-heap-l1-1-0.dll",
1185 "$root_out_dir/api-ms-win-core-interlocked-l1-1-0.dll",
1186 "$root_out_dir/api-ms-win-core-libraryloader-l1-1-0.dll",
1187 "$root_out_dir/api-ms-win-core-localization-l1-2-0.dll",
1188 "$root_out_dir/api-ms-win-core-memory-l1-1-0.dll",
1189 "$root_out_dir/api-ms-win-core-namedpipe-l1-1-0.dll",
1190 "$root_out_dir/api-ms-win-core-processenvironment-l1-1-0.dll",
1191 "$root_out_dir/api-ms-win-core-processthreads-l1-1-0.dll",
1192 "$root_out_dir/api-ms-win-core-processthreads-l1-1-1.dll",
1193 "$root_out_dir/api-ms-win-core-profile-l1-1-0.dll",
1194 "$root_out_dir/api-ms-win-core-rtlsupport-l1-1-0.dll",
1195 "$root_out_dir/api-ms-win-core-string-l1-1-0.dll",
1196 "$root_out_dir/api-ms-win-core-synch-l1-1-0.dll",
1197 "$root_out_dir/api-ms-win-core-synch-l1-2-0.dll",
1198 "$root_out_dir/api-ms-win-core-sysinfo-l1-1-0.dll",
1199 "$root_out_dir/api-ms-win-core-timezone-l1-1-0.dll",
1200 "$root_out_dir/api-ms-win-core-util-l1-1-0.dll",
1201 "$root_out_dir/api-ms-win-crt-conio-l1-1-0.dll",
1202 "$root_out_dir/api-ms-win-crt-convert-l1-1-0.dll",
1203 "$root_out_dir/api-ms-win-crt-environment-l1-1-0.dll",
1204 "$root_out_dir/api-ms-win-crt-filesystem-l1-1-0.dll",
1205 "$root_out_dir/api-ms-win-crt-heap-l1-1-0.dll",
1206 "$root_out_dir/api-ms-win-crt-locale-l1-1-0.dll",
1207 "$root_out_dir/api-ms-win-crt-math-l1-1-0.dll",
1208 "$root_out_dir/api-ms-win-crt-multibyte-l1-1-0.dll",
1209 "$root_out_dir/api-ms-win-crt-private-l1-1-0.dll",
1210 "$root_out_dir/api-ms-win-crt-process-l1-1-0.dll",
1211 "$root_out_dir/api-ms-win-crt-runtime-l1-1-0.dll",
1212 "$root_out_dir/api-ms-win-crt-stdio-l1-1-0.dll",
1213 "$root_out_dir/api-ms-win-crt-string-l1-1-0.dll",
1214 "$root_out_dir/api-ms-win-crt-time-l1-1-0.dll",
1215 "$root_out_dir/api-ms-win-crt-utility-l1-1-0.dll",
1216 "$root_out_dir/ucrtbase${vcrt_suffix}.dll",
1217 ]
1218 } else {
1219 data += [
1220 "$root_out_dir/msvcp120${vcrt_suffix}.dll",
1221 "$root_out_dir/msvcr120${vcrt_suffix}.dll",
1222 ]
1223 }
1169 if (is_asan) { 1224 if (is_asan) {
1170 data += [ "//third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/lib/ windows/clang_rt.asan_dynamic-i386.dll" ] 1225 data += [ "//third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/lib/ windows/clang_rt.asan_dynamic-i386.dll" ]
1171 } 1226 }
1172 } 1227 }
1173 1228
1174 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1229 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1175 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 1230 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
1176 1231
1177 libs = [ 1232 libs = [
1178 "cfgmgr32.lib", 1233 "cfgmgr32.lib",
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after
2113 2168
2114 # GYP: //base.gyp:base_java_unittest_support 2169 # GYP: //base.gyp:base_java_unittest_support
2115 android_library("base_java_unittest_support") { 2170 android_library("base_java_unittest_support") {
2116 deps = [ 2171 deps = [
2117 ":base_java", 2172 ":base_java",
2118 ] 2173 ]
2119 java_files = 2174 java_files =
2120 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2175 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2121 } 2176 }
2122 } 2177 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698