tor-browser

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

moz.build (1809B)


      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 UNIFIED_SOURCES += [
      8     "gfxSurfaceRefCountTest.cpp",
      9     "MockWidget.cpp",
     10     "PolygonTestUtils.cpp",
     11     "TestArena.cpp",
     12     "TestArrayView.cpp",
     13     "TestBSPTree.cpp",
     14     "TestBufferRotation.cpp",
     15     "TestConfigManager.cpp",
     16     "TestCoord.cpp",
     17     "TestFontOverlapPrevention.cpp",
     18     "TestGfxWidgets.cpp",
     19     "TestMatrix.cpp",
     20     "TestMoz2D.cpp",
     21     "TestPoint.cpp",
     22     "TestPolygon.cpp",
     23     "TestQcms.cpp",
     24     "TestRegion.cpp",
     25     "TestSkipChars.cpp",
     26     "TestSwizzle.cpp",
     27     "TestTextures.cpp",
     28     "TestTreeTraversal.cpp",
     29     "TestVsync.cpp",
     30     "TestYUVtoRGB32.cpp",
     31 ]
     32 
     33 if CONFIG["OS_TARGET"] != "Android":
     34     UNIFIED_SOURCES += [
     35         "TestRect.cpp",
     36     ]
     37 
     38 UNIFIED_SOURCES += [
     39     "/gfx/2d/unittest/%s" % p
     40     for p in [
     41         "TestBase.cpp",
     42         "TestBugs.cpp",
     43         "TestCairo.cpp",
     44         "TestScaling.cpp",
     45     ]
     46 ]
     47 
     48 UNIFIED_SOURCES += [
     49     "/gfx/ots/tests/cff_charstring_test.cc",
     50 ]
     51 
     52 # ICC profiles used for verifying QCMS transformations. The copyright
     53 # notice embedded in the profiles should be reviewed to ensure there are
     54 # no known restrictions on distribution.
     55 TEST_HARNESS_FILES.gtest += [
     56     "../../qcms/profiles/lcms_samsung_syncmaster.icc",
     57     "../../qcms/profiles/lcms_thinkpad_w540.icc",
     58 ]
     59 
     60 include("/ipc/chromium/chromium-config.mozbuild")
     61 
     62 LOCAL_INCLUDES += [
     63     "/gfx/2d",
     64     "/gfx/2d/unittest",
     65     "/gfx/cairo/cairo/src",
     66     "/gfx/config",
     67     "/gfx/layers",
     68     "/gfx/ots/src",
     69     "/gfx/qcms",
     70     "/layout/base",
     71 ]
     72 
     73 FINAL_LIBRARY = "xul-gtest"