Commit 5408a5c6 authored by jvoung@google.com's avatar jvoung@google.com

[NaCl SDK]: Docs -- fix typo in nacl manifest specification (missing "portable")

The manifest spec doc was missing the extra dictionary for "portable".
Spotted by Brad. Thanks!

BUG=none
NOTRY=true
R=sbc@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283576 0039d316-1c4b-4281-b951-d872f2087c98
parent ea25b782
...@@ -61,6 +61,8 @@ section for the rules on URL resolution.</p> ...@@ -61,6 +61,8 @@ section for the rules on URL resolution.</p>
<pre class="prettyprint"> <pre class="prettyprint">
{ {
&quot;program&quot;: { &quot;program&quot;: {
&quot;portable&quot;: {
// Required
&quot;pnacl-translate&quot;: { &quot;pnacl-translate&quot;: {
// url is required // url is required
&quot;url&quot;: &quot;url_to_my_pexe&quot;, &quot;url&quot;: &quot;url_to_my_pexe&quot;,
...@@ -77,6 +79,7 @@ section for the rules on URL resolution.</p> ...@@ -77,6 +79,7 @@ section for the rules on URL resolution.</p>
&quot;optlevel&quot;: 0 &quot;optlevel&quot;: 0
} }
} }
}
} }
</pre> </pre>
<p>Portable Native Client applications can also specify an <code>optlevel</code> field. <p>Portable Native Client applications can also specify an <code>optlevel</code> field.
......
...@@ -56,6 +56,8 @@ Example of a ``program`` for Portable Native Client: ...@@ -56,6 +56,8 @@ Example of a ``program`` for Portable Native Client:
{ {
"program": { "program": {
"portable": {
// Required
"pnacl-translate": { "pnacl-translate": {
// url is required // url is required
"url": "url_to_my_pexe", "url": "url_to_my_pexe",
...@@ -73,6 +75,7 @@ Example of a ``program`` for Portable Native Client: ...@@ -73,6 +75,7 @@ Example of a ``program`` for Portable Native Client:
} }
} }
} }
}
Portable Native Client applications can also specify an ``optlevel`` field. Portable Native Client applications can also specify an ``optlevel`` field.
The ``optlevel`` field is an optimization level *hint*, which is a number The ``optlevel`` field is an optimization level *hint*, which is a number
......
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