tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

moz.build (5887B)


      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 LOCAL_INCLUDES += [
      8     "./include/",
      9     "/third_party/jpeg-xl/",
     10     "/third_party/jpeg-xl/lib/include/",
     11 ]
     12 
     13 SOURCES += [
     14     "/third_party/jpeg-xl/lib/jxl/ac_strategy.cc",
     15     "/third_party/jpeg-xl/lib/jxl/alpha.cc",
     16     "/third_party/jpeg-xl/lib/jxl/ans_common.cc",
     17     "/third_party/jpeg-xl/lib/jxl/blending.cc",
     18     "/third_party/jpeg-xl/lib/jxl/chroma_from_luma.cc",
     19     "/third_party/jpeg-xl/lib/jxl/coeff_order.cc",
     20     "/third_party/jpeg-xl/lib/jxl/color_encoding_internal.cc",
     21     "/third_party/jpeg-xl/lib/jxl/compressed_dc.cc",
     22     "/third_party/jpeg-xl/lib/jxl/convolve_separable5.cc",
     23     "/third_party/jpeg-xl/lib/jxl/convolve_slow.cc",
     24     "/third_party/jpeg-xl/lib/jxl/convolve_symmetric3.cc",
     25     "/third_party/jpeg-xl/lib/jxl/convolve_symmetric5.cc",
     26     "/third_party/jpeg-xl/lib/jxl/dct_scales.cc",
     27     "/third_party/jpeg-xl/lib/jxl/dec_ans.cc",
     28     "/third_party/jpeg-xl/lib/jxl/dec_cache.cc",
     29     "/third_party/jpeg-xl/lib/jxl/dec_context_map.cc",
     30     "/third_party/jpeg-xl/lib/jxl/dec_external_image.cc",
     31     "/third_party/jpeg-xl/lib/jxl/dec_frame.cc",
     32     "/third_party/jpeg-xl/lib/jxl/dec_group.cc",
     33     "/third_party/jpeg-xl/lib/jxl/dec_group_border.cc",
     34     "/third_party/jpeg-xl/lib/jxl/dec_huffman.cc",
     35     "/third_party/jpeg-xl/lib/jxl/dec_modular.cc",
     36     "/third_party/jpeg-xl/lib/jxl/dec_noise.cc",
     37     "/third_party/jpeg-xl/lib/jxl/dec_patch_dictionary.cc",
     38     "/third_party/jpeg-xl/lib/jxl/dec_xyb.cc",
     39     "/third_party/jpeg-xl/lib/jxl/decode.cc",
     40     "/third_party/jpeg-xl/lib/jxl/entropy_coder.cc",
     41     "/third_party/jpeg-xl/lib/jxl/epf.cc",
     42     "/third_party/jpeg-xl/lib/jxl/fields.cc",
     43     "/third_party/jpeg-xl/lib/jxl/frame_header.cc",
     44     "/third_party/jpeg-xl/lib/jxl/headers.cc",
     45     "/third_party/jpeg-xl/lib/jxl/huffman_table.cc",
     46     "/third_party/jpeg-xl/lib/jxl/icc_codec.cc",
     47     "/third_party/jpeg-xl/lib/jxl/icc_codec_common.cc",
     48     "/third_party/jpeg-xl/lib/jxl/image.cc",
     49     "/third_party/jpeg-xl/lib/jxl/image_bundle.cc",
     50     "/third_party/jpeg-xl/lib/jxl/image_metadata.cc",
     51     "/third_party/jpeg-xl/lib/jxl/image_ops.cc",
     52     "/third_party/jpeg-xl/lib/jxl/loop_filter.cc",
     53     "/third_party/jpeg-xl/lib/jxl/luminance.cc",
     54     "/third_party/jpeg-xl/lib/jxl/memory_manager_internal.cc",
     55     "/third_party/jpeg-xl/lib/jxl/modular/encoding/dec_ma.cc",
     56     "/third_party/jpeg-xl/lib/jxl/modular/encoding/encoding.cc",
     57     "/third_party/jpeg-xl/lib/jxl/modular/modular_image.cc",
     58     "/third_party/jpeg-xl/lib/jxl/modular/transform/palette.cc",
     59     "/third_party/jpeg-xl/lib/jxl/modular/transform/rct.cc",
     60     "/third_party/jpeg-xl/lib/jxl/modular/transform/squeeze.cc",
     61     "/third_party/jpeg-xl/lib/jxl/modular/transform/transform.cc",
     62     "/third_party/jpeg-xl/lib/jxl/opsin_params.cc",
     63     "/third_party/jpeg-xl/lib/jxl/passes_state.cc",
     64     "/third_party/jpeg-xl/lib/jxl/quant_weights.cc",
     65     "/third_party/jpeg-xl/lib/jxl/quantizer.cc",
     66     "/third_party/jpeg-xl/lib/jxl/render_pipeline/low_memory_render_pipeline.cc",
     67     "/third_party/jpeg-xl/lib/jxl/render_pipeline/render_pipeline.cc",
     68     "/third_party/jpeg-xl/lib/jxl/render_pipeline/simple_render_pipeline.cc",
     69     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_blending.cc",
     70     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_chroma_upsampling.cc",
     71     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_cms.cc",
     72     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_epf.cc",
     73     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_from_linear.cc",
     74     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_gaborish.cc",
     75     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_noise.cc",
     76     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_patches.cc",
     77     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_splines.cc",
     78     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_spot.cc",
     79     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_to_linear.cc",
     80     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_tone_mapping.cc",
     81     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_upsampling.cc",
     82     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_write.cc",
     83     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_xyb.cc",
     84     "/third_party/jpeg-xl/lib/jxl/render_pipeline/stage_ycbcr.cc",
     85     "/third_party/jpeg-xl/lib/jxl/simd_util.cc",
     86     "/third_party/jpeg-xl/lib/jxl/splines.cc",
     87     "/third_party/jpeg-xl/lib/jxl/toc.cc",
     88 ]
     89 
     90 SOURCES += [
     91     "/third_party/jpeg-xl/lib/threads/thread_parallel_runner.cc",
     92     "/third_party/jpeg-xl/lib/threads/thread_parallel_runner_internal.cc",
     93 ]
     94 
     95 EXPORTS.jxl += [
     96     "./include/jxl/jxl_export.h",
     97     "./include/jxl/jxl_threads_export.h",
     98     "./include/jxl/version.h",
     99     "/third_party/jpeg-xl/lib/include/jxl/cms_interface.h",
    100     "/third_party/jpeg-xl/lib/include/jxl/codestream_header.h",
    101     "/third_party/jpeg-xl/lib/include/jxl/color_encoding.h",
    102     "/third_party/jpeg-xl/lib/include/jxl/decode.h",
    103     "/third_party/jpeg-xl/lib/include/jxl/decode_cxx.h",
    104     "/third_party/jpeg-xl/lib/include/jxl/encode.h",
    105     "/third_party/jpeg-xl/lib/include/jxl/encode_cxx.h",
    106     "/third_party/jpeg-xl/lib/include/jxl/memory_manager.h",
    107     "/third_party/jpeg-xl/lib/include/jxl/parallel_runner.h",
    108     "/third_party/jpeg-xl/lib/include/jxl/thread_parallel_runner.h",
    109     "/third_party/jpeg-xl/lib/include/jxl/thread_parallel_runner_cxx.h",
    110     "/third_party/jpeg-xl/lib/include/jxl/types.h",
    111 ]
    112 
    113 DEFINES["JPEGXL_ENABLE_BOXES"] = "0"
    114 DEFINES["JPEGXL_ENABLE_TRANSCODE_JPEG"] = "0"
    115 
    116 FINAL_LIBRARY = "xul"
    117 
    118 # We allow warnings for third-party code that can be updated from upstream.
    119 AllowCompilerWarnings()