# 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': { 'linux_common_flags': [ '-pipe', '-Wall', '-Werror', '-W', '-fPIC', '-Wno-unused-variable', '-Wno-unused-parameter', '-Wno-unused-function', '-Wno-switch', '-Wno-comment', '-Wno-unused-but-set-variable', '-Wno-missing-field-initializers', '-Wno-sign-compare', '-Wno-attributes', '-Wno-error=class-memaccess', '-Wno-error=parentheses', ], 'linux_path_ffmpeg%': '/usr/local', 'linux_path_openal%': '/usr/local', 'linux_path_va%': '/usr/local', 'linux_path_vdpau%': '/usr/local', 'linux_path_breakpad%': '/usr/local', 'linux_path_opus_include%': '<(libs_loc)/opus/include', 'linux_path_range%': '/usr/local', }, 'include_dirs': [ '/usr/local/include', '<(linux_path_ffmpeg)/include', '<(linux_path_openal)/include', '<(linux_path_breakpad)/include/breakpad', '<(linux_path_opus_include)', '<(linux_path_range)/include', ], 'library_dirs': [ '/usr/local/lib', '<(linux_path_ffmpeg)/lib', '<(linux_path_openal)/lib', '<(linux_path_va)/lib', '<(linux_path_vdpau)/lib', '<(linux_path_breakpad)/lib', ], 'conditions': [ [ '"