build/wince/tools/toolspath.h
author Ehsan Akhgari <ehsan@mozilla.com>
Mon, 01 Feb 2010 23:00:06 -0500
changeset 40683 3dcfd44195d691654cf868e38fe4521f633aa079
parent 32378 613cf52be14d539ba7139d728ac0d798710aea9b
child 68342 5c5d9ed49e5e1a0ae50d5eb5bf349444a2817291
permissions -rw-r--r--
Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc

#ifndef TOOLPATH_H
#define TOOLPATH_H

#include <windows.h>
#include <stdio.h>
#include <process.h>

#define OGLES_SDK_INC  OGLES_SDK_PATH "inc"
#define OGLES_SDK_LIB  OGLES_SDK_PATH "lib\\wince\\nvap\\release"
#define WCE_BIN    VC_PATH "ce\\bin\\x86_arm\\"
#define WCE_RC_BIN WIN_SDK_PATH  "bin\\"
#define WCE_CRT    VC_PATH "ce\\lib\\armv4i"
#define WM_SDK_INC    WM_SDK_PATH "Include/Armv4i"
#define WCE_LIB    WM_SDK_PATH "Lib/Armv4i"
#define WCE_RC_INC  VC_PATH "ce\\atlmfc\\include"
#define WCE_INC  VC_PATH "ce\\include"
#define ATL_INC  VC_PATH "ce\\atlmfc\\include"
#define ATL_LIB  VC_PATH "ce\\atlmfc\\lib\\armv4i"

#ifndef SHUNT_LIB
#define SHUNT_LIB ""
#endif

#ifndef SHUNT_INC
#define SHUNT_INC TOPSRCDIR "/build/wince/shunt/include/"
#endif

#define ASM_PATH  "\"" WCE_BIN "armasm.exe\""
#define CL_PATH   "\"" WCE_BIN "cl.exe\""
#define LIB_PATH  "\"" WCE_BIN "lib.exe\""
#define LINK_PATH "\"" WCE_BIN "link.exe\""
#define RC_PATH   "\"" WCE_RC_BIN "rc.exe\""

#define MAX_NOLEAK_BUFFERS 1000
char noleak_buffers[MAX_NOLEAK_BUFFERS][1024];
static int next_buffer = 0;
int argpath_conv(char **args_in, char **args_out);
void dumpargs(char** args);
DWORD run(char** args);

#endif