| OLD | NEW |
| 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 |
| 11 # | 11 # |
| 12 # Since base includes so many low-level things that vary widely and | 12 # Since base includes so many low-level things that vary widely and |
| 13 # unpredictably for the various build types, we prefer a slightly different | 13 # unpredictably for the various build types, we prefer a slightly different |
| 14 # style. Instead, there are big per-platform blocks of inclusions and | 14 # style. Instead, there are big per-platform blocks of inclusions and |
| 15 # exclusions. If a given file has an inclusion or exclusion rule that applies | 15 # exclusions. If a given file has an inclusion or exclusion rule that applies |
| 16 # for multiple conditions, perfer to duplicate it in both lists. This makes it | 16 # for multiple conditions, prefer to duplicate it in both lists. This makes it |
| 17 # a bit easier to see which files apply in which cases rather than having a | 17 # a bit easier to see which files apply in which cases rather than having a |
| 18 # huge sequence of random-looking conditionals. | 18 # huge sequence of random-looking conditionals. |
| 19 | 19 |
| 20 import("//build/buildflag_header.gni") | 20 import("//build/buildflag_header.gni") |
| 21 import("//build/config/allocator.gni") | 21 import("//build/config/allocator.gni") |
| 22 import("//build/config/chromecast_build.gni") | 22 import("//build/config/chromecast_build.gni") |
| 23 import("//build/config/clang/clang.gni") |
| 23 import("//build/config/compiler/compiler.gni") | 24 import("//build/config/compiler/compiler.gni") |
| 24 import("//build/config/dcheck_always_on.gni") | 25 import("//build/config/dcheck_always_on.gni") |
| 25 import("//build/config/nacl/config.gni") | 26 import("//build/config/nacl/config.gni") |
| 26 import("//build/config/sysroot.gni") | 27 import("//build/config/sysroot.gni") |
| 27 import("//build/config/ui.gni") | 28 import("//build/config/ui.gni") |
| 28 import("//build/nocompile.gni") | 29 import("//build/nocompile.gni") |
| 29 import("//testing/test.gni") | 30 import("//testing/test.gni") |
| 30 | 31 |
| 31 declare_args() { | 32 declare_args() { |
| 32 # Override this value to give a specific build date. | 33 # Override this value to give a specific build date. |
| (...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1258 "$root_out_dir/api-ms-win-crt-utility-l1-1-0.dll", | 1259 "$root_out_dir/api-ms-win-crt-utility-l1-1-0.dll", |
| 1259 "$root_out_dir/ucrtbase${vcrt_suffix}.dll", | 1260 "$root_out_dir/ucrtbase${vcrt_suffix}.dll", |
| 1260 ] | 1261 ] |
| 1261 } else { | 1262 } else { |
| 1262 data += [ | 1263 data += [ |
| 1263 "$root_out_dir/msvcp120${vcrt_suffix}.dll", | 1264 "$root_out_dir/msvcp120${vcrt_suffix}.dll", |
| 1264 "$root_out_dir/msvcr120${vcrt_suffix}.dll", | 1265 "$root_out_dir/msvcr120${vcrt_suffix}.dll", |
| 1265 ] | 1266 ] |
| 1266 } | 1267 } |
| 1267 if (is_asan) { | 1268 if (is_asan) { |
| 1268 data += [ "//third_party/llvm-build/Release+Asserts/lib/clang/$clang_ver
sion/lib/windows/clang_rt.asan_dynamic-i386.dll" ] | 1269 if (current_cpu == "x64") { |
| 1270 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang
_rt.asan_dynamic-x86_64.dll" ] |
| 1271 } else { |
| 1272 data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang
_rt.asan_dynamic-i386.dll" ] |
| 1273 } |
| 1269 } | 1274 } |
| 1270 } | 1275 } |
| 1271 | 1276 |
| 1272 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1277 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1273 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 1278 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 1274 | 1279 |
| 1275 libs = [ | 1280 libs = [ |
| 1276 "cfgmgr32.lib", | 1281 "cfgmgr32.lib", |
| 1277 "powrprof.lib", | 1282 "powrprof.lib", |
| 1278 "setupapi.lib", | 1283 "setupapi.lib", |
| (...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2437 | 2442 |
| 2438 # GYP: //base.gyp:base_java_unittest_support | 2443 # GYP: //base.gyp:base_java_unittest_support |
| 2439 android_library("base_java_unittest_support") { | 2444 android_library("base_java_unittest_support") { |
| 2440 deps = [ | 2445 deps = [ |
| 2441 ":base_java", | 2446 ":base_java", |
| 2442 ] | 2447 ] |
| 2443 java_files = | 2448 java_files = |
| 2444 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 2449 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
| 2445 } | 2450 } |
| 2446 } | 2451 } |
| OLD | NEW |