gfx/moz.build
author L. David Baron <dbaron@dbaron.org>
Tue, 06 Jun 2017 22:27:18 -0700
changeset 362647 33997d929fda5555b857ce1aa0f523c99bfc0434
parent 342172 cfa5b8035a0fecb25cdbbbca349998b92bb22e14
child 382812 9007fcde0344ea646f0d6b6d9132e734bea7b6e4
permissions -rw-r--r--
Bug 1367576 - Shrink existing caches to the size that's actually needed. r=karlt Now that, thanks to bug 1367577, we have the theme constants in an enum, we can make these arrays smaller rather than assuming that the constants might use any valid uint8_t value. MozReview-Commit-ID: A6GjTarVurc

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

with Files('**'):
    BUG_COMPONENT = ('Core', 'Graphics')

if CONFIG['MOZ_TREE_CAIRO']:
    DIRS += ['cairo']

DIRS += [
    '2d',
    'ycbcr',
    'angle',
    'src',
    'qcms',
    'gl',
    'layers',
    'graphite2/src',
    'harfbuzz/src',
    'ots/src',
    'thebes',
    'ipc',
    'vr',
    'config',
    'webrender_bindings',
]

if CONFIG['MOZ_ENABLE_SKIA']:
    DIRS += ['skia']

if CONFIG['MOZ_ENABLE_SKIA_PDF_SFNTLY'] and CONFIG['ENABLE_INTL_API']:
     DIRS += ['sfntly/cpp/src']

if CONFIG['ENABLE_TESTS']:
    DIRS += ['tests/gtest']

TEST_DIRS += ['tests']

SPHINX_TREES['gfx'] = 'docs'