author Nicholas Nethercote <nnethercote@mozilla.com>
Mon, 28 Sep 2015 21:11:52 -0700
changeset 302316 feb0f7522ece30fdcc264ccb8df5e580c4f27a07
parent 253953 6d8289226c9a9e1388d69b50d88835ce86760b8b
child 304476 35e546b48807d934b8966719757df23162ef1af2
permissions -rw-r--r--
Bug 1209812 (part 1) - Remove casts between cairo_format_t and gfxImageFormat. r=nical. cairo_format_t and gfxImageFormat have their equivalent constants in the same order, so you can just cast between them, which is kind of nasty. This patch replaces all such casts with explicit conversions via calls to new conversion functions. These functions will be removed in a subsequent patch.

# 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/.

# Include config.mk explicitly so we can override FINAL_TARGET.
include $(topsrcdir)/config/config.mk

include $(topsrcdir)/config/rules.mk

libs:: $(call mkdir_deps,$(FINAL_TARGET))
	$(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest 'resource webapprt ./')

GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid)

webapprt.ini: application.ini.in $(DEPTH)/config/buildid $(topsrcdir)/config/milestone.txt
	$(call py_action,preprocessor,$(DEFINES) $< -o $@)

libs:: webapprt.ini
	$(INSTALL) webapprt.ini $(FINAL_TARGET)

GARBAGE += webapprt.ini