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 set_sources_assignment_filter([]) | |
jamesr
2014/10/22 00:28:19
why do you need this? do we use the windows code o
cjhopman
2014/10/23 00:15:48
We do.
In gyp, we actually only apply the filenam
| |
11 # This target includes its own copy of "base" which confuses the header | 12 # This target includes its own copy of "base" which confuses the header |
12 # checker. | 13 # checker. |
13 check_includes = false | 14 check_includes = false |
14 | 15 |
15 sources = [ | 16 sources = [ |
16 "encodings/compact_lang_det/cldutil.cc", | 17 "encodings/compact_lang_det/cldutil.cc", |
17 "encodings/compact_lang_det/cldutil.h", | 18 "encodings/compact_lang_det/cldutil.h", |
18 "encodings/compact_lang_det/cldutil_dbg.h", | 19 "encodings/compact_lang_det/cldutil_dbg.h", |
19 "encodings/compact_lang_det/cldutil_dbg_empty.cc", | 20 "encodings/compact_lang_det/cldutil_dbg_empty.cc", |
20 "encodings/compact_lang_det/compact_lang_det.cc", | 21 "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 | 103 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int |
103 ] | 104 ] |
104 } else { | 105 } else { |
105 defines = [ "COMPILER_GCC" ] | 106 defines = [ "COMPILER_GCC" ] |
106 } | 107 } |
107 | 108 |
108 public_deps = [ | 109 public_deps = [ |
109 "//third_party/icu:icuuc", | 110 "//third_party/icu:icuuc", |
110 ] | 111 ] |
111 } | 112 } |
OLD | NEW |