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

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: 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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 '../chrome/chrome_resources.gyp:packed_resources', 114 '../chrome/chrome_resources.gyp:packed_resources',
115 '../content/content.gyp:content_java', 115 '../content/content.gyp:content_java',
116 '../media/media.gyp:media_java', 116 '../media/media.gyp:media_java',
117 '../net/net.gyp:net_java', 117 '../net/net.gyp:net_java',
118 '../ui/ui.gyp:ui_java', 118 '../ui/ui.gyp:ui_java',
119 'libwebview', 119 'libwebview',
120 ], 120 ],
121 'variables': { 121 'variables': {
122 'package_name': 'android_webview', 122 'package_name': 'android_webview',
123 'apk_name': 'AndroidWebView', 123 'apk_name': 'AndroidWebView',
124 'manifest_package_name': 'org.chromium.android_webview',
124 'java_in_dir': '../android_webview/java', 125 'java_in_dir': '../android_webview/java',
125 'resource_dir': '../res', 126 'resource_dir': '../res',
126 'native_libs_paths': ['<(PRODUCT_DIR)/android_webview/libs/<(android_app _abi)/libwebview.so'], 127 'native_libs_paths': ['<(SHARED_LIB_DIR)/libwebview.so'],
127 'input_pak_files': [ 128 'input_pak_files': [
128 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak', 129 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
129 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', 130 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak',
130 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', 131 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak',
131 '<(SHARED_INTERMEDIATE_DIR)/repack/en-US.pak', 132 '<(SHARED_INTERMEDIATE_DIR)/repack/en-US.pak',
132 ], 133 ],
133 'copied_pak_files': [ 134 'copied_pak_files': [
134 '<(PRODUCT_DIR)/android_webview/assets/chrome.pak', 135 '<(PRODUCT_DIR)/android_webview/assets/chrome.pak',
135 '<(PRODUCT_DIR)/android_webview/assets/chrome_100_percent.pak', 136 '<(PRODUCT_DIR)/android_webview/assets/chrome_100_percent.pak',
136 '<(PRODUCT_DIR)/android_webview/assets/resources.pak', 137 '<(PRODUCT_DIR)/android_webview/assets/resources.pak',
137 '<(PRODUCT_DIR)/android_webview/assets/en-US.pak', 138 '<(PRODUCT_DIR)/android_webview/assets/en-US.pak',
138 ], 139 ],
139 'additional_input_paths': [ '<@(copied_pak_files)' ], 140 'additional_input_paths': [ '<@(copied_pak_files)' ],
140 }, 141 },
141 'actions': [
142 {
143 'action_name': 'copy_and_strip_so',
144 'inputs': ['<(SHARED_LIB_DIR)/libwebview.so'],
145 'outputs': ['<(PRODUCT_DIR)/android_webview/libs/<(android_app_abi)/li bwebview.so'],
146 'action': [
147 '<(android_strip)',
148 '--strip-unneeded', # All symbols not needed for relocation.
149 '<@(_inputs)',
150 '-o',
151 '<@(_outputs)',
152 ],
153 },
154 ],
155 'copies': [ 142 'copies': [
156 { 143 {
157 'destination': '<(PRODUCT_DIR)/android_webview/assets', 144 'destination': '<(PRODUCT_DIR)/android_webview/assets',
158 'files': [ '<@(input_pak_files)' ] 145 'files': [ '<@(input_pak_files)' ]
159 }, 146 },
160 ], 147 ],
161 'includes': [ '../build/java_apk.gypi' ], 148 'includes': [ '../build/java_apk.gypi' ],
162 }, 149 },
163 { 150 {
164 'target_name': 'android_webview_test_apk', 151 'target_name': 'android_webview_test_apk',
(...skipping 21 matching lines...) Expand all
186 'copies': [ 173 'copies': [
187 { 174 {
188 'destination': '<(PRODUCT_DIR)/android_webview_test/assets', 175 'destination': '<(PRODUCT_DIR)/android_webview_test/assets',
189 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ] 176 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ]
190 }, 177 },
191 ], 178 ],
192 'includes': [ '../build/java_apk.gypi' ], 179 'includes': [ '../build/java_apk.gypi' ],
193 }, 180 },
194 ], 181 ],
195 } 182 }
OLDNEW
« no previous file with comments | « no previous file | build/android/prepare_library_for_apk » ('j') | build/android/prepare_library_for_apk » ('J')

Powered by Google App Engine
This is Rietveld 408576698