# This file is part of Telegram Desktop, # the official desktop application for the Telegram messaging service. # # For license and copyright information please follow this link: # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL { 'conditions': [[ 'build_linux', { 'variables': { 'variables': { 'build_defines%': '', }, 'not_need_gtk%': ' createPlatformIntegration -> QXcbIntegrationPlugin::create #'xkbcommon', ], }, 'dependencies': [ '<(DEPTH)/linux_glibc_wraps.gyp:linux_glibc_wraps', ], 'libraries': [ '<(PRODUCT_DIR)/obj.target/liblinux_glibc_wraps.a', '-lbreakpad_client', '-lcomposeplatforminputcontextplugin', '-libusplatforminputcontextplugin', '-lfcitxplatforminputcontextplugin', '-lhimeplatforminputcontextplugin', '-lnimfplatforminputcontextplugin', '-llzma', '-lopenal', '-lavformat', '-lavcodec', '-lswresample', '-lswscale', '-lavutil', '-lopus', '-lva-x11', '-lva-drm', '-lva', '-lvdpau', '-ldrm', '-lz', # ' /dev/null --libs <@(pkgconfig_libs))', ], 'cflags_cc': [ '-Wno-strict-overflow', '-Wno-maybe-uninitialized', ], 'ldflags': [ '-Wl,-wrap,aligned_alloc', '-Wl,-wrap,secure_getenv', '-Wl,-wrap,clock_gettime', '-Wl,--no-as-needed,-lrt', '-Wl,-Bstatic', ], 'configurations': { 'Release': { 'cflags_c': [ '-Ofast', '-fno-strict-aliasing', ], 'cflags_cc': [ '-Ofast', '-fno-strict-aliasing', ], 'ldflags': [ '-Ofast', ], }, }, 'conditions': [ [ '" /dev/null --cflags gtk+-2.0)', ' /dev/null --cflags glib-2.0)', ' /dev/null --cflags dee-1.0)', ], }], ['