| 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 # When making changes remember that this is shared with the internal .apk | 5 # When making changes remember that this is shared with the internal .apk |
| 6 # build rules. | 6 # build rules. |
| 7 { | 7 { |
| 8 'type': 'none', | 8 'type': 'none', |
| 9 'dependencies': [ | 9 'dependencies': [ |
| 10 '<(DEPTH)/android_webview/android_webview.gyp:libwebviewchromium', | 10 '<(DEPTH)/android_webview/android_webview.gyp:libwebviewchromium', |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 'additional_input_paths': [ | 39 'additional_input_paths': [ |
| 40 '<(asset_location)/icudtl.dat', | 40 '<(asset_location)/icudtl.dat', |
| 41 ], | 41 ], |
| 42 }], | 42 }], |
| 43 ], | 43 ], |
| 44 }, | 44 }, |
| 45 'copies': [ | 45 'copies': [ |
| 46 { | 46 { |
| 47 'destination': '<(asset_location)', | 47 'destination': '<(asset_location)', |
| 48 'files': [ | 48 'files': [ |
| 49 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', | 49 '<(webview_licenses_path)', |
| 50 '<(webview_chromium_pak_path)', |
| 50 '<@(snapshot_copy_files)', | 51 '<@(snapshot_copy_files)', |
| 51 ], | 52 ], |
| 52 'conditions': [ | 53 'conditions': [ |
| 53 ['icu_use_data_file_flag==1', { | 54 ['icu_use_data_file_flag==1', { |
| 54 'files': [ | 55 'files': [ |
| 55 '<(PRODUCT_DIR)/icudtl.dat', | 56 '<(PRODUCT_DIR)/icudtl.dat', |
| 56 ], | 57 ], |
| 57 }], | 58 }], |
| 58 ], | 59 ], |
| 59 }, | 60 }, |
| 60 ], | 61 ], |
| 61 'actions': [ | |
| 62 { | |
| 63 'action_name': 'generate_webview_license_notice', | |
| 64 'inputs': [ | |
| 65 '<!@(python <(DEPTH)/android_webview/tools/webview_licenses.py notice_de
ps)', | |
| 66 '<(DEPTH)/android_webview/tools/licenses_notice.tmpl', | |
| 67 '<(DEPTH)/android_webview/tools/webview_licenses.py', | |
| 68 ], | |
| 69 'outputs': [ | |
| 70 '<(asset_location)/webview_licenses.notice', | |
| 71 ], | |
| 72 'action': [ | |
| 73 'python', | |
| 74 '<(DEPTH)/android_webview/tools/webview_licenses.py', | |
| 75 'notice', | |
| 76 '<(asset_location)/webview_licenses.notice', | |
| 77 ], | |
| 78 'message': 'Generating WebView license notice', | |
| 79 }, | |
| 80 ], | |
| 81 'includes': [ | 62 'includes': [ |
| 63 'system_webview_paks.gypi', |
| 82 '../../build/java_apk.gypi', | 64 '../../build/java_apk.gypi', |
| 83 '../../build/android/jinja_template.gypi', | 65 '../../build/android/jinja_template.gypi', |
| 84 ], | 66 ], |
| 85 } | 67 } |
| OLD | NEW |