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 If you want to add new arguments, see the | |
6 [build arguments guide](args.md). | |
Dirk Pranke
2016/03/09 01:28:45
I would try to distinguish between creating an ent
Jess
2016/03/09 19:14:27
Done.
| |
5 | 7 |
6 There are three different build configurations depending on what you want to | 8 There are two different build configurations depending on what you want to |
7 build: | 9 build: |
8 | 10 |
9 ## Android client | 11 ## Android client |
10 | 12 |
11 Create an out-directory and set the GN args: | 13 Create an out-directory and set the GN args: |
12 | 14 |
13 ```bash | 15 ```bash |
14 mkdir -p out-android/Debug | 16 mkdir -p out-android/Debug |
15 echo "import(\"//build/args/blimp_client.gn\")" > out-android/Debug/args.gn | 17 echo "import(\"//build/args/blimp_client.gn\")" > out-android/Debug/args.gn |
16 gn gen out-android/Debug | 18 gn gen out-android/Debug |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
49 | 51 |
50 ```bash | 52 ```bash |
51 ninja -C out-linux/Debug blimp | 53 ninja -C out-linux/Debug blimp |
52 ``` | 54 ``` |
53 | 55 |
54 To add your own build preferences | 56 To add your own build preferences |
55 | 57 |
56 ```bash | 58 ```bash |
57 gn args out-android/Debug | 59 gn args out-android/Debug |
58 ``` | 60 ``` |
OLD | NEW |