| 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 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 cflags = [ | 47 cflags = [ |
| 48 # Don't die on dtoa code that uses a char as an array index. | 48 # Don't die on dtoa code that uses a char as an array index. |
| 49 # This is required solely for base/third_party/dmg_fp/dtoa_wrapper.cc. | 49 # This is required solely for base/third_party/dmg_fp/dtoa_wrapper.cc. |
| 50 "-Wno-char-subscripts", | 50 "-Wno-char-subscripts", |
| 51 ] | 51 ] |
| 52 } | 52 } |
| 53 } | 53 } |
| 54 | 54 |
| 55 config("base_implementation") { | 55 config("base_implementation") { |
| 56 defines = [ "BASE_IMPLEMENTATION" ] | 56 defines = [ "BASE_IMPLEMENTATION" ] |
| 57 configs = [ "//build/config/compiler:wexit_time_destructors" ] |
| 57 } | 58 } |
| 58 | 59 |
| 59 if (is_win) { | 60 if (is_win) { |
| 60 # This is in a separate config so the flags can be applied to dependents. | 61 # This is in a separate config so the flags can be applied to dependents. |
| 61 # ldflags in GN aren't automatically inherited. | 62 # ldflags in GN aren't automatically inherited. |
| 62 config("base_win_linker_flags") { | 63 config("base_win_linker_flags") { |
| 63 ldflags = [ | 64 ldflags = [ |
| 64 "/DELAYLOAD:cfgmgr32.dll", | 65 "/DELAYLOAD:cfgmgr32.dll", |
| 65 "/DELAYLOAD:powrprof.dll", | 66 "/DELAYLOAD:powrprof.dll", |
| 66 "/DELAYLOAD:setupapi.dll", | 67 "/DELAYLOAD:setupapi.dll", |
| (...skipping 2354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2421 | 2422 |
| 2422 # GYP: //base.gyp:base_java_unittest_support | 2423 # GYP: //base.gyp:base_java_unittest_support |
| 2423 android_library("base_java_unittest_support") { | 2424 android_library("base_java_unittest_support") { |
| 2424 deps = [ | 2425 deps = [ |
| 2425 ":base_java", | 2426 ":base_java", |
| 2426 ] | 2427 ] |
| 2427 java_files = | 2428 java_files = |
| 2428 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 2429 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
| 2429 } | 2430 } |
| 2430 } | 2431 } |
| OLD | NEW |