Skip to content

Commit

Permalink
Updating build process for Firefox native events components to use ge…
Browse files Browse the repository at this point in the history
…cko 29 SDK
  • Loading branch information
jimevans committed Apr 29, 2014
1 parent d336763 commit b1d0842
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 24 deletions.
12 changes: 12 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,18 @@ GeckoSDKs.new do |sdks|
sdks.add 'third_party/gecko-28/win32',
'http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/28.0/sdk/xulrunner-28.0.en-US.win32.sdk.zip',
'd7cdf541a15e2125a3658d569579dc44'

sdks.add 'third_party/gecko-29/linux',
'http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/29.0/sdk/xulrunner-29.0.en-US.linux-i686.sdk.tar.bz2',
'347fce9e5ede63f876aa9ef4a6951fa6'

sdks.add 'third_party/gecko-29/linux64',
'http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/29.0/sdk/xulrunner-29.0.en-US.linux-x86_64.sdk.tar.bz2',
'7593877a6863ad5b3cc4f0dfdf0446e7'

sdks.add 'third_party/gecko-29/win32',
'http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/29.0/sdk/xulrunner-29.0.en-US.win32.sdk.zip',
'b2009f64cfa997887b341f5603abeaac'
end

task :'selenium-server_zip' do
Expand Down
8 changes: 4 additions & 4 deletions cpp/build.desc
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,28 @@ mozilla_lib(name = "webdriver_firefox_previous",
"webdriver-interactions/interactions_common.*",
"webdriver-firefox/*.cpp"],
arch = "i386",
geckoversion="27")
geckoversion="28")

mozilla_lib(name = "webdriver_firefox_previous_64",
srcs = [ "webdriver-interactions/*_linux*.cpp",
"webdriver-interactions/interactions_common.*",
"webdriver-firefox/*.cpp"],
arch = "amd64",
geckoversion="27")
geckoversion="28")

mozilla_lib(name = "webdriver_firefox_latest",
srcs = [ "webdriver-interactions/*_linux*.cpp",
"webdriver-interactions/interactions_common.*",
"webdriver-firefox/*.cpp"],
arch = "i386",
geckoversion="28")
geckoversion="29")

mozilla_lib(name = "webdriver_firefox_latest_64",
srcs = [ "webdriver-interactions/*_linux*.cpp",
"webdriver-interactions/interactions_common.*",
"webdriver-firefox/*.cpp"],
arch = "amd64",
geckoversion="28")
geckoversion="29")

gcc_library(name = "noblur",
srcs = [ "linux-specific/*.c" ],
Expand Down
4 changes: 2 additions & 2 deletions cpp/webdriver-firefox/build.desc
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ visualc_library(name = "latest_esr",
visualc_library(name = "previous",
platform = "Win32",
project = "webdriver-firefox-previous.vcxproj",
file_deps = "third_party/gecko-27/win32",
file_deps = "third_party/gecko-28/win32",
out = "Win32/Release/webdriver-firefox-previous.dll"
)

visualc_library(name = "latest",
platform = "Win32",
project = "webdriver-firefox-latest.vcxproj",
file_deps = "third_party/gecko-28/win32",
file_deps = "third_party/gecko-29/win32",
out = "Win32/Release/webdriver-firefox-latest.dll"
)
18 changes: 9 additions & 9 deletions cpp/webdriver-firefox/webdriver-firefox-latest.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\include;$(ProjectDir)..\..\third_party\gecko-28\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-29\win32\include;$(ProjectDir)..\..\third_party\gecko-29\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<PreprocessorDefinitions>XP_WIN;XP_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
Expand All @@ -101,7 +101,7 @@
</ClCompile>
<Link>
<AdditionalDependencies>nss3.lib;xpcomglue_s_nomozalloc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-29\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX86</TargetMachine>
</Link>
Expand All @@ -112,7 +112,7 @@
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\include;$(ProjectDir)..\..\third_party\gecko-28\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-29\win32\include;$(ProjectDir)..\..\third_party\gecko-29\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<PreprocessorDefinitions>XP_WIN;XP_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
Expand All @@ -122,7 +122,7 @@
</ClCompile>
<Link>
<AdditionalDependencies>nss3.lib;xpcomglue_s_nomozalloc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-29\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX64</TargetMachine>
</Link>
Expand All @@ -131,7 +131,7 @@
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\include;$(ProjectDir)..\..\third_party\gecko-28\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-29\win32\include;$(ProjectDir)..\..\third_party\gecko-29\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<PreprocessorDefinitions>XP_WIN;XP_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
Expand All @@ -141,7 +141,7 @@
</ClCompile>
<Link>
<AdditionalDependencies>nss3.lib;xul.lib;xpcomglue_s_nomozalloc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-29\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
Expand All @@ -155,7 +155,7 @@
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\include;$(ProjectDir)..\..\third_party\gecko-28\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-29\win32\include;$(ProjectDir)..\..\third_party\gecko-29\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<PreprocessorDefinitions>XP_WIN;XP_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
Expand All @@ -164,7 +164,7 @@
</ClCompile>
<Link>
<AdditionalDependencies>nss3.lib;xpcomglue_s_nomozalloc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-29\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
Expand Down Expand Up @@ -199,4 +199,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
18 changes: 9 additions & 9 deletions cpp/webdriver-firefox/webdriver-firefox-previous.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-27\win32\include;$(ProjectDir)..\..\third_party\gecko-27\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\include;$(ProjectDir)..\..\third_party\gecko-28\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<PreprocessorDefinitions>XP_WIN;XP_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
Expand All @@ -101,7 +101,7 @@
</ClCompile>
<Link>
<AdditionalDependencies>nss3.lib;xul.lib;xpcomglue_s_nomozalloc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-27\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX86</TargetMachine>
</Link>
Expand All @@ -112,7 +112,7 @@
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-27\win32\include;$(ProjectDir)..\..\third_party\gecko-27\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\include;$(ProjectDir)..\..\third_party\gecko-28\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<PreprocessorDefinitions>XP_WIN;XP_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
Expand All @@ -122,7 +122,7 @@
</ClCompile>
<Link>
<AdditionalDependencies>nss3.lib;xul.lib;xpcomglue_s_nomozalloc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-27\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX64</TargetMachine>
</Link>
Expand All @@ -131,7 +131,7 @@
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-27\win32\include;$(ProjectDir)..\..\third_party\gecko-27\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\include;$(ProjectDir)..\..\third_party\gecko-28\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<PreprocessorDefinitions>XP_WIN;XP_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
Expand All @@ -141,7 +141,7 @@
</ClCompile>
<Link>
<AdditionalDependencies>nss3.lib;xul.lib;xpcomglue_s_nomozalloc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-27\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
Expand All @@ -155,7 +155,7 @@
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-27\win32\include;$(ProjectDir)..\..\third_party\gecko-27\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\include;$(ProjectDir)..\..\third_party\gecko-28\win32\include\nspr;$(ProjectDir)..\webdriver-interactions;$(ProjectDir)..\imehandler\common</AdditionalIncludeDirectories>
<PreprocessorDefinitions>XP_WIN;XP_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
Expand All @@ -164,7 +164,7 @@
</ClCompile>
<Link>
<AdditionalDependencies>nss3.lib;xul.lib;xpcomglue_s_nomozalloc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-27\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\gecko-28\win32\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
Expand Down Expand Up @@ -199,4 +199,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>

0 comments on commit b1d0842

Please sign in to comment.