common/tools/mergeepoc32.pl
author Shabe Razvi <shaber@symbian.org>
Thu, 07 May 2009 14:49:42 +0100
changeset 88 28463bb10fde
parent 81 5e724ff842b4
child 108 d33d43677cdf
permissions -rw-r--r--
Package RnD binaries from rnd root location to reduce size of include list
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
81
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     1
#!perl -w
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     2
use strict;
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     3
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     4
# Assume that all rnd repositories are delivered onto the build machine in \rnd\category\name\epoc32\...
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     5
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     6
my @rndRepositories = glob "/rnd/*/*";
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     7
foreach (@rndRepositories)
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     8
{
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     9
	s{/}{\\}g;
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
    10
	system("xcopy /Q/C/I/Y/E $_\\epoc32 \\epoc32 > nul:");
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
    11
}
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
    12