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

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

Issue 254033002: [NaCl SDK Docs] Remove links to developers.google.com (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 &quot;main.nexe&quot;: { 122 &quot;main.nexe&quot;: {
123 &quot;x86-32&quot;: { &quot;url&quot;: &quot;url_to_x86_32_nexe&quot; }, 123 &quot;x86-32&quot;: { &quot;url&quot;: &quot;url_to_x86_32_nexe&quot; },
124 &quot;x86-64&quot;: { &quot;url&quot;: &quot;url_to_x86_64_nexe&quot; } 124 &quot;x86-64&quot;: { &quot;url&quot;: &quot;url_to_x86_64_nexe&quot; }
125 }, 125 },
126 // ... 126 // ...
127 } 127 }
128 } 128 }
129 </pre> 129 </pre>
130 </section></section><section id="files"> 130 </section></section><section id="files">
131 <h3 id="files">files</h3> 131 <h3 id="files">files</h3>
132 <p>The <code>files</code> field specifies a dictionary of file resources to be 132 <p>The <code>files</code> field specifies a dictionary of file resources to be u sed by a
133 used by a Native Client application. This is not supported and 133 Native Client application. This is not supported and not needed by Portable
134 not needed by Portable Native Client applications (use the PPAPI 134 Native Client applications (use the PPAPI <a class="reference external" href="/n ative-client/pepper_stable/cpp/classpp_1_1_u_r_l_loader">URL Loader interfaces</ a> to load resources
135 <a class="reference external" href="https://developers.google.com/native-client/ peppercpp/classpp_1_1_u_r_l_loader">URL Loader interfaces</a> 135 instead). However, the <code>files</code> manifest field is important for dynami cally
136 to load resources instead). However, the <code>files</code> manifest field 136 linked executables, which must load files before PPAPI is initialized. The
137 is important for dynamically linked executables, which must 137 <code>files</code> dictionary should include the main dynamic program and its dy namic
138 load files before PPAPI is initialized. The <code>files</code> dictionary 138 libraries. There should be one file entry that corresponds to each a dynamic
139 should include the main dynamic program and its dynamic libraries. 139 library. Each file entry is a dictionary of supported architectures and the
140 There should be one file entry that corresponds to each a 140 URLs where the appropriate Native Client shared object (<code>.so</code>) for th at
141 dynamic library. Each file entry is a dictionary of supported architectures 141 architecture may be found.</p>
142 and the URLs where the appropriate Native Client shared object
143 (<code>.so</code>) for that architecture may be found.</p>
144 <p>Since <code>program</code> is used to refer to the dynamic linker that comes 142 <p>Since <code>program</code> is used to refer to the dynamic linker that comes
145 with the NaCl port of glibc, the main program is specified in the 143 with the NaCl port of glibc, the main program is specified in the
146 <code>files</code> dictionary. The main program is specified under the 144 <code>files</code> dictionary. The main program is specified under the
147 <code>&quot;main.nexe&quot;</code> field of the <code>files</code> dictionary.</ p> 145 <code>&quot;main.nexe&quot;</code> field of the <code>files</code> dictionary.</ p>
148 <pre class="prettyprint"> 146 <pre class="prettyprint">
149 { 147 {
150 &quot;program&quot;: { 148 &quot;program&quot;: {
151 &quot;x86-64&quot;: {&quot;url&quot;: &quot;lib64/runnable-ld.so&quot;}, 149 &quot;x86-64&quot;: {&quot;url&quot;: &quot;lib64/runnable-ld.so&quot;},
152 &quot;x86-32&quot;: {&quot;url&quot;: &quot;lib32/runnable-ld.so&quot;} 150 &quot;x86-32&quot;: {&quot;url&quot;: &quot;lib32/runnable-ld.so&quot;}
153 }, 151 },
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 inline with a data URI can help reduce the amount of network traffic 238 inline with a data URI can help reduce the amount of network traffic
241 required to load the Native Client application.</p> 239 required to load the Native Client application.</p>
242 </section><section id="url-resolution"> 240 </section><section id="url-resolution">
243 <span id="nmf-url-resolution"></span><h3 id="url-resolution"><span id="nmf-url-r esolution"></span>URL resolution</h3> 241 <span id="nmf-url-resolution"></span><h3 id="url-resolution"><span id="nmf-url-r esolution"></span>URL resolution</h3>
244 <p>All URLs contained in a manifest are resolved relative to the URL of 242 <p>All URLs contained in a manifest are resolved relative to the URL of
245 the manifest. If the manifest was specified as a data URI, the URLs must 243 the manifest. If the manifest was specified as a data URI, the URLs must
246 all be absolute.</p> 244 all be absolute.</p>
247 </section></section></section> 245 </section></section></section>
248 246
249 {{/partials.standard_nacl_article}} 247 {{/partials.standard_nacl_article}}
OLDNEW
« no previous file with comments | « native_client_sdk/doc_generated/overview.html ('k') | native_client_sdk/doc_generated/sdk/examples.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698