| OLD | NEW |
| 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 config("cld_config") { | 5 config("cld_config") { |
| 6 defines = [ "CLD_WINDOWS" ] | 6 defines = [ "CLD_WINDOWS" ] |
| 7 include_dirs = [ "." ] | 7 include_dirs = [ "." ] |
| 8 } | 8 } |
| 9 | 9 |
| 10 source_set("cld") { | 10 source_set("cld") { |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 ] | 95 ] |
| 96 configs += [ "//build/config/compiler:no_chromium_code" ] | 96 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 97 public_configs = [ ":cld_config" ] | 97 public_configs = [ ":cld_config" ] |
| 98 | 98 |
| 99 if (is_win) { | 99 if (is_win) { |
| 100 defines = [ "COMPILER_MSVC" ] | 100 defines = [ "COMPILER_MSVC" ] |
| 101 cflags = [ | 101 cflags = [ |
| 102 "/wd4005", # Macro defined twice. | 102 "/wd4005", # Macro defined twice. |
| 103 "/wd4006", # #undef expected an identifier. | 103 "/wd4006", # #undef expected an identifier. |
| 104 "/wd4309", # Truncation of constant value. | 104 "/wd4309", # Truncation of constant value. |
| 105 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int | |
| 106 ] | 105 ] |
| 107 } else { | 106 } else { |
| 108 defines = [ "COMPILER_GCC" ] | 107 defines = [ "COMPILER_GCC" ] |
| 109 } | 108 } |
| 110 | 109 |
| 111 public_deps = [ | 110 public_deps = [ |
| 112 "//third_party/icu:icuuc", | 111 "//third_party/icu:icuuc", |
| 113 ] | 112 ] |
| 114 } | 113 } |
| OLD | NEW |