Commit 7f867fa2 authored by sbc@chromium.org's avatar sbc@chromium.org

[NaCl SDK] rename nacl_io demo.

Having a library and an example both called nacl_io was
confusing some tools (and some people).

R=binji@chromium.org, binji

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273881 0039d316-1c4b-4281-b951-d872f2087c98
parent 2adb8364
...@@ -90,7 +90,7 @@ systems and displays a set of controls that let you work with them:</p> ...@@ -90,7 +90,7 @@ systems and displays a set of controls that let you work with them:</p>
<ul class="small-gap"> <ul class="small-gap">
<li><p class="first">Open a terminal in the demo directory:</p> <li><p class="first">Open a terminal in the demo directory:</p>
<pre class="prettyprint"> <pre class="prettyprint">
$ cd $NACL_SDK_ROOT/examples/demo/nacl_io $ cd $NACL_SDK_ROOT/examples/demo/nacl_io_demo
</pre> </pre>
</li> </li>
<li><p class="first">run the demo:</p> <li><p class="first">run the demo:</p>
...@@ -214,7 +214,7 @@ int HandleFwrite(int num_params, char** params, char** output) { ...@@ -214,7 +214,7 @@ int HandleFwrite(int num_params, char** params, char** output) {
</section></section></section><section id="reference-information"> </section></section></section><section id="reference-information">
<h2 id="reference-information">Reference information</h2> <h2 id="reference-information">Reference information</h2>
<p>The example discussed here is included in the SDK in the directory <p>The example discussed here is included in the SDK in the directory
<code>examples/demo/nacl_io</code>.</p> <code>examples/demo/nacl_io_demo</code>.</p>
<p>The nacl_io library is included in the SDK toolchain and is not a part of the <p>The nacl_io library is included in the SDK toolchain and is not a part of the
Pepper API. For reference information related to the nacl_io interface see Pepper API. For reference information related to the nacl_io interface see
its header file in the SDK directory, located at its header file in the SDK directory, located at
......
...@@ -511,7 +511,7 @@ allows a module to &#8220;mount&#8221; a given directory tree. Once a module has ...@@ -511,7 +511,7 @@ allows a module to &#8220;mount&#8221; a given directory tree. Once a module has
mounted a file system, it can use standard C library file operations: mounted a file system, it can use standard C library file operations:
<code>fopen</code>, <code>fread</code>, <code>fwrite</code>, <code>fseek</code>, and <code>fclose</code>. <code>fopen</code>, <code>fread</code>, <code>fwrite</code>, <code>fseek</code>, and <code>fclose</code>.
For more detail, see the header <code>include/nacl_io/nacl_io.h</code>. For more detail, see the header <code>include/nacl_io/nacl_io.h</code>.
For an example of how to use nacl_io, see <code>examples/demo/nacl_io</code>.</dd> For an example of how to use nacl_io, see <code>examples/demo/nacl_io_demo</code>.</dd>
<dt>libppapi_simple.a</dt> <dt>libppapi_simple.a</dt>
<dd>Provides a familiar C programming environment by letting a module have a <dd>Provides a familiar C programming environment by letting a module have a
simple entry point that is registered by <code>PPAPI_SIMPLE_REGISTER_MAIN</code>. simple entry point that is registered by <code>PPAPI_SIMPLE_REGISTER_MAIN</code>.
......
...@@ -29,7 +29,7 @@ examples/demo/life/* ...@@ -29,7 +29,7 @@ examples/demo/life/*
examples/demo/life_simd/* examples/demo/life_simd/*
[win]examples/demo/make.bat [win]examples/demo/make.bat
examples/demo/Makefile examples/demo/Makefile
examples/demo/nacl_io/* examples/demo/nacl_io_demo/*
examples/demo/pi_generator/* examples/demo/pi_generator/*
examples/demo/voronoi/* examples/demo/voronoi/*
examples/favicon.ico examples/favicon.ico
......
...@@ -80,7 +80,7 @@ Follow these steps to build and run the demo: ...@@ -80,7 +80,7 @@ Follow these steps to build and run the demo:
* Open a terminal in the demo directory:: * Open a terminal in the demo directory::
$ cd $NACL_SDK_ROOT/examples/demo/nacl_io $ cd $NACL_SDK_ROOT/examples/demo/nacl_io_demo
* run the demo:: * run the demo::
...@@ -216,7 +216,7 @@ Reference information ...@@ -216,7 +216,7 @@ Reference information
===================== =====================
The example discussed here is included in the SDK in the directory The example discussed here is included in the SDK in the directory
``examples/demo/nacl_io``. ``examples/demo/nacl_io_demo``.
The nacl_io library is included in the SDK toolchain and is not a part of the The nacl_io library is included in the SDK toolchain and is not a part of the
Pepper API. For reference information related to the nacl_io interface see Pepper API. For reference information related to the nacl_io interface see
......
...@@ -589,7 +589,7 @@ libnacl_io.a ...@@ -589,7 +589,7 @@ libnacl_io.a
mounted a file system, it can use standard C library file operations: mounted a file system, it can use standard C library file operations:
``fopen``, ``fread``, ``fwrite``, ``fseek``, and ``fclose``. ``fopen``, ``fread``, ``fwrite``, ``fseek``, and ``fclose``.
For more detail, see the header ``include/nacl_io/nacl_io.h``. For more detail, see the header ``include/nacl_io/nacl_io.h``.
For an example of how to use nacl_io, see ``examples/demo/nacl_io``. For an example of how to use nacl_io, see ``examples/demo/nacl_io_demo``.
libppapi_simple.a libppapi_simple.a
Provides a familiar C programming environment by letting a module have a Provides a familiar C programming environment by letting a module have a
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
'TOOLS': ['newlib', 'glibc', 'pnacl', 'bionic'], 'TOOLS': ['newlib', 'glibc', 'pnacl', 'bionic'],
'TARGETS': [ 'TARGETS': [
{ {
'NAME' : 'nacl_io', 'NAME' : 'nacl_io_demo',
'TYPE' : 'main', 'TYPE' : 'main',
'SOURCES' : [ 'SOURCES' : [
'handlers.c', 'handlers.c',
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
'example.js' 'example.js'
], ],
'DEST': 'examples/demo', 'DEST': 'examples/demo',
'NAME': 'nacl_io', 'NAME': 'nacl_io_demo',
'TITLE': 'NaCl IO Demo', 'TITLE': 'NaCl IO Demo',
'GROUP': 'Demo', 'GROUP': 'Demo',
'PERMISSIONS': [ 'PERMISSIONS': [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment