forked from pool/nodejs-electron
- New upstream release 19.0.11 * Fixed webContents.getUserAgent() incorrectly returning an empty string unless previously set. * Disabled GPU acceleration on VMware on Linux. - New upstream release 19.0.10 * Added support for --ozone-platform-hint flag. * Fixed inertial scroll is broken when the scrollable element has an overlay with pointer-events: none. - Do not use non-free closure compiler JAR during compilation. - Use system jpeg-xl and XNVCtrl also on Tumbleweed. - Use system libyuv on Tumbleweed. * libyuv.gn - Make nodejs-electron-devel require zlib-devel instead of shipping own headers. * no-zlib-headers.patch * add -lz to LDFLAGS in electron-16-system-node-headers.patch - Use system toolchain, incl. nasm, ply, flatc * flatbuffers.gn * system-nasm.patch * system-pydeps.patch - Thorough cleanup of various other third party libraries from source tarball. * do-not-build-libvulkan.so.patch * libsecret.gn * node-system-icu.patch * skia-system-vulkan-headers.patch * system-six.patch * system-usb_ids.patch * Adjust system-gtest.patch to also account for the second googletest copy in electron_node - Re-enable full debuginfo on x64 for everything except Blink and v8, which fails to build due to heavy template use. * adjust chromium-102-compiler.patch * nasm-generate-debuginfo.patch - Fix build of EXPERIMENTAL ix86 and arm7hf ports by using the LLVM linker (lld) on these platforms. * Note that ix86 requires SSE2 instructions (that means Pentium 4 / Pentium M / Atom or equivalent) OBS-URL: https://build.opensuse.org/request/show/993568 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=26
34 lines
731 B
Plaintext
34 lines
731 B
Plaintext
import("//build/shim_headers.gni")
|
|
|
|
|
|
config("flatbuffers_config") {
|
|
include_dirs = [ "src/include" ]
|
|
|
|
# Required to prevent static initialization of locale
|
|
# in util.cpp
|
|
defines = [ "FLATBUFFERS_LOCALE_INDEPENDENT=0" ]
|
|
}
|
|
|
|
shim_headers("flatbuffers_shim") {
|
|
root_path = "src/include"
|
|
headers = [
|
|
"flatbuffers/base.h",
|
|
"flatbuffers/flatbuffers.h",
|
|
"flatbuffers/stl_emulation.h",
|
|
"flatbuffers/flexbuffers.h",
|
|
"flatbuffers/util.h",
|
|
]
|
|
}
|
|
|
|
source_set("flatbuffers") {
|
|
deps = [ ":flatbuffers_shim" ]
|
|
libs = [ "flatbuffers" ]
|
|
public_configs = [ ":flatbuffers_config" ]
|
|
}
|
|
|
|
copy("flatc") {
|
|
sources = [ "/usr/bin/flatc" ]
|
|
outputs = [ "$root_out_dir/flatc" ]
|
|
}
|
|
|
|
source_set("flatbuffers_unittests") {} |