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 and cld2_dynamic==1', { |
| 139 'sources': [ |
| 140 'translate/content/browser/data_file_browser_cld_data_provider.c
c', |
| 141 'translate/content/browser/data_file_browser_cld_data_provider.h
', |
| 142 ]}, |
| 143 ], |
| 144 ], |
136 }, | 145 }, |
137 { | 146 { |
138 'target_name': 'translate_content_common', | 147 'target_name': 'translate_content_common', |
139 'type': 'static_library', | 148 'type': 'static_library', |
140 'dependencies': [ | 149 'dependencies': [ |
141 'translate_core_common', | 150 'translate_core_common', |
142 'translate_core_language_detection', | 151 'translate_core_language_detection', |
143 '../base/base.gyp:base', | 152 '../base/base.gyp:base', |
144 '../content/content.gyp:content_common', | 153 '../content/content.gyp:content_common', |
145 '../ipc/ipc.gyp:ipc', | 154 '../ipc/ipc.gyp:ipc', |
146 ], | 155 ], |
147 'include_dirs': [ | 156 'include_dirs': [ |
148 '..', | 157 '..', |
149 ], | 158 ], |
150 'sources': [ | 159 'sources': [ |
151 'translate/content/common/translate_messages.cc', | 160 'translate/content/common/translate_messages.cc', |
152 'translate/content/common/translate_messages.h', | 161 'translate/content/common/translate_messages.h', |
153 ], | 162 ], |
| 163 'conditions': [ |
| 164 ['cld_version==2 and cld2_dynamic==1', { |
| 165 'sources': [ |
| 166 'translate/content/common/data_file_cld_data_provider_messages.
cc', |
| 167 'translate/content/common/data_file_cld_data_provider_messages.
h', |
| 168 ]}, |
| 169 ], |
| 170 ], |
| 171 }, |
| 172 { |
| 173 'target_name': 'translate_content_renderer', |
| 174 'type': 'static_library', |
| 175 'dependencies': [ |
| 176 '../base/base.gyp:base', |
| 177 '../content/content.gyp:content_common', |
| 178 '../ipc/ipc.gyp:ipc', |
| 179 ], |
| 180 'include_dirs': [ |
| 181 '..', |
| 182 ], |
| 183 'sources': [ |
| 184 'translate/content/renderer/renderer_cld_data_provider.h', |
| 185 ], |
| 186 'conditions': [ |
| 187 ['cld_version==2 and cld2_dynamic==1', { |
| 188 'sources': [ |
| 189 'translate/content/renderer/data_file_renderer_cld_data_provider
.cc', |
| 190 'translate/content/renderer/data_file_renderer_cld_data_provider
.h', |
| 191 ]}, |
| 192 ], |
| 193 ], |
154 }, | 194 }, |
155 ], | 195 ], |
156 }], | 196 }], |
157 ], | 197 ], |
158 } | 198 } |
OLD | NEW |