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

Side by Side Diff: man/html/depot_tools_tutorial.html

Issue 2371333002: Modify depot_tools instructions regarding %PATH% (Closed)
Patch Set: Minimal changes to docs Created 4 years, 2 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
« no previous file with comments | « no previous file | man/man7/depot_tools_tutorial.7 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4 <head> 4 <head>
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" / > 5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" / >
6 <meta name="generator" content="AsciiDoc 8.6.9" /> 6 <meta name="generator" content="AsciiDoc 8.6.9" />
7 <title>depot_tools_tutorial(7)</title> 7 <title>depot_tools_tutorial(7)</title>
8 <style type="text/css"> 8 <style type="text/css">
9 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ 9 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */
10 10
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 <div class="admonitionblock"> 891 <div class="admonitionblock">
892 <table><tr> 892 <table><tr>
893 <td class="icon"> 893 <td class="icon">
894 <div class="title">Warning</div> 894 <div class="title">Warning</div>
895 </td> 895 </td>
896 <td class="content"><strong>DO NOT</strong> use drag-n-drop or copy-n-paste extr act from Explorer, this will not 896 <td class="content"><strong>DO NOT</strong> use drag-n-drop or copy-n-paste extr act from Explorer, this will not
897 extract the hidden &#8220;.git&#8221; folder which is necessary for <em>depot_to ols</em> to 897 extract the hidden &#8220;.git&#8221; folder which is necessary for <em>depot_to ols</em> to
898 autoupdate itself. You can use &#8220;Extract all&#8230;&#8221; from the context menu though.</td> 898 autoupdate itself. You can use &#8220;Extract all&#8230;&#8221; from the context menu though.</td>
899 </tr></table> 899 </tr></table>
900 </div> 900 </div>
901 <div class="paragraph"><p>Add <em>depot_tools</em> to the <em>end</em> of your P ATH. Assuming you unzipped the 901 <div class="paragraph"><p>Add <em>depot_tools</em> to the <em>start</em> of your PATH (must be ahead of any installs of
902 bundle to <code>C:\workspace\depot_tools</code>:</p></div> 902 Python). Assuming you unzipped the bundle to <code>C:\workspace\depot_tools</cod e>:</p></div>
903 <div class="dlist"><dl> 903 <div class="dlist"><dl>
904 <dt class="hdlist1"> 904 <dt class="hdlist1">
905 With Administrator access: 905 With Administrator access:
906 </dt> 906 </dt>
907 <dd> 907 <dd>
908 <p> 908 <p>
909 <strong>Control Panel &#8594; System and Security &#8594; System &#8594; Advan ced system settings</strong> 909 <strong>Control Panel &#8594; System and Security &#8594; System &#8594; Advan ced system settings</strong>
910 </p> 910 </p>
911 <div class="paragraph"><p>Modify the PATH system variable to include <code>C:\wo rkspace\depot_tools</code>.</p></div> 911 <div class="paragraph"><p>Modify the PATH system variable to include <code>C:\wo rkspace\depot_tools</code>.</p></div>
912 </dd> 912 </dd>
913 <dt class="hdlist1"> 913 <dt class="hdlist1">
914 Without Administrator access: 914 Without Administrator access:
915 </dt> 915 </dt>
916 <dd> 916 <dd>
917 <p> 917 <p>
918 <strong>Control Panel &#8594; User Accounts &#8594; User Accounts &#8594; Chan ge my environment variables</strong> 918 <strong>Control Panel &#8594; User Accounts &#8594; User Accounts &#8594; Chan ge my environment variables</strong>
919 </p> 919 </p>
920 <div class="paragraph"><p>Add a PATH user variable: <code>%PATH%;C:\workspace\de pot_tools</code>.</p></div> 920 <div class="paragraph"><p>Add a PATH user variable: <code>C:\workspace\depot_too ls;%PATH%</code>.</p></div>
921 </dd> 921 </dd>
922 </dl></div> 922 </dl></div>
923 <div class="paragraph"><p>From a <code>cmd.exe</code> shell, run the command <co de>gclient</code> (without arguments). On first 923 <div class="paragraph"><p>From a <code>cmd.exe</code> shell, run the command <co de>gclient</code> (without arguments). On first
924 run, gclient will install all the Windows-specific bits needed to work with the 924 run, gclient will install all the Windows-specific bits needed to work with the
925 code, including msysgit and python.</p></div> 925 code, including msysgit and python.</p></div>
926 <div class="admonitionblock"> 926 <div class="admonitionblock">
927 <table><tr> 927 <table><tr>
928 <td class="icon"> 928 <td class="icon">
929 <div class="title">Note</div> 929 <div class="title">Note</div>
930 </td> 930 </td>
931 <td class="content"> 931 <td class="content">
932 <div class="ulist"><ul> 932 <div class="ulist"><ul>
933 <li> 933 <li>
934 <p> 934 <p>
935 If you run gclient from a non-cmd shell (e.g., cygwin, PowerShell), it 935 If you run gclient from a non-cmd shell (e.g., cygwin, PowerShell), it
936 may appear to run properly, but msysgit, python, and other tools may not get 936 may appear to run properly, but msysgit, python, and other tools may not get
937 installed correctly. 937 installed correctly.
938 </p> 938 </p>
939 </li> 939 </li>
940 <li> 940 <li>
941 <p> 941 <p>
942 If you see strange errors with the file system on the first run of gclient, 942 If you see strange errors with the file system on the first run of gclient,
943 you may want to <a href="http://tortoisesvn.tigris.org/faq.html#cantmove2">dis able 943 you may want to <a href="http://tortoisesvn.tigris.org/faq.html#cantmove2">dis able
944 Windows Indexing</a>. 944 Windows Indexing</a>.
945 </p> 945 </p>
946 </li> 946 </li>
947 <li> 947 <li>
948 <p> 948 <p>
949 If you are running Windows XP and see errors like &#8220;The system cannot execu te 949 After running gclient open a command prompt and type <code>where python</code> a nd confirm that
950 the specified program&#8221;, try installing the 950 the depot_tools python.bat comes ahead of any copies of python.exe. Failing to ensure
951 <a href="http://code.google.com/p/chromium/issues/detail?id=75886">&#8220;Micr osoft 951 this can lead to overbuilding when using gn - see
952 Visual C++ 2008 Redistributable Package&#8221;</a>. 952 <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=611087">crbug.c om/611087</a>.
953 </p> 953 </p>
954 </li> 954 </li>
955 </ul></div> 955 </ul></div>
956 </td> 956 </td>
957 </tr></table> 957 </tr></table>
958 </div> 958 </div>
959 </div> 959 </div>
960 </div> 960 </div>
961 <div class="sect2"> 961 <div class="sect2">
962 <h3 id="_bootstrapping_configuration">BOOTSTRAPPING CONFIGURATION</h3> 962 <h3 id="_bootstrapping_configuration">BOOTSTRAPPING CONFIGURATION</h3>
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 </p> 1566 </p>
1567 </dd> 1567 </dd>
1568 </dl></div> 1568 </dl></div>
1569 </div> 1569 </div>
1570 </div> 1570 </div>
1571 <div class="sect1"> 1571 <div class="sect1">
1572 <h2 id="_chromium_depot_tools">CHROMIUM DEPOT_TOOLS</h2> 1572 <h2 id="_chromium_depot_tools">CHROMIUM DEPOT_TOOLS</h2>
1573 <div class="sectionbody"> 1573 <div class="sectionbody">
1574 <div class="paragraph"><p>Part of the chromium <a href="depot_tools.html">depot_ tools(7)</a> suite. These tools are meant to 1574 <div class="paragraph"><p>Part of the chromium <a href="depot_tools.html">depot_ tools(7)</a> suite. These tools are meant to
1575 assist with the development of chromium and related projects. Download the tools 1575 assist with the development of chromium and related projects. Download the tools
1576 from <a href="https://chromium.googlesource.com/chromium/tools/depot_tools">here </a>.</p></div> 1576 from <a href="https://chromium.googlesource.com/chromium/tools/depot_tools.git"> here</a>.</p></div>
1577 </div> 1577 </div>
1578 </div> 1578 </div>
1579 </div> 1579 </div>
1580 <div id="footnotes"><hr /></div> 1580 <div id="footnotes"><hr /></div>
1581 <div id="footer"> 1581 <div id="footer">
1582 <div id="footer-text"> 1582 <div id="footer-text">
1583 Last updated 2016-07-21 10:09:00 PDT 1583 Last updated 2016-09-28 15:37:50 PDT
1584 </div> 1584 </div>
1585 </div> 1585 </div>
1586 </body> 1586 </body>
1587 </html> 1587 </html>
OLDNEW
« no previous file with comments | « no previous file | man/man7/depot_tools_tutorial.7 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698