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

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

Issue 952193002: Doc: user/quick/linux mentions 32-bit compiling (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Linux 1 Linux
2 ===== 2 =====
3 3
4 Prerequisites 4 Prerequisites
5 ------------- 5 -------------
6 6
7 On a Ubuntu 12.04 (Precise) or Ubuntu 14.04 (Trusty) system, you can run 7 On a Ubuntu 12.04 (Precise) or Ubuntu 14.04 (Trusty) system, you can run
8 `tools/install_dependencies.sh`, which will install the needed packages. On 8 `tools/install_dependencies.sh`, which will install the needed packages. On
9 Ubuntu 12.04, you will need to install the`ninja` build tool separately, which 9 Ubuntu 12.04, you will need to install the`ninja` build tool separately, which
10 comes with Chromium's `depot_tools`. 10 comes with Chromium's `depot_tools`.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 Generate the build files by running the following in your Skia home directory: 51 Generate the build files by running the following in your Skia home directory:
52 52
53 ./gyp_skia 53 ./gyp_skia
54 54
55 Or, you can just rely on it being run automatically by using `make` instead of 55 Or, you can just rely on it being run automatically by using `make` instead of
56 `ninja` in examples shown below. 56 `ninja` in examples shown below.
57 57
58 If you want to use Eclipse, see Creating an Eclipse Project after you have gener ated the makefiles. 58 If you want to use Eclipse, see Creating an Eclipse Project after you have gener ated the makefiles.
59 59
60 On 32-bit Linux (when `uname -m` is *not* `x86_64`), you will have to
61 explicitly specify the architecture:
62
63 GYP_DEFINES='skia_arch_width=32' ./gyp_skia
64
60 Build and run tests from the command line 65 Build and run tests from the command line
61 ----------------------------------------- 66 -----------------------------------------
62 67
63 ninja -C out/Debug dm 68 ninja -C out/Debug dm
64 out/Debug/dm 69 out/Debug/dm
65 70
66 The usual mode you want for testing is Debug mode (`SK_DEBUG` is defined, and 71 The usual mode you want for testing is Debug mode (`SK_DEBUG` is defined, and
67 debug symbols are included in the binary). If you would like to build the 72 debug symbols are included in the binary). If you would like to build the
68 73
69 Release version instead 74 Release version instead
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 Build tools 128 Build tools
124 ----------- 129 -----------
125 130
126 make -j tools 131 make -j tools
127 out/Debug/skdiff 132 out/Debug/skdiff
128 133
129 Clean up all generated files 134 Clean up all generated files
130 ---------------------------- 135 ----------------------------
131 136
132 make clean 137 make clean
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698