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

Side by Side Diff: blimp/docs/build.md

Issue 1365823002: Add basic test suite for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_strings
Patch Set: Forgot to remove blimp_tests from another linux gn bot Created 5 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
OLDNEW
1 # Using GN 1 # Using GN
2 Blimp only supports building using [GN](../../tools/gn/README.md), and only 2 Blimp only supports building using [GN](../../tools/gn/README.md), and only
3 supports building for Android and Linux. A quick overview over how to use GN can 3 supports building for Android and Linux. A quick overview over how to use GN can
4 be found in the GN [quick start guide](../../tools/gn/docs/quick_start.md). 4 be found in the GN [quick start guide](../../tools/gn/docs/quick_start.md).
5 5
6 ## Android setup 6 ## Android setup
7 To setup GN, run the following command: 7 To setup GN, run the following command:
8 8
9 ``` 9 ```bash
10 gn args out-android/Debug 10 gn args out-android/Debug
11 ``` 11 ```
12 12
13 This will bring up an editor, where you can type in the following: 13 This will bring up an editor, where you can type in the following:
14 14
15 ``` 15 ```bash
16 target_os = "android" 16 target_os = "android"
17 is_debug = true 17 is_debug = true
18 is_clang = true 18 is_clang = true
19 is_component_build = true 19 is_component_build = true
20 symbol_level = 1 # Use -g1 instead of -g2 20 symbol_level = 1 # Use -g1 instead of -g2
21 use_goma = true 21 use_goma = true
22 ``` 22 ```
23 23
24 ## Linux setup 24 ## Linux setup
25 For building for Linux, you can have a side-by-side out-directory: 25 For building for Linux, you can have a side-by-side out-directory:
26 26
27 ``` 27 ```bash
28 gn args out-linux/Debug 28 gn args out-linux/Debug
29 ``` 29 ```
30 30
31 Use the same arguments as above, but remove `target_os`. 31 Use the same arguments as above, but remove `target_os`.
32 32
33 ``` 33 ```bash
34 is_debug = true 34 is_debug = true
35 is_clang = true 35 is_clang = true
36 is_component_build = true 36 is_component_build = true
37 symbol_level = 1 # Use -g1 instead of -g2 37 symbol_level = 1 # Use -g1 instead of -g2
38 use_goma = true 38 use_goma = true
39 ``` 39 ```
40 40
41 # Building 41 # Building
42 42
43 To build blimp, build the target ```blimp```. 43 To build blimp, build the target ```blimp```.
44 44
45 ## Building for Android 45 ## Building for Android
46 46
47 ``` 47 ```bash
48 ninja -C out-android/Debug blimp 48 ninja -C out-android/Debug blimp
49 ``` 49 ```
50 50
51 ## Building for Linux 51 ## Building for Linux
52 52
53 ``` 53 ```bash
54 ninja -C out-linux/Debug blimp 54 ninja -C out-linux/Debug blimp
55 ``` 55 ```
OLDNEW
« no previous file with comments | « blimp/client/android/javatests/src/org/chromium/blimp/DummyTest.java ('k') | blimp/docs/test.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698