| OLD | NEW |
| 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 Loading... |
| 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 "name": "My Reminder App", | 165 "name": "My Reminder App", |
| 172 "description": "A reminder app that syncs across Chrome browser
s.", | 166 "description": "A reminder app that syncs across Chrome browser
s.", |
| 173 "manifest_version": 2, | 167 "manifest_version": 2, |
| 174 "minimum_chrome_version": "28", | 168 "minimum_chrome_version": "28", |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 "mime_type": "application/vnd.oasis.opendocument.text" | 304 "mime_type": "application/vnd.oasis.opendocument.text" |
| 311 }] | 305 }] |
| 312 } | 306 } |
| 313 </pre> | 307 </pre> |
| 314 <p>The <code>nacl_modules</code> attribute is optional—specify this attrib
ute only if | 308 <p>The <code>nacl_modules</code> attribute is optional—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}} |
| OLD | NEW |