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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 declare_args() { | 7 declare_args() { |
8 if (is_android || is_ios) { | 8 if (is_android || is_ios) { |
9 cld2_table_size = 0 # Small, accurate tables | 9 cld2_table_size = 0 # Small, accurate tables |
10 } else { | 10 } else { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 } | 106 } |
107 | 107 |
108 static_library("cld2_static") { | 108 static_library("cld2_static") { |
109 sources = gypi_values.cld2_core_impl_sources | 109 sources = gypi_values.cld2_core_impl_sources |
110 include_dirs = [ | 110 include_dirs = [ |
111 "src/internal", | 111 "src/internal", |
112 "src/public", | 112 "src/public", |
113 ] | 113 ] |
114 | 114 |
115 public_deps = [ | 115 public_deps = [ |
| 116 ":cld2_data", |
116 ":cld_2", | 117 ":cld_2", |
117 ":cld2_data", | |
118 ] | 118 ] |
119 configs -= [ "//build/config/compiler:chromium_code" ] | 119 configs -= [ "//build/config/compiler:chromium_code" ] |
120 configs += [ | 120 configs += [ |
121 "//build/config/compiler:no_chromium_code", | 121 "//build/config/compiler:no_chromium_code", |
122 ":cld2_warnings", | 122 ":cld2_warnings", |
123 ] | 123 ] |
124 } | 124 } |
125 | 125 |
126 config("cld2_dynamic_mode_config") { | 126 config("cld2_dynamic_mode_config") { |
127 defines = [ "CLD2_DYNAMIC_MODE" ] | 127 defines = [ "CLD2_DYNAMIC_MODE" ] |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 "//build/config/sanitizers:deps", | 163 "//build/config/sanitizers:deps", |
164 ] | 164 ] |
165 | 165 |
166 configs -= [ "//build/config/compiler:chromium_code" ] | 166 configs -= [ "//build/config/compiler:chromium_code" ] |
167 configs += [ | 167 configs += [ |
168 ":cld2_dynamic_mode_config", | 168 ":cld2_dynamic_mode_config", |
169 "//build/config/compiler:no_chromium_code", | 169 "//build/config/compiler:no_chromium_code", |
170 ] | 170 ] |
171 } | 171 } |
172 } | 172 } |
OLD | NEW |