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 gypi_values = exec_script("//build/gypi_to_gn.py", | 7 gypi_values = exec_script("//build/gypi_to_gn.py", |
8 [ rebase_path("cld_2.gyp") ], | 8 [ rebase_path("cld_2.gyp") ], |
9 "scope", | 9 "scope", |
10 [ "cld_2.gyp" ]) | 10 [ "cld_2.gyp" ]) |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 configs += [ | 104 configs += [ |
105 ":cld2_dynamic_mode_config", | 105 ":cld2_dynamic_mode_config", |
106 "//build/config/compiler:no_chromium_code", | 106 "//build/config/compiler:no_chromium_code", |
107 ] | 107 ] |
108 } | 108 } |
109 | 109 |
110 # Does not build on Windows. | 110 # Does not build on Windows. |
111 if (!is_win) { | 111 if (!is_win) { |
112 executable("cld_2_dynamic_data_tool") { | 112 executable("cld_2_dynamic_data_tool") { |
113 sources = [ | 113 sources = [ |
| 114 "src/internal/cld2_dynamic_data_extractor.cc", |
114 "src/internal/cld2_dynamic_data_extractor.h", | 115 "src/internal/cld2_dynamic_data_extractor.h", |
115 "src/internal/cld2_dynamic_data_extractor.cc", | |
116 "src/internal/cld2_dynamic_data_tool.cc", | 116 "src/internal/cld2_dynamic_data_tool.cc", |
117 ] | 117 ] |
118 | 118 |
119 include_dirs = [ | 119 include_dirs = [ |
120 "src/internal", | 120 "src/internal", |
121 "src/public", | 121 "src/public", |
122 ] | 122 ] |
123 | 123 |
124 deps = [ | 124 deps = [ |
125 ":cld2_data", | 125 ":cld2_data", |
126 ":cld2_dynamic", | 126 ":cld2_dynamic", |
127 ] | 127 ] |
128 | 128 |
129 configs -= [ "//build/config/compiler:chromium_code" ] | 129 configs -= [ "//build/config/compiler:chromium_code" ] |
130 configs += [ | 130 configs += [ |
131 ":cld2_dynamic_mode_config", | 131 ":cld2_dynamic_mode_config", |
132 "//build/config/compiler:no_chromium_code", | 132 "//build/config/compiler:no_chromium_code", |
133 ] | 133 ] |
134 } | 134 } |
135 } | 135 } |
OLD | NEW |