moz.build (1166B)
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'] = 12 11 12 # From JPEG12_SOURCES in the upstream CMakeLists.txt 13 SOURCES += [ 14 '../jcapistd.c', 15 '../jccoefct.c', 16 '../jccolor.c', 17 '../jcdctmgr.c', 18 '../jcdiffct.c', 19 '../jclossls.c', 20 '../jcmainct.c', 21 '../jcprepct.c', 22 '../jcsample.c', 23 '../jdapistd.c', 24 '../jdcoefct.c', 25 '../jdcolor.c', 26 '../jddctmgr.c', 27 '../jddiffct.c', 28 '../jdlossls.c', 29 '../jdmainct.c', 30 '../jdmerge.c', 31 '../jdpostct.c', 32 '../jdsample.c', 33 '../jfdctfst.c', 34 '../jfdctint.c', 35 '../jidctflt.c', 36 '../jidctfst.c', 37 '../jidctint.c', 38 '../jidctred.c', 39 '../jquant1.c', 40 '../jquant2.c', 41 '../jutils.c', 42 ] 43 44 # We allow warnings for third-party code that can be updated from upstream. 45 AllowCompilerWarnings() 46 47 FINAL_LIBRARY = 'xul' 48