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 15 matching lines...) Expand all Loading... | |
26 '<(asset_location)/webviewchromium.pak', | 26 '<(asset_location)/webviewchromium.pak', |
27 '<(asset_location)/en-US.pak', | 27 '<(asset_location)/en-US.pak', |
28 '<(asset_location)/webview_licenses.notice', | 28 '<(asset_location)/webview_licenses.notice', |
29 ], | 29 ], |
30 'conditions': [ | 30 'conditions': [ |
31 ['icu_use_data_file_flag==1', { | 31 ['icu_use_data_file_flag==1', { |
32 'additional_input_paths': [ | 32 'additional_input_paths': [ |
33 '<(asset_location)/icudtl.dat', | 33 '<(asset_location)/icudtl.dat', |
34 ], | 34 ], |
35 }], | 35 }], |
36 ['v8_use_external_startup_data==1', { | 36 ['v8_use_external_startup_data==1 and (target_arch=="arm" or target_arch== "x86" or target_arch=="mips")', { |
Torne
2015/02/06 12:17:24
We should probably put this section in a .gypi fil
| |
37 'additional_input_paths': [ | 37 'additional_input_paths': [ |
38 '<(asset_location)/natives_blob.bin', | 38 » '<(asset_location)/natives_blob_32.bin', |
39 '<(asset_location)/snapshot_blob.bin', | 39 » '<(asset_location)/snapshot_blob_32.bin', |
40 ], | 40 » ], |
41 }], | |
42 ['v8_use_external_startup_data==1 and (target_arch=="arm64" or target_arch =="x86_64" or target_arch=="mips64")', { | |
43 'additional_input_paths': [ | |
44 » '<(asset_location)/natives_blob_64.bin', | |
45 » '<(asset_location)/snapshot_blob_64.bin', | |
46 » ], | |
41 }], | 47 }], |
42 ], | 48 ], |
43 }, | 49 }, |
44 'copies': [ | 50 'copies': [ |
45 { | 51 { |
46 'destination': '<(asset_location)', | 52 'destination': '<(asset_location)', |
47 'files': [ | 53 'files': [ |
48 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', | 54 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', |
49 '<(PRODUCT_DIR)/android_webview_assets/en-US.pak', | 55 '<(PRODUCT_DIR)/android_webview_assets/en-US.pak', |
50 ], | 56 ], |
51 'conditions': [ | 57 'conditions': [ |
52 ['icu_use_data_file_flag==1', { | 58 ['icu_use_data_file_flag==1', { |
53 'files': [ | 59 'files': [ |
54 '<(PRODUCT_DIR)/icudtl.dat', | 60 '<(PRODUCT_DIR)/icudtl.dat', |
55 ], | 61 ], |
56 }], | 62 }], |
57 ['v8_use_external_startup_data==1', { | 63 ['v8_use_external_startup_data==1 and (target_arch=="arm" or target_arch =="x86" or target_arch=="mips")', { |
58 'files': [ | 64 'files': [ |
59 '<(PRODUCT_DIR)/natives_blob.bin', | 65 '<(PRODUCT_DIR)/natives_blob_32.bin', |
60 '<(PRODUCT_DIR)/snapshot_blob.bin', | 66 '<(PRODUCT_DIR)/snapshot_blob_32.bin', |
67 ], | |
68 }], | |
69 ['v8_use_external_startup_data==1 and (target_arch=="arm64" or target_ar ch=="x86_64" or target_arch=="mips64")', { | |
70 'files': [ | |
71 '<(PRODUCT_DIR)/natives_blob_64.bin', | |
72 '<(PRODUCT_DIR)/snapshot_blob_64.bin', | |
61 ], | 73 ], |
62 }], | 74 }], |
63 ], | 75 ], |
64 }, | 76 }, |
65 ], | 77 ], |
66 'actions': [ | 78 'actions': [ |
67 { | 79 { |
68 'action_name': 'generate_webview_license_notice', | 80 'action_name': 'generate_webview_license_notice', |
69 'inputs': [ | 81 'inputs': [ |
70 '<!@(python <(DEPTH)/android_webview/tools/webview_licenses.py notice_de ps)', | 82 '<!@(python <(DEPTH)/android_webview/tools/webview_licenses.py notice_de ps)', |
71 '<(DEPTH)/android_webview/tools/licenses_notice.tmpl', | 83 '<(DEPTH)/android_webview/tools/licenses_notice.tmpl', |
72 '<(DEPTH)/android_webview/tools/webview_licenses.py', | 84 '<(DEPTH)/android_webview/tools/webview_licenses.py', |
73 ], | 85 ], |
74 'outputs': [ | 86 'outputs': [ |
75 '<(asset_location)/webview_licenses.notice', | 87 '<(asset_location)/webview_licenses.notice', |
76 ], | 88 ], |
77 'action': [ | 89 'action': [ |
78 'python', | 90 'python', |
79 '<(DEPTH)/android_webview/tools/webview_licenses.py', | 91 '<(DEPTH)/android_webview/tools/webview_licenses.py', |
80 'notice', | 92 'notice', |
81 '<(asset_location)/webview_licenses.notice', | 93 '<(asset_location)/webview_licenses.notice', |
82 ], | 94 ], |
83 'message': 'Generating WebView license notice', | 95 'message': 'Generating WebView license notice', |
84 }, | 96 }, |
85 ], | 97 ], |
86 'includes': [ '../../build/java_apk.gypi' ], | 98 'includes': [ '../../build/java_apk.gypi' ], |
87 } | 99 } |
OLD | NEW |