gfx/moz.build
author Igor Gutorov <igootorov@gmail.com>
Tue, 09 Jan 2018 17:27:47 -0600
changeset 452758 ccb64910979ad80245221ad8baa2e6dd4b7a5b20
parent 436060 9007fcde0344ea646f0d6b6d9132e734bea7b6e4
child 453185 6d539e4a02bd5a819c798c16ffc2fdbe9fb5fab2
permissions -rw-r--r--
servo: Merge #19732 - Update Gentoo Linux setup to include clang (from gootorov:master); r=jdm <!-- Please describe your changes on the following line: -->While other Linux distributions include clang package as required in the setup section of README, Gentoo does not. This patch fixes it. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because it is a documentation fix <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: d0300ffd67c2278f6c9ce8cac23923f13641abf3

# -*- 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']:
     DIRS += ['sfntly/cpp/src']

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

TEST_DIRS += ['tests']

SPHINX_TREES['gfx'] = 'docs'