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

Side by Side Diff: build_tools/installer_contents.py

Issue 8510041: Add a mouselock example. (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src/
Patch Set: '' Created 9 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 | « no previous file | examples/build.scons » ('j') | examples/mouselock/mouselock.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client 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 """White-list of directories and files that get installed in the SDK. 6 """White-list of directories and files that get installed in the SDK.
7 7
8 Note that the list of directories is kept separate from the list of files 8 Note that the list of directories is kept separate from the list of files
9 because copying a directory is treated differently than copying files on 9 because copying a directory is treated differently than copying files on
10 Windows. 10 Windows.
(...skipping 19 matching lines...) Expand all
30 'examples/common/', 30 'examples/common/',
31 'examples/favicon.ico', 31 'examples/favicon.ico',
32 'examples/geturl/', 32 'examples/geturl/',
33 'examples/hello_world/', 33 'examples/hello_world/',
34 'examples/hello_world_c/', 34 'examples/hello_world_c/',
35 'examples/httpd.py', 35 'examples/httpd.py',
36 'examples/index.html', 36 'examples/index.html',
37 'examples/index_staging.html', 37 'examples/index_staging.html',
38 'examples/input_events/', 38 'examples/input_events/',
39 'examples/load_progress/', 39 'examples/load_progress/',
40 'examples/mouselock/',
40 'examples/multithreaded_input_events/', 41 'examples/multithreaded_input_events/',
41 'examples/pi_generator/', 42 'examples/pi_generator/',
42 'examples/pong/', 43 'examples/pong/',
43 'examples/scons', 44 'examples/scons',
44 'examples/sine_synth/', 45 'examples/sine_synth/',
45 'examples/tumbler/', 46 'examples/tumbler/',
46 'examples/fullscreen_tumbler/', 47 'examples/fullscreen_tumbler/',
47 'project_templates/README', 48 'project_templates/README',
48 'project_templates/c/', 49 'project_templates/c/',
49 'project_templates/cc/', 50 'project_templates/cc/',
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 178
178 Args: 179 Args:
179 path_list: A list of paths that use '/' as the path separator. 180 path_list: A list of paths that use '/' as the path separator.
180 181
181 Returns: 182 Returns:
182 A list of paths to be included in the SDK installer. The paths all have 183 A list of paths to be included in the SDK installer. The paths all have
183 OS-specific separators. 184 OS-specific separators.
184 ''' 185 '''
185 return ConvertToOSPaths( 186 return ConvertToOSPaths(
186 [dir for dir in path_list if not dir.endswith('/')]) 187 [dir for dir in path_list if not dir.endswith('/')])
OLDNEW
« no previous file with comments | « no previous file | examples/build.scons » ('j') | examples/mouselock/mouselock.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698