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

Side by Side Diff: native_client_sdk/doc_generated/sdk/examples.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="running-the-sdk-examples"> 3 <section id="running-the-sdk-examples">
4 <span id="sdk-examples-2"></span><h1 id="running-the-sdk-examples"><span id="sdk -examples-2"></span>Running the SDK Examples</h1> 4 <span id="sdk-examples-2"></span><h1 id="running-the-sdk-examples"><span id="sdk -examples-2"></span>Running the SDK Examples</h1>
5 <p>Every Native Client SDK bundle comes with a folder of example applications. 5 <p>Every Native Client SDK bundle comes with a folder of example applications.
6 Each example demonstrates one or two key Native Client programming concepts. 6 Each example demonstrates one or two key Native Client programming concepts.
7 After you&#8217;ve <a class="reference internal" href="/native-client/sdk/downlo ad.html"><em>downloaded the SDK</em></a>, follow the instructions 7 After you&#8217;ve <a class="reference internal" href="/native-client/sdk/downlo ad.html"><em>downloaded the SDK</em></a>, follow the instructions
8 on this page to build and run the examples.</p> 8 on this page to build and run the examples.</p>
9 <section id="configure-the-google-chrome-browser"> 9 <section id="configure-the-google-chrome-browser">
10 <h2 id="configure-the-google-chrome-browser">Configure the Google Chrome Browser </h2> 10 <h2 id="configure-the-google-chrome-browser">Configure the Google Chrome Browser </h2>
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 </ul> 204 </ul>
205 <p>You can run via a different toolchain or configuration by using the 205 <p>You can run via a different toolchain or configuration by using the
206 <code>TOOLCHAIN</code> and <code>CONFIG</code> parameters to make:</p> 206 <code>TOOLCHAIN</code> and <code>CONFIG</code> parameters to make:</p>
207 <pre class="prettyprint"> 207 <pre class="prettyprint">
208 $ make run TOOLCHAIN=pnacl CONFIG=Debug 208 $ make run TOOLCHAIN=pnacl CONFIG=Debug
209 </pre> 209 </pre>
210 </section><section id="run-the-sdk-examples-as-packaged-apps"> 210 </section><section id="run-the-sdk-examples-as-packaged-apps">
211 <span id="run-sdk-examples-as-packaged"></span><h2 id="run-the-sdk-examples-as-p ackaged-apps"><span id="run-sdk-examples-as-packaged"></span>Run the SDK example s as packaged apps</h2> 211 <span id="run-sdk-examples-as-packaged"></span><h2 id="run-the-sdk-examples-as-p ackaged-apps"><span id="run-sdk-examples-as-packaged"></span>Run the SDK example s as packaged apps</h2>
212 <p>Each example can also be launched as a packaged app. For more information abo ut 212 <p>Each example can also be launched as a packaged app. For more information abo ut
213 using Native Client for packaged apps, see <a class="reference internal" href="/ native-client/devguide/distributing.html#distributing-packaged"><em>Packaged app liction</em></a>. For general information about packaged apps, see the 213 using Native Client for packaged apps, see <a class="reference internal" href="/ native-client/devguide/distributing.html#distributing-packaged"><em>Packaged app liction</em></a>. For general information about packaged apps, see the
214 <a class="reference external" href="http://developer.chrome.com/apps/about_apps. html">Chrome apps documentation</a>.</p> 214 <a class="reference external" href="/apps/about_apps">Chrome apps documentation< /a>.</p>
215 <p>Some Pepper features, such as TCP/UDP socket access, are only allowed in 215 <p>Some Pepper features, such as TCP/UDP socket access, are only allowed in
216 packaged apps. The examples that use these features must be run as packaged 216 packaged apps. The examples that use these features must be run as packaged
217 apps, by using the <code>make run_package</code> command:</p> 217 apps, by using the <code>make run_package</code> command:</p>
218 <pre class="prettyprint"> 218 <pre class="prettyprint">
219 $ make run_package 219 $ make run_package
220 </pre> 220 </pre>
221 <p>You can use <code>TOOLCHAIN</code> and <code>CONFIG</code> parameters as abov e to run with a 221 <p>You can use <code>TOOLCHAIN</code> and <code>CONFIG</code> parameters as abov e to run with a
222 different toolchain or configuration.</p> 222 different toolchain or configuration.</p>
223 </section><section id="debugging-the-sdk-examples"> 223 </section><section id="debugging-the-sdk-examples">
224 <span id="id2"></span><h2 id="debugging-the-sdk-examples"><span id="id2"></span> Debugging the SDK examples</h2> 224 <span id="id2"></span><h2 id="debugging-the-sdk-examples"><span id="id2"></span> Debugging the SDK examples</h2>
(...skipping 17 matching lines...) Expand all
242 Remote debugging using :4014 242 Remote debugging using :4014
243 0x000000000fa00080 in ?? () 243 0x000000000fa00080 in ?? ()
244 </pre> 244 </pre>
245 <p>At this point, you can use the standard GDB commands to debug your NaCl modul e. 245 <p>At this point, you can use the standard GDB commands to debug your NaCl modul e.
246 The most common commands you will use to debug are <code>continue</code>, <code> step</code>, 246 The most common commands you will use to debug are <code>continue</code>, <code> step</code>,
247 <code>next</code>, <code>break</code> and <code>backtrace</code>. See <a class=" reference internal" href="/native-client/devguide/devcycle/debugging.html"><em>D ebugging</em></a> for more information about debugging a Native Client 247 <code>next</code>, <code>break</code> and <code>backtrace</code>. See <a class=" reference internal" href="/native-client/devguide/devcycle/debugging.html"><em>D ebugging</em></a> for more information about debugging a Native Client
248 application.</p> 248 application.</p>
249 </section></section> 249 </section></section>
250 250
251 {{/partials.standard_nacl_article}} 251 {{/partials.standard_nacl_article}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698