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

Side by Side Diff: native_client_sdk/doc_generated/devguide/distributing.html

Issue 731453002: Adding two codelabs for cds2014. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 6 years, 1 month 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
OLDNEW
1 {{+bindTo:partials.standard_nacl_article}} 1 {{+bindTo:partials.standard_nacl_article}}
2 2
3 <section id="distributing-your-application"> 3 <section id="distributing-your-application">
4 <span id="distributing"></span><h1 id="distributing-your-application"><span id=" distributing"></span>Distributing Your Application</h1> 4 <span id="distributing"></span><h1 id="distributing-your-application"><span id=" distributing"></span>Distributing Your Application</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="#portable-native-client" id="id1">Portab le Native Client</a></li> 7 <li><a class="reference internal" href="#portable-native-client" id="id1">Portab le Native Client</a></li>
8 <li><p class="first"><a class="reference internal" href="#non-portable-native-cl ient" id="id2">Non-portable Native Client</a></p> 8 <li><p class="first"><a class="reference internal" href="#non-portable-native-cl ient" id="id2">Non-portable Native Client</a></p>
9 <ul class="small-gap"> 9 <ul class="small-gap">
10 <li><a class="reference internal" href="#packaged-application" id="id3">Packaged application</a></li> 10 <li><a class="reference internal" href="#packaged-application" id="id3">Packaged application</a></li>
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 </li> 136 </li>
137 <li><p class="first">Modify the CWS manifest file, <code>manifest.json</code>, s o that it specifies which 137 <li><p class="first">Modify the CWS manifest file, <code>manifest.json</code>, s o that it specifies which
138 subdirectory under <code>_platform_specific</code> corresponds to which architec ture.</p> 138 subdirectory under <code>_platform_specific</code> corresponds to which architec ture.</p>
139 <p>The CWS manifest file must include a new name/value pair, where the name 139 <p>The CWS manifest file must include a new name/value pair, where the name
140 is <code>platforms</code> and the value is an array. The array has an object fo r 140 is <code>platforms</code> and the value is an array. The array has an object fo r
141 each Native Client architecture with two name/value pairs:</p> 141 each Native Client architecture with two name/value pairs:</p>
142 <table border="1" class="docutils"> 142 <table border="1" class="docutils">
143 <colgroup> 143 <colgroup>
144 </colgroup> 144 </colgroup>
145 <thead valign="bottom"> 145 <thead valign="bottom">
146 <tr class="row-odd"><th class="head"><p class="first last">Name</p> 146 <tr class="row-odd"><th class="head">Name</th>
147 </th> 147 <th class="head">Value</th>
148 <th class="head"><p class="first last">Value</p>
149 </th>
150 </tr> 148 </tr>
151 </thead> 149 </thead>
152 <tbody valign="top"> 150 <tbody valign="top">
153 <tr class="row-even"><td><p class="first last"><code>nacl_arch</code></p> 151 <tr class="row-even"><td><code>nacl_arch</code></td>
154 </td> 152 <td><code>x86-64</code>, <code>x86-32</code>, or <code>arm</code></td>
155 <td><p class="first last"><code>x86-64</code>, <code>x86-32</code>, or <code>arm </code></p>
156 </td>
157 </tr> 153 </tr>
158 <tr class="row-odd"><td><p class="first last"><code>sub_package_path</code></p> 154 <tr class="row-odd"><td><code>sub_package_path</code></td>
159 </td> 155 <td>the path of the directory (starting
160 <td><p class="first last">the path of the directory (starting
161 with <code>_platform_specific</code>) that 156 with <code>_platform_specific</code>) that
162 contains the files for the designated 157 contains the files for the designated
163 NaCl architecture</p> 158 NaCl architecture</td>
164 </td>
165 </tr> 159 </tr>
166 </tbody> 160 </tbody>
167 </table> 161 </table>
168 <p>Here is a sample <code>manifest.json</code> file:</p> 162 <p>Here is a sample <code>manifest.json</code> file:</p>
169 <pre> 163 <pre>
170 { 164 {
171 &quot;name&quot;: &quot;My Reminder App&quot;, 165 &quot;name&quot;: &quot;My Reminder App&quot;,
172 &quot;description&quot;: &quot;A reminder app that syncs across Chrome browser s.&quot;, 166 &quot;description&quot;: &quot;A reminder app that syncs across Chrome browser s.&quot;,
173 &quot;manifest_version&quot;: 2, 167 &quot;manifest_version&quot;: 2,
174 &quot;minimum_chrome_version&quot;: &quot;28&quot;, 168 &quot;minimum_chrome_version&quot;: &quot;28&quot;,
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 &quot;mime_type&quot;: &quot;application/vnd.oasis.opendocument.text&quot; 304 &quot;mime_type&quot;: &quot;application/vnd.oasis.opendocument.text&quot;
311 }] 305 }]
312 } 306 }
313 </pre> 307 </pre>
314 <p>The <code>nacl_modules</code> attribute is optional&#8212;specify this attrib ute only if 308 <p>The <code>nacl_modules</code> attribute is optional&#8212;specify this attrib ute only if
315 you want Chrome to use a Native Client module to display a particular type of 309 you want Chrome to use a Native Client module to display a particular type of
316 content.</p> 310 content.</p>
317 </section> 311 </section>
318 312
319 {{/partials.standard_nacl_article}} 313 {{/partials.standard_nacl_article}}
OLDNEW
« no previous file with comments | « native_client_sdk/doc_generated/cds2014/python.html ('k') | native_client_sdk/doc_generated/io2014.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698