author | darios@symbian.org |
Fri, 29 May 2009 17:20:47 +0100 | |
changeset 192 | d5964b46ccaf |
parent 108 | d33d43677cdf |
permissions | -rw-r--r-- |
81
5e724ff842b4
Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff
changeset
|
1 |
#!perl -w |
108 | 2 |
# Copyright (c) 2009 Symbian Foundation Ltd |
3 |
# This component and the accompanying materials are made available |
|
4 |
# under the terms of the License "Eclipse Public License v1.0" |
|
5 |
# which accompanies this distribution, and is available |
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 |
# |
|
8 |
# Initial Contributors: |
|
9 |
# Symbian Foundation Ltd - initial contribution. |
|
10 |
# |
|
11 |
# Contributors: |
|
12 |
# |
|
13 |
# Description: |
|
14 |
# Merges binaries from RnD repositories into the epoc32 tree used for the build |
|
15 |
||
81
5e724ff842b4
Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff
changeset
|
16 |
use strict; |
5e724ff842b4
Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff
changeset
|
17 |
|
5e724ff842b4
Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff
changeset
|
18 |
# 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
|
19 |
|
5e724ff842b4
Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff
changeset
|
20 |
my @rndRepositories = glob "/rnd/*/*"; |
5e724ff842b4
Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff
changeset
|
21 |
foreach (@rndRepositories) |
5e724ff842b4
Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff
changeset
|
22 |
{ |
5e724ff842b4
Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff
changeset
|
23 |
s{/}{\\}g; |
5e724ff842b4
Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff
changeset
|
24 |
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
|
25 |
} |
5e724ff842b4
Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff
changeset
|
26 |