moz.build (835B)
1 # vim: set filetype=python: 2 # This Source Code Form is subject to the terms of the Mozilla Public 3 # License, v. 2.0. If a copy of the MPL was not distributed with this 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 LOCAL_INCLUDES += [ 7 '/gfx/angle/checkout/include/', 8 'libepoxy/include', 9 ] 10 11 EXPORTS.libepoxy += [ 12 'libepoxy/include/epoxy/common.h', 13 'libepoxy/include/epoxy/egl_generated.h', 14 'libepoxy/include/epoxy/gl_generated.h', 15 ] 16 17 # We allow warnings for third-party code that can be updated from upstream. 18 AllowCompilerWarnings() 19 #NoVisibilityFlags() 20 21 SOURCES += [ 22 'libepoxy/src/dispatch_common.c', 23 'libepoxy/src/dispatch_egl.c', 24 'libepoxy/src/egl_generated_dispatch.c', 25 'libepoxy/src/gl_generated_dispatch.c', 26 ] 27 28 CFLAGS += [ 29 "-fvisibility=hidden", 30 ] 31 32 FINAL_LIBRARY = 'xul' 33