Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'translate_core_browser', | 8 'target_name': 'translate_core_browser', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'dependencies': [ | 10 'dependencies': [ |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 123 'type': 'static_library', | 123 'type': 'static_library', |
| 124 'dependencies': [ | 124 'dependencies': [ |
| 125 'translate_core_browser', | 125 'translate_core_browser', |
| 126 '../base/base.gyp:base', | 126 '../base/base.gyp:base', |
| 127 '../content/content.gyp:content_browser', | 127 '../content/content.gyp:content_browser', |
| 128 ], | 128 ], |
| 129 'include_dirs': [ | 129 'include_dirs': [ |
| 130 '..', | 130 '..', |
| 131 ], | 131 ], |
| 132 'sources': [ | 132 'sources': [ |
| 133 'translate/content/browser/browser_cld_data_provider.h', | |
| 133 'translate/content/browser/content_translate_driver.cc', | 134 'translate/content/browser/content_translate_driver.cc', |
| 134 'translate/content/browser/content_translate_driver.h', | 135 'translate/content/browser/content_translate_driver.h', |
| 135 ], | 136 ], |
| 137 'conditions': [ | |
| 138 ['cld_version==2', { | |
| 139 'conditions': [ | |
| 140 ['cld2_dynamic==1', { | |
| 141 'sources': [ | |
| 142 'translate/content/browser/data_file_browser_cld_data_provid er.cc', | |
| 143 'translate/content/browser/data_file_browser_cld_data_provid er.h', | |
| 144 ], | |
| 145 }], | |
| 146 ]}, | |
| 147 ], | |
| 148 ], | |
| 136 }, | 149 }, |
| 137 { | 150 { |
| 138 'target_name': 'translate_content_common', | 151 'target_name': 'translate_content_common', |
| 139 'type': 'static_library', | 152 'type': 'static_library', |
| 140 'dependencies': [ | 153 'dependencies': [ |
| 141 'translate_core_common', | 154 'translate_core_common', |
| 142 'translate_core_language_detection', | 155 'translate_core_language_detection', |
| 143 '../base/base.gyp:base', | 156 '../base/base.gyp:base', |
| 144 '../content/content.gyp:content_common', | 157 '../content/content.gyp:content_common', |
| 145 '../ipc/ipc.gyp:ipc', | 158 '../ipc/ipc.gyp:ipc', |
| 146 ], | 159 ], |
| 147 'include_dirs': [ | 160 'include_dirs': [ |
| 148 '..', | 161 '..', |
| 149 ], | 162 ], |
| 150 'sources': [ | 163 'sources': [ |
| 151 'translate/content/common/translate_messages.cc', | 164 'translate/content/common/translate_messages.cc', |
| 152 'translate/content/common/translate_messages.h', | 165 'translate/content/common/translate_messages.h', |
| 153 ], | 166 ], |
| 167 'conditions': [ | |
| 168 ['cld_version==2', { | |
|
droger
2014/06/19 08:38:23
why not
['cld_version==2' and 'cld2_dynamic==1', {
Andrew Hayden (chromium.org)
2014/06/19 09:27:11
Because I forgot the gyp syntax for 'and' (oh righ
Andrew Hayden (chromium.org)
2014/06/19 13:40:19
Done.
| |
| 169 'conditions': [ | |
| 170 ['cld2_dynamic==1', { | |
| 171 'sources': [ | |
| 172 'translate/content/common/data_file_cld_data_provider_messa ges.cc', | |
| 173 'translate/content/common/data_file_cld_data_provider_messa ges.h', | |
| 174 ], | |
| 175 }], | |
| 176 ]}, | |
| 177 ], | |
| 178 ], | |
| 179 }, | |
| 180 { | |
| 181 'target_name': 'translate_content_renderer', | |
| 182 'type': 'static_library', | |
| 183 'dependencies': [ | |
| 184 '../base/base.gyp:base', | |
| 185 '../content/content.gyp:content_common', | |
| 186 '../ipc/ipc.gyp:ipc', | |
| 187 ], | |
| 188 'include_dirs': [ | |
| 189 '..', | |
| 190 ], | |
| 191 'sources': [ | |
| 192 'translate/content/renderer/renderer_cld_data_provider.h', | |
| 193 ], | |
| 194 'conditions': [ | |
| 195 ['cld_version==2', { | |
| 196 'conditions': [ | |
| 197 ['cld2_dynamic==1', { | |
| 198 'sources': [ | |
| 199 'translate/content/renderer/data_file_renderer_cld_data_prov ider.cc', | |
| 200 'translate/content/renderer/data_file_renderer_cld_data_prov ider.h', | |
| 201 ], | |
| 202 }], | |
| 203 ]}, | |
| 204 ], | |
| 205 ], | |
| 154 }, | 206 }, |
| 155 ], | 207 ], |
| 156 }], | 208 }], |
| 157 ], | 209 ], |
| 158 } | 210 } |
| OLD | NEW |