Bug 864774 - Part 1: Support CPP_SOURCES in moz.build; r=gps

From 634fb39c43c258feca8c814c450cd9dfe30a8353 Mon Sep 17 00:00:00 2001
This commit is contained in:
Mike Shal 2013-04-23 10:44:33 -04:00
parent 6cc37dfdcb
commit bd0a68f115
2 changed files with 8 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class TreeMetadataEmitter(object):
varmap = dict(
# Makefile.in : moz.build
ASFILES='ASFILES',
CPPSRCS='CPP_SOURCES',
CSRCS='CSRCS',
DEFINES='DEFINES',
MODULE='MODULE',

View File

@ -202,6 +202,13 @@ VARIABLES = {
BIN_SUFFIX, PROGRAM will remain unchanged.
"""),
'CPP_SOURCES': (list, list, [],
"""C++ source file list.
This is a list of C++ files to be compiled. Entries must be files that
exist. These generally have .cpp, .cc, or .cxx extensions.
"""),
# IDL Generation.
'XPIDL_SOURCES': (StrictOrderingOnAppendList, list, [],
"""XPCOM Interface Definition Files (xpidl).