OLD | NEW |
1 # Copyright 2009 The Chromium Authors. All rights reserved. | 1 # Copyright 2009 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'android_webview_pak', | 10 'target_name': 'android_webview_pak', |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 'target_name': 'libwebviewchromium', | 259 'target_name': 'libwebviewchromium', |
260 'includes': [ | 260 'includes': [ |
261 'libwebviewchromium.gypi', | 261 'libwebviewchromium.gypi', |
262 ], | 262 ], |
263 } | 263 } |
264 ], | 264 ], |
265 'conditions': [ | 265 'conditions': [ |
266 ['android_webview_build==0', { | 266 ['android_webview_build==0', { |
267 'includes': [ | 267 'includes': [ |
268 'android_webview_tests.gypi', | 268 'android_webview_tests.gypi', |
269 'glue/android_webview_glue.gypi', | |
270 ], | 269 ], |
271 'targets': [ | 270 'targets': [ |
272 { | 271 { |
273 'target_name': 'android_webview_java', | 272 'target_name': 'android_webview_java', |
274 'type': 'none', | 273 'type': 'none', |
275 'dependencies': [ | 274 'dependencies': [ |
276 '../components/components.gyp:navigation_interception_java', | 275 '../components/components.gyp:navigation_interception_java', |
277 '../components/components.gyp:web_contents_delegate_android_java', | 276 '../components/components.gyp:web_contents_delegate_android_java', |
278 '../content/content.gyp:content_java', | 277 '../content/content.gyp:content_java', |
279 '../ui/android/ui_android.gyp:ui_java', | 278 '../ui/android/ui_android.gyp:ui_java', |
280 'android_webview_strings_grd', | 279 'android_webview_strings_grd', |
281 ], | 280 ], |
282 'variables': { | 281 'variables': { |
283 'java_in_dir': '../android_webview/java', | 282 'java_in_dir': '../android_webview/java', |
| 283 'has_java_resources': 1, |
| 284 'R_package': 'org.chromium.android_webview', |
| 285 'R_package_relpath': 'org/chromium/android_webview', |
284 }, | 286 }, |
285 'includes': [ '../build/java.gypi' ], | 287 'includes': [ '../build/java.gypi' ], |
286 }, | 288 }, |
| 289 { |
| 290 'target_name': 'system_webview_apk', |
| 291 'variables': { |
| 292 'android_sdk_jar': '<(DEPTH)/third_party/android_platform/webview/fr
ameworks_1622219.jar', |
| 293 'apk_name': 'SystemWebView', |
| 294 'android_manifest_path': 'apk/java/AndroidManifest.xml', |
| 295 'java_in_dir': '../android_webview/glue/java', |
| 296 'resource_dir': 'apk/java/res', |
| 297 'shared_resources': 1, |
| 298 }, |
| 299 'includes': [ 'apk/system_webview_apk_common.gypi' ], |
| 300 'copies': [ |
| 301 { |
| 302 'destination': '<(PRODUCT_DIR)/android_webview_assets', |
| 303 'files': [], |
| 304 'conditions': [ |
| 305 ['icu_use_data_file_flag==1', { |
| 306 'files': [ |
| 307 '<(PRODUCT_DIR)/icudtl.dat', |
| 308 ], |
| 309 }], |
| 310 ['v8_use_external_startup_data==1', { |
| 311 'files': [ |
| 312 '<(PRODUCT_DIR)/natives_blob.bin', |
| 313 '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 314 ], |
| 315 }], |
| 316 ], |
| 317 }, |
| 318 ], |
| 319 }, |
287 ], | 320 ], |
288 }, { # android_webview_build==1 | 321 }, { # android_webview_build==1 |
289 'targets': [ | 322 'targets': [ |
290 { | 323 { |
291 'target_name': 'android_webview_jarjar_ui_resources', | 324 'target_name': 'android_webview_jarjar_ui_resources', |
292 'android_unmangled_name': 1, | 325 'android_unmangled_name': 1, |
293 'type': 'none', | 326 'type': 'none', |
294 'variables': { | 327 'variables': { |
295 'res_dir': '../ui/android/java/res', | 328 'res_dir': '../ui/android/java/res', |
296 'rules_file': '../android_webview/build/jarjar-rules.txt', | 329 'rules_file': '../android_webview/build/jarjar-rules.txt', |
(...skipping 19 matching lines...) Expand all Loading... |
316 '../ui/android/ui_android.gyp:ui_strings_grd', | 349 '../ui/android/ui_android.gyp:ui_strings_grd', |
317 'android_webview_jarjar_content_resources', | 350 'android_webview_jarjar_content_resources', |
318 'android_webview_jarjar_ui_resources', | 351 'android_webview_jarjar_ui_resources', |
319 'android_webview_strings_grd', | 352 'android_webview_strings_grd', |
320 ], | 353 ], |
321 }, | 354 }, |
322 ], | 355 ], |
323 }], | 356 }], |
324 ], | 357 ], |
325 } | 358 } |
OLD | NEW |