moz.build (896B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 with Files("**"): 8 BUG_COMPONENT = ("Core", "Graphics: ImageLib") 9 10 DEFINES['BITS_IN_JSAMPLE'] = 16 11 12 # From JPEG16_SOURCES in the upstream CMakeLists.txt 13 SOURCES += [ 14 '../jcapistd.c', 15 '../jccolor.c', 16 '../jcdiffct.c', 17 '../jclossls.c', 18 '../jcmainct.c', 19 '../jcprepct.c', 20 '../jcsample.c', 21 '../jdapistd.c', 22 '../jdcolor.c', 23 '../jddiffct.c', 24 '../jdlossls.c', 25 '../jdmainct.c', 26 '../jdpostct.c', 27 '../jdsample.c', 28 '../jutils.c', 29 ] 30 31 # We allow warnings for third-party code that can be updated from upstream. 32 AllowCompilerWarnings() 33 34 FINAL_LIBRARY = 'xul' 35