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">Name</th> | 146 <tr class="row-odd"><th class="head"><p class="first last">Name</p> |
147 <th class="head">Value</th> | 147 </th> |
148 <th class="head"><p class="first last">Value</p> | |
JF
2014/09/02 20:57:34
Is this an unrelated change? Or did the html gener
jpmedley
2014/09/03 18:57:58
I don't know. I'll remove it.
On 2014/09/02 20:57
| |
149 </th> | |
148 </tr> | 150 </tr> |
149 </thead> | 151 </thead> |
150 <tbody valign="top"> | 152 <tbody valign="top"> |
151 <tr class="row-even"><td><code>nacl_arch</code></td> | 153 <tr class="row-even"><td><p class="first last"><code>nacl_arch</code></p> |
152 <td><code>x86-64</code>, <code>x86-32</code>, or <code>arm</code></td> | 154 </td> |
155 <td><p class="first last"><code>x86-64</code>, <code>x86-32</code>, or <code>arm </code></p> | |
156 </td> | |
153 </tr> | 157 </tr> |
154 <tr class="row-odd"><td><code>sub_package_path</code></td> | 158 <tr class="row-odd"><td><p class="first last"><code>sub_package_path</code></p> |
155 <td>the path of the directory (starting | 159 </td> |
160 <td><p class="first last">the path of the directory (starting | |
156 with <code>_platform_specific</code>) that | 161 with <code>_platform_specific</code>) that |
157 contains the files for the designated | 162 contains the files for the designated |
158 NaCl architecture</td> | 163 NaCl architecture</p> |
164 </td> | |
159 </tr> | 165 </tr> |
160 </tbody> | 166 </tbody> |
161 </table> | 167 </table> |
162 <p>Here is a sample <code>manifest.json</code> file:</p> | 168 <p>Here is a sample <code>manifest.json</code> file:</p> |
163 <pre> | 169 <pre> |
164 { | 170 { |
165 "name": "My Reminder App", | 171 "name": "My Reminder App", |
166 "description": "A reminder app that syncs across Chrome browser s.", | 172 "description": "A reminder app that syncs across Chrome browser s.", |
167 "manifest_version": 2, | 173 "manifest_version": 2, |
168 "minimum_chrome_version": "28", | 174 "minimum_chrome_version": "28", |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
304 "mime_type": "application/vnd.oasis.opendocument.text" | 310 "mime_type": "application/vnd.oasis.opendocument.text" |
305 }] | 311 }] |
306 } | 312 } |
307 </pre> | 313 </pre> |
308 <p>The <code>nacl_modules</code> attribute is optional—specify this attrib ute only if | 314 <p>The <code>nacl_modules</code> attribute is optional—specify this attrib ute only if |
309 you want Chrome to use a Native Client module to display a particular type of | 315 you want Chrome to use a Native Client module to display a particular type of |
310 content.</p> | 316 content.</p> |
311 </section> | 317 </section> |
312 | 318 |
313 {{/partials.standard_nacl_article}} | 319 {{/partials.standard_nacl_article}} |
OLD | NEW |