2 @REM Copyright
(c
) 2006, Intel Corporation
3 @REM All rights reserved. This program and the accompanying materials
4 @REM are licensed and made available under the terms and conditions of the BSD License
5 @REM which accompanies this distribution. The full text of the license may be found at
6 @REM http
://opensource.org
/licenses
/bsd
-license.php
8 @REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN
"AS IS" BASIS
,
9 @REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND
, EITHER EXPRESS OR IMPLIED.
12 @
if "%JAVA_HOME%"=="" goto no_jdk
13 @
if "%WORKSPACE%"=="" goto no_wks
15 @
if "%1"=="" goto usage
16 @
if "%1"=="-H" (goto usage
)
17 @
if "%1"=="-h" (goto usage
) else (goto all
)
22 @
echo Create a empty SurfaceArea description file
for specified SurfaceArea element
24 @
echo Usage
: SACreate.bat
"MSA_FILE" "SURFACE_AREA_ELEMENT"
26 @
echo Supported surface area top level element
27 @
echo ModuleSurfaceArea
28 @
echo ModuleBuildDescription
29 @
echo LibraryModuleSurfaceArea
30 @
echo LibraryModuleBuildDescription
31 @
echo FrameworkPlatformDescription
32 @
echo PackageSurfaceArea
36 @ant
-q
-f
%WORKSPACE%\Tools\Source\SurfaceArea
\build.xml generate
-DSURFACE_AREA_FILE
=%~f1
-DSURFACE_AREA_ELEMENT
=%2
41 @
echo !!! Please
set JAVA_HOME
!!!
47 @
echo !!! Please
set WORKSPACE
!!!