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

Side by Side Diff: native_client_sdk/doc_generated/reference/nacl-manifest-format.html

Issue 394283002: [NaCl SDK]: Docs -- fix typo in nacl manifest specification (missing "portable") (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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 | native_client_sdk/src/doc/reference/nacl-manifest-format.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {{+bindTo:partials.standard_nacl_article}} 1 {{+bindTo:partials.standard_nacl_article}}
2 2
3 <section id="native-client-manifest-nmf-format"> 3 <section id="native-client-manifest-nmf-format">
4 <h1 id="native-client-manifest-nmf-format">Native Client Manifest (nmf) Format</ h1> 4 <h1 id="native-client-manifest-nmf-format">Native Client Manifest (nmf) Format</ h1>
5 <div class="contents local" id="contents" style="display: none"> 5 <div class="contents local" id="contents" style="display: none">
6 <ul class="small-gap"> 6 <ul class="small-gap">
7 <li><a class="reference internal" href="#overview" id="id1">Overview</a></li> 7 <li><a class="reference internal" href="#overview" id="id1">Overview</a></li>
8 <li><a class="reference internal" href="#field-summary" id="id2">Field summary</ a></li> 8 <li><a class="reference internal" href="#field-summary" id="id2">Field summary</ a></li>
9 <li><p class="first"><a class="reference internal" href="#field-details" id="id3 ">Field details</a></p> 9 <li><p class="first"><a class="reference internal" href="#field-details" id="id3 ">Field details</a></p>
10 <ul class="small-gap"> 10 <ul class="small-gap">
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 of URLs, one URL for each supported architecture (currently the choices 54 of URLs, one URL for each supported architecture (currently the choices
55 are &#8220;arm&#8221;, &#8220;x86-32&#8221;, and &#8220;x86-64&#8221;). For a dy namically linked executable, 55 are &#8220;arm&#8221;, &#8220;x86-32&#8221;, and &#8220;x86-64&#8221;). For a dy namically linked executable,
56 <code>program</code> is the dynamic loader used to load the dynamic executable 56 <code>program</code> is the dynamic loader used to load the dynamic executable
57 and its dynamic libraries. See the <a class="reference internal" href="#nmf-url -resolution"><em>semantics</em></a> 57 and its dynamic libraries. See the <a class="reference internal" href="#nmf-url -resolution"><em>semantics</em></a>
58 section for the rules on URL resolution.</p> 58 section for the rules on URL resolution.</p>
59 <section id="example-of-a-program-for-portable-native-client"> 59 <section id="example-of-a-program-for-portable-native-client">
60 <h4 id="example-of-a-program-for-portable-native-client">Example of a <code>prog ram</code> for Portable Native Client:</h4> 60 <h4 id="example-of-a-program-for-portable-native-client">Example of a <code>prog ram</code> for Portable Native Client:</h4>
61 <pre class="prettyprint"> 61 <pre class="prettyprint">
62 { 62 {
63 &quot;program&quot;: { 63 &quot;program&quot;: {
64 &quot;pnacl-translate&quot;: { 64 &quot;portable&quot;: {
65 // url is required 65 // Required
66 &quot;url&quot;: &quot;url_to_my_pexe&quot;, 66 &quot;pnacl-translate&quot;: {
67 // url is required
68 &quot;url&quot;: &quot;url_to_my_pexe&quot;,
67 69
68 // optlevel is optional 70 // optlevel is optional
69 &quot;optlevel&quot;: 2 71 &quot;optlevel&quot;: 2
70 }, 72 },
71 // pnacl-debug is optional 73 // pnacl-debug is optional
72 &quot;pnacl-debug&quot;: { 74 &quot;pnacl-debug&quot;: {
73 // url is required 75 // url is required
74 &quot;url&quot;: &quot;url_to_my_bitcode_bc&quot;, 76 &quot;url&quot;: &quot;url_to_my_bitcode_bc&quot;,
75 77
76 // optlevel is optional 78 // optlevel is optional
77 &quot;optlevel&quot;: 0 79 &quot;optlevel&quot;: 0
80 }
78 } 81 }
79 } 82 }
80 } 83 }
81 </pre> 84 </pre>
82 <p>Portable Native Client applications can also specify an <code>optlevel</code> field. 85 <p>Portable Native Client applications can also specify an <code>optlevel</code> field.
83 The <code>optlevel</code> field is an optimization level <em>hint</em>, which is a number 86 The <code>optlevel</code> field is an optimization level <em>hint</em>, which is a number
84 (zero and higher). Higher numbers indicate more optimization effort. 87 (zero and higher). Higher numbers indicate more optimization effort.
85 Setting a higher optimization level will improve the application&#8217;s 88 Setting a higher optimization level will improve the application&#8217;s
86 performance, but it will also slow down the first load experience. 89 performance, but it will also slow down the first load experience.
87 The default is <code>optlevel</code> is currently <code>2</code>, and values hig her 90 The default is <code>optlevel</code> is currently <code>2</code>, and values hig her
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 inline with a data URI can help reduce the amount of network traffic 241 inline with a data URI can help reduce the amount of network traffic
239 required to load the Native Client application.</p> 242 required to load the Native Client application.</p>
240 </section><section id="url-resolution"> 243 </section><section id="url-resolution">
241 <span id="nmf-url-resolution"></span><h3 id="url-resolution"><span id="nmf-url-r esolution"></span>URL resolution</h3> 244 <span id="nmf-url-resolution"></span><h3 id="url-resolution"><span id="nmf-url-r esolution"></span>URL resolution</h3>
242 <p>All URLs contained in a manifest are resolved relative to the URL of 245 <p>All URLs contained in a manifest are resolved relative to the URL of
243 the manifest. If the manifest was specified as a data URI, the URLs must 246 the manifest. If the manifest was specified as a data URI, the URLs must
244 all be absolute.</p> 247 all be absolute.</p>
245 </section></section></section> 248 </section></section></section>
246 249
247 {{/partials.standard_nacl_article}} 250 {{/partials.standard_nacl_article}}
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/doc/reference/nacl-manifest-format.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698