From 5868882b5cb0eca046477f38ae7e0a49b886c7ee Mon Sep 17 00:00:00 2001 From: "sdagley%netscape.com" Date: Thu, 10 May 2001 14:50:35 +0000 Subject: [PATCH] #79500 - Only put a 'carb' resource in the Viewer app when building for Carbon. r=attinasi, sr=sfraser git-svn-id: svn://10.0.0.236/trunk@94492 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/build/mac/build_scripts/MozillaBuildList.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mozilla/build/mac/build_scripts/MozillaBuildList.pm b/mozilla/build/mac/build_scripts/MozillaBuildList.pm index 2554195947e..f96b60a7ff0 100644 --- a/mozilla/build/mac/build_scripts/MozillaBuildList.pm +++ b/mozilla/build/mac/build_scripts/MozillaBuildList.pm @@ -1652,11 +1652,15 @@ sub BuildViewerProjects() # $D becomes a suffix to target names for selecting either the debug or non-debug target of a project my($D) = $main::DEBUG ? "Debug" : ""; + + # $C becomes a component of target names for selecting either the Carbon or non-Carbon target of a project + my($C) = $main::options{carbon} ? "Carbon" : ""; + my($dist_dir) = GetBinDirectory(); StartBuildModule("viewer"); - BuildOneProject(":mozilla:webshell:tests:viewer:mac:viewer.mcp", "viewer$D", 0, 0, 0); + BuildOneProject(":mozilla:webshell:tests:viewer:mac:viewer.mcp", "viewer$C$D", 0, 0, 0); EndBuildModule("viewer"); }