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

Side by Side Diff: docs/chromoting_build_instructions.md

Issue 1473953002: Fix various issues with Markdown docs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « docs/ccache_mac.md ('k') | docs/common_build_tasks.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 # Chromoting Build Instructions 1 # Chromoting Build Instructions
2 2
3 Chromoting, also known as 3 Chromoting, also known as
4 [Chrome Remote Desktop](https://support.google.com/chrome/answer/1649523), 4 [Chrome Remote Desktop](https://support.google.com/chrome/answer/1649523),
5 allows one to remotely control a distant machine, all from within the Chromium 5 allows one to remotely control a distant machine, all from within the Chromium
6 browser. Its source code is located in the `remoting/` folder in the Chromium 6 browser. Its source code is located in the `remoting/` folder in the Chromium
7 codebase. For the sake of brevity, we'll assume that you already have a 7 codebase. For the sake of brevity, we'll assume that you already have a
8 pre-built copy of Chromium (or Chrome) installed on your development computer. 8 pre-built copy of Chromium (or Chrome) installed on your development computer.
9 9
10 [TOC] 10 [TOC]
(...skipping 18 matching lines...) Expand all
29 1. Choose `OAuth 2.0 client ID`. 29 1. Choose `OAuth 2.0 client ID`.
30 1. Choose `Chrome App`. 30 1. Choose `Chrome App`.
31 1. Under application id, enter `ljacajndfccfgnfohlgkdphmbnpkjflk`. 31 1. Under application id, enter `ljacajndfccfgnfohlgkdphmbnpkjflk`.
32 32
33 ## Obtain Chromium code 33 ## Obtain Chromium code
34 34
35 If you've already checked out a copy of the browser's codebase, you can skip 35 If you've already checked out a copy of the browser's codebase, you can skip
36 this section, although you'll still need to run `gclient runhooks` to ensure you 36 this section, although you'll still need to run `gclient runhooks` to ensure you
37 build using the API keys you just generated. 37 build using the API keys you just generated.
38 38
39 1. Install the build dependencies, which are listed at 39 1. [Install the build dependencies](linux_build_instructions_prerequisites.md).
40 http://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites.
41 1. Install the depot\_tools utilities, a process that is documented at 40 1. Install the depot\_tools utilities, a process that is documented at
42 http://dev.chromium.org/developers/how-tos/install-depot-tools. 41 http://dev.chromium.org/developers/how-tos/install-depot-tools.
43 1. Download the Chromium source code by running: 42 1. Download the Chromium source code by running:
44 `$ fetch chromium --nosvn=True` 43 `$ fetch chromium --nosvn=True`
45 44
46 ## Build and install the Linux host service 45 ## Build and install the Linux host service
47 46
48 If you want to remote into a (Debian-based) GNU/Linux host, follow these steps 47 If you want to remote into a (Debian-based) GNU/Linux host, follow these steps
49 to compile and install the host service on that system. As of the time of 48 to compile and install the host service on that system. As of the time of
50 writing, you must compile from source because no official binary package is 49 writing, you must compile from source because no official binary package is
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 account if you weren't already. 103 account if you weren't already.
105 104
106 ## Build and install the Android client 105 ## Build and install the Android client
107 106
108 If you want to use your Android device to connect to your Chromoting hosts, 107 If you want to use your Android device to connect to your Chromoting hosts,
109 follow these steps to install the client app on it. Note that this is in the 108 follow these steps to install the client app on it. Note that this is in the
110 very early stages of development. At the time of writing, you must compile from 109 very early stages of development. At the time of writing, you must compile from
111 source because no official version is being distributed. 110 source because no official version is being distributed.
112 111
113 1. Follow all the instructions under the `Getting the code` and 112 1. Follow all the instructions under the `Getting the code` and
114 `Install prerequisites` sections of: TODO: 404 113 `Install prerequisites` sections of:
115 http://code.google.com/p/chromium/wiki/AndroidBuildInstructions 114 https://www.chromium.org/developers/how-tos/android-build-instructions
116 1. Move into the `src/` directory that contains your checkout of the Chromium 115 1. Move into the `src/` directory that contains your checkout of the Chromium
117 code. 116 code.
118 1. Build the Android app: `$ ninja -C out/Release remoting_apk` 117 1. Build the Android app: `$ ninja -C out/Release remoting_apk`
119 1. Connect your device and set up USB debugging: 118 1. Connect your device and set up USB debugging:
120 1. Plug your device in via USB. 119 1. Plug your device in via USB.
121 1. Open the Settings app and look for the `Developer options` choice. 120 1. Open the Settings app and look for the `Developer options` choice.
122 1. If there is no such entry, open `About phone`, tap `Build number` 121 1. If there is no such entry, open `About phone`, tap `Build number`
123 7 times, and look again. 122 7 times, and look again.
124 1. Under `Developer options`, toggle the main switch to `ON` and enable 123 1. Under `Developer options`, toggle the main switch to `ON` and enable
125 `USB debugging`. 124 `USB debugging`.
126 1. On your machine and still in the `src/` directory, run: 125 1. On your machine and still in the `src/` directory, run:
127 `$ build/android/adb_install_apk.py --apk=out/Release/apks/Chromoting.apk` 126 `$ build/android/adb_install_apk.py --apk=out/Release/apks/Chromoting.apk`
128 1. If your Android device prompts you to accept the host's key, do so. 127 1. If your Android device prompts you to accept the host's key, do so.
129 1. The app should now be listed as Chromoting in your app drawer. 128 1. The app should now be listed as Chromoting in your app drawer.
130 129
131 See the [chromoting_android_hacking.md] guide for instructions on viewing the 130 See the [chromoting_android_hacking.md] guide for instructions on viewing the
132 Android app's log and attaching a debugger. 131 Android app's log and attaching a debugger.
OLDNEW
« no previous file with comments | « docs/ccache_mac.md ('k') | docs/common_build_tasks.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698