• Home
  • Raw
  • Download

Lines Matching +full:build +full:- +full:android

2 ---
6 ---
10 * Observe rendering performance - placing the Viewer in stats mode displays average frame times.
11 * Try different rendering methods - it's possible to cycle among the three rendering methods: raste…
14 Some slides require resources stored outside the program. These resources are stored in the `<skia-
17 ----------------------------
19 The Viewer can be built using the regular GN build process, e.g.
21 bin/gn gen out/Release --args='is_debug=false'
22 ninja -C out/Release viewer
24 To load resources in the desktop Viewers, use the `--resourcePath` option:
26 <skia-path>/out/Release/viewer --resourcePath <skia-path>/resources
28 Similarly, `--skps <skp-file-path>` will load any `.skp` files in that directory
31 Other useful command-line options: using `--match <pattern>` will load only SKPs or slides
32 matching that name; using `--slide <name>` will launch at that slide; and you can start up
33 with a particular rendering method by using `--backend`, i.e., `--backend sw`, `--backend gl`,
34 `--backend vk`, or `--backend mtl`.
42 -------|-------------
49 Android section
50 -------
52 To build Viewer as an Android App, first follow the
53 [Android build instructions](/docs/user/build#android) to set up the
54 Android NDK and a ninja out directory. In addition, you will need the
55 [Android SDK](https://developer.android.com/studio/#command-tools) installed and your
58 mkdir ~/android-sdk
59 ( cd ~/android-sdk; unzip ~/Downloads/sdk-tools-*.zip )
60 yes | ~/android-sdk/tools/bin/sdkmanager --licenses
61 export ANDROID_HOME=~/android-sdk # Or wherever you installed the Android SDK.
63 If you are not using the NDK included with the Android SDK (at ~/android-sdk/ndk-bundle
71 platform_tools/android/bin/android_build_app -C <out_dir> viewer
77 To load resources in the Android Viewer place them in
80 Swiping left and right will switch slides, pinch-zoom will zoom in and out, and
84 ---
88 bin/gn gen out/Release --args='target_os="ios" is_debug=false'
89 ninja -C out/Release viewer
92 [ios-deploy](https://github.com/ios-control/ios-deploy)
94 [iOS build instructions](https://skia.org/docs/user/build#ios) for more information
98 automatically bundle the `resources` directory in the top-level Skia directory,
102 swipe between them, pinch-zoom to scale, and translate via panning. There is not