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

Side by Side Diff: docs/cast_build_instructions.md

Issue 2167243002: Delete Ozone egltest platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « build/linux/system.gyp ('k') | ui/events/events.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Cast Build Instructions 1 # Cast Build Instructions
2 2
3 **Note**: it is **not possible** to build a binary functionally 3 **Note**: it is **not possible** to build a binary functionally
4 equivalent to a Chromecast. This is to build a single-page content 4 equivalent to a Chromecast. This is to build a single-page content
5 embedder with similar functionality to Cast products. 5 embedder with similar functionality to Cast products.
6 6
7 ## Prerequisites 7 ## Prerequisites
8 8
9 * See the [Linux build prerequisites](https://chromium.googlesource.com/chromi um/src/+/master/docs/linux_build_instructions_prerequisites.md) 9 * See the [Linux build prerequisites](https://chromium.googlesource.com/chromi um/src/+/master/docs/linux_build_instructions_prerequisites.md)
10 10
11 ## Setting Up 11 ## Setting Up
12 12
13 * Cast Linux build only: [Linux build 13 * Cast Linux build only: [Linux build
14 setup](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_bu ild_instructions.md) 14 setup](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_bu ild_instructions.md)
15 is sufficient. 15 is sufficient.
16 * Cast Linux and Android builds: follow the [Android build 16 * Cast Linux and Android builds: follow the [Android build
17 setup](https://www.chromium.org/developers/how-tos/android-build-instruction s) 17 setup](https://www.chromium.org/developers/how-tos/android-build-instruction s)
18 instructions. 18 instructions.
19 19
20 ## Building/running cast\_shell (Linux) 20 ## Building/running cast\_shell (Linux)
21 21
22 ```shell 22 ```shell
23 gn gen out/Debug --args='is_chromecast=true is_debug=true' 23 gn gen out/Debug --args='is_chromecast=true is_debug=true'
24 ninja -C out/Debug cast_shell 24 ninja -C out/Debug cast_shell
25 ``` 25 ```
26 26
27 ```shell 27 ```shell
28 out/Debug/cast_shell --ozone-platform=egltest http://google.com 28 out/Debug/cast_shell --ozone-platform=x11 http://google.com
29 ``` 29 ```
30 30
31 ## Building/running cast\_shell\_apk (Android) 31 ## Building/running cast\_shell\_apk (Android)
32 32
33 ```shell 33 ```shell
34 gn gen out/Debug --args='is_chromecast=true target_os="android" is_debug=true' 34 gn gen out/Debug --args='is_chromecast=true target_os="android" is_debug=true'
35 ninja -C out/Debug cast_shell_apk 35 ninja -C out/Debug cast_shell_apk
36 ``` 36 ```
37 37
38 ```shell 38 ```shell
39 adb install out/Debug/apks/CastShell.apk 39 adb install out/Debug/apks/CastShell.apk
40 adb shell am start -d "http://google.com" org.chromium.chromecast.shell/.CastShe llActivity 40 adb shell am start -d "http://google.com" org.chromium.chromecast.shell/.CastShe llActivity
41 ``` 41 ```
OLDNEW
« no previous file with comments | « build/linux/system.gyp ('k') | ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698