Files
sousa-gecko/gfx/moz.build
T
Jim Blandy f44af92fb6 Bug 2058784: Move Pixman from Cairo's directory into its own. r=gfx-reviewers,bradwerth,sylvestre
Move Mozilla Central's vendored copy of Pixman from `gfx/cairo/libpixman` into
`gfx/pixman`. This commit makes no changes to Pixman source code, and changes
`moz.build` files only as required.

Details:

- Drop the `lib` from `libpixman`. The project's website is `www.pixman.org`,
  the upstream repository is just called `pixman`, and the source directory
  within that repository is `pixman`. And everything we're vendoring into
  Mozilla Central is a library anyway, so the `lib` prefix doesn't seem
  informative.

- As with Cairo, we introduce a parent directory, `gfx/pixman`, to hold Mozilla
  metadata like vendoring notes, local patches, and eventually a `moz.yaml`
  file. So `gfx/cairo/libpixman` becomes `gfx/pixman/pixman/`.

- `gfx/cairo/libpixman/src` becomes `gfx/pixman/pixman/pixman`. This is pretty
  redundant, but the Pixman repo itself puts the main sources in a subdirectory
  named `pixman`. It seems simplest to keep our directory structure parallel
  with the upstream sources.

Differential Revision: https://phabricator.services.mozilla.com/D314827
2026-08-06 23:31:21 +00:00

51 lines
992 B
INI

# 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")
SCHEDULES.inclusive += ["android-hw-gfx"]
with Files("wr/**"):
BUG_COMPONENT = ("Core", "Graphics: WebRender")
DIRS += [
"cairo",
"2d",
"ycbcr",
"angle",
"src",
"qcms",
"gl",
"layers",
"graphite2/src",
"harfbuzz/src",
"ots/src",
"thebes",
"ipc",
"vr",
"config",
"webrender_bindings",
"wgpu_bindings",
"skia",
]
if CONFIG["MOZ_TREE_PIXMAN"]:
DIRS += ["pixman"]
if CONFIG["MOZ_FONTATIONS"]:
DIRS += [
"fontations_glue",
]
TEST_DIRS += ["tests/gtest"]
if CONFIG["FUZZING_INTERFACES"]:
TEST_DIRS += ["tests/fuzz"]
TEST_DIRS += ["tests"]
SPHINX_TREES["/gfx"] = "docs"
with Files("docs/**"):
SCHEDULES.exclusive = ["docs"]