| 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 # GN version: //components/translate/core/browser | 8 # GN version: //components/translate/core/browser |
| 9 'target_name': 'translate_core_browser', | 9 'target_name': 'translate_core_browser', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 'translate/content/renderer/data_file_renderer_cld_data_provider
.h', | 226 'translate/content/renderer/data_file_renderer_cld_data_provider
.h', |
| 227 ], | 227 ], |
| 228 }], | 228 }], |
| 229 ], | 229 ], |
| 230 }, | 230 }, |
| 231 ], | 231 ], |
| 232 }], | 232 }], |
| 233 ['OS == "ios"', { | 233 ['OS == "ios"', { |
| 234 'targets': [ | 234 'targets': [ |
| 235 { | 235 { |
| 236 # GN version: //components/translate/ios/browser |
| 236 'target_name': 'translate_ios_browser', | 237 'target_name': 'translate_ios_browser', |
| 237 'type': 'static_library', | 238 'type': 'static_library', |
| 238 'include_dirs': [ | 239 'include_dirs': [ |
| 239 '..', | 240 '..', |
| 240 ], | 241 ], |
| 241 'dependencies': [ | 242 'dependencies': [ |
| 242 'translate_core_language_detection', | 243 'translate_core_language_detection', |
| 243 'translate_core_browser', | 244 'translate_core_browser', |
| 244 'translate_core_common', | 245 'translate_core_common', |
| 245 'translate_ios_injected_js', | 246 'translate_ios_injected_js', |
| 246 '../base/base.gyp:base', | 247 '../base/base.gyp:base', |
| 247 '../ios/web/ios_web.gyp:ios_web', | 248 '../ios/web/ios_web.gyp:ios_web', |
| 248 '../url/url.gyp:url_lib', | 249 '../url/url.gyp:url_lib', |
| 249 ], | 250 ], |
| 250 'sources': [ | 251 'sources': [ |
| 251 'translate/ios/browser/ios_translate_driver.h', | 252 'translate/ios/browser/ios_translate_driver.h', |
| 252 'translate/ios/browser/ios_translate_driver.mm', | 253 'translate/ios/browser/ios_translate_driver.mm', |
| 253 'translate/ios/browser/js_language_detection_manager.h', | 254 'translate/ios/browser/js_language_detection_manager.h', |
| 254 'translate/ios/browser/js_language_detection_manager.mm', | 255 'translate/ios/browser/js_language_detection_manager.mm', |
| 255 'translate/ios/browser/js_translate_manager.h', | 256 'translate/ios/browser/js_translate_manager.h', |
| 256 'translate/ios/browser/js_translate_manager.mm', | 257 'translate/ios/browser/js_translate_manager.mm', |
| 257 'translate/ios/browser/language_detection_controller.h', | 258 'translate/ios/browser/language_detection_controller.h', |
| 258 'translate/ios/browser/language_detection_controller.mm', | 259 'translate/ios/browser/language_detection_controller.mm', |
| 259 'translate/ios/browser/translate_controller.h', | 260 'translate/ios/browser/translate_controller.h', |
| 260 'translate/ios/browser/translate_controller.mm', | 261 'translate/ios/browser/translate_controller.mm', |
| 261 ], | 262 ], |
| 262 }, | 263 }, |
| 263 { | 264 { |
| 265 # GN version: //components/translate/ios/browser:injected_js |
| 264 'target_name': 'translate_ios_injected_js', | 266 'target_name': 'translate_ios_injected_js', |
| 265 'type': 'none', | 267 'type': 'none', |
| 266 'sources': [ | 268 'sources': [ |
| 267 'translate/ios/browser/resources/language_detection.js', | 269 'translate/ios/browser/resources/language_detection.js', |
| 268 'translate/ios/browser/resources/translate_ios.js', | 270 'translate/ios/browser/resources/translate_ios.js', |
| 269 ], | 271 ], |
| 270 'link_settings': { | 272 'link_settings': { |
| 271 'mac_bundle_resources': [ | 273 'mac_bundle_resources': [ |
| 272 '<(SHARED_INTERMEDIATE_DIR)/translate_ios.js', | 274 '<(SHARED_INTERMEDIATE_DIR)/translate_ios.js', |
| 273 '<(SHARED_INTERMEDIATE_DIR)/language_detection.js', | 275 '<(SHARED_INTERMEDIATE_DIR)/language_detection.js', |
| 274 ], | 276 ], |
| 275 }, | 277 }, |
| 276 'includes': [ | 278 'includes': [ |
| 277 '../ios/web/js_compile_checked.gypi', | 279 '../ios/web/js_compile_checked.gypi', |
| 278 ], | 280 ], |
| 279 }, | 281 }, |
| 280 ], | 282 ], |
| 281 }], | 283 }], |
| 282 ], | 284 ], |
| 283 } | 285 } |
| OLD | NEW |