Closed Bug 901561 Opened 11 years ago Closed 11 years ago

move CMSRCS to mozbuild.

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla28

People

(Reporter: joey, Assigned: glandium)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

Only one macro instance and there are config rules to handle the var so probably not a typo:

./toolkit/crashreporter/google-breakpad/src/common/mac/Makefile.in:CMSRCS = \

./config/rules.mk:CMOBJS = $(notdir $(CMSRCS:.m=.$(OBJ_SUFFIX)))
./config/rules.mk:$(foreach f,$(CSRCS) $(SSRCS) $(CPPSRCS) $(CMSRCS) $(CMMSRCS)
CMSRCS : CSRCS :: CMMSRCS : CPPSRCS

I guess we just don't have much ObjC (vs. ObjC++) in the tree. We could just see if this file compiles okay being put in CMMSRCS, and if so drop support for CMSRCS.
It'd probably need to be renamed to .mm as well, because of:
  CMOBJS = $(notdir $(CMSRCS:.m=.$(OBJ_SUFFIX)))
  CMMOBJS = $(notdir $(CMMSRCS:.mm=.$(OBJ_SUFFIX)))
Oh, that's a bummer. Maybe we could just set CMOBJS and CMMOBJS by filtering CMMSRCS? I don't know.
Attachment #823976 - Flags: review?(gps)
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Attachment #823976 - Flags: review?(gps) → review+
https://hg.mozilla.org/mozilla-central/rev/a21754689419
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Whiteboard: [qa-]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: