Move examples
commitedce72d41792dc614264f2b80ad851b1fd2c5da6
authornoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 25 Apr 2013 18:36:36 +0000 (25 18:36 +0000)
committernoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 25 Apr 2013 18:36:36 +0000 (25 18:36 +0000)
tree1689e4c6edd617c64de07c72149474fd04bae55b
parent2435f54de0fbb4f877917f09dced46f9661b08b7
Move examples

Reorganize the examples into Getting Started, API, Demo, and Tutorial
Update build scripts to support example sub-dirs.

Disable examples that don't fit this model until we fix them.

R=binji@chromium.org
BUG=234855

Review URL: https://codereview.chromium.org/13971006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196443 0039d316-1c4b-4281-b951-d872f2087c98
100 files changed:
native_client_sdk/src/build_tools/build_projects.py
native_client_sdk/src/build_tools/generate_index.py
native_client_sdk/src/build_tools/generate_make.py
native_client_sdk/src/build_tools/parse_dsc.py
native_client_sdk/src/examples/api/audio/example.dsc [moved from native_client_sdk/src/examples/sine_synth/example.dsc with 77% similarity]
native_client_sdk/src/examples/api/audio/example.js [moved from native_client_sdk/src/examples/sine_synth/example.js with 100% similarity]
native_client_sdk/src/examples/api/audio/index.html [moved from native_client_sdk/src/examples/sine_synth/index.html with 100% similarity]
native_client_sdk/src/examples/api/audio/sine_synth.cc [moved from native_client_sdk/src/examples/sine_synth/sine_synth.cc with 100% similarity]
native_client_sdk/src/examples/api/file_io/example.dsc [moved from native_client_sdk/src/examples/file_io/example.dsc with 92% similarity]
native_client_sdk/src/examples/api/file_io/example.js [moved from native_client_sdk/src/examples/file_io/example.js with 100% similarity]
native_client_sdk/src/examples/api/file_io/file_io.cc [moved from native_client_sdk/src/examples/file_io/file_io.cc with 100% similarity]
native_client_sdk/src/examples/api/file_io/index.html [moved from native_client_sdk/src/examples/file_io/index.html with 100% similarity]
native_client_sdk/src/examples/api/gamepad/example.dsc [moved from native_client_sdk/src/examples/gamepad/example.dsc with 84% similarity]
native_client_sdk/src/examples/api/gamepad/gamepad.cc [moved from native_client_sdk/src/examples/gamepad/gamepad.cc with 100% similarity]
native_client_sdk/src/examples/api/gamepad/gamepad.h [moved from native_client_sdk/src/examples/gamepad/gamepad.h with 100% similarity]
native_client_sdk/src/examples/api/gamepad/gamepad_module.cc [moved from native_client_sdk/src/examples/gamepad/gamepad_module.cc with 100% similarity]
native_client_sdk/src/examples/api/gamepad/index.html [moved from native_client_sdk/src/examples/gamepad/index.html with 100% similarity]
native_client_sdk/src/examples/api/graphics_3d/example.dsc [moved from native_client_sdk/src/examples/hello_world_gles/example.dsc with 84% similarity]
native_client_sdk/src/examples/api/graphics_3d/fragment_shader_es2.frag [moved from native_client_sdk/src/examples/hello_world_gles/fragment_shader_es2.frag with 100% similarity]
native_client_sdk/src/examples/api/graphics_3d/hello.raw [moved from native_client_sdk/src/examples/hello_world_gles/hello.raw with 100% similarity]
native_client_sdk/src/examples/api/graphics_3d/hello_world.cc [moved from native_client_sdk/src/examples/hello_world_gles/hello_world.cc with 100% similarity]
native_client_sdk/src/examples/api/graphics_3d/index.html [moved from native_client_sdk/src/examples/hello_world_gles/index.html with 100% similarity]
native_client_sdk/src/examples/api/graphics_3d/matrix.cc [moved from native_client_sdk/src/examples/hello_world_gles/matrix.cc with 100% similarity]
native_client_sdk/src/examples/api/graphics_3d/matrix.h [moved from native_client_sdk/src/examples/hello_world_gles/matrix.h with 100% similarity]
native_client_sdk/src/examples/api/graphics_3d/vertex_shader_es2.vert [moved from native_client_sdk/src/examples/hello_world_gles/vertex_shader_es2.vert with 100% similarity]
native_client_sdk/src/examples/api/input_event/custom_events.cc [moved from native_client_sdk/src/examples/input_events/custom_events.cc with 100% similarity]
native_client_sdk/src/examples/api/input_event/custom_events.h [moved from native_client_sdk/src/examples/input_events/custom_events.h with 100% similarity]
native_client_sdk/src/examples/api/input_event/example.dsc [moved from native_client_sdk/src/examples/input_events/example.dsc with 82% similarity]
native_client_sdk/src/examples/api/input_event/example.js [moved from native_client_sdk/src/examples/input_events/example.js with 100% similarity]
native_client_sdk/src/examples/api/input_event/index.html [moved from native_client_sdk/src/examples/input_events/index.html with 100% similarity]
native_client_sdk/src/examples/api/input_event/input_events.cc [moved from native_client_sdk/src/examples/input_events/input_events.cc with 100% similarity]
native_client_sdk/src/examples/api/input_event/shared_queue.h [moved from native_client_sdk/src/examples/input_events/shared_queue.h with 100% similarity]
native_client_sdk/src/examples/api/mouse_lock/check_browser.js [moved from native_client_sdk/src/examples/load_progress/check_browser.js with 100% similarity]
native_client_sdk/src/examples/api/mouse_lock/example.dsc [moved from native_client_sdk/src/examples/mouselock/example.dsc with 80% similarity]
native_client_sdk/src/examples/api/mouse_lock/index.html [moved from native_client_sdk/src/examples/mouselock/index.html with 100% similarity]
native_client_sdk/src/examples/api/mouse_lock/mouselock.cc [moved from native_client_sdk/src/examples/mouselock/mouselock.cc with 100% similarity]
native_client_sdk/src/examples/api/mouse_lock/mouselock.h [moved from native_client_sdk/src/examples/mouselock/mouselock.h with 100% similarity]
native_client_sdk/src/examples/api/url_loader/example.dsc [moved from native_client_sdk/src/examples/geturl/example.dsc with 82% similarity]
native_client_sdk/src/examples/api/url_loader/example.js [moved from native_client_sdk/src/examples/geturl/example.js with 100% similarity]
native_client_sdk/src/examples/api/url_loader/geturl.cc [moved from native_client_sdk/src/examples/geturl/geturl.cc with 100% similarity]
native_client_sdk/src/examples/api/url_loader/geturl_handler.cc [moved from native_client_sdk/src/examples/geturl/geturl_handler.cc with 100% similarity]
native_client_sdk/src/examples/api/url_loader/geturl_handler.h [moved from native_client_sdk/src/examples/geturl/geturl_handler.h with 100% similarity]
native_client_sdk/src/examples/api/url_loader/geturl_success.html [moved from native_client_sdk/src/examples/geturl/geturl_success.html with 100% similarity]
native_client_sdk/src/examples/api/url_loader/index.html [moved from native_client_sdk/src/examples/geturl/index.html with 100% similarity]
native_client_sdk/src/examples/api/var_array_buffer/example.dsc [moved from native_client_sdk/src/examples/file_histogram/example.dsc with 77% similarity]
native_client_sdk/src/examples/api/var_array_buffer/example.js [moved from native_client_sdk/src/examples/file_histogram/example.js with 100% similarity]
native_client_sdk/src/examples/api/var_array_buffer/file_histogram.cc [moved from native_client_sdk/src/examples/file_histogram/file_histogram.cc with 100% similarity]
native_client_sdk/src/examples/api/var_array_buffer/index.html [moved from native_client_sdk/src/examples/file_histogram/index.html with 100% similarity]
native_client_sdk/src/examples/api/websocket/example.dsc [moved from native_client_sdk/src/examples/websocket/example.dsc with 92% similarity]
native_client_sdk/src/examples/api/websocket/example.js [moved from native_client_sdk/src/examples/websocket/example.js with 100% similarity]
native_client_sdk/src/examples/api/websocket/index.html [moved from native_client_sdk/src/examples/websocket/index.html with 100% similarity]
native_client_sdk/src/examples/api/websocket/websocket.cc [moved from native_client_sdk/src/examples/websocket/websocket.cc with 100% similarity]
native_client_sdk/src/examples/demo/nacl_io/example.dsc [moved from native_client_sdk/src/examples/hello_nacl_io/example.dsc with 72% similarity]
native_client_sdk/src/examples/demo/nacl_io/example.js [moved from native_client_sdk/src/examples/hello_nacl_io/example.js with 100% similarity]
native_client_sdk/src/examples/demo/nacl_io/handlers.c [moved from native_client_sdk/src/examples/hello_nacl_io/handlers.c with 100% similarity]
native_client_sdk/src/examples/demo/nacl_io/handlers.h [moved from native_client_sdk/src/examples/hello_nacl_io/handlers.h with 100% similarity]
native_client_sdk/src/examples/demo/nacl_io/hello_nacl_io.c [moved from native_client_sdk/src/examples/hello_nacl_io/hello_nacl_io.c with 100% similarity]
native_client_sdk/src/examples/demo/nacl_io/hello_nacl_io.h [moved from native_client_sdk/src/examples/hello_nacl_io/hello_nacl_io.h with 100% similarity]
native_client_sdk/src/examples/demo/nacl_io/index.html [moved from native_client_sdk/src/examples/hello_nacl_io/index.html with 100% similarity]
native_client_sdk/src/examples/demo/nacl_io/queue.c [moved from native_client_sdk/src/examples/hello_nacl_io/queue.c with 100% similarity]
native_client_sdk/src/examples/demo/nacl_io/queue.h [moved from native_client_sdk/src/examples/hello_nacl_io/queue.h with 100% similarity]
native_client_sdk/src/examples/demo/pi_generator/example.dsc [moved from native_client_sdk/src/examples/pi_generator/example.dsc with 90% similarity]
native_client_sdk/src/examples/demo/pi_generator/example.js [moved from native_client_sdk/src/examples/pi_generator/example.js with 100% similarity]
native_client_sdk/src/examples/demo/pi_generator/index.html [moved from native_client_sdk/src/examples/pi_generator/index.html with 100% similarity]
native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc [moved from native_client_sdk/src/examples/pi_generator/pi_generator.cc with 100% similarity]
native_client_sdk/src/examples/demo/pi_generator/pi_generator.h [moved from native_client_sdk/src/examples/pi_generator/pi_generator.h with 100% similarity]
native_client_sdk/src/examples/demo/pi_generator/pi_generator_module.cc [moved from native_client_sdk/src/examples/pi_generator/pi_generator_module.cc with 100% similarity]
native_client_sdk/src/examples/getting_started/hello_world/example.dsc [moved from native_client_sdk/src/examples/hello_world/example.dsc with 74% similarity]
native_client_sdk/src/examples/getting_started/hello_world/example.js [moved from native_client_sdk/src/examples/hello_world/example.js with 100% similarity]
native_client_sdk/src/examples/getting_started/hello_world/hello_world.c [moved from native_client_sdk/src/examples/hello_world/hello_world.c with 100% similarity]
native_client_sdk/src/examples/getting_started/hello_world/index.html [moved from native_client_sdk/src/examples/hello_world/index.html with 100% similarity]
native_client_sdk/src/examples/getting_started/hello_world_ppapi_main/example.dsc [moved from native_client_sdk/src/examples/hello_world_stdio/example.dsc with 65% similarity]
native_client_sdk/src/examples/getting_started/hello_world_ppapi_main/example.js [moved from native_client_sdk/src/examples/hello_world_stdio/example.js with 100% similarity]
native_client_sdk/src/examples/getting_started/hello_world_ppapi_main/hello_world.c [moved from native_client_sdk/src/examples/hello_world_stdio/hello_world.c with 100% similarity]
native_client_sdk/src/examples/getting_started/hello_world_ppapi_main/index.html [moved from native_client_sdk/src/examples/hello_world_stdio/index.html with 100% similarity]
native_client_sdk/src/examples/hello_world_instance3d/example.dsc
native_client_sdk/src/examples/hello_world_interactive/example.dsc
native_client_sdk/src/examples/resources/index.html.template
native_client_sdk/src/examples/tutorial/debugging/example.dsc [moved from native_client_sdk/src/examples/debugging/example.dsc with 89% similarity]
native_client_sdk/src/examples/tutorial/debugging/example.js [moved from native_client_sdk/src/examples/debugging/example.js with 100% similarity]
native_client_sdk/src/examples/tutorial/debugging/handler.py [moved from native_client_sdk/src/examples/debugging/handler.py with 100% similarity]
native_client_sdk/src/examples/tutorial/debugging/hello_world.c [moved from native_client_sdk/src/examples/debugging/hello_world.c with 100% similarity]
native_client_sdk/src/examples/tutorial/debugging/index.html [moved from native_client_sdk/src/examples/debugging/index.html with 100% similarity]
native_client_sdk/src/examples/tutorial/debugging/string_stream.c [moved from native_client_sdk/src/examples/debugging/string_stream.c with 100% similarity]
native_client_sdk/src/examples/tutorial/debugging/string_stream.h [moved from native_client_sdk/src/examples/debugging/string_stream.h with 100% similarity]
native_client_sdk/src/examples/tutorial/debugging/untrusted_crash_dump.c [moved from native_client_sdk/src/examples/debugging/untrusted_crash_dump.c with 100% similarity]
native_client_sdk/src/examples/tutorial/debugging/untrusted_crash_dump.h [moved from native_client_sdk/src/examples/debugging/untrusted_crash_dump.h with 100% similarity]
native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc [moved from native_client_sdk/src/examples/dlopen/dlopen.cc with 100% similarity]
native_client_sdk/src/examples/tutorial/dlopen/eightball.cc [moved from native_client_sdk/src/examples/dlopen/eightball.cc with 100% similarity]
native_client_sdk/src/examples/tutorial/dlopen/eightball.h [moved from native_client_sdk/src/examples/dlopen/eightball.h with 100% similarity]
native_client_sdk/src/examples/tutorial/dlopen/example.dsc [moved from native_client_sdk/src/examples/dlopen/example.dsc with 94% similarity]
native_client_sdk/src/examples/tutorial/dlopen/example.js [moved from native_client_sdk/src/examples/dlopen/example.js with 100% similarity]
native_client_sdk/src/examples/tutorial/dlopen/index.html [moved from native_client_sdk/src/examples/dlopen/index.html with 100% similarity]
native_client_sdk/src/examples/tutorial/dlopen/reverse.cc [moved from native_client_sdk/src/examples/dlopen/reverse.cc with 100% similarity]
native_client_sdk/src/examples/tutorial/dlopen/reverse.h [moved from native_client_sdk/src/examples/dlopen/reverse.h with 100% similarity]
native_client_sdk/src/examples/tutorial/load_progress/check_browser.js [moved from native_client_sdk/src/examples/mouselock/check_browser.js with 100% similarity]
native_client_sdk/src/examples/tutorial/load_progress/example.dsc [moved from native_client_sdk/src/examples/load_progress/example.dsc with 86% similarity]
native_client_sdk/src/examples/tutorial/load_progress/example.js [moved from native_client_sdk/src/examples/load_progress/example.js with 100% similarity]
native_client_sdk/src/examples/tutorial/load_progress/index.html [moved from native_client_sdk/src/examples/load_progress/index.html with 100% similarity]
native_client_sdk/src/examples/tutorial/load_progress/load_progress.cc [moved from native_client_sdk/src/examples/load_progress/load_progress.cc with 100% similarity]