layouts/aknlayout2/group/replace_lib.pl
changeset 0 05e9090e2422
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 #
       
     2 # Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:  Create a copy of cdlengine.lib, in order to support compatibility for old layout system.
       
    15 #
       
    16 
       
    17 # Some Avkon components and applications still access the layout APIs by using the legacy 
       
    18 # macros from the .lag file, which are supported by the AknLayout2 system. Part of the compatibility 
       
    19 # support for that feature involves making the copy of CDLEngine.lib, as the original components 
       
    20 # link to AknLayout.lib.
       
    21 
       
    22 use File::Copy;
       
    23 
       
    24 copy("$ARGV[0]/$ARGV[1]","$ARGV[0]/$ARGV[2]") or die "$ARGV[1] cannot be copied.";