rake-delphi 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d30171a3216bfeb302fbb9726822d42d188d7e9
4
- data.tar.gz: bf6a445410c43ad323741d99daba4834d48b90e6
3
+ metadata.gz: e926c0c307918011140c697d230543014c50d47b
4
+ data.tar.gz: 47cf9c8485d77efba1506e467f8ba62660d83e11
5
5
  SHA512:
6
- metadata.gz: 864baa63a25a053a866354018d541db9016a9f13aa71e629ad43fbb4683067ac8384240eee9d698deed1969eda9b1ce33bf6dfd5b7890c1ad10d10dad04c251a
7
- data.tar.gz: 523a8f8b63b99ef7f7c4d2ae36d03f293ed4cbb7c242d1bfc6404bb6b24e0dde769c3022c065627bde421f2338b991e69535efb14d962ae2e02754ae7f484257
6
+ metadata.gz: 5223331ea692ffa7f91ccf2fc737a4bd1212066bc0abd5f74586ccf74683b8bb848226d51ad0bfd1e2f2d1f9ecadd4371cb96d419a87adc925c1d47de01b1d6d
7
+ data.tar.gz: 0ab626b04ea1cad286cfabd22503479b1504259300f74d6b392f93485663ece42753241af4f9dfaf2473dc1b1c55d1fec6883bd322909b09a43cd49b346f0a06
@@ -245,6 +245,8 @@ module Rake
245
245
  mv output_platform.pathmap('%p%s') + @suffix + _source.pathmap('%s%n.apk'), output_platform
246
246
  end
247
247
  end
248
+ # reset files (for reusage, mainly in tests)
249
+ @deploymentfiles = nil
248
250
  end
249
251
  end # class PAClientTask
250
252
  end
@@ -99,6 +99,7 @@ module Rake
99
99
  private
100
100
  def read_file_class(platform, node, hash, key)
101
101
  platforms = node['Platform']
102
+ return unless platforms
102
103
  unless platforms.kind_of?(Array)
103
104
  platforms = [platforms]
104
105
  end
@@ -133,14 +134,26 @@ module Rake
133
134
  return files, classes
134
135
  end
135
136
 
137
+ def is_special_class_for_bds_path(class_name)
138
+ ['AndroidClassesDexFile', /AndroidLibnative.+/i].each do |templ|
139
+ if templ.kind_of?(Regexp)
140
+ r = templ.match(class_name)
141
+ else
142
+ r = templ == class_name
143
+ end
144
+ return r if r
145
+ end
146
+ return false
147
+ end
148
+
136
149
  def make_deployment(files, classes)
137
150
  r = []
138
151
  files.each do |file, value|
139
152
  value_class = value['Class']
140
153
  _class = classes[value_class]
141
154
  next if ['AndroidGDBServer', 'ProjectAndroidManifest'].include?(value_class)
142
- if value_class == 'AndroidClassesDexFile'
143
- # dirty hack for 'classes.dex'
155
+ if is_special_class_for_bds_path(value_class)
156
+ # dirty hack for special classes
144
157
  # usually .dproj has full path to it
145
158
  # but we may have another path
146
159
  # so remove 'first' part
@@ -149,6 +162,8 @@ module Rake
149
162
  remote_name = value['Platform'] ? value['Platform']['RemoteName'] : file.pathmap('%f')
150
163
  if value_class == 'ProjectOutput'
151
164
  file = :project_so
165
+ elsif value_class == 'ProjectFile'
166
+ _class = value
152
167
  end
153
168
  r << { file => [_class['Platform']['RemoteDir'] + '\\', '1', remote_name] }
154
169
  end
@@ -140,7 +140,7 @@ module Rake
140
140
  end
141
141
  if v.to_s.empty?
142
142
  v = []
143
- (4..20).each { |n| v << n.to_s }
143
+ (4..21).each { |n| v << n.to_s }
144
144
  v.reverse!
145
145
  else
146
146
  Logger.trace(Logger::DEBUG, 'DELPHI_VERSION is set: ' + v)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rake
4
4
  module Delphi
5
- VERSION = '0.0.15'
5
+ VERSION = '0.0.16'
6
6
  end
7
7
  end
@@ -18,7 +18,8 @@ module DelphiTests
18
18
 
19
19
  class TestVerInfo < Test::Unit::TestCase
20
20
  DPROJ_VERSIONS = { '10' => '2006.bdsproj', '11' => '2007.dproj', \
21
- '13' => '2010.dproj', '18' => 'xe5.dproj' }
21
+ '13' => '2010.dproj', '18' => 'xe5.dproj',
22
+ '21' => 'xe7.dproj' }
22
23
 
23
24
  protected
24
25
  def delphi_version
@@ -37,13 +37,13 @@ BEGIN
37
37
  BLOCK "041904E3"
38
38
  BEGIN
39
39
  VALUE "CompanyName", "Rake\0"
40
- VALUE "FileDescription", "Test rake-delphi project XE5 description\0"
40
+ VALUE "FileDescription", "Test rake-delphi project XE7 description\0"
41
41
  VALUE "FileVersion", "0.0.0.0\0"
42
42
  VALUE "InternalName", "testproject.exe\0"
43
43
  VALUE "LegalCopyright", "Copyright. ��������\0"
44
44
  VALUE "LegalTrademarks", "Trademark. �������� �����\0"
45
45
  VALUE "OriginalFilename", "testproject.exe\0"
46
- VALUE "ProductName", "Test rake-delphi project XE5 product name\0"
46
+ VALUE "ProductName", "Test rake-delphi project XE7 product name\0"
47
47
  VALUE "ProductVersion", "1.2.3.4\0"
48
48
  VALUE "Comments", "Test project comment\0"
49
49
  #ifdef DEBUG
@@ -0,0 +1,179 @@
1
+ <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
+ <PropertyGroup>
3
+ <ProjectGuid>{A045E9FA-AB18-4219-936D-16A329020CB9}</ProjectGuid>
4
+ <ProjectVersion>15.1</ProjectVersion>
5
+ <FrameworkType>None</FrameworkType>
6
+ <MainSource>Project1.dpr</MainSource>
7
+ <Base>True</Base>
8
+ <Config Condition="'$(Config)'==''">Debug</Config>
9
+ <Platform Condition="'$(Platform)'==''">Win32</Platform>
10
+ <TargetedPlatforms>1</TargetedPlatforms>
11
+ <AppType>Console</AppType>
12
+ </PropertyGroup>
13
+ <PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
14
+ <Base>true</Base>
15
+ </PropertyGroup>
16
+ <PropertyGroup Condition="('$(Platform)'=='Android' and '$(Base)'=='true') or '$(Base_Android)'!=''">
17
+ <Base_Android>true</Base_Android>
18
+ <CfgParent>Base</CfgParent>
19
+ <Base>true</Base>
20
+ </PropertyGroup>
21
+ <PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
22
+ <Base_Win32>true</Base_Win32>
23
+ <CfgParent>Base</CfgParent>
24
+ <Base>true</Base>
25
+ </PropertyGroup>
26
+ <PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
27
+ <Base_Win64>true</Base_Win64>
28
+ <CfgParent>Base</CfgParent>
29
+ <Base>true</Base>
30
+ </PropertyGroup>
31
+ <PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_1)'!=''">
32
+ <Cfg_1>true</Cfg_1>
33
+ <CfgParent>Base</CfgParent>
34
+ <Base>true</Base>
35
+ </PropertyGroup>
36
+ <PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_1)'=='true') or '$(Cfg_1_Win32)'!=''">
37
+ <Cfg_1_Win32>true</Cfg_1_Win32>
38
+ <CfgParent>Cfg_1</CfgParent>
39
+ <Cfg_1>true</Cfg_1>
40
+ <Base>true</Base>
41
+ </PropertyGroup>
42
+ <PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
43
+ <Cfg_2>true</Cfg_2>
44
+ <CfgParent>Base</CfgParent>
45
+ <Base>true</Base>
46
+ </PropertyGroup>
47
+ <PropertyGroup Condition="'$(Base)'!=''">
48
+ <DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
49
+ <DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
50
+ <DCC_ExeOutput>.\$(Platform)\$(Config)</DCC_ExeOutput>
51
+ <DCC_E>false</DCC_E>
52
+ <DCC_N>false</DCC_N>
53
+ <DCC_S>false</DCC_S>
54
+ <DCC_F>false</DCC_F>
55
+ <DCC_K>false</DCC_K>
56
+ </PropertyGroup>
57
+ <PropertyGroup Condition="'$(Base_Android)'!=''">
58
+ <DCC_UsePackage>FireDACSqliteDriver;bindcompfmx;DBXSqliteDriver;fmx;rtl;dbrtl;DbxClientDriver;IndySystem;FireDACCommon;bindcomp;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapProviderClient;xmlrtl;ibxpress;DbxCommonDriver;IndyProtocols;dbxcds;FireDACCommonDriver;bindengine;soaprtl;bindcompdbx;FMXTee;fmxFireDAC;CustomIPTransport;FireDAC;dsnap;IndyCore;FireDACDataSnapDriver;IndyIPCommon;CloudService;FireDACIBDriver;inet;FireDACDBXDriver;FmxTeeUI;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
59
+ <Android_LauncherIcon72>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png</Android_LauncherIcon72>
60
+ <Android_LauncherIcon36>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png</Android_LauncherIcon36>
61
+ <Android_LauncherIcon144>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png</Android_LauncherIcon144>
62
+ <Android_LauncherIcon48>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png</Android_LauncherIcon48>
63
+ <Android_LauncherIcon96>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png</Android_LauncherIcon96>
64
+ </PropertyGroup>
65
+ <PropertyGroup Condition="'$(Base_Win32)'!=''">
66
+ <VerInfo_Locale>1033</VerInfo_Locale>
67
+ <DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
68
+ <VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
69
+ <DCC_UsePackage>DataSnapIndy10ServerTransport;FireDACASADriver;FireDACSqliteDriver;bindcompfmx;DBXSqliteDriver;vcldbx;FireDACPgDriver;FireDACODBCDriver;fmx;rtl;dbrtl;DbxClientDriver;IndySystem;FireDACCommon;bindcomp;inetdb;TeeDB;vclib;inetdbbde;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DBXOdbcDriver;DataSnapServer;Tee;vclFireDAC;DataSnapProviderClient;xmlrtl;svnui;ibxpress;DbxCommonDriver;DBXSybaseASEDriver;vclimg;IndyProtocols;dbxcds;DBXMySQLDriver;DatasnapConnectorsFreePascal;FireDACCommonDriver;MetropolisUILiveTile;bindengine;vclactnband;vcldb;soaprtl;bindcompdbx;vcldsnap;bindcompvcl;FMXTee;TeeUI;vclie;fmxFireDAC;FireDACADSDriver;vcltouch;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;vclribbon;VclSmp;FireDACMSSQLDriver;FireDAC;dsnap;Intraweb;fmxase;vcl;IndyCore;FireDACDataSnapDriver;IndyIPServer;IndyIPCommon;VCLRESTComponents;CloudService;dsnapcon;FireDACIBDriver;DBXFirebirdDriver;inet;DBXMSSQLDriver;fmxobj;FireDACDBXDriver;DBXInformixDriver;DataSnapConnectors;FireDACMySQLDriver;FmxTeeUI;vclx;CodeSiteExpressPkg;inetdbxpress;svn;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;FireDACDb2Driver;RESTComponents;bdertl;FireDACMSAccDriver;adortl;dbexpress;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
70
+ <DCC_ConsoleTarget>true</DCC_ConsoleTarget>
71
+ </PropertyGroup>
72
+ <PropertyGroup Condition="'$(Base_Win64)'!=''">
73
+ <DCC_ConsoleTarget>true</DCC_ConsoleTarget>
74
+ <DCC_UsePackage>DataSnapIndy10ServerTransport;FireDACASADriver;FireDACSqliteDriver;bindcompfmx;DBXSqliteDriver;FireDACPgDriver;FireDACODBCDriver;fmx;rtl;dbrtl;DbxClientDriver;IndySystem;FireDACCommon;bindcomp;inetdb;TeeDB;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DBXOdbcDriver;DataSnapServer;Tee;vclFireDAC;DataSnapProviderClient;xmlrtl;ibxpress;DbxCommonDriver;DBXSybaseASEDriver;vclimg;IndyProtocols;dbxcds;DBXMySQLDriver;DatasnapConnectorsFreePascal;FireDACCommonDriver;MetropolisUILiveTile;bindengine;vclactnband;vcldb;soaprtl;bindcompdbx;vcldsnap;bindcompvcl;FMXTee;TeeUI;vclie;fmxFireDAC;FireDACADSDriver;vcltouch;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;vclribbon;VclSmp;FireDACMSSQLDriver;FireDAC;dsnap;Intraweb;fmxase;vcl;IndyCore;FireDACDataSnapDriver;IndyIPServer;IndyIPCommon;VCLRESTComponents;CloudService;dsnapcon;FireDACIBDriver;DBXFirebirdDriver;inet;DBXMSSQLDriver;fmxobj;FireDACDBXDriver;DBXInformixDriver;DataSnapConnectors;FireDACMySQLDriver;FmxTeeUI;vclx;inetdbxpress;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;FireDACDb2Driver;RESTComponents;FireDACMSAccDriver;adortl;dbexpress;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
75
+ </PropertyGroup>
76
+ <PropertyGroup Condition="'$(Cfg_1)'!=''">
77
+ <DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
78
+ <DCC_DebugDCUs>true</DCC_DebugDCUs>
79
+ <DCC_Optimize>false</DCC_Optimize>
80
+ <DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
81
+ <DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
82
+ <DCC_RemoteDebug>true</DCC_RemoteDebug>
83
+ </PropertyGroup>
84
+ <PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
85
+ <DCC_RemoteDebug>false</DCC_RemoteDebug>
86
+ </PropertyGroup>
87
+ <PropertyGroup Condition="'$(Cfg_2)'!=''">
88
+ <DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
89
+ <DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
90
+ <DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
91
+ <DCC_DebugInformation>0</DCC_DebugInformation>
92
+ </PropertyGroup>
93
+ <ItemGroup>
94
+ <DelphiCompile Include="$(MainSource)">
95
+ <MainSource>MainSource</MainSource>
96
+ </DelphiCompile>
97
+ <BuildConfiguration Include="Release">
98
+ <Key>Cfg_2</Key>
99
+ <CfgParent>Base</CfgParent>
100
+ </BuildConfiguration>
101
+ <BuildConfiguration Include="Base">
102
+ <Key>Base</Key>
103
+ </BuildConfiguration>
104
+ <BuildConfiguration Include="Debug">
105
+ <Key>Cfg_1</Key>
106
+ <CfgParent>Base</CfgParent>
107
+ </BuildConfiguration>
108
+ </ItemGroup>
109
+ <ProjectExtensions>
110
+ <Borland.Personality>Delphi.Personality.12</Borland.Personality>
111
+ <Borland.ProjectType/>
112
+ <BorlandProject>
113
+ <Delphi.Personality>
114
+ <VersionInfo>
115
+ <VersionInfo Name="IncludeVerInfo">False</VersionInfo>
116
+ <VersionInfo Name="AutoIncBuild">False</VersionInfo>
117
+ <VersionInfo Name="MajorVer">1</VersionInfo>
118
+ <VersionInfo Name="MinorVer">0</VersionInfo>
119
+ <VersionInfo Name="Release">0</VersionInfo>
120
+ <VersionInfo Name="Build">0</VersionInfo>
121
+ <VersionInfo Name="Debug">False</VersionInfo>
122
+ <VersionInfo Name="PreRelease">False</VersionInfo>
123
+ <VersionInfo Name="Special">False</VersionInfo>
124
+ <VersionInfo Name="Private">False</VersionInfo>
125
+ <VersionInfo Name="DLL">False</VersionInfo>
126
+ <VersionInfo Name="Locale">1049</VersionInfo>
127
+ <VersionInfo Name="CodePage">1251</VersionInfo>
128
+ </VersionInfo>
129
+ <VersionInfoKeys>
130
+ <VersionInfoKeys Name="CompanyName">Rake</VersionInfoKeys>
131
+ <VersionInfoKeys Name="FileDescription">Test rake-delphi project XE7 description</VersionInfoKeys>
132
+ <VersionInfoKeys Name="FileVersion">4.3.2.1</VersionInfoKeys>
133
+ <VersionInfoKeys Name="InternalName">testproject.exe</VersionInfoKeys>
134
+ <VersionInfoKeys Name="LegalCopyright">Copyright. Копирайт</VersionInfoKeys>
135
+ <VersionInfoKeys Name="LegalTrademarks">Trademark. Торговая марка</VersionInfoKeys>
136
+ <VersionInfoKeys Name="OriginalFilename">testproject.exe</VersionInfoKeys>
137
+ <VersionInfoKeys Name="ProductName">Test rake-delphi project XE7 product name</VersionInfoKeys>
138
+ <VersionInfoKeys Name="ProductVersion">1.2.3.4</VersionInfoKeys>
139
+ <VersionInfoKeys Name="Comments">Test project comment</VersionInfoKeys>
140
+ <VersionInfoKeys Name="CFBundleName"/>
141
+ <VersionInfoKeys Name="CFBundleDisplayName"/>
142
+ <VersionInfoKeys Name="UIDeviceFamily"/>
143
+ <VersionInfoKeys Name="CFBundleIdentifier"/>
144
+ <VersionInfoKeys Name="CFBundleVersion"/>
145
+ <VersionInfoKeys Name="CFBundlePackageType"/>
146
+ <VersionInfoKeys Name="CFBundleSignature"/>
147
+ <VersionInfoKeys Name="CFBundleAllowMixedLocalizations"/>
148
+ <VersionInfoKeys Name="UISupportedInterfaceOrientations"/>
149
+ <VersionInfoKeys Name="CFBundleExecutable"/>
150
+ <VersionInfoKeys Name="CFBundleResourceSpecification"/>
151
+ <VersionInfoKeys Name="LSRequiresIPhoneOS"/>
152
+ <VersionInfoKeys Name="CFBundleInfoDictionaryVersion"/>
153
+ <VersionInfoKeys Name="CFBundleDevelopmentRegion"/>
154
+ <VersionInfoKeys Name="package"/>
155
+ <VersionInfoKeys Name="label"/>
156
+ <VersionInfoKeys Name="versionCode"/>
157
+ <VersionInfoKeys Name="versionName"/>
158
+ <VersionInfoKeys Name="persistent"/>
159
+ <VersionInfoKeys Name="restoreAnyVersion"/>
160
+ <VersionInfoKeys Name="installLocation"/>
161
+ <VersionInfoKeys Name="largeHeap"/>
162
+ <VersionInfoKeys Name="theme"/>
163
+ </VersionInfoKeys>
164
+ <Source>
165
+ <Source Name="MainSource">Project1.dpr</Source>
166
+ </Source>
167
+ </Delphi.Personality>
168
+ <Deployment/>
169
+ <Platforms>
170
+ <Platform value="Android">False</Platform>
171
+ <Platform value="Win32">True</Platform>
172
+ <Platform value="Win64">False</Platform>
173
+ </Platforms>
174
+ </BorlandProject>
175
+ <ProjectFileVersion>12</ProjectFileVersion>
176
+ </ProjectExtensions>
177
+ <Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
178
+ <Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
179
+ </Project>
@@ -0,0 +1,404 @@
1
+ <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
+ <PropertyGroup>
3
+ <ProjectGuid>{DA68AC3A-ED17-40B1-9EBF-A465265DB849}</ProjectGuid>
4
+ <ProjectVersion>15.3</ProjectVersion>
5
+ <FrameworkType>FMX</FrameworkType>
6
+ <MainSource>TestProject.dpr</MainSource>
7
+ <Base>True</Base>
8
+ <Config Condition="'$(Config)'==''">Debug</Config>
9
+ <Platform Condition="'$(Platform)'==''">Android</Platform>
10
+ <TargetedPlatforms>88</TargetedPlatforms>
11
+ <AppType>Application</AppType>
12
+ </PropertyGroup>
13
+ <PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
14
+ <Base>true</Base>
15
+ </PropertyGroup>
16
+ <PropertyGroup Condition="('$(Platform)'=='Android' and '$(Base)'=='true') or '$(Base_Android)'!=''">
17
+ <Base_Android>true</Base_Android>
18
+ <CfgParent>Base</CfgParent>
19
+ <Base>true</Base>
20
+ </PropertyGroup>
21
+ <PropertyGroup Condition="('$(Platform)'=='iOSDevice' and '$(Base)'=='true') or '$(Base_iOSDevice)'!=''">
22
+ <Base_iOSDevice>true</Base_iOSDevice>
23
+ <CfgParent>Base</CfgParent>
24
+ <Base>true</Base>
25
+ </PropertyGroup>
26
+ <PropertyGroup Condition="('$(Platform)'=='iOSSimulator' and '$(Base)'=='true') or '$(Base_iOSSimulator)'!=''">
27
+ <Base_iOSSimulator>true</Base_iOSSimulator>
28
+ <CfgParent>Base</CfgParent>
29
+ <Base>true</Base>
30
+ </PropertyGroup>
31
+ <PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
32
+ <Base_Win32>true</Base_Win32>
33
+ <CfgParent>Base</CfgParent>
34
+ <Base>true</Base>
35
+ </PropertyGroup>
36
+ <PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_1)'!=''">
37
+ <Cfg_1>true</Cfg_1>
38
+ <CfgParent>Base</CfgParent>
39
+ <Base>true</Base>
40
+ </PropertyGroup>
41
+ <PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_1)'=='true') or '$(Cfg_1_Win32)'!=''">
42
+ <Cfg_1_Win32>true</Cfg_1_Win32>
43
+ <CfgParent>Cfg_1</CfgParent>
44
+ <Cfg_1>true</Cfg_1>
45
+ <Base>true</Base>
46
+ </PropertyGroup>
47
+ <PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
48
+ <Cfg_2>true</Cfg_2>
49
+ <CfgParent>Base</CfgParent>
50
+ <Base>true</Base>
51
+ </PropertyGroup>
52
+ <PropertyGroup Condition="'$(Base)'!=''">
53
+ <AUP_ACCESS_COARSE_LOCATION>true</AUP_ACCESS_COARSE_LOCATION>
54
+ <DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
55
+ <AUP_CALL_PHONE>true</AUP_CALL_PHONE>
56
+ <AUP_WRITE_CALENDAR>true</AUP_WRITE_CALENDAR>
57
+ <AUP_READ_EXTERNAL_STORAGE>true</AUP_READ_EXTERNAL_STORAGE>
58
+ <AUP_READ_PHONE_STATE>true</AUP_READ_PHONE_STATE>
59
+ <AUP_INTERNET>true</AUP_INTERNET>
60
+ <AUP_WRITE_EXTERNAL_STORAGE>true</AUP_WRITE_EXTERNAL_STORAGE>
61
+ <AUP_READ_CALENDAR>true</AUP_READ_CALENDAR>
62
+ <AUP_ACCESS_FINE_LOCATION>true</AUP_ACCESS_FINE_LOCATION>
63
+ <AUP_CAMERA>true</AUP_CAMERA>
64
+ <DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
65
+ <DCC_ExeOutput>.\$(Platform)\$(Config)</DCC_ExeOutput>
66
+ <DCC_E>false</DCC_E>
67
+ <DCC_N>false</DCC_N>
68
+ <DCC_S>false</DCC_S>
69
+ <DCC_F>false</DCC_F>
70
+ <DCC_K>false</DCC_K>
71
+ </PropertyGroup>
72
+ <PropertyGroup Condition="'$(Base_Android)'!=''">
73
+ <Android_LauncherIcon72>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png</Android_LauncherIcon72>
74
+ <Android_LauncherIcon96>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png</Android_LauncherIcon96>
75
+ <Android_LauncherIcon48>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png</Android_LauncherIcon48>
76
+ <Android_LauncherIcon144>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png</Android_LauncherIcon144>
77
+ <BT_BuildType>Debug</BT_BuildType>
78
+ <DCC_UsePackage>FireDACSqliteDriver;bindcompfmx;DBXSqliteDriver;fmx;rtl;dbrtl;DbxClientDriver;IndySystem;FireDACCommon;bindcomp;DBXInterBaseDriver;DataSnapCommon;xmlrtl;ibxpress;DbxCommonDriver;IndyProtocols;dbxcds;FireDACCommonDriver;bindengine;soaprtl;bindcompdbx;FMXTee;fmxFireDAC;CustomIPTransport;FireDAC;dsnap;IndyCore;IndyIPCommon;CloudService;FireDACIBDriver;FmxTeeUI;inet;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
79
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
80
+ <VerInfo_Keys>package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=preferExternal;largeHeap=False;theme=TitleBar</VerInfo_Keys>
81
+ <Android_LauncherIcon36>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png</Android_LauncherIcon36>
82
+ </PropertyGroup>
83
+ <PropertyGroup Condition="'$(Base_iOSDevice)'!=''">
84
+ <iPad_AppIcon152>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_152x152.png</iPad_AppIcon152>
85
+ <iPad_SpotLight100>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_100x100.png</iPad_SpotLight100>
86
+ <iPhone_AppIcon57>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_57x57.png</iPhone_AppIcon57>
87
+ <iPhone_AppIcon60>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_60x60.png</iPhone_AppIcon60>
88
+ <iPad_Launch1536x2048>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2048.png</iPad_Launch1536x2048>
89
+ <iPhone_Spotlight80>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_80x80.png</iPhone_Spotlight80>
90
+ <iPad_Launch768>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1004.png</iPad_Launch768>
91
+ <iPad_Launch2048x1536>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1536.png</iPad_Launch2048x1536>
92
+ <iPhone_Launch640>$(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x960.png</iPhone_Launch640>
93
+ <iPad_SpotLight80>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_80x80.png</iPad_SpotLight80>
94
+ <iPad_Launch768x1024>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1024.png</iPad_Launch768x1024>
95
+ <iPad_SpotLight40>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_40x40.png</iPad_SpotLight40>
96
+ <iPad_SpotLight50>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_50x50.png</iPad_SpotLight50>
97
+ <VerInfo_BundleId>$(MSBuildProjectName)</VerInfo_BundleId>
98
+ <iPhone_Launch320>$(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_320x480.png</iPhone_Launch320>
99
+ <iPhone_Spotlight40>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_40x40.png</iPhone_Spotlight40>
100
+ <iPad_Setting29>$(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_29x29.png</iPad_Setting29>
101
+ <iPad_AppIcon144>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_144x144.png</iPad_AppIcon144>
102
+ <iPhone_Spotlight58>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_58x58.png</iPhone_Spotlight58>
103
+ <iPad_AppIcon76>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_76x76.png</iPad_AppIcon76>
104
+ <DCC_UsePackage>FireDACSqliteDriver;bindcompfmx;DBXSqliteDriver;fmx;rtl;dbrtl;DbxClientDriver;IndySystem;FireDACCommon;bindcomp;DBXInterBaseDriver;DataSnapCommon;xmlrtl;ibxpress;DbxCommonDriver;IndyProtocols;dbxcds;FireDACCommonDriver;bindengine;soaprtl;bindcompdbx;FMXTee;fmxFireDAC;CustomIPTransport;FireDAC;dsnap;fmxase;IndyCore;IndyIPCommon;CloudService;FireDACIBDriver;FmxTeeUI;inet;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
105
+ <iPhone_AppIcon114>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_114x114.png</iPhone_AppIcon114>
106
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
107
+ <iPad_Launch1024x768>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x768.png</iPad_Launch1024x768>
108
+ <VerInfo_UIDeviceFamily>iPhoneAndiPad</VerInfo_UIDeviceFamily>
109
+ <iPad_Launch1024>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x748.png</iPad_Launch1024>
110
+ <VerInfo_Keys>CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=6.0;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone &amp; iPad;CFBundleResourceSpecification=ResourceRules.plist</VerInfo_Keys>
111
+ <iPad_AppIcon72>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_72x72.png</iPad_AppIcon72>
112
+ <iPhone_Launch640x1136>$(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x1136.png</iPhone_Launch640x1136>
113
+ <iPad_Launch1536>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2008.png</iPad_Launch1536>
114
+ <iPad_Setting58>$(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_58x58.png</iPad_Setting58>
115
+ <iPad_Launch2048>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1496.png</iPad_Launch2048>
116
+ <BT_BuildType>Debug</BT_BuildType>
117
+ <iPhone_Spotlight29>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_29x29.png</iPhone_Spotlight29>
118
+ <iPhone_AppIcon120>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_120x120.png</iPhone_AppIcon120>
119
+ </PropertyGroup>
120
+ <PropertyGroup Condition="'$(Base_iOSSimulator)'!=''">
121
+ <iPad_AppIcon152>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_152x152.png</iPad_AppIcon152>
122
+ <iPad_SpotLight100>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_100x100.png</iPad_SpotLight100>
123
+ <iPhone_AppIcon57>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_57x57.png</iPhone_AppIcon57>
124
+ <iPhone_AppIcon60>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_60x60.png</iPhone_AppIcon60>
125
+ <iPad_Launch1536x2048>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2048.png</iPad_Launch1536x2048>
126
+ <iPhone_Spotlight80>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_80x80.png</iPhone_Spotlight80>
127
+ <iPad_Launch768>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1004.png</iPad_Launch768>
128
+ <iPad_Launch2048x1536>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1536.png</iPad_Launch2048x1536>
129
+ <iPad_SpotLight80>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_80x80.png</iPad_SpotLight80>
130
+ <iPad_Launch768x1024>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1024.png</iPad_Launch768x1024>
131
+ <iPad_SpotLight40>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_40x40.png</iPad_SpotLight40>
132
+ <iPad_SpotLight50>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_50x50.png</iPad_SpotLight50>
133
+ <iPhone_Launch320>$(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_320x480.png</iPhone_Launch320>
134
+ <iPhone_Launch640>$(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x960.png</iPhone_Launch640>
135
+ <iPhone_Spotlight40>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_40x40.png</iPhone_Spotlight40>
136
+ <iPad_Setting29>$(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_29x29.png</iPad_Setting29>
137
+ <iPad_AppIcon144>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_144x144.png</iPad_AppIcon144>
138
+ <iPhone_Spotlight58>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_58x58.png</iPhone_Spotlight58>
139
+ <iPad_AppIcon76>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_76x76.png</iPad_AppIcon76>
140
+ <DCC_UsePackage>FireDACSqliteDriver;bindcompfmx;DBXSqliteDriver;fmx;rtl;dbrtl;DbxClientDriver;IndySystem;FireDACCommon;bindcomp;DBXInterBaseDriver;DataSnapCommon;xmlrtl;ibxpress;DbxCommonDriver;IndyProtocols;dbxcds;FireDACCommonDriver;bindengine;soaprtl;bindcompdbx;FMXTee;fmxFireDAC;CustomIPTransport;FireDAC;dsnap;fmxase;IndyCore;IndyIPCommon;CloudService;FireDACIBDriver;FmxTeeUI;inet;RESTComponents;dbexpress;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
141
+ <iPhone_AppIcon114>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_114x114.png</iPhone_AppIcon114>
142
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
143
+ <iPad_Launch1024x768>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x768.png</iPad_Launch1024x768>
144
+ <VerInfo_UIDeviceFamily>iPhoneAndiPad</VerInfo_UIDeviceFamily>
145
+ <iPad_Launch1024>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x748.png</iPad_Launch1024>
146
+ <iPad_AppIcon72>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_72x72.png</iPad_AppIcon72>
147
+ <iPhone_Launch640x1136>$(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x1136.png</iPhone_Launch640x1136>
148
+ <iPad_Launch1536>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2008.png</iPad_Launch1536>
149
+ <iPad_Setting58>$(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_58x58.png</iPad_Setting58>
150
+ <iPad_Launch2048>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1496.png</iPad_Launch2048>
151
+ <VerInfo_Keys>CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=6.0;CFBundleVersion=1.0.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone &amp; iPad;CFBundleResourceSpecification=ResourceRules.plist</VerInfo_Keys>
152
+ <iPhone_Spotlight29>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_29x29.png</iPhone_Spotlight29>
153
+ <iPhone_AppIcon120>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_120x120.png</iPhone_AppIcon120>
154
+ </PropertyGroup>
155
+ <PropertyGroup Condition="'$(Base_Win32)'!=''">
156
+ <DCC_UsePackage>DataAbstract_SpiderMonkeyScripting_D19;DataAbstract_DBXDriver_Pro_D19;FireDACASADriver;FireDACSqliteDriver;bindcompfmx;OverbyteIcsDXE5Run;DBXSqliteDriver;vcldbx;FireDACPgDriver;FireDACODBCDriver;fmx;rtl;dbrtl;DbxClientDriver;IndySystem;FireDACCommon;bindcomp;TeeDB;DataStorageXE5;RemObjects_WebBroker_D19;vclib;inetdbbde;DBXInterBaseDriver;Tee;DataSnapCommon;RemObjects_Synapse_D19;DataAbstract_DBXDriver_Enterprise_D19;vclFireDAC;xmlrtl;svnui;ibxpress;DbxCommonDriver;vclimg;IndyProtocols;dbxcds;DBXMySQLDriver;FireDACCommonDriver;MetropolisUILiveTile;DataAbstract_ActiveScripting_D19;bindengine;vclactnband;vcldb;soaprtl;bindcompdbx;vcldsnap;bindcompvcl;FMXTee;TeeUI;vclie;DataAbstract_SQLiteDriver_D19;fmxFireDAC;FireDACADSDriver;vcltouch;CustomIPTransport;vclribbon;VclSmp;FireDAC;dsnap;IndyIPServer;Intraweb;fmxase;vcl;IndyCore;VCLRESTComponents;RemObjects_Indy_D19;IndyIPCommon;CloudService;CodeSiteExpressPkg;dsnapcon;FireDACIBDriver;FmxTeeUI;inet;fmxobj;FireDACMySQLDriver;vclx;inetdbxpress;webdsnap;svn;fmxdae;RESTComponents;bdertl;LabelSkinXE5;DataAbstract_IDE_D19;FireDACMSAccDriver;adortl;dbexpress;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
157
+ </PropertyGroup>
158
+ <PropertyGroup Condition="'$(Cfg_1)'!=''">
159
+ <DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
160
+ <DCC_DebugDCUs>true</DCC_DebugDCUs>
161
+ <DCC_Optimize>false</DCC_Optimize>
162
+ <DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
163
+ <DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
164
+ <DCC_RemoteDebug>true</DCC_RemoteDebug>
165
+ </PropertyGroup>
166
+ <PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
167
+ <DCC_RemoteDebug>false</DCC_RemoteDebug>
168
+ </PropertyGroup>
169
+ <PropertyGroup Condition="'$(Cfg_2)'!=''">
170
+ <DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
171
+ <DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
172
+ <DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
173
+ <DCC_DebugInformation>0</DCC_DebugInformation>
174
+ </PropertyGroup>
175
+ <ItemGroup>
176
+ <DelphiCompile Include="$(MainSource)">
177
+ <MainSource>MainSource</MainSource>
178
+ </DelphiCompile>
179
+ <DCCReference Include="fmTest.pas">
180
+ <Form>Form3</Form>
181
+ <FormType>fmx</FormType>
182
+ </DCCReference>
183
+ <BuildConfiguration Include="Release">
184
+ <Key>Cfg_2</Key>
185
+ <CfgParent>Base</CfgParent>
186
+ </BuildConfiguration>
187
+ <BuildConfiguration Include="Base">
188
+ <Key>Base</Key>
189
+ </BuildConfiguration>
190
+ <BuildConfiguration Include="Debug">
191
+ <Key>Cfg_1</Key>
192
+ <CfgParent>Base</CfgParent>
193
+ </BuildConfiguration>
194
+ </ItemGroup>
195
+ <ProjectExtensions>
196
+ <Borland.Personality>Delphi.Personality.12</Borland.Personality>
197
+ <Borland.ProjectType/>
198
+ <BorlandProject>
199
+ <Delphi.Personality>
200
+ <VersionInfo>
201
+ <VersionInfo Name="IncludeVerInfo">False</VersionInfo>
202
+ <VersionInfo Name="AutoIncBuild">False</VersionInfo>
203
+ <VersionInfo Name="MajorVer">1</VersionInfo>
204
+ <VersionInfo Name="MinorVer">0</VersionInfo>
205
+ <VersionInfo Name="Release">0</VersionInfo>
206
+ <VersionInfo Name="Build">0</VersionInfo>
207
+ <VersionInfo Name="Debug">False</VersionInfo>
208
+ <VersionInfo Name="PreRelease">False</VersionInfo>
209
+ <VersionInfo Name="Special">False</VersionInfo>
210
+ <VersionInfo Name="Private">False</VersionInfo>
211
+ <VersionInfo Name="DLL">False</VersionInfo>
212
+ <VersionInfo Name="Locale">1049</VersionInfo>
213
+ <VersionInfo Name="CodePage">1251</VersionInfo>
214
+ </VersionInfo>
215
+ <VersionInfoKeys>
216
+ <VersionInfoKeys Name="CompanyName">Rake</VersionInfoKeys>
217
+ <VersionInfoKeys Name="FileDescription">Test rake-delphi project XE7 description</VersionInfoKeys>
218
+ <VersionInfoKeys Name="FileVersion">4.3.2.1</VersionInfoKeys>
219
+ <VersionInfoKeys Name="InternalName">testproject.exe</VersionInfoKeys>
220
+ <VersionInfoKeys Name="LegalCopyright">Copyright. Копирайт</VersionInfoKeys>
221
+ <VersionInfoKeys Name="LegalTrademarks">Trademark. Торговая марка</VersionInfoKeys>
222
+ <VersionInfoKeys Name="OriginalFilename">testproject.exe</VersionInfoKeys>
223
+ <VersionInfoKeys Name="ProductName">Test rake-delphi project XE7 product name</VersionInfoKeys>
224
+ <VersionInfoKeys Name="ProductVersion">1.2.3.4</VersionInfoKeys>
225
+ <VersionInfoKeys Name="Comments">Test project comment</VersionInfoKeys>
226
+ <VersionInfoKeys Name="CFBundleName"/>
227
+ <VersionInfoKeys Name="CFBundleDisplayName"/>
228
+ <VersionInfoKeys Name="UIDeviceFamily"/>
229
+ <VersionInfoKeys Name="CFBundleIdentifier"/>
230
+ <VersionInfoKeys Name="CFBundleVersion"/>
231
+ <VersionInfoKeys Name="CFBundlePackageType"/>
232
+ <VersionInfoKeys Name="CFBundleSignature"/>
233
+ <VersionInfoKeys Name="CFBundleAllowMixedLocalizations"/>
234
+ <VersionInfoKeys Name="UISupportedInterfaceOrientations"/>
235
+ <VersionInfoKeys Name="CFBundleExecutable"/>
236
+ <VersionInfoKeys Name="CFBundleResourceSpecification"/>
237
+ <VersionInfoKeys Name="LSRequiresIPhoneOS"/>
238
+ <VersionInfoKeys Name="CFBundleInfoDictionaryVersion"/>
239
+ <VersionInfoKeys Name="CFBundleDevelopmentRegion"/>
240
+ <VersionInfoKeys Name="package"/>
241
+ <VersionInfoKeys Name="label"/>
242
+ <VersionInfoKeys Name="versionCode"/>
243
+ <VersionInfoKeys Name="versionName"/>
244
+ <VersionInfoKeys Name="persistent"/>
245
+ <VersionInfoKeys Name="restoreAnyVersion"/>
246
+ <VersionInfoKeys Name="installLocation"/>
247
+ <VersionInfoKeys Name="largeHeap"/>
248
+ <VersionInfoKeys Name="theme"/>
249
+ </VersionInfoKeys>
250
+ <Source>
251
+ <Source Name="MainSource">TestProject.dpr</Source>
252
+ </Source>
253
+ </Delphi.Personality>
254
+ <Deployment>
255
+ <DeployFile LocalName="Deploy file with no platform" Configuration="Debug" Class="ClassDeployFileWithNoPlatform"/>
256
+ <DeployFile LocalName="e:\absent path\lib\android\debug\mips\libnative-activity.so" Configuration="Debug" Class="AndroidLibnativeMipsFile">
257
+ <Platform Name="Android">
258
+ <RemoteName>libTestProject.so</RemoteName>
259
+ <Overwrite>true</Overwrite>
260
+ </Platform>
261
+ </DeployFile>
262
+ <DeployFile LocalName="C:\Users\Public\Documents\RAD Studio\15.0\PlatformSDKs\android-ndk-r9c\prebuilt\android-arm\gdbserver\gdbserver" Configuration="Debug" Class="AndroidGDBServer">
263
+ <Platform Name="Android"/>
264
+ </DeployFile>
265
+ <DeployFile LocalName="Android\Debug\AndroidManifest.xml" Configuration="Debug" Class="ProjectAndroidManifest">
266
+ <Platform Name="Android"/>
267
+ </DeployFile>
268
+ <DeployFile LocalName="$(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png" Configuration="Debug" Class="Android_LauncherIcon144">
269
+ <Platform Name="Android">
270
+ <RemoteName>ic_launcher.png</RemoteName>
271
+ </Platform>
272
+ </DeployFile>
273
+ <DeployFile LocalName="$(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png" Configuration="Debug" Class="Android_LauncherIcon72">
274
+ <Platform Name="Android">
275
+ <RemoteName>ic_launcher.png</RemoteName>
276
+ </Platform>
277
+ </DeployFile>
278
+ <DeployFile LocalName="$(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png" Configuration="Debug" Class="Android_LauncherIcon96">
279
+ <Platform Name="Android">
280
+ <RemoteName>ic_launcher.png</RemoteName>
281
+ </Platform>
282
+ </DeployFile>
283
+ <DeployFile LocalName="Android\Debug\libTestProject.so" Configuration="Debug" Class="ProjectOutput">
284
+ <Platform Name="Android"/>
285
+ </DeployFile>
286
+ <DeployFile LocalName="$(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png" Configuration="Debug" Class="Android_LauncherIcon36">
287
+ <Platform Name="Android">
288
+ <RemoteName>ic_launcher.png</RemoteName>
289
+ </Platform>
290
+ </DeployFile>
291
+ <DeployFile LocalName="c:\program files (x86)\embarcadero\rad studio\15.0\lib\android\debug\classes.dex" Configuration="Debug" Class="AndroidClassesDexFile">
292
+ <Platform Name="Android">
293
+ <RemoteName>classes.dex</RemoteName>
294
+ </Platform>
295
+ </DeployFile>
296
+ <DeployFile LocalName="$(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png" Configuration="Debug" Class="Android_LauncherIcon48">
297
+ <Platform Name="Android">
298
+ <RemoteName>ic_launcher.png</RemoteName>
299
+ </Platform>
300
+ </DeployFile>
301
+ <DeployFile LocalName="external\module.ext" Configuration="Debug" Class="ProjectFile">
302
+ <Platform Name="Android">
303
+ <RemoteDir>.\assets\internal\</RemoteDir>
304
+ <Overwrite>true</Overwrite>
305
+ </Platform>
306
+ </DeployFile>
307
+ <DeployFile LocalName="e:\absent path\lib\android\debug\armeabi\libnative-activity.so" Configuration="Debug" Class="AndroidLibnativeArmeabiFile">
308
+ <Platform Name="Android">
309
+ <RemoteName>libTestProject.so</RemoteName>
310
+ <Overwrite>true</Overwrite>
311
+ </Platform>
312
+ </DeployFile>
313
+ <DeployClass Name="AndroidGDBServer">
314
+ <Platform Name="Android">
315
+ <RemoteDir>library\lib\armeabi</RemoteDir>
316
+ <Operation>1</Operation>
317
+ </Platform>
318
+ </DeployClass>
319
+ <DeployClass Name="Android_LauncherIcon96">
320
+ <Platform Name="Android">
321
+ <RemoteDir>res\drawable-xhdpi</RemoteDir>
322
+ <Operation>1</Operation>
323
+ </Platform>
324
+ </DeployClass>
325
+ <DeployClass Name="Android_LauncherIcon144">
326
+ <Platform Name="Android">
327
+ <RemoteDir>res\drawable-xxhdpi</RemoteDir>
328
+ <Operation>1</Operation>
329
+ </Platform>
330
+ </DeployClass>
331
+ <DeployClass Name="AndroidClassesDexFile">
332
+ <Platform Name="Android">
333
+ <RemoteDir>classes</RemoteDir>
334
+ <Operation>1</Operation>
335
+ </Platform>
336
+ </DeployClass>
337
+ <DeployClass Name="Android_DefaultAppIcon">
338
+ <Platform Name="Android">
339
+ <RemoteDir>res\drawable</RemoteDir>
340
+ <Operation>1</Operation>
341
+ </Platform>
342
+ </DeployClass>
343
+ <DeployClass Required="true" Name="ProjectOutput">
344
+ <Platform Name="Android">
345
+ <RemoteDir>library\lib\armeabi</RemoteDir>
346
+ <Operation>1</Operation>
347
+ </Platform>
348
+ <Platform Name="Win32">
349
+ <Operation>0</Operation>
350
+ </Platform>
351
+ </DeployClass>
352
+ <DeployClass Name="File">
353
+ <Platform Name="iOSDevice">
354
+ <Operation>0</Operation>
355
+ </Platform>
356
+ <Platform Name="Android">
357
+ <Operation>0</Operation>
358
+ </Platform>
359
+ <Platform Name="Win32">
360
+ <Operation>0</Operation>
361
+ </Platform>
362
+ </DeployClass>
363
+ <DeployClass Name="Android_LauncherIcon36">
364
+ <Platform Name="Android">
365
+ <RemoteDir>res\drawable-ldpi</RemoteDir>
366
+ <Operation>1</Operation>
367
+ </Platform>
368
+ </DeployClass>
369
+ <DeployClass Name="Android_LauncherIcon48">
370
+ <Platform Name="Android">
371
+ <RemoteDir>res\drawable-mdpi</RemoteDir>
372
+ <Operation>1</Operation>
373
+ </Platform>
374
+ </DeployClass>
375
+ <DeployClass Name="Android_LauncherIcon72">
376
+ <Platform Name="Android">
377
+ <RemoteDir>res\drawable-hdpi</RemoteDir>
378
+ <Operation>1</Operation>
379
+ </Platform>
380
+ </DeployClass>
381
+ <DeployClass Name="ProjectAndroidManifest">
382
+ <Platform Name="Android">
383
+ <Operation>1</Operation>
384
+ </Platform>
385
+ </DeployClass>
386
+ <DeployClass Name="AndroidLibnativeMipsFile">
387
+ <Platform Name="Android">
388
+ <RemoteDir>library\lib\mips</RemoteDir>
389
+ <Operation>1</Operation>
390
+ </Platform>
391
+ </DeployClass>
392
+ <DeployClass Name="AndroidLibnativeArmeabiFile">
393
+ <Platform Name="Android">
394
+ <RemoteDir>library\lib\armeabi</RemoteDir>
395
+ <Operation>1</Operation>
396
+ </Platform>
397
+ </DeployClass>
398
+ </Deployment>
399
+ </BorlandProject>
400
+ <ProjectFileVersion>12</ProjectFileVersion>
401
+ </ProjectExtensions>
402
+ <Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
403
+ <Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
404
+ </Project>
@@ -17,17 +17,13 @@ require 'xmlsimple'
17
17
  module DelphiAndroidTests
18
18
 
19
19
  class TestDelphiAndroid < DelphiTests::TestVerInfo
20
- public
21
- def project_path
22
- PROJECT_PATH
23
- end
24
-
25
- def project_name
26
- PROJECT_APK.pathmap('%n')
20
+ protected
21
+ def delphi_version
22
+ return '18'
27
23
  end
28
24
 
29
- private
30
- REQUIRED_FILES = %Q[META-INF/MANIFEST.MF
25
+ def setup_required_files
26
+ @required_files = %Q[META-INF/MANIFEST.MF
31
27
  META-INF/ANDROIDD.SF
32
28
  META-INF/ANDROIDD.RSA
33
29
  lib/armeabi/libTestProject.so
@@ -38,18 +34,30 @@ module DelphiAndroidTests
38
34
  res/drawable-ldpi/ic_launcher.png
39
35
  res/drawable-mdpi/ic_launcher.png
40
36
  res/drawable-xhdpi/ic_launcher.png
41
- res/drawable-xxhdpi/ic_launcher.png].split(/\s+/)
37
+ res/drawable-xxhdpi/ic_launcher.png
38
+ ].split(/\s+/)
39
+ end
42
40
 
41
+ public
42
+ def project_path
43
+ PROJECT_PATH
44
+ end
45
+
46
+ def project_name
47
+ PROJECT_APK.pathmap('%n')
48
+ end
49
+
50
+ private
43
51
  def _test_apk(apk)
44
52
  entries = []
45
53
  Zip::ZipFile.open(apk) do |zip|
46
54
  zip.each do |entry|
47
55
  # test all files in .apk
48
- assert REQUIRED_FILES.include?(entry.to_s), entry.to_s
56
+ assert @required_files.include?(entry.to_s), entry.to_s
49
57
  entries << entry.to_s
50
58
  end
51
59
  end
52
- REQUIRED_FILES.each do |file|
60
+ @required_files.each do |file|
53
61
  # test all required file
54
62
  assert entries.include?(file), file
55
63
  end
@@ -102,6 +110,7 @@ module DelphiAndroidTests
102
110
  public
103
111
  def setup
104
112
  fail 'Cannot compile this project with Delphi below XE5' if Rake::Delphi::EnvVariables.delphi_version < Rake::Delphi::DELPHI_VERSION_XE5
113
+ setup_required_files
105
114
  Rake::Delphi::DccARMTool.reinit
106
115
  ENV['DELPHI_DIR'] = nil
107
116
  super
@@ -0,0 +1,21 @@
1
+ # vim: set shiftwidth=2 tabstop=2 expandtab:
2
+ # encoding: utf-8
3
+
4
+ require 'test-delphi-android'
5
+
6
+ module DelphiAndroidTests
7
+
8
+ class TestDelphiAndroidXE7 < TestDelphiAndroid
9
+ protected
10
+ def delphi_version
11
+ return '21'
12
+ end
13
+
14
+ def setup_required_files
15
+ super
16
+ @required_files << 'assets/internal/module.ext'
17
+ @required_files << 'lib/mips/libTestProject.so'
18
+ end
19
+ end
20
+
21
+ end
@@ -0,0 +1,84 @@
1
+ # encoding: Windows-1251
2
+ # vim: set shiftwidth=2 tabstop=2 expandtab:
3
+
4
+ require 'rake'
5
+ require 'test/unit'
6
+ require 'rake/delphi'
7
+ require 'rake/delphi/projectinfo'
8
+ require 'rake/delphi/dcc32'
9
+ require 'rake/helpers/unittest'
10
+ require 'helpers/consts'
11
+ require 'helpers/verinfo'
12
+
13
+ module DelphiAndroidTests
14
+
15
+ class TestXE7VersionInfo < DelphiTests::TestVerInfo
16
+ private
17
+ def version
18
+ 'XE7'
19
+ end
20
+
21
+ protected
22
+ def delphi_version
23
+ return '21'
24
+ end
25
+
26
+ def do_getinfo
27
+ @info = Rake::Delphi::XEVersionInfo.new(@rake_task)
28
+ end
29
+
30
+ def project_path
31
+ PROJECT_PATH
32
+ end
33
+
34
+ def project_name
35
+ PROJECT_APK.pathmap('%n')
36
+ end
37
+
38
+ public
39
+ def setup
40
+ super
41
+ @rake_task = Rake::Delphi::Dcc32Task.new('some-task-' + name, Rake.application)
42
+ @rake_task.systempath = project_path + '/TestProject.dpr'
43
+ do_getinfo
44
+ end
45
+
46
+ def test_info
47
+ return unless prepare_ver_info_file?
48
+ assert_equal '4.3.2.1', @info['FileVersion']
49
+ assert_equal 'Rake', @info['CompanyName']
50
+ assert_equal 'Test rake-delphi project %s description' % version, @info['FileDescription']
51
+ assert_equal 'testproject.exe', @info['InternalName']
52
+ assert_equal 'Copyright. ��������', @info['LegalCopyright']
53
+ assert_equal 'Trademark. �������� �����', @info['LegalTrademarks']
54
+ assert_equal 'testproject.exe', @info['OriginalFilename']
55
+ assert_equal 'Test rake-delphi project %s product name' % version, @info['ProductName']
56
+ assert_equal '1.2.3.4', @info['ProductVersion']
57
+ assert_equal 'Test project comment', @info['Comments']
58
+ end
59
+
60
+ def test_deploy_files
61
+ tested_deploymentFiles = []
62
+ tested_deploymentFiles_prefixes = { 36 => 'l', 48 => 'm', 72 => 'h', 96 => 'xh', 144 => 'xxh'}
63
+ [36, 48, 72, 96, 144].each do |n|
64
+ tested_deploymentFiles << '$(BDS)\bin\Artwork\Android\FM_LauncherIcon_%dx%d.png,res\drawable-%sdpi\,1,ic_launcher.png' % [n, n, tested_deploymentFiles_prefixes[n]]
65
+ end
66
+ tested_deploymentFiles << 'project_so,library\lib\armeabi\,1,libTestProject.so'
67
+ tested_deploymentFiles << '$(BDS)\lib\android\debug\classes.dex,classes\,1,classes.dex'
68
+ tested_deploymentFiles << 'external\module.ext,.\assets\internal\\\\,1,'
69
+ tested_deploymentFiles << '$(BDS)\lib\android\debug\mips\libnative-activity.so,library\lib\mips\,1,libTestProject.so'
70
+ tested_deploymentFiles << '$(BDS)\lib\android\debug\armeabi\libnative-activity.so,library\lib\armeabi\,1,libTestProject.so'
71
+ deploymentfiles = @info.deploymentfiles('Android')
72
+ assert deploymentfiles.kind_of?(Array), 'NOT an Array?!'
73
+ assert_not_equal 0, deploymentfiles.size, 'No files?!'
74
+ deploymentfiles.each do |dfile|
75
+ assert dfile.kind_of?(Hash), 'NOT a Hash?!'
76
+ assert_equal 1, dfile.keys.count, 'More than one value?!'
77
+ assert dfile.keys.first.kind_of?(String) || dfile.keys.first.kind_of?(Symbol), 'Key is NOT a String or Symbol?!'
78
+ assert dfile.values.first.kind_of?(Array), 'Value is NOT an Array?!'
79
+ assert tested_deploymentFiles.include?(dfile.to_a.join(',')), dfile.to_a.join(',')
80
+ end
81
+ end
82
+ end
83
+
84
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-delphi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Shumkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-17 00:00:00.000000000 Z
11
+ date: 2014-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -155,6 +155,8 @@ files:
155
155
  - test/resources/testproject-android/TestProject.rc
156
156
  - test/resources/testproject-android/TestProject.res
157
157
  - test/resources/testproject-android/TestProject.xe5.dproj
158
+ - test/resources/testproject-android/TestProject.xe7.dproj
159
+ - test/resources/testproject-android/external/module.ext
158
160
  - test/resources/testproject-android/fmTest.fmx
159
161
  - test/resources/testproject-android/fmTest.pas
160
162
  - test/resources/testproject-android/lib/AnyLib/LibUnit.pas
@@ -179,7 +181,9 @@ files:
179
181
  - test/resources/testproject/testproject.rc
180
182
  - test/resources/testproject/testproject.res
181
183
  - test/resources/testproject/testproject.xe5.dproj
184
+ - test/resources/testproject/testproject.xe7.dproj
182
185
  - test/test-delphi-android.rb
186
+ - test/test-delphi-xe7-android.rb
183
187
  - test/test-delphi.rb
184
188
  - test/test-echo.rb
185
189
  - test/test-envvariables.rb
@@ -188,6 +192,7 @@ files:
188
192
  - test/test-hashes.rb
189
193
  - test/test-ini.rb
190
194
  - test/test-libstask.rb
195
+ - test/test-projectinfo-android-xe7.rb
191
196
  - test/test-projectinfo-android.rb
192
197
  - test/test-projectinfo.rb
193
198
  - test/test-string.rb
@@ -239,6 +244,8 @@ test_files:
239
244
  - test/resources/testproject-android/TestProject.rc
240
245
  - test/resources/testproject-android/TestProject.res
241
246
  - test/resources/testproject-android/TestProject.xe5.dproj
247
+ - test/resources/testproject-android/TestProject.xe7.dproj
248
+ - test/resources/testproject-android/external/module.ext
242
249
  - test/resources/testproject-android/fmTest.fmx
243
250
  - test/resources/testproject-android/fmTest.pas
244
251
  - test/resources/testproject-android/lib/AnyLib/LibUnit.pas
@@ -263,7 +270,9 @@ test_files:
263
270
  - test/resources/testproject/testproject.rc
264
271
  - test/resources/testproject/testproject.res
265
272
  - test/resources/testproject/testproject.xe5.dproj
273
+ - test/resources/testproject/testproject.xe7.dproj
266
274
  - test/test-delphi-android.rb
275
+ - test/test-delphi-xe7-android.rb
267
276
  - test/test-delphi.rb
268
277
  - test/test-echo.rb
269
278
  - test/test-envvariables.rb
@@ -272,6 +281,7 @@ test_files:
272
281
  - test/test-hashes.rb
273
282
  - test/test-ini.rb
274
283
  - test/test-libstask.rb
284
+ - test/test-projectinfo-android-xe7.rb
275
285
  - test/test-projectinfo-android.rb
276
286
  - test/test-projectinfo.rb
277
287
  - test/test-string.rb