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

Side by Side Diff: site/user/quick/macos.md

Issue 1112663002: doc: add quickstart to linux and macos (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-04-28 (Tuesday) 16:01:10 EDT Created 5 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
« no previous file with comments | « site/user/quick/linux.md ('k') | tools/install_dependencies.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Mac OS X 1 Mac OS X
2 ======== 2 ========
3 3
4 Quickstart
5 ----------
6
7 1. Install [XCode](http://developer.apple.com/xcode/).
8
9 2. Install depot tools.
10
11 <!--?prettify lang=sh?-->
12
13 git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools. git'
14 export PATH="${PWD}/depot_tools:${PATH}"
15
16 3. Get Skia.
17
18 <!--?prettify lang=sh?-->
19
20 git clone 'https://skia.googlesource.com/skia'
21 cd skia
22
23 4. Build.
24
25 <!--?prettify lang=sh?-->
26
27 bin/sync-and-gyp && ninja -C out/Debug
28
29 5. Run DM (the Skia test app) and SampleApp.
30
31 <!--?prettify lang=sh?-->
32
33 out/Debug/dm
34 open out/Debug/SampleApp.app
35
4 Prerequisites 36 Prerequisites
5 ------------- 37 -------------
6 38
7 Make sure the following have been installed: 39 Make sure the following have been installed:
8 40
9 * XCode (Apple's development environment): required 41 * XCode (Apple's development environment): required
10 * publicly available at http://developer.apple.com/xcode/ 42 * publicly available at http://developer.apple.com/xcode/
11 * add the optional Unix Tools to the install so you get the make command lin e tool. 43 * add the optional Unix Tools to the install so you get the make command lin e tool.
12 * Chromium depot_tools: required to download the source and dependencies 44 * Chromium depot_tools: required to download the source and dependencies
13 * http://www.chromium.org/developers/how-tos/depottools 45 * http://www.chromium.org/developers/how-tos/depottools
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 ---------------------------------------- 92 ----------------------------------------
61 93
62 * Run gyp_skia as described above. 94 * Run gyp_skia as described above.
63 * In the Finder, navigate to $SKIA_INSTALLDIR/trunk/out/gyp 95 * In the Finder, navigate to $SKIA_INSTALLDIR/trunk/out/gyp
64 * Double-click SampleApp.xcodeproj ; this will launch XCode and open the Sampl eApp project 96 * Double-click SampleApp.xcodeproj ; this will launch XCode and open the Sampl eApp project
65 * Click the “Build and Run” button in the top toolbar 97 * Click the “Build and Run” button in the top toolbar
66 * Once the build is complete, you should see a window with lots of shaded text examples. To move through the sample app, use the following keypresses: 98 * Once the build is complete, you should see a window with lots of shaded text examples. To move through the sample app, use the following keypresses:
67 * right- and left-arrow keys: cycle through different test pages 99 * right- and left-arrow keys: cycle through different test pages
68 * 'D' key: cycle through rendering methods for each test page 100 * 'D' key: cycle through rendering methods for each test page
69 * other keys are defined in SampleApp.cpp’s SampleWindow::onHandleKey() and SampleWindow::onHandleChar() methods 101 * other keys are defined in SampleApp.cpp’s SampleWindow::onHandleKey() and SampleWindow::onHandleChar() methods
OLDNEW
« no previous file with comments | « site/user/quick/linux.md ('k') | tools/install_dependencies.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698