DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444
#!perl -w
package			NGLayoutBuildList;

require 5.004;
require Exporter;

use strict;
use vars qw( @ISA @EXPORT );

# perl includes
use Mac::StandardFile;
use Mac::Processes;
use Cwd;
use File::Path;

# homegrown
use Moz;
use MacCVS;

@ISA			= qw(Exporter);
@EXPORT			= qw( Checkout BuildDist BuildProjects BuildCommonProjects BuildLayoutProjects);

# NGLayoutBuildList builds the nglayout project
# it is configured by setting the following variables in the caller:
# Usage:
# caller variables that affect behaviour:
# DEBUG		: 1 if we are building a debug version
# 3-part build process: checkout, dist, and build_projects
# Hack alert:
# NGLayout defines are located in :mozilla:config:mac:NGLayoutConfigInclude.h
# An alias "MacConfigInclude.h" to this file is created inside dist:config
# Note that the name of alias is different than the name of the file. This
# is to trick CW into including NGLayout defines 


#//--------------------------------------------------------------------------------------------------
#// Utility routines
#//--------------------------------------------------------------------------------------------------

# pickWithMemoryFile stores the information about the user pick inside
# the file $session_storage
sub _pickWithMemoryFile($)
{
	my ($sessionStorage) = @_;
	my $cvsfile;

	if (( -e $sessionStorage) &&
		 open( SESSIONFILE, $sessionStorage ))
	{
	# Read in the path if available
	  $cvsfile = <SESSIONFILE>;
	  chomp $cvsfile;
		close SESSIONFILE;
		if ( ! -e $cvsfile )
		{
			print STDERR "$cvsfile has disappeared\n";
			undef $cvsfile;
		}
	}
	unless (defined ($cvsfile))
	{
		print "Choose a CVS session file in file dialog box:\n";	# no way to display a prompt?
# make sure that MacPerl is a front process
  while (GetFrontProcess	() !=  GetCurrentProcess())
  {
	   SetFrontProcess( GetCurrentProcess() );
  }
	# prompt user for the file name, and store it
		my $macFile = StandardGetFile( 0, "McvD");	
		if ( $macFile->sfGood() )
		{
			$cvsfile = $macFile->sfFile();
		# save the choice if we can
			if ( open (SESSIONFILE, ">" . $sessionStorage))
			{
				printf SESSIONFILE $cvsfile, "\n";
				close SESSIONFILE;
			}
			else
			{
				print STDERR "Could not open storage file\n";
			}
		}
	}
	return $cvsfile;
}

# assert that we are in the correct directory for the build
sub _assertRightDirectory()
{
	unless (-e ":mozilla")
	{
		my($dir) = cwd();
		print STDERR "NGLayoutBuildList called from incorrect directory: $dir";
	} 
}

sub _getDistDirectory()
{
	return $main::DEBUG ? ":mozilla:dist:viewer_debug:" : ":mozilla:dist:viewer:";
}


#//--------------------------------------------------------------------------------------------------
#// Checkout everything
#//--------------------------------------------------------------------------------------------------

sub Checkout()
{
	_assertRightDirectory();
	my($cvsfile) = _pickWithMemoryFile("::nglayout.cvsloc");
	my($session) = MacCVS->new( $cvsfile );
	unless (defined($session)) { die "Checkout aborted. Cannot create session file: $session" }

	#//
	#//	List of the branches we use
	#//
	my($LIBPREF_BRANCH) = "XPCOM_BRANCH";

	#//
	#//	Checkout commands
	#//
	if ($main::pull{all})
	{
		$session->checkout("RaptorMac")				|| die "checkout failure";
		$session->checkout("mozilla/modules/libpref",$LIBPREF_BRANCH)	|| die "checkout failure";
 }
}


#//--------------------------------------------------------------------------------------------------
#// Build the 'dist' directory
#//--------------------------------------------------------------------------------------------------

sub BuildDist()
{
	unless ( $main::build{dist} ) { return;}
	_assertRightDirectory();
	
	# we really do not need all these paths, but many client projects include them
	mkpath([ ":mozilla:dist:", ":mozilla:dist:client:", ":mozilla:dist:client_debug:", ":mozilla:dist:client_stubs:" ]);
	mkpath([ ":mozilla:dist:viewer:", ":mozilla:dist:viewer_debug:" ]);

	my($distdirectory) = ":mozilla:dist";

	my($distlist) = [

	#MAC_COMMON
	[":mozilla:build:mac:MANIFEST",								"$distdirectory:mac:common:"],
	[":mozilla:lib:mac:NSStdLib:include:MANIFEST",				"$distdirectory:mac:common:"],
	[":mozilla:lib:mac:MacMemoryAllocator:include:MANIFEST",	"$distdirectory:mac:common:"],
	[":mozilla:lib:mac:Misc:MANIFEST",							"$distdirectory:mac:common:"],
	[":mozilla:lib:mac:MoreFiles:MANIFEST",						"$distdirectory:mac:common:morefiles:"],

	#INCLUDE
	[":mozilla:config:mac:MANIFEST",							"$distdirectory:config:"],
	[":mozilla:config:mac:MANIFEST_config",						"$distdirectory:config:"],
	[":mozilla:include:MANIFEST",								"$distdirectory:include:"],		
	[":mozilla:cmd:macfe:pch:MANIFEST",							"$distdirectory:include:"],
	[":mozilla:cmd:macfe:utility:MANIFEST",						"$distdirectory:include:"],

	#NSPR	
    [":mozilla:nsprpub:pr:include:MANIFEST",					"$distdirectory:nspr:"],		
    [":mozilla:nsprpub:pr:src:md:mac:MANIFEST",					"$distdirectory:nspr:mac:"],		
    [":mozilla:nsprpub:lib:ds:MANIFEST",						"$distdirectory:nspr:"],		
    [":mozilla:nsprpub:lib:libc:include:MANIFEST",				"$distdirectory:nspr:"],		
    [":mozilla:nsprpub:lib:msgc:include:MANIFEST",				"$distdirectory:nspr:"],

	#JPEG
    [":mozilla:jpeg:MANIFEST",									"$distdirectory:jpeg:"],

	#LIBREG
    [":mozilla:modules:libreg:include:MANIFEST",				"$distdirectory:libreg:"],

	#XPCOM
    [":mozilla:xpcom:public:MANIFEST",								"$distdirectory:xpcom:"],

	#ZLIB
    [":mozilla:modules:zlib:src:MANIFEST",						"$distdirectory:zlib:"],

	#LIBUTIL
    [":mozilla:modules:libutil:public:MANIFEST",				"$distdirectory:libutil:"],

	#SUN_JAVA
    [":mozilla:sun-java:stubs:include:MANIFEST",				"$distdirectory:sun-java:"],
    [":mozilla:sun-java:stubs:macjri:MANIFEST",					"$distdirectory:sun-java:"],

	#NAV_JAVA
    [":mozilla:nav-java:stubs:include:MANIFEST",				"$distdirectory:nav-java:"],
    [":mozilla:nav-java:stubs:macjri:MANIFEST",					"$distdirectory:nav-java:"],

	#JS
    [":mozilla:js:src:MANIFEST",								"$distdirectory:js:"],

	#SECURITY_freenav
    [":mozilla:modules:security:freenav:MANIFEST",				"$distdirectory:security:"],

	#LIBPREF
    [":mozilla:modules:libpref:public:MANIFEST",				"$distdirectory:libpref:"],

	#LIBIMAGE
    [":mozilla:modules:libimg:png:MANIFEST",					"$distdirectory:libimg:"],
    [":mozilla:modules:libimg:src:MANIFEST",					"$distdirectory:libimg:"],
    [":mozilla:modules:libimg:public:MANIFEST",					"$distdirectory:libimg:"],

	#PLUGIN
    [":mozilla:modules:plugin:nglsrc:MANIFEST",					"$distdirectory:plugin:"],
    [":mozilla:modules:plugin:public:MANIFEST",					"$distdirectory:plugin:"],
    [":mozilla:modules:plugin:src:MANIFEST",					"$distdirectory:plugin:"],
    [":mozilla:modules:oji:src:MANIFEST",						"$distdirectory:oji:"],
    [":mozilla:modules:oji:public:MANIFEST",					"$distdirectory:oji:"],

	#LAYERS (IS THIS STILL NEEDED)
	[":mozilla:lib:liblayer:include:MANIFEST",					"$distdirectory:layers:"],

	#NETWORK
    [":mozilla:network:cache:MANIFEST",							"$distdirectory:network:"],
    [":mozilla:network:client:MANIFEST",						"$distdirectory:network:"],
    [":mozilla:network:cnvts:MANIFEST",							"$distdirectory:network:"],
    [":mozilla:network:cstream:MANIFEST",						"$distdirectory:network:"],
    [":mozilla:network:main:MANIFEST",							"$distdirectory:network:"],
    [":mozilla:network:mimetype:MANIFEST",						"$distdirectory:network:"],
    [":mozilla:network:util:MANIFEST",							"$distdirectory:network:"],
    [":mozilla:network:protocol:about:MANIFEST",				"$distdirectory:network:"],
    [":mozilla:network:protocol:certld:MANIFEST",				"$distdirectory:network:"],
    [":mozilla:network:protocol:dataurl:MANIFEST",				"$distdirectory:network:"],
    [":mozilla:network:protocol:file:MANIFEST",					"$distdirectory:network:"],
    [":mozilla:network:protocol:ftp:MANIFEST",					"$distdirectory:network:"],
    [":mozilla:network:protocol:gopher:MANIFEST",				"$distdirectory:network:"],
    [":mozilla:network:protocol:http:MANIFEST",					"$distdirectory:network:"],
    [":mozilla:network:protocol:js:MANIFEST",					"$distdirectory:network:"],
    [":mozilla:network:protocol:mailbox:MANIFEST",				"$distdirectory:network:"],
    [":mozilla:network:protocol:marimba:MANIFEST",				"$distdirectory:network:"],
    [":mozilla:network:protocol:nntp:MANIFEST",					"$distdirectory:network:"],
    [":mozilla:network:protocol:pop3:MANIFEST",					"$distdirectory:network:"],
    [":mozilla:network:protocol:remote:MANIFEST",				"$distdirectory:network:"],
    [":mozilla:network:protocol:smtp:MANIFEST",					"$distdirectory:network:"],
    [":mozilla:network:module:MANIFEST",						"$distdirectory:network:module"],

	#BASE
    [":mozilla:base:src:MANIFEST",								"$distdirectory:base:"],
    [":mozilla:base:public:MANIFEST",							"$distdirectory:base:"],

	#WEBSHELL
    [":mozilla:webshell:public:MANIFEST",						"$distdirectory:webshell:"],

	#LAYOUT
    [":mozilla:layout:build:MANIFEST",							"$distdirectory:layout:"],
    [":mozilla:layout:base:public:MANIFEST",					"$distdirectory:layout:"],
    [":mozilla:layout:html:style:public:MANIFEST",				"$distdirectory:layout:"],
    [":mozilla:layout:html:base:src:MANIFEST",					"$distdirectory:layout:"],
    [":mozilla:layout:base:src:MANIFEST",						"$distdirectory:layout:"],
	[":mozilla:layout:events:public:MANIFEST",					"$distdirectory:layout:"],
	[":mozilla:layout:events:src:MANIFEST",						"$distdirectory:layout:"],

	#WIDGET
    [":mozilla:widget:public:MANIFEST",							"$distdirectory:widget:"],
    [":mozilla:widget:src:mac:MANIFEST",						"$distdirectory:widget:"],

	#GFX
    [":mozilla:gfx:src:MANIFEST",										"$distdirectory:gfx:"],
    [":mozilla:gfx:public:MANIFEST",								"$distdirectory:gfx:"],

	#VIEW
    [":mozilla:view:public:MANIFEST",							"$distdirectory:view:"],

	#DOM
   [":mozilla:dom:public:MANIFEST",								"$distdirectory:dom:"],
   [":mozilla:dom:public:coreDom:MANIFEST",						"$distdirectory:dom:"],
   [":mozilla:dom:public:coreEvents:MANIFEST",					"$distdirectory:dom:"],
   [":mozilla:dom:public:events:MANIFEST",						"$distdirectory:dom:"],
   [":mozilla:dom:public:html:MANIFEST",						"$distdirectory:dom:"],
   [":mozilla:dom:public:css:MANIFEST",							"$distdirectory:dom:"],
   [":mozilla:dom:src:jsurl:MANIFEST",							"$distdirectory:dom:"],

	#HTMLPARSER
   [":mozilla:htmlparser:src:MANIFEST",							"$distdirectory:htmlparser:"],

	];
	foreach $a (@$distlist)
	{
		InstallFromManifest( $a->[0], $a->[1]);
	}
	
	#// To get out defines in all the project, dummy alias NGLayoutConfigInclude.h into MacConfigInclude.h
	MakeAlias(":mozilla:config:mac:NGLayoutConfigInclude.h",	":mozilla:dist:config:MacConfigInclude.h");
}


#//--------------------------------------------------------------------------------------------------
#// Build common projects
#//--------------------------------------------------------------------------------------------------

sub BuildCommonProjects()
{
	unless( $main::build{common} ) { return; }
	_assertRightDirectory();

	# $D becomes a suffix to target names for selecting either the debug or non-debug target of a project
	my($D) = $main::DEBUG ? "Debug" : "";
	my($dist_dir) = _getDistDirectory();

	#//
	#// Clean projects
	#//
	Moz::BuildProjectClean(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp",	"Stubs");
	Moz::BuildProjectClean(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp",              	"Stubs");
	Moz::BuildProjectClean(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp",				"Stubs");
	Moz::BuildProjectClean(":mozilla:cmd:macfe:projects:client:Client.mcp",    		"Stubs");

	#//
	#// Shared libraries
	#//
	if ( $main::CARBON )
	{
		BuildProject(":mozilla:cmd:macfe:projects:interfaceLib:Interface.mcp",			"Carbon Interfaces");
	}
	else
	{
		BuildProject(":mozilla:cmd:macfe:projects:interfaceLib:Interface.mcp",			"MacOS Interfaces");
	}
		
	Moz::BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp",						"NSRuntime$D.shlb");
	MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb",							"$dist_dir");
	$main::DEBUG ? MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb.xSYM",		"$dist_dir") : 0;
	
	Moz::BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.mcp",				"MoreFiles$D.shlb");
	MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb",						"$dist_dir");
	$main::DEBUG ? MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb.xSYM",	"$dist_dir") : 0;

	BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPC.mcp",								"NSPR20$D.shlb");
	MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb",								"$dist_dir");
	$main::DEBUG ? MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb.xSYM",			"$dist_dir") : 0;

	BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp",					"MemAllocator$D.shlb");
	MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb",					"$dist_dir");
	$main::DEBUG ? MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb.xSYM","$dist_dir") : 0;
	
	BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp",								"NSStdLib$D.shlb");
	MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb",								"$dist_dir");
	$main::DEBUG ? MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb.xSYM",			"$dist_dir") : 0;

	BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp",										"JPEG$D.shlb");
	MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb",										"$dist_dir");
	$main::DEBUG ? MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb.xSYM",					"$dist_dir") : 0;

	BuildProject(":mozilla:js:macbuild:JavaScriptPPC.mcp",								"JavaScriptNoJSJ$D.shlb");
	MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb",									"$dist_dir");
	$main::DEBUG ? MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb.xSYM",				"$dist_dir") : 0;

	BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp",								"zlib$D.shlb");
	MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb",								"$dist_dir");
	$main::DEBUG ? MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb.xSYM",			"$dist_dir") : 0;
	
	#//
	#// Static libraries
	#//
	BuildProject(":mozilla:xpcom:macbuild:xpcomPPC.mcp",								"xpcom$D.o");
	BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp",			"Security.o");
	BuildProject(":mozilla:modules:libimg:macbuild:png.mcp",							"png$D.o");
	BuildProject(":mozilla:modules:libimg:macbuild:libimg.mcp",							"libimg$D.o (standalone)");
	BuildProject(":mozilla:network:macbuild:network.mcp",								"NetworkModular$D.o");
}


#//--------------------------------------------------------------------------------------------------
#// Build NGLayout
#//--------------------------------------------------------------------------------------------------

sub BuildLayoutProjects()
{
	unless( $main::build{nglayout} ) { return; }
	_assertRightDirectory();

	# $D becomes a suffix to target names for selecting either the debug or non-debug target of a project
	my($D) = $main::DEBUG ? "Debug" : "";
	my($dist_dir) = _getDistDirectory();

	#//
	#// Make aliases of resource files
	#//
	my($resource_dir) = "$dist_dir" . "res:";
	MakeAlias(":mozilla:layout:html:document:src:ua.css",				"$resource_dir");

	my($html_dir) = "$dist_dir" . "res:html:";
	MakeAlias(":mozilla:layout:html:base:src:broken-image.gif",			"$html_dir");

	my($throbber_dir) = "$dist_dir" . "res:throbber:";
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims00.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims01.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims02.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims03.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims04.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims05.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims06.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims07.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims08.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims09.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims10.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims11.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims12.gif",	"$throbber_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:throbber:anims13.gif",	"$throbber_dir");

	my($samples_dir) = "$dist_dir" . "res:samples:";
	MakeAlias(":mozilla:webshell:tests:viewer:samples:test0.html",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:test1.html",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:test2.html",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:test3.html",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:test4.html",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:test5.html",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:test6.html",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:test7.html",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:test8.html",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:test9.html",		"$samples_dir");

	MakeAlias(":mozilla:webshell:tests:viewer:samples:Anieyes.gif",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:bg.jpg",			"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:gear1.gif",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:raptor.jpg",		"$samples_dir");
	MakeAlias(":mozilla:webshell:tests:viewer:samples:rock_gra.gif",	"$samples_dir");

	#//
	#// Build Layout projects
	#//
	BuildProject(":mozilla:base:macbuild:base.mcp",						"base$D.o");
	BuildProject(":mozilla:htmlparser:macbuild:htmlparser.mcp",			"htmlparser$D.o");
	BuildProject(":mozilla:dom:macbuild:dom.mcp",						"dom$D.o");
	BuildProject(":mozilla:gfx:macbuild:gfx.mcp",						"gfx$D.o");
	BuildProject(":mozilla:layout:macbuild:layout.mcp",					"layout$D.o");
	BuildProject(":mozilla:widget:macbuild:widget.mcp",					"widget$D.o");
	BuildProject(":mozilla:webshell:macbuild:webshell.mcp",				"webshell$D.o");
	BuildProject(":mozilla:webshell:tests:viewer:mac:viewer.mcp",		"viewer$D");
}


#//--------------------------------------------------------------------------------------------------
#// Build everything
#//--------------------------------------------------------------------------------------------------

sub BuildProjects()
{
	BuildCommonProjects();
	BuildLayoutProjects();
}