android signing
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "tier0/platform.h"
|
||||
#include "tier1/utlstring.h"
|
||||
#include "legal.h"
|
||||
|
||||
struct AndroidManifest_t
|
||||
{
|
||||
@@ -36,6 +37,7 @@ abstract_class IAPKTool
|
||||
{
|
||||
public:
|
||||
virtual CUtlString BuildPackage( AndroidManifest_t manifest, CUtlString szManifestDir ) = 0;
|
||||
virtual CUtlString SignPackage( const char *szApk, LegalInfo_t *pLegalInfo, const char *szAlias, const char *szStorePassword, const char *szKeyPassword ) = 0;
|
||||
};
|
||||
|
||||
IAPKTool *APKTool();
|
||||
|
||||
@@ -105,9 +105,6 @@ protected:
|
||||
|
||||
// Returns executable which should the OS run
|
||||
virtual const char *GetCompilerExecutable( LinkProject_t *pProject ) = 0;
|
||||
|
||||
// returns object file format, eg .obj or .o
|
||||
virtual const char *GetOutputObjectFormat() = 0;
|
||||
|
||||
virtual void SetTarget( CUtlVector<CUtlString> &cmd, LinkProject_t *pProject ) = 0;
|
||||
virtual void SetSysroot( CUtlVector<CUtlString> &cmd, LinkProject_t *pProject , const char *szSysroot ) = 0;
|
||||
|
||||
16
fpc/public/legal.h
Normal file
16
fpc/public/legal.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef LEGAL_H
|
||||
#define LEGAL_H
|
||||
|
||||
struct LegalInfo_t
|
||||
{
|
||||
const char *FirstName;
|
||||
const char *LastName;
|
||||
const char *OrganizationalUnitName;
|
||||
const char *OrganizationName;
|
||||
const char *City;
|
||||
const char *State;
|
||||
const char *CountryCode;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user