Skip to content

Commit

Permalink
Adding Buck build files for .NET bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Sep 21, 2015
1 parent 00c9b0a commit 642fbd2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
20 changes: 20 additions & 0 deletions dotnet/src/webdriver/BUCK
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
csharp_library(
name = 'webdriver',
out = 'WebDriver.dll',
framework_ver = 'net40',
srcs = glob(['**/*.cs']),
resources = {
'//javascript/firefox-driver:webdriver' : 'WebDriver.FirefoxExt.zip',
'//javascript/firefox-driver:webdriver_prefs' : 'WebDriver.FirefoxPreferences',
# '//cpp:noblur' : 'WebDriver.FirefoxNoFocus.x86.dll',
# '//cpp:noblur64' : 'WebDriver.FirefoxNoFocus.x64.dll'
},
deps = [
'System.dll',
'System.Core.dll',
'System.Data.dll',
'System.Drawing.dll',
'System.Xml.dll',
'//third_party/dotnet/json-net-6.0r2/Net40:json'
],
)
1 change: 1 addition & 0 deletions javascript/firefox-driver/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export_file(name = 'webdriver_prefs',
src = 'webdriver.json',
visibility = [
'//java/client/src/org/openqa/selenium/firefox:prefs',
'//dotnet/src/webdriver:webdriver',
],
)

Expand Down
7 changes: 7 additions & 0 deletions third_party/dotnet/json-net-6.0r2/Net40/BUCK
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
prebuilt_dotnet_library(
name = 'json',
assembly = 'Newtonsoft.Json.dll',
visibility = [
'//dotnet/src/webdriver:webdriver'
]
)

0 comments on commit 642fbd2

Please sign in to comment.