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 static_library("cld") { | 10 source_set("cld") { |
| 11 # The /win/ directory is used on all platforms. |
| 12 set_sources_assignment_filter([]) |
| 13 |
11 # This target includes its own copy of "base" which confuses the header | 14 # This target includes its own copy of "base" which confuses the header |
12 # checker. | 15 # checker. |
13 check_includes = false | 16 check_includes = false |
14 | 17 |
15 sources = [ | 18 sources = [ |
16 "encodings/compact_lang_det/cldutil.cc", | 19 "encodings/compact_lang_det/cldutil.cc", |
17 "encodings/compact_lang_det/cldutil.h", | 20 "encodings/compact_lang_det/cldutil.h", |
18 "encodings/compact_lang_det/cldutil_dbg.h", | 21 "encodings/compact_lang_det/cldutil_dbg.h", |
19 "encodings/compact_lang_det/cldutil_dbg_empty.cc", | 22 "encodings/compact_lang_det/cldutil_dbg_empty.cc", |
20 "encodings/compact_lang_det/compact_lang_det.cc", | 23 "encodings/compact_lang_det/compact_lang_det.cc", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int | 105 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int |
103 ] | 106 ] |
104 } else { | 107 } else { |
105 defines = [ "COMPILER_GCC" ] | 108 defines = [ "COMPILER_GCC" ] |
106 } | 109 } |
107 | 110 |
108 public_deps = [ | 111 public_deps = [ |
109 "//third_party/icu:icuuc", | 112 "//third_party/icu:icuuc", |
110 ] | 113 ] |
111 } | 114 } |
OLD | NEW |