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

Side by Side Diff: visual_studio/NativeClientVSAddIn/create_package.py

Issue 69343013: [VS AddIn] Fix default library paths. (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « visual_studio/NativeClientVSAddIn/UnitTests/ProjectSettingsTest.cs ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Takes the output of the build step and turns it into a compressed 6 """Takes the output of the build step and turns it into a compressed
7 archive ready for distribution. 7 archive ready for distribution.
8 8
9 This script assumes the build script has been run to compile the add-in. 9 This script assumes the build script has been run to compile the add-in.
10 It zips up all files required for the add-in installation and places the 10 It zips up all files required for the add-in installation and places the
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 'win_x86': 'win_arm' 206 'win_x86': 'win_arm'
207 } 207 }
208 208
209 dest = join(BUILD_DIR, 'NaClARM') 209 dest = join(BUILD_DIR, 'NaClARM')
210 CopyWithReplacement(src, dest, arm_replacements) 210 CopyWithReplacement(src, dest, arm_replacements)
211 AddFolderToArchive(dest, archive, "NaClARM") 211 AddFolderToArchive(dest, archive, "NaClARM")
212 212
213 # Create PNaCl 213 # Create PNaCl
214 pnacl_replacements = { 214 pnacl_replacements = {
215 'NaCl64': 'PNaCl', 215 'NaCl64': 'PNaCl',
216 'x86_64': 'i686', 216 'x86_64': 'pnacl',
217 '64': '32', 217 '64': '32',
218 '.nexe': '.pexe', 218 '.nexe': '.pexe',
219 'nacl_link.xml': 'pnacl_link.xml', 219 'nacl_link.xml': 'pnacl_link.xml',
220 '$(ProjectName)_$(PlatformArchitecture)': '$(ProjectName)', 220 '$(ProjectName)_$(PlatformArchitecture)': '$(ProjectName)',
221 } 221 }
222 222
223 dest = join(BUILD_DIR, 'PNaCl') 223 dest = join(BUILD_DIR, 'PNaCl')
224 CopyWithReplacement(src, dest, pnacl_replacements) 224 CopyWithReplacement(src, dest, pnacl_replacements)
225 AddFolderToArchive(dest, archive, "PNaCl") 225 AddFolderToArchive(dest, archive, "PNaCl")
226 226
227 archive.close() 227 archive.close()
228 228
229 229
230 if __name__ == '__main__': 230 if __name__ == '__main__':
231 main() 231 main()
OLDNEW
« no previous file with comments | « visual_studio/NativeClientVSAddIn/UnitTests/ProjectSettingsTest.cs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698