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

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

Issue 2323993003: Update blimp documentation to refer to Chrome (Closed)
Patch Set: rebased Created 4 years, 3 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 | blimp/docs/markdown.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [TOC] 1 [TOC]
2 2
3 # Checkout 3 # Checkout
4 If you want to build the Android client then you will need to follow 4 If you want to build the Android client then you will need to follow
5 instructions [here](https://www.chromium.org/developers/how-tos/android-build-in structions) 5 instructions [here](https://www.chromium.org/developers/how-tos/android-build-in structions)
6 to sync Android related code as well. 6 to sync Android related code as well.
7 7
8 # Using GN 8 # Using GN
9 Blimp only supports building using [GN](../../tools/gn/README.md). A quick 9 Blimp only supports building using [GN](../../tools/gn/README.md). A quick
10 overview over how to use GN can be found in the GN 10 overview over how to use GN can be found in the GN
(...skipping 23 matching lines...) Expand all
34 34
35 ```bash 35 ```bash
36 mkdir -p out-android/Debug 36 mkdir -p out-android/Debug
37 echo "import(\"//build/args/blimp_client.gn\")" > out-android/Debug/args.gn 37 echo "import(\"//build/args/blimp_client.gn\")" > out-android/Debug/args.gn
38 gn gen out-android/Debug 38 gn gen out-android/Debug
39 ``` 39 ```
40 40
41 To build: 41 To build:
42 42
43 ```bash 43 ```bash
44 ninja -C out-android/Debug blimp 44 ninja -C out-android/Debug blimp chrome_public_apk_incremental
45 ``` 45 ```
46 46
47 This will also generate an incremental APK, which you can install with this 47 This will also generate an incremental APK, which you can install with this
48 command: 48 command:
49 49
50 ```bash 50 ```bash
51 out-android/Debug/bin/install_blimp_apk_incremental 51 out-android/Debug/bin/install_chrome_public_apk_incremental
52 ``` 52 ```
53 53
54 During development, it might be beneficial to put these two commands together 54 During development, it might be beneficial to put these two commands together
55 like this: 55 like this:
56 56
57 ```bash 57 ```bash
58 ninja -C out-android/Debug blimp && \ 58 ninja -C out-android/Debug blimp chrome_public_apk_incremental && \
59 out-android/Debug/bin/install_blimp_apk_incremental 59 out-android/Debug/bin/install_chrome_public_apk_incremental
60 ``` 60 ```
61 61
62 To add your own build preferences: 62 To add your own build preferences:
63 63
64 ```bash 64 ```bash
65 gn args out-android/Debug 65 gn args out-android/Debug
66 ``` 66 ```
67 67
68 For example, you can build `x86` APK by adding `target_cpu = "x86"` to the `gn 68 For example, you can build `x86` APK by adding `target_cpu = "x86"` to the `gn
69 args`. 69 args`.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 (non-default for Chrome) behavior desired by Blimp (see below). 104 (non-default for Chrome) behavior desired by Blimp (see below).
105 105
106 ## Updating bulid arguments in templates 106 ## Updating bulid arguments in templates
107 107
108 Build argument templates exist for the client and engine at 108 Build argument templates exist for the client and engine at
109 [`build/args/blimp_client.gn`](../../build/args/blimp_client.gn) and 109 [`build/args/blimp_client.gn`](../../build/args/blimp_client.gn) and
110 [`build/args/blimp_engine.gn`](../../build/args/blimp_engine.gn). 110 [`build/args/blimp_engine.gn`](../../build/args/blimp_engine.gn).
111 111
112 These can be updated as in the same manner as your personal `args.gn` files 112 These can be updated as in the same manner as your personal `args.gn` files
113 to override default argument values. 113 to override default argument values.
OLDNEW
« no previous file with comments | « no previous file | blimp/docs/markdown.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698