Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: android_webview/android_webview.gyp

Issue 11096038: Move shared library copy and strip to java_apk.gypi (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Workaround make generator bug Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/android/prepare_library_for_apk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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': 'libwebview', 10 'target_name': 'libwebview',
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 '../chrome/chrome_resources.gyp:packed_resources', 119 '../chrome/chrome_resources.gyp:packed_resources',
120 '../content/content.gyp:content_java', 120 '../content/content.gyp:content_java',
121 '../media/media.gyp:media_java', 121 '../media/media.gyp:media_java',
122 '../net/net.gyp:net_java', 122 '../net/net.gyp:net_java',
123 '../ui/ui.gyp:ui_java', 123 '../ui/ui.gyp:ui_java',
124 'libwebview', 124 'libwebview',
125 ], 125 ],
126 'variables': { 126 'variables': {
127 'package_name': 'android_webview', 127 'package_name': 'android_webview',
128 'apk_name': 'AndroidWebView', 128 'apk_name': 'AndroidWebView',
129 'manifest_package_name': 'org.chromium.android_webview',
129 'java_in_dir': '../android_webview/java', 130 'java_in_dir': '../android_webview/java',
130 'resource_dir': '../res', 131 'resource_dir': '../res',
131 'native_libs_paths': ['<(PRODUCT_DIR)/android_webview/libs/<(android_app _abi)/libwebview.so'], 132 'native_libs_paths': ['<(SHARED_LIB_DIR)/libwebview.so'],
132 'input_pak_files': [ 133 'input_pak_files': [
133 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak', 134 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
134 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', 135 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak',
135 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', 136 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak',
136 '<(SHARED_INTERMEDIATE_DIR)/repack/en-US.pak', 137 '<(SHARED_INTERMEDIATE_DIR)/repack/en-US.pak',
137 ], 138 ],
138 'copied_pak_files': [ 139 'copied_pak_files': [
139 '<(PRODUCT_DIR)/android_webview/assets/chrome.pak', 140 '<(PRODUCT_DIR)/android_webview/assets/chrome.pak',
140 '<(PRODUCT_DIR)/android_webview/assets/chrome_100_percent.pak', 141 '<(PRODUCT_DIR)/android_webview/assets/chrome_100_percent.pak',
141 '<(PRODUCT_DIR)/android_webview/assets/resources.pak', 142 '<(PRODUCT_DIR)/android_webview/assets/resources.pak',
142 '<(PRODUCT_DIR)/android_webview/assets/en-US.pak', 143 '<(PRODUCT_DIR)/android_webview/assets/en-US.pak',
143 ], 144 ],
144 'additional_input_paths': [ '<@(copied_pak_files)' ], 145 'additional_input_paths': [ '<@(copied_pak_files)' ],
145 }, 146 },
146 'actions': [
147 {
148 'action_name': 'copy_and_strip_so',
149 'inputs': ['<(SHARED_LIB_DIR)/libwebview.so'],
150 'outputs': ['<(PRODUCT_DIR)/android_webview/libs/<(android_app_abi)/li bwebview.so'],
151 'action': [
152 '<(android_strip)',
153 '--strip-unneeded', # All symbols not needed for relocation.
154 '<@(_inputs)',
155 '-o',
156 '<@(_outputs)',
157 ],
158 },
159 ],
160 'copies': [ 147 'copies': [
161 { 148 {
162 'destination': '<(PRODUCT_DIR)/android_webview/assets', 149 'destination': '<(PRODUCT_DIR)/android_webview/assets',
163 'files': [ '<@(input_pak_files)' ] 150 'files': [ '<@(input_pak_files)' ]
164 }, 151 },
165 ], 152 ],
166 'includes': [ '../build/java_apk.gypi' ], 153 'includes': [ '../build/java_apk.gypi' ],
167 }, 154 },
168 { 155 {
169 'target_name': 'android_webview_test_apk', 156 'target_name': 'android_webview_test_apk',
(...skipping 22 matching lines...) Expand all
192 'copies': [ 179 'copies': [
193 { 180 {
194 'destination': '<(PRODUCT_DIR)/android_webview_test/assets', 181 'destination': '<(PRODUCT_DIR)/android_webview_test/assets',
195 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ] 182 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ]
196 }, 183 },
197 ], 184 ],
198 'includes': [ '../build/java_apk.gypi' ], 185 'includes': [ '../build/java_apk.gypi' ],
199 }, 186 },
200 ], 187 ],
201 } 188 }
OLDNEW
« no previous file with comments | « no previous file | build/android/prepare_library_for_apk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698