Documentation: Consistancy

* Don't rely on '#!', since it doesn't work for Windows cmd shell.
  * Consistantly use `tools/git-sync-deps` rather than `bin/sync`.
  * Always call `bin/gn` ranther than `gn` in case depot_tools is
    missing from the path.

NOTRY=true
Change-Id: I27909f2610d1bb3241874399d7d2f7286f99f43b
Reviewed-on: https://skia-review.googlesource.com/9640
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
Hal Canary 2017-03-14 10:03:51 -04:00 committed by Skia Commit-Bot
parent d3749485db
commit 30a6b81f4b
6 changed files with 13 additions and 15 deletions

View File

@ -3,10 +3,8 @@ Working in a Chromium repo
To work on Skia inside a Chromium checkout, run the following:
~~~~
$ cd chromium/src/third_party/skia
$ tools/git-sync-deps
~~~~
cd chromium/src/third_party/skia
python tools/git-sync-deps
This command does a minimal "just sync the DEPS" emulation of gclient sync for
Skia into chromium/src/third_party/skia/third_party. After that, make dm or

View File

@ -32,7 +32,7 @@ If your branch gets out of date, you will need to update it:
<!--?prettify lang=sh?-->
git pull
python bin/sync
python tools/git-sync-deps
Adding a unit test
------------------

View File

@ -6,8 +6,8 @@ This is a quickstart to building and running DM.
<!--?prettify lang=sh?-->
python bin/sync
gn gen out/Debug
python tools/git-sync-deps
bin/gn gen out/Debug
ninja -C out/Debug dm
out/Debug/dm -v -w dm_output

View File

@ -9,9 +9,9 @@ We assume you have already synced Skia's dependecies and set up Skia's build sys
<!--?prettify lang=sh?-->
python bin/sync
gn gen out/Debug
gn gen out/Release --args='is_debug=false'
python tools/git-sync-deps
bin/gn gen out/Debug
bin/gn gen out/Release --args='is_debug=false'
<span id="test"></span>

View File

@ -8,7 +8,7 @@ Get Clang binaries
CLANGDIR="${HOME}/clang"
tools/git-sync-deps
python tools/git-sync-deps
CC= CXX= infra/bots/assets/clang_linux/create.py -t "$CLANGDIR"
Configure and Compile Skia with MSAN
@ -23,7 +23,7 @@ Configure and Compile Skia with MSAN
sanitize = "MSAN"
skia_use_fontconfig = false
EOF
tools/git-sync-deps
python tools/git-sync-deps
bin/gn gen out/msan
ninja -C out/msan
@ -37,7 +37,7 @@ Configure and Compile Skia with ASAN
cxx = "${CLANGDIR}/bin/clang++"
sanitize = "ASAN"
EOF
tools/git-sync-deps
python tools/git-sync-deps
bin/gn gen out/asan
ninja -C out/asan
@ -52,7 +52,7 @@ Configure and Compile Skia with TSAN
sanitize = "TSAN"
is_debug = false
EOF
tools/git-sync-deps
python tools/git-sync-deps
bin/gn gen out/tsan
ninja -C out/tsan

View File

@ -17,7 +17,7 @@ Linux, Macintosh and Windows
The Viewer can be built using the regular GN build process, e.g.
gn gen out/Release --args='is_debug=false'
bin/gn gen out/Release --args='is_debug=false'
ninja -C out/Release viewer
Android