Lines Matching +full:libjpeg +full:- +full:dev
1 ---
6 ---
14 ## `is_official_build` and Third-party Dependencies
20 with no debug symbols, dynamically linked against its third-party dependencies
23 In contrast, the developer-oriented default is an unoptimized build with full
24 debug symbols and all third-party dependencies built from source and embedded
27 Skia offers several features that make use of third-party libraries, like
28 libpng, libwebp, or libjpeg-turbo to decode images, or ICU and sftnly to subset
29 fonts. All these third-party dependencies are optional and can be controlled by
45 prioritization; there is nothing fundamentally wrong with non-Clang compilers.
48 Skia makes use of C++17 language features (compiles with `-std=c++17` flag) and
51 produce non-obvious compilation errors. You can configure your build to use
53 `--args='cc="clang" cxx="clang++"'` GN build arguments, as illustrated in
63 for your build directory, and optionally `--args=` to configure the build type.
68 bin/gn gen out/Static --args='is_official_build=true'
74 bin/gn gen out/Shared --args='is_official_build=true is_component_build=true'
80 python3 tools/git-sync-deps
86 bin/gn args out/Debug --list
94 bin/gn gen out/Release --args='is_debug=false'
95 bin/gn gen out/Clang --args='cc="clang" cxx="clang++"'
96 bin/gn gen out/Cached --args='cc_wrapper="ccache"'
97 bin/gn gen out/RTTI --args='extra_cflags_cc=["-frtti"]'
103 ninja -C out/Static
116 python tools/git-sync-deps
117 ninja -C out/Static
129 ./bin/fetch-sk
139 bin/gn gen out/arm --args='ndk="/tmp/ndk" target_cpu="arm"'
140 bin/gn gen out/arm64 --args='ndk="/tmp/ndk" target_cpu="arm64"'
141 bin/gn gen out/x64 --args='ndk="/tmp/ndk" target_cpu="x64"'
142 bin/gn gen out/x86 --args='ndk="/tmp/ndk" target_cpu="x86"'
152 ninja -C out/arm64
155 adb shell "cd /data/local/tmp; ./dm --src gm --config gl"
160 To cross-compile Skia for arm ChromeOS devices the following is needed:
162 - Clang 4 or newer
163 - An armhf sysroot
164 - The (E)GL lib files on the arm chromebook to link against.
194 "--target=armv7a-linux-gnueabihf",
195 "--sysroot=/opt/armhf_sysroot/",
196 "-march=armv7-a",
197 "-mfpu=neon",
198 "-mthumb",
201 "--target=armv7a-linux-gnueabihf",
202 "--sysroot=/opt/armhf_sysroot",
203 "-I/opt/chromebook_arm_gles/include",
204 "-I/opt/armhf_sysroot/include/",
205 "-I/opt/armhf_sysroot/include/c++/4.8.4/",
206 "-I/opt/armhf_sysroot/include/c++/4.8.4/arm-linux-gnueabihf/",
207 "-DMESA_EGL_NO_X11_HEADERS",
208 "-funwind-tables",
211 "--sysroot=/opt/armhf_sysroot",
212 "-B/opt/armhf_sysroot/bin",
213 "-B/opt/armhf_sysroot/gcc-cross",
214 "-L/opt/armhf_sysroot/gcc-cross",
215 "-L/opt/armhf_sysroot/lib",
216 "-L/opt/chromebook_arm_gles/lib",
217 "--target=armv7a-linux-gnueabihf",
229 "-I/opt/clang/include/c++/v1/",
230 "-I/opt/chromebook_x86_64_gles/include",
231 "-DMESA_EGL_NO_X11_HEADERS",
232 "-DEGL_NO_IMAGE_EXTERNAL",
235 "-stdlib=libc++",
236 "-fuse-ld=lld",
237 "-L/opt/chromebook_x86_64_gles/lib",
248 [run dm as normal](/docs/dev/testing/tests) using the gles GPU config.
254 sudo mount -i -o remount,exec /home/chronos
259 Mac users may want to pass `--ide=xcode` to `bin/gn gen` to generate an Xcode
266 bin/gn gen out/AppleSilicon --args='target_cpu="arm64"'
269 Googlers should see [go/skia-corp-xcode](http://go/skia-corp-xcode) for
289 bin/gn gen out/ios64 --args='target_os="ios"'
290 bin/gn gen out/ios32 --args='target_os="ios" target_cpu="arm"'
291 bin/gn gen out/iossim-apple --args='target_os="ios" target_cpu="arm64" ios_use_simulator=true'
292 bin/gn gen out/iossim-intel --args='target_os="ios" target_cpu="x64"'
295 By default this will also package (and for non-simulator devices, sign) iOS test binaries.
309 A list of identities can be found by typing `security find-identity` on the
320 For signed packages `ios-deploy` makes installing and running them on a device
324 ios-deploy -b out/Debug/dm.app -d --args "--match foo"
327 If you wish to deploy through Xcode you can generate a project by passing `--ide=xcode` to
348 …l Studio 2017 or 2019](https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2019).
363 This toolchain is the only way we support 32-bit builds, by also setting
368 ### **Highly Recommended**: Build with clang-cl
373 Setting the `cc` and `cxx` gn args is _not_ sufficient to build with clang-cl.
395 If you use Visual Studio, you may want to pass `--ide=vs` to `bin/gn gen` to
402 `--ide=vs` when running `bin/gn gen` for each one. Then:
417 [Windows 10 on ARM](https://docs.microsoft.com/en-us/windows/arm/). This
428 bin/gn gen out/win-arm64 --args='target_cpu="arm64" skia_use_angle=true'
432 in DM. Viewer only works when launched with `--backend angle`, because the
437 We have added a GN-to-CMake translator mainly for use with IDEs that like CMake
441 bin/gn gen out/config --ide=json --json-ide-script=../../gn/gn_to_cmake.py