OLD | NEW |
1 # Using GN | 1 # Using GN |
2 Blimp only supports building using [GN](../../tools/gn/README.md). A quick | 2 Blimp only supports building using [GN](../../tools/gn/README.md). A quick |
3 overview over how to use GN can be found in the GN | 3 overview over how to use GN can be found in the GN |
4 [quick start guide](../../tools/gn/docs/quick_start.md). | 4 [quick start guide](../../tools/gn/docs/quick_start.md). |
5 | 5 |
6 There are three different build configurations depending on what you want to | 6 There are three different build configurations depending on what you want to |
7 build: | 7 build: |
8 | 8 |
9 ## Android client | 9 ## Android client |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 You can also build and install incremental APK like this: | 35 You can also build and install incremental APK like this: |
36 | 36 |
37 ```bash | 37 ```bash |
38 ninja -C out-android/Debug blimp blimp_apk_incremental && | 38 ninja -C out-android/Debug blimp blimp_apk_incremental && |
39 out-android/Debug/bin/install_blimp_apk_incremental | 39 out-android/Debug/bin/install_blimp_apk_incremental |
40 ``` | 40 ``` |
41 | 41 |
42 ## Engine inside a Docker container | 42 ## Engine inside a Docker container |
43 | 43 |
44 Create another out-directory and set the GN args. Note, when building to run | 44 Create another out-directory and set the GN args. Note, when building to run |
45 inside a Docker container you'll need to set the target_os to "chromeos": | 45 inside a [Docker container](container.md) you'll need to set the target_os to "c
hromeos": |
46 | 46 |
47 ```bash | 47 ```bash |
48 mkdir -p out-chromeos/Debug | 48 mkdir -p out-chromeos/Debug |
49 gn args out-chromeos/Debug | 49 gn args out-chromeos/Debug |
50 ``` | 50 ``` |
51 | 51 |
52 This will bring an editor, where you can type in the following: | 52 This will bring an editor, where you can type in the following: |
53 | 53 |
54 ```bash | 54 ```bash |
55 target_os = "chromeos" | 55 target_os = "chromeos" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 use_goma = true | 88 use_goma = true |
89 use_aura = true | 89 use_aura = true |
90 use_ozone = true | 90 use_ozone = true |
91 ``` | 91 ``` |
92 | 92 |
93 To build: | 93 To build: |
94 | 94 |
95 ```bash | 95 ```bash |
96 ninja -C out-linux/Debug blimp | 96 ninja -C out-linux/Debug blimp |
97 ``` | 97 ``` |
OLD | NEW |