diff --git a/.buckconfig b/.buckconfig deleted file mode 100644 index 11275edd62199..0000000000000 --- a/.buckconfig +++ /dev/null @@ -1,64 +0,0 @@ -[java] - src_roots = /java/client/src, /java/client/test, /java/server/src, /java/server/test - source_level = 8 - target_level = 8 - jar_spool_mode = direct_to_jar - compile_against_abis = true - -[project] - ignore = \ - .git, \ - .buckd, \ - build, \ - java/client/build, \ - java/server/build - -[build] - metadata_storage = sqlite - -[buildfile] - includes = //java/rules.bzl - -[cache] - mode = dir - # This is large enough to contain everything built in //java/... - dir_max_size = 1GB - -[parser] - polyglot_parsing_enabled = true - default_build_file_syntax = SKYLARK - -[resources] - resource_aware_scheduling_enabled = true - -[test] - # Maximum timeout of 10 minutes per test (since each suite counts as a test) - timeout = 600000 - run_transitive = false - -[tools] - closure_compiler = //third_party/closure:compiler - -[alias] - chrome = //java/client/src/org/openqa/selenium/chrome:chrome - firefox = //java/client/src/org/openqa/selenium/firefox:firefox - remote = //java/client/src/org/openqa/selenium/remote:remote - safari = //java/client/src/org/openqa/selenium/safari:safari - - grid-tng = //java/server/src/org/openqa/selenium/grid:selenium - leg-rc = //java/client/src/com/thoughtworks/selenium:legacy-selenium-client - rc-server = //java/server/src/org/openqa/selenium/server:rc - selenium-java = //java/client/src/org/openqa/selenium:selenium - - selenium-server-standalone = //java/server/src/org/openqa/selenium/remote/server:standalone-server - htmlrunner = //java/server/src/org/openqa/selenium/server/htmlrunner:selenium-runner - - # Tests - chrome-test = //java/client/test/org/openqa/selenium/chrome:chrome - firefox-test = //java/client/test/org/openqa/selenium/firefox:marionette - legacy-firefox-test = //java/client/test/org/openqa/selenium/firefox:test-synthesized - htmlunit-test = //java/client/test/org/openqa/selenium/htmlunit:htmlunit - ie-test = //java/client/test/org/openqa/selenium/ie:ie - opera-test = //java/client/test/org/openqa/selenium/opera:opera - safari-test = //java/client/test/org/openqa/selenium/safari:safari - java-small-tests = //java/client/test/org/openqa/selenium:small-tests //java/client/test/org/openqa/selenium/json:small-tests //java/client/test/org/openqa/selenium/support:small-tests //java/client/test/org/openqa/selenium/remote:small-tests //java/server/test/org/openqa/selenium/remote/server:small-tests //java/server/test/org/openqa/selenium/remote/server/log:test diff --git a/.buckhash b/.buckhash deleted file mode 100644 index 0f32e367be72d..0000000000000 --- a/.buckhash +++ /dev/null @@ -1 +0,0 @@ -3f325958f6f60c0085d763bf24763ba4 diff --git a/.buckjavaargs b/.buckjavaargs deleted file mode 100644 index 16344ae2d2d9a..0000000000000 --- a/.buckjavaargs +++ /dev/null @@ -1 +0,0 @@ --Xmx1536m -XX:+HeapDumpOnOutOfMemoryError diff --git a/.buckversion b/.buckversion deleted file mode 100644 index 1e8ce60f77e3e..0000000000000 --- a/.buckversion +++ /dev/null @@ -1 +0,0 @@ -a1cafa8d464c1006bfed3cb25c4ea1c7eb6bdafe diff --git a/.gitignore b/.gitignore index c4074510afb17..4530cfd80431f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,12 +2,8 @@ projectFilesBackup/ *.iws .DS_Store .svn -.buckd -.buckconfig.local -.nobuckcheck .credentials.dat .ijwb -buck-out mockpiframe.log mockpiframe.log.lck junitvmwatcher*.properties diff --git a/BUCK b/BUCK deleted file mode 100644 index 3466a7df98a15..0000000000000 --- a/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -export_file( - name = "notice", - out = "NOTICE", - src = "NOTICE", - visibility = ["PUBLIC"], -) - -export_file( - name = "license", - out = "LICENSE", - src = "LICENSE", - visibility = ["PUBLIC"], -) diff --git a/Rakefile b/Rakefile index 2823500c23c4d..28e2578ac89c7 100644 --- a/Rakefile +++ b/Rakefile @@ -82,7 +82,7 @@ rule /\/\/.*/ do |task| task.out = Bazel::execute("build", [], task.name) end -# Spoof tasks to get CI working with buck +# Spoof tasks to get CI working with bazel task '//java/client/test/org/openqa/selenium/environment/webserver:webserver:uber' => [ '//java/client/test/org/openqa/selenium/environment:webserver' ] @@ -277,7 +277,6 @@ task :build => [:all, :firefox, :remote, :selenium, :tests] desc 'Clean build artifacts.' task :clean do - rm_rf 'buck-out/' rm_rf 'build/' rm_rf 'java/client/build/' rm_rf 'dist/' diff --git a/buckw b/buckw deleted file mode 100755 index 2f3fb63b11ce5..0000000000000 --- a/buckw +++ /dev/null @@ -1,90 +0,0 @@ -#!/usr/bin/env python2.7 - -import argparse -import datetime -import hashlib -import os -import os.path -import requests -import stat -import sys -import subprocess - -buck_version = open(".buckversion").readline().rstrip() -buck_hash = open(".buckhash").readline().rstrip() -buck_pex = os.path.join("buck-out", "crazy-fun", buck_version, "buck.pex") - -url = "https://github.com/SeleniumHQ/buck/releases/download/buck-release-%s/buck.pex" % buck_version - -def download(url, out, hash): - base_name = os.path.dirname(out) - if not os.path.exists(base_name): - try: - os.makedirs(base_name) - except OSError as e: - if e.errno != errno.EEXIST: - raise - - print "Downloading Buck. This may take some time" - response = requests.get(url, stream=True) - if response.status_code != 200: - raise IOError("Unable to download buck") - - total_length = float(response.headers.get('content-length')) - count = 0 - with open(out, "wb") as f: - md5 = hashlib.md5() - for chunk in response.iter_content(chunk_size=4096): - count += len(chunk) - done = int(50 * float(count) / total_length) - sys.stdout.write("\r[%s%s]" % ('=' * done, ' ' * (50-done)) ) - sys.stdout.flush() - - f.write(chunk) - md5.update(chunk) - - if md5.hexdigest() != hash: - raise IOError("Downloaded buck version doesn't match expected hash") - -if os.path.isfile(buck_pex): - md5 = hashlib.md5() - with open(buck_pex, "rb") as f: - for chunk in iter(lambda: f.read(4096), b""): - md5.update(chunk) - if md5.hexdigest() != buck_hash: - print "MD5 hashes don't match. Re-downloading" - download(url, buck_pex, buck_hash) -else: - download(url, buck_pex, buck_hash) - -st = os.stat(buck_pex) -os.chmod(buck_pex, st.st_mode | stat.S_IEXEC) - -# Figure out the git revision and current timestamp -parser = argparse.ArgumentParser() -parser.prog = "buckw" -parser.add_argument("--stamp-build", default="stable", choices=["stable", "detect"]) -parsed, remainder = parser.parse_known_args(sys.argv) - -remainder.pop(0) -cmd = remainder.pop(0) - -args = ["python", buck_pex, cmd] - -stamped_commands = ["build", "publish", "test"] - -if "stable" == parsed.stamp_build and cmd in stamped_commands: - args.extend(["--config", "selenium.rev=unknown", "--config", "selenium.timestamp=unknown"]) -elif "detect" == parsed.stamp_build and cmd in stamped_commands: - timestamp = datetime.datetime.utcnow().replace(microsecond=0).isoformat() - try: - rev = subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']).strip() - args.extend(["--config", "selenium.rev=%s" % rev, "--config", "selenium.timestamp=%s" % timestamp]) - except subprocess.CalledProcessError: - print("WARNING: UNABLE TO DETERMINE SELENIUM REVISION. BUILD NOT STAMPED PROPERLY") - args.extend(["--config", "selenium.rev=unknown", "--config", "selenium.timestamp=%s" % timestamp]) - -args.extend(remainder) - -sys.exit(subprocess.call(args)) - diff --git a/buckw.bat b/buckw.bat deleted file mode 100644 index e782db8aee852..0000000000000 --- a/buckw.bat +++ /dev/null @@ -1,3 +0,0 @@ -@echo off - -python buckw %* diff --git a/cpp/prebuilt/BUCK b/cpp/prebuilt/BUCK deleted file mode 100644 index df38d2297b2cd..0000000000000 --- a/cpp/prebuilt/BUCK +++ /dev/null @@ -1,19 +0,0 @@ -export_file( - name = "noblur32", - out = "i386/x_ignore_nofocus.so", - src = "i386/libnoblur.so", - visibility = [ - "//dotnet/src/webdriver:webdriver_deps", - "//java/client/src/org/openqa/selenium/firefox/xpi:i386", - ], -) - -export_file( - name = "noblur64", - out = "amd64/x_ignore_nofocus.so", - src = "amd64/libnoblur64.so", - visibility = [ - "//dotnet/src/webdriver:webdriver_deps", - "//java/client/src/org/openqa/selenium/firefox/xpi:amd64", - ], -) diff --git a/dotnet/BUCK b/dotnet/BUCK deleted file mode 100644 index 37fd0e0c92682..0000000000000 --- a/dotnet/BUCK +++ /dev/null @@ -1,28 +0,0 @@ -load("//dotnet:selenium-dotnet-version.bzl", "SE_VERSION") - -export_file( - name = "keyfile", - src = "WebDriver.snk", - out = "WebDriver.snk", - visibility = ["PUBLIC"], -) - -zip_file( - name = "release", - srcs = [ - "//dotnet/src/webdriver:pack", - "//dotnet/src/webdriverbackedselenium:pack", - "//dotnet/src/support:pack", - ], - out = "selenium-dotnet-{}.zip".format(SE_VERSION), -) - -zip_file( - name = "release_strongnamed", - srcs = [ - "//dotnet/src/webdriver:pack_strongnamed", - "//dotnet/src/webdriverbackedselenium:pack_strongnamed", - "//dotnet/src/support:pack_strongnamed", - ], - out = "selenium-dotnet-strongnamed-{}.zip".format(SE_VERSION), -) diff --git a/dotnet/src/support/BUCK b/dotnet/src/support/BUCK deleted file mode 100644 index 32adeb3cbd7dd..0000000000000 --- a/dotnet/src/support/BUCK +++ /dev/null @@ -1,126 +0,0 @@ -load("//dotnet:selenium-dotnet-version.bzl", "ASSEMBLY_VERSION", "SE_VERSION") - -genrule( - name = "net47", - srcs = ["WebDriver.Support.csproj"], - bash = "echo '$(location //dotnet/src/webdriver:net47)' && dotnet build $SRCS --configuration Release --framework net47 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location //dotnet/src/webdriver:net47)' && dotnet build %SRCS% --configuration Release --framework net47 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "net46", - srcs = ["WebDriver.Support.csproj"], - bash = "echo '$(location //dotnet/src/webdriver:net46)' && dotnet build $SRCS --configuration Release --framework net46 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location //dotnet/src/webdriver:net46)' && dotnet build %SRCS% --configuration Release --framework net46 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "net45", - srcs = ["WebDriver.Support.csproj"], - bash = "echo '$(location //dotnet/src/webdriver:net45)' && dotnet build $SRCS --configuration Release --framework net45 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location //dotnet/src/webdriver:net45)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "netstandard2.0", - srcs = ["WebDriver.Support.csproj"], - bash = "echo '$(location //dotnet/src/webdriver:netstandard2.0)' && dotnet build $SRCS --configuration Release --framework netstandard2.0 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:FileVersion={} /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location //dotnet/src/webdriver:netstandard2.0)' && dotnet build %SRCS% --configuration Release --framework netstandard2.0 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:FileVersion={} /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "merge", - srcs = [ - ":net47", - ":net46", - ":net45", - ":netstandard2.0", - ], - cmd_exe = - "setlocal EnableDelayedExpansion && " + - "(if not exist %OUT% mkdir %OUT%) && " + - "for %%G in (%SRCS%) do (" + - "set target_dir=%%G&& " + - "set platform_dir=%%G\..&& " + - "for %%H in (!target_dir!) do (" + - "for %%I in (!platform_dir!) do set platform_moniker=%%~nxI&& " + - "(if not exist %OUT%\!platform_moniker! mkdir %OUT%\!platform_moniker!) && " + - "copy !target_dir!\WebDriver.Support.dll %OUT%\!platform_moniker! &&" + - "copy !target_dir!\WebDriver.Support.xml %OUT%\!platform_moniker!" + - ")" + - ")", - out = "lib", -) - -genrule( - name = "pack", - srcs = ["WebDriver.Support.nuspec"], - cmd_exe = "$(exe //third_party/dotnet/nuget:nuget) pack %SRCS% /Properties packageid=Selenium.Support;version={} /Version {} /BasePath $(location :merge) /OutputDirectory %OUT%".format(SE_VERSION, SE_VERSION), - out = "dist", - visibility = ["PUBLIC"], -) - -genrule( - name = "net47_strongnamed", - srcs = ["WebDriver.Support.csproj"], - cmd = "echo '$(location //dotnet/src/webdriver:net47_strongnamed)' && dotnet build %SRCS% --configuration Release --framework net47 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:FileVersion={} /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "net46_strongnamed", - srcs = ["WebDriver.Support.csproj"], - cmd = "echo '$(location //dotnet/src/webdriver:net46_strongnamed)' && dotnet build %SRCS% --configuration Release --framework net46 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:FileVersion={} /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "net45_strongnamed", - srcs = ["WebDriver.Support.csproj"], - cmd = "echo '$(location //dotnet/src/webdriver:net45_strongnamed)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:FileVersion={} /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "netstandard2.0_strongnamed", - srcs = ["WebDriver.Support.csproj"], - cmd = "echo '$(location //dotnet/src/webdriver:netstandard2.0_strongnamed)' && dotnet build %SRCS% --configuration Release --framework netstandard2.0 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:AssemblyVersion={} /p:FileVersion={} /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "merge_strongnamed", - srcs = [ - ":net47_strongnamed", - ":net46_strongnamed", - ":net45_strongnamed", - ":netstandard2.0_strongnamed", - ], - cmd_exe = - "setlocal EnableDelayedExpansion && " + - "(if not exist %OUT% mkdir %OUT%) && " + - "for %%G in (%SRCS%) do (" + - "set target_dir=%%G&& " + - "set platform_dir=%%G\..&& " + - "for %%H in (!target_dir!) do (" + - "for %%I in (!platform_dir!) do set full_platform_moniker=%%~nxI&& " + - 'for /f "delims=_" %%J in (\"!full_platform_moniker!\") do set platform_moniker=%%J&& ' + - "(if not exist %OUT%\!platform_moniker! mkdir %OUT%\!platform_moniker!) && " + - "copy !target_dir!\WebDriver.Support.dll %OUT%\!platform_moniker! &&" + - "copy !target_dir!\WebDriver.Support.xml %OUT%\!platform_moniker!" + - ")" + - ")", - out = "lib", -) - -genrule( - name = "pack_strongnamed", - srcs = ["WebDriver.Support.StrongNamed.nuspec"], - cmd_exe = "$(exe //third_party/dotnet/nuget:nuget) pack %SRCS% /Properties packageid=Selenium.Support.StrongNamed;version={} /Version {} /BasePath $(location :merge_strongnamed) /OutputDirectory %OUT%".format(SE_VERSION, SE_VERSION), - out = "dist", - visibility = ["PUBLIC"], -) diff --git a/dotnet/src/webdriver/BUCK b/dotnet/src/webdriver/BUCK deleted file mode 100644 index 415a059f1a6e7..0000000000000 --- a/dotnet/src/webdriver/BUCK +++ /dev/null @@ -1,181 +0,0 @@ -load("//dotnet:selenium-dotnet-version.bzl", "ASSEMBLY_VERSION", "SE_VERSION") - -genrule( - name = "net47", - srcs = ["WebDriver.csproj"], - bash = "echo '$(location :webdriver_deps)' && dotnet build $SRCS --configuration Release --framework net47 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location :webdriver_deps)' && dotnet build %SRCS% --configuration Release --framework net47 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", - visibility = [ - "//dotnet/src/webdriverbackedselenium:net47", - "//dotnet/src/support:net47", - ], -) - -genrule( - name = "net46", - srcs = ["WebDriver.csproj"], - bash = "echo '$(location :webdriver_deps)' && dotnet build $SRCS --configuration Release --framework net46 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location :webdriver_deps)' && dotnet build %SRCS% --configuration Release --framework net46 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", - visibility = [ - "//dotnet/src/webdriverbackedselenium:net46", - "//dotnet/src/support:net46", - ], -) - -genrule( - name = "net45", - srcs = ["WebDriver.csproj"], - bash = "echo '$(location :webdriver_deps)' && dotnet build $SRCS --configuration Release --framework net45 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location :webdriver_deps)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", - visibility = [ - "//dotnet/src/webdriverbackedselenium:net45", - "//dotnet/src/support:net45", - "//dotnet/test/...", - ], -) - -genrule( - name = "netstandard2.0", - srcs = ["WebDriver.csproj"], - bash = "echo '$(location :webdriver_deps)' && dotnet build $SRCS --configuration Release --framework netstandard2.0 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:FileVersion={} /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location :webdriver_deps)' && dotnet build %SRCS% --configuration Release --framework netstandard2.0 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", - visibility = [ - "//dotnet/src/webdriverbackedselenium:netstandard2.0", - "//dotnet/src/support:netstandard2.0", - ], -) - -genrule( - name = "merge", - srcs = [ - ":net47", - ":net46", - ":net45", - ":netstandard2.0", - ], - cmd_exe = - "setlocal EnableDelayedExpansion && " + - "(if not exist %OUT% mkdir %OUT%) && " + - "for %%G in (%SRCS%) do (" + - "set target_dir=%%G&& " + - "set platform_dir=%%G\..&& " + - "for %%H in (!target_dir!) do (" + - "for %%I in (!platform_dir!) do set platform_moniker=%%~nxI&& " + - 'if \"!platform_moniker!\"==\"netstandard2.0\" (' + - "(if not exist %OUT%\\!platform_moniker! mkdir %OUT%\\!platform_moniker!) && " + - "copy !target_dir!\\WebDriver.dll %OUT%\\!platform_moniker! &&" + - "copy !target_dir!\\WebDriver.xml %OUT%\\!platform_moniker!" + - ") else (" + - "set merge_args=/v4 /xmldocs /internalize /lib=%%H /out=%OUT%\\!platform_moniker!\\WebDriver.dll !target_dir!\\WebDriver.dll !target_dir!\\Newtonsoft.Json.dll&& " + - "$(exe //third_party/dotnet/ilrepack:ilrepack) !merge_args!" + - ")" + - ")" + - ")", - out = "lib", -) - -genrule( - name = "net47_strongnamed", - srcs = ["WebDriver.csproj"], - cmd = "echo '$(location :webdriver_deps)' && dotnet build %SRCS% --configuration Release --framework net47 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", - visibility = [ - "//dotnet/src/webdriverbackedselenium:net47_strongnamed", - "//dotnet/src/support:net47_strongnamed", - ], -) - -genrule( - name = "net46_strongnamed", - srcs = ["WebDriver.csproj"], - cmd = "echo '$(location :webdriver_deps)' && dotnet build %SRCS% --configuration Release --framework net46 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", - visibility = [ - "//dotnet/src/webdriverbackedselenium:net46_strongnamed", - "//dotnet/src/support:net46_strongnamed", - ], -) - -genrule( - name = "net45_strongnamed", - srcs = ["WebDriver.csproj"], - cmd = "echo '$(location :webdriver_deps)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", - visibility = [ - "//dotnet/src/webdriverbackedselenium:net45_strongnamed", - "//dotnet/src/support:net45_strongnamed", - ], -) - -genrule( - name = "netstandard2.0_strongnamed", - srcs = ["WebDriver.csproj"], - cmd = "echo '$(location :webdriver_deps)' && dotnet build %SRCS% --configuration Release --framework netstandard2.0 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", - visibility = [ - "//dotnet/src/webdriverbackedselenium:netstandard2.0_strongnamed", - "//dotnet/src/support:netstandard2.0_strongnamed", - ], -) - -genrule( - name = "merge_strongnamed", - srcs = [ - ":net47_strongnamed", - ":net46_strongnamed", - ":net45_strongnamed", - ":netstandard2.0_strongnamed", - ], - cmd_exe = - "setlocal EnableDelayedExpansion && " + - "(if not exist %OUT% mkdir %OUT%) && " + - "for %%G in (%SRCS%) do (" + - "set target_dir=%%G&& " + - "set platform_dir=%%G\..&& " + - "for %%H in (!target_dir!) do (" + - "for %%I in (!platform_dir!) do set full_platform_moniker=%%~nxI&& " + - 'for /f "delims=_" %%J in (\"!full_platform_moniker!\") do set platform_moniker=%%J&& ' + - 'if \"!platform_moniker!\"==\"netstandard2.0\" (' + - "(if not exist %OUT%\\!platform_moniker! mkdir %OUT%\\!platform_moniker!) && " + - "copy !target_dir!\\WebDriver.dll %OUT%\\!platform_moniker! &&" + - "copy !target_dir!\\WebDriver.xml %OUT%\\!platform_moniker!" + - ") else (" + - "set merge_args=/v4 /xmldocs /internalize /keyfile=$(location //dotnet:keyfile) /lib=%%H /out=%OUT%\\!platform_moniker!\\WebDriver.dll !target_dir!\\WebDriver.dll !target_dir!\\Newtonsoft.Json.dll&& " + - "$(exe //third_party/dotnet/ilrepack:ilrepack) !merge_args!" + - ")" + - ")" + - ")", - out = "lib", -) - -genrule( - name = "pack", - srcs = ["WebDriver.nuspec"], - cmd_exe = "$(exe //third_party/dotnet/nuget:nuget) pack %SRCS% /Properties packageid=Selenium.WebDriver /Version {} /BasePath $(location :merge) /OutputDirectory %OUT%".format(SE_VERSION), - out = "dist", - visibility = ["PUBLIC"], -) - -genrule( - name = "pack_strongnamed", - srcs = ["WebDriver.StrongNamed.nuspec"], - cmd_exe = "$(exe //third_party/dotnet/nuget:nuget) pack %SRCS% /Properties packageid=Selenium.WebDriver.StrongNamed /Version {} /BasePath $(location :merge_strongnamed) /OutputDirectory %OUT%".format(SE_VERSION), - out = "dist", - visibility = ["PUBLIC"], -) - -genrule( - name = "webdriver_deps", - srcs = [ - "//third_party/js/selenium:webdriver_prefs", - "//javascript/webdriver/atoms:get-attribute", - "//javascript/atoms/fragments:is-displayed", - ], - bash = 'echo "$SRCS" > $OUT', - cmd_exe = 'echo "%SRCS%" > %OUT%', - out = "deps.txt", -) diff --git a/dotnet/src/webdriverbackedselenium/BUCK b/dotnet/src/webdriverbackedselenium/BUCK deleted file mode 100644 index 67d106de7187f..0000000000000 --- a/dotnet/src/webdriverbackedselenium/BUCK +++ /dev/null @@ -1,148 +0,0 @@ -load("//dotnet:selenium-dotnet-version.bzl", "ASSEMBLY_VERSION", "SE_VERSION") - -genrule( - name = "net47", - srcs = ["Selenium.WebDriverBackedSelenium.csproj"], - bash = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:net47)' && dotnet build $SRCS --configuration Release --framework net47 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:net47)' && dotnet build %SRCS% --configuration Release --framework net47 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "net46", - srcs = ["Selenium.WebDriverBackedSelenium.csproj"], - bash = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:net46)' && dotnet build $SRCS --configuration Release --framework net46 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:net46)' && dotnet build %SRCS% --configuration Release --framework net46 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "net45", - srcs = ["Selenium.WebDriverBackedSelenium.csproj"], - bash = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:net45)' && dotnet build $SRCS --configuration Release --framework net45 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:net45)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "netstandard2.0", - srcs = ["Selenium.WebDriverBackedSelenium.csproj"], - bash = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:netstandard2.0)' && dotnet build $SRCS --configuration Release --framework netstandard2.0 --output $OUT /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - cmd_exe = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:netstandard2.0)' && dotnet build %SRCS% --configuration Release --framework netstandard2.0 --output %OUT% /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "merge", - srcs = [ - ":net47", - ":net46", - ":net45", - ":netstandard2.0", - ], - cmd_exe = - "setlocal EnableDelayedExpansion && " + - "(if not exist %OUT% mkdir %OUT%) && " + - "for %%G in (%SRCS%) do (" + - "set target_dir=%%G&& " + - "set platform_dir=%%G\..&& " + - "for %%H in (!target_dir!) do (" + - "for %%I in (!platform_dir!) do set platform_moniker=%%~nxI&& " + - "(if not exist %OUT%\!platform_moniker! mkdir %OUT%\!platform_moniker!) && " + - "copy !target_dir!\Selenium.WebDriverBackedSelenium.dll %OUT%\!platform_moniker! &&" + - "copy !target_dir!\Selenium.WebDriverBackedSelenium.xml %OUT%\!platform_moniker!" + - ")" + - ")", - out = "lib", -) - -genrule( - name = "pack", - srcs = ["Selenium.WebDriverBackedSelenium.nuspec"], - cmd_exe = "$(exe //third_party/dotnet/nuget:nuget) pack %SRCS% /Properties packageid=Selenium.WebDriverBackedSelenium;version={} /Version {} /BasePath $(location :merge) /OutputDirectory %OUT%".format(SE_VERSION, SE_VERSION), - out = "dist", - visibility = ["PUBLIC"], -) - -genrule( - name = "net47_strongnamed", - srcs = ["Selenium.WebDriverBackedSelenium.csproj"], - cmd = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:net47_strongnamed)' && dotnet build %SRCS% --configuration Release --framework net47 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "net46_strongnamed", - srcs = ["Selenium.WebDriverBackedSelenium.csproj"], - cmd = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:net46_strongnamed)' && dotnet build %SRCS% --configuration Release --framework net46 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "net45_strongnamed", - srcs = ["Selenium.WebDriverBackedSelenium.csproj"], - cmd = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:net45_strongnamed)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:FileVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "netstandard2.0_strongnamed", - srcs = ["Selenium.WebDriverBackedSelenium.csproj"], - cmd = "echo '$(location :webdriverbackedselenium_deps)' && echo '$(location //dotnet/src/webdriver:netstandard2.0_strongnamed)' && dotnet build %SRCS% --configuration Release --framework netstandard2.0 --output %OUT% /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(location //dotnet:keyfile) /p:Version={} /p:AssemblyVersion={} /p:IntermediateOutputPath=%OUT%\..\obj\ /p:FileVersion={} /p:BuildSystem=buck".format(SE_VERSION, ASSEMBLY_VERSION, ASSEMBLY_VERSION), - out = "bin", -) - -genrule( - name = "merge_strongnamed", - srcs = [ - ":net47_strongnamed", - ":net46_strongnamed", - ":net45_strongnamed", - ":netstandard2.0_strongnamed", - ], - cmd_exe = - "setlocal EnableDelayedExpansion && " + - "(if not exist %OUT% mkdir %OUT%) && " + - "for %%G in (%SRCS%) do (" + - "set target_dir=%%G&& " + - "set platform_dir=%%G\..&& " + - "for %%H in (!target_dir!) do (" + - "for %%I in (!platform_dir!) do set full_platform_moniker=%%~nxI&& " + - 'for /f \"delims=_\" %%J in (\"!full_platform_moniker!\") do set platform_moniker=%%J&& ' + - "(if not exist %OUT%\!platform_moniker! mkdir %OUT%\!platform_moniker!) && " + - "copy !target_dir!\Selenium.WebDriverBackedSelenium.dll %OUT%\!platform_moniker! &&" + - "copy !target_dir!\Selenium.WebDriverBackedSelenium.xml %OUT%\!platform_moniker!" + - ")" + - ")", - out = "lib", -) - -genrule( - name = "pack_strongnamed", - srcs = ["Selenium.WebDriverBackedSelenium.StrongNamed.nuspec"], - cmd_exe = "$(exe //third_party/dotnet/nuget:nuget) pack %SRCS% /Properties packageid=Selenium.WebDriverBackedSelenium.StrongNamed;version={} /Version {} /BasePath $(location :merge_strongnamed) /OutputDirectory %OUT%".format(SE_VERSION, SE_VERSION), - out = "dist", - visibility = ["PUBLIC"], -) - -genrule( - name = "webdriverbackedselenium_deps", - srcs = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:injectableSelenium.js", - "//java/client/src/com/thoughtworks/selenium/webdriven:htmlutils.js", - "//javascript/selenium-atoms:findElement", - "//javascript/selenium-atoms:findOption", - "//javascript/selenium-atoms:fireEvent", - "//javascript/selenium-atoms:fireEventAt", - "//javascript/selenium-atoms:getText", - "//javascript/selenium-atoms:linkLocator", - "//javascript/selenium-atoms:isElementPresent", - "//javascript/selenium-atoms:isSomethingSelected", - "//javascript/selenium-atoms:isTextPresent", - "//javascript/selenium-atoms:isVisible", - "//javascript/selenium-atoms:type", - ], - bash = 'echo "$SRCS" > $OUT', - cmd = 'echo "%SRCS%" > %OUT%', - out = "deps.txt", -) diff --git a/dotnet/test/chrome/BUCK b/dotnet/test/chrome/BUCK deleted file mode 100644 index db764e9e91d15..0000000000000 --- a/dotnet/test/chrome/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -genrule( - name = "net45", - srcs = ["WebDriver.Chrome.Tests.csproj"], - bash = "echo '$(location //dotnet/test/common:net45)' && dotnet build $SRCS --configuration Release --framework net45 --output $OUT /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck", - cmd_exe = "echo '$(location //dotnet/test/common:net45)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck", - out = "bin", -) - -genrule( - name = "webdriver_deps", - srcs = [ - "//java/client/test/org/openqa/selenium/environment:webserver", - "//dotnet/src/webdriver:net45", - ], - bash = 'echo "$SRCS" > $OUT', - cmd_exe = 'echo "%SRCS%" > %OUT%', - out = "deps.txt", -) diff --git a/dotnet/test/common/BUCK b/dotnet/test/common/BUCK deleted file mode 100644 index cf6a7b00ea5b7..0000000000000 --- a/dotnet/test/common/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -genrule( - name = "net45", - srcs = ["WebDriver.Common.Tests.csproj"], - bash = "echo '$(location :webdriver_deps)' && dotnet build $SRCS --configuration Release --framework net45 --output $OUT /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck", - cmd_exe = "echo '$(location :webdriver_deps)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck", - out = "bin", - visibility = [ - "//dotnet/test/...", - ], -) - -genrule( - name = "webdriver_deps", - srcs = [ - "//java/client/test/org/openqa/selenium/environment:webserver", - "//dotnet/src/webdriver:net45", - ], - bash = 'echo "$SRCS" > $OUT', - cmd_exe = 'echo "%SRCS%" > %OUT%', - out = "deps.txt", -) diff --git a/dotnet/test/edge/BUCK b/dotnet/test/edge/BUCK deleted file mode 100644 index 684a30e869dba..0000000000000 --- a/dotnet/test/edge/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -genrule( - name = "net45", - srcs = ["WebDriver.Edge.Tests.csproj"], - bash = "echo '$(location //dotnet/test/common:net45)' && dotnet build $SRCS --configuration Release --framework net45 --output $OUT /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck", - cmd_exe = "echo '$(location //dotnet/test/common:net45)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck", - out = "bin", -) - -genrule( - name = "webdriver_deps", - srcs = [ - "//java/client/test/org/openqa/selenium/environment:webserver", - "//dotnet/src/webdriver:net45", - ], - bash = 'echo "$SRCS" > $OUT', - cmd_exe = 'echo "%SRCS%" > %OUT%', - out = "deps.txt", -) diff --git a/dotnet/test/firefox/BUCK b/dotnet/test/firefox/BUCK deleted file mode 100644 index 8aeac974bdaef..0000000000000 --- a/dotnet/test/firefox/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -genrule( - name = "net45", - srcs = ["WebDriver.Firefox.Tests.csproj"], - bash = "echo '$(location //dotnet/test/common:net45)' && dotnet build $SRCS --configuration Release --framework net45 --output $OUT /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck", - cmd_exe = "echo '$(location //dotnet/test/common:net45)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck", - out = "bin", -) - -genrule( - name = "webdriver_deps", - srcs = [ - "//java/client/test/org/openqa/selenium/environment:webserver", - "//dotnet/src/webdriver:net45", - ], - bash = 'echo "$SRCS" > $OUT', - cmd_exe = 'echo "%SRCS%" > %OUT%', - out = "deps.txt", -) diff --git a/dotnet/test/ie/BUCK b/dotnet/test/ie/BUCK deleted file mode 100644 index 5eb2ea5004b32..0000000000000 --- a/dotnet/test/ie/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -genrule( - name = "net45", - srcs = ["WebDriver.IE.Tests.csproj"], - bash = "echo '$(location //dotnet/test/common:net45)' && dotnet build $SRCS --configuration Release --framework net45 --output $OUT /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck", - cmd_exe = "echo '$(location //dotnet/test/common:net45)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck", - out = "bin", -) - -genrule( - name = "webdriver_deps", - srcs = [ - "//java/client/test/org/openqa/selenium/environment:webserver", - "//dotnet/src/webdriver:net45", - ], - bash = 'echo "$SRCS" > $OUT', - cmd_exe = 'echo "%SRCS%" > %OUT%', - out = "deps.txt", -) diff --git a/dotnet/test/safari/BUCK b/dotnet/test/safari/BUCK deleted file mode 100644 index 8f56c28364b48..0000000000000 --- a/dotnet/test/safari/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -genrule( - name = "net45", - srcs = ["WebDriver.Safari.Tests.csproj"], - bash = "echo '$(location //dotnet/test/common:net45)' && dotnet build $SRCS --configuration Release --framework net45 --output $OUT /p:IntermediateOutputPath=$OUT/../obj/ /p:BuildSystem=buck", - cmd_exe = "echo '$(location //dotnet/test/common:net45)' && dotnet build %SRCS% --configuration Release --framework net45 --output %OUT% /p:IntermediateOutputPath=%OUT%\..\obj\ /p:BuildSystem=buck", - out = "bin", -) - -genrule( - name = "webdriver_deps", - srcs = [ - "//java/client/test/org/openqa/selenium/environment:webserver", - "//dotnet/src/webdriver:net45", - ], - bash = 'echo "$SRCS" > $OUT', - cmd_exe = 'echo "%SRCS%" > %OUT%', - out = "deps.txt", -) diff --git a/java/BUCK b/java/BUCK deleted file mode 100644 index 6fe369f7ffdc5..0000000000000 --- a/java/BUCK +++ /dev/null @@ -1,8 +0,0 @@ -export_file( - name = "changelog", - out = "CHANGELOG", - src = "CHANGELOG", - visibility = [ - "//java/...", - ], -) diff --git a/java/client/src/com/thoughtworks/selenium/BUCK b/java/client/src/com/thoughtworks/selenium/BUCK deleted file mode 100644 index c535f59d27822..0000000000000 --- a/java/client/src/com/thoughtworks/selenium/BUCK +++ /dev/null @@ -1,57 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") - -java_library( - name = "api", - srcs = [ - "CommandProcessor.java", - "Selenium.java", - "SeleniumException.java", - "Wait.java", - ], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/condition:condition", - ], -) - -java_library( - name = "selenium", - srcs = [ - "BrowserConfigurationOptions.java", - "DefaultRemoteCommand.java", - "DefaultSelenium.java", - "HttpCommandProcessor.java", - "RemoteCommand.java", - "ScreenshotListener.java", - "SeleneseTestBase.java", - "SeleneseTestCase.java", - "SeleneseTestNgHelper.java", - "SeleniumLogLevels.java", - ], - exported_deps = [ - ":api", - ], - deps = [ - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - "//third_party/java/testng:testng", - ], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/...", - "//java/client/test/com/thoughtworks/selenium/...", - "//java/server/src/com/thoughtworks/selenium:leg-rc", - ], -) - -java_library( - name = "leg-rc", - exported_deps = [ - ":api", - ":selenium", - "//java/client/src/com/thoughtworks/selenium/condition:condition", - "//java/client/src/com/thoughtworks/selenium/webdriven:webdriven", - ], - visibility = [ - "PUBLIC", - ], -) diff --git a/java/client/src/com/thoughtworks/selenium/condition/BUCK b/java/client/src/com/thoughtworks/selenium/condition/BUCK deleted file mode 100644 index 97fedcbc649af..0000000000000 --- a/java/client/src/com/thoughtworks/selenium/condition/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -java_library( - name = "condition", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/com/thoughtworks/selenium:api", - "//third_party/java/junit:junit", - ], - visibility = [ - "//java/client/src/com/thoughtworks/selenium:leg-rc", - ], -) diff --git a/java/client/src/com/thoughtworks/selenium/webdriven/BUCK b/java/client/src/com/thoughtworks/selenium/webdriven/BUCK deleted file mode 100644 index 740b374d8abdf..0000000000000 --- a/java/client/src/com/thoughtworks/selenium/webdriven/BUCK +++ /dev/null @@ -1,112 +0,0 @@ -java_library( - name = "webdriven", - srcs = [ - "CompoundMutator.java", - "ExplodingSupplier.java", - "FunctionDeclaration.java", - "SeleniumMutator.java", - "VariableDeclaration.java", - "WebDriverBackedSelenium.java", - "WebDriverCommandProcessor.java", - ], - resources = [ - "htmlutils.js", - "injectableSelenium.js", - ":findElement", - ":findOption", - ":fireEvent", - ":fireEventAt", - ":getAttribute", - ":getText", - ":linkLocator", - ":isElementPresent", - ":isSomethingSelected", - ":isTextPresent", - ":isVisible", - ":setCursorPosition", - ":type", - # TODO(simons): remove sizzle. There are no longer any browsers that need it. - ":sizzle", - ], - exported_deps = [ - ":emulation-api", - "//java/client/src/com/thoughtworks/selenium/webdriven/commands:commands", - ], - deps = [ - "//java/client/src/com/thoughtworks/selenium:selenium", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/...", - "//java/client/test/com/thoughtworks/selenium/...", - "//java/server/src/com/thoughtworks/selenium/webdriven:rc-emulation-servlet", - "//java/server/src/org/openqa/selenium/server/htmlrunner:htmlrunner", - ], -) - -java_library( - name = "emulation-api", - srcs = [ - "ElementFinder.java", - "JavascriptLibrary.java", - "ScriptMutator.java", - "SeleneseCommand.java", - "Timer.java", - "Windows.java", - ], - deps = [ - "//java/client/src/com/thoughtworks/selenium:selenium", - "//java/client/src/org/openqa/selenium:selenium", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/...", - "//java/client/test/com/thoughtworks/selenium/...", - ], -) - -[export_file( - name = name, - out = "%s.js" % name, - src = "//javascript/selenium-atoms:%s" % name, -) for name in [ - "findElement", - "findOption", - "fireEvent", - "fireEventAt", - "getAttribute", - "getText", - "linkLocator", - "isElementPresent", - "isSomethingSelected", - "isTextPresent", - "isVisible", - "setCursorPosition", - "type", -]] - -export_file( - name = "sizzle", - out = "sizzle.js", - src = "//third_party/js/sizzle:sizzle", -) - -export_file( - name = "injectableSelenium.js", - src = "injectableSelenium.js", - out = "injectableSelenium.js", - visibility = [ - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -export_file( - name = "htmlutils.js", - src = "htmlutils.js", - out = "htmlutils.js", - visibility = [ - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) diff --git a/java/client/src/com/thoughtworks/selenium/webdriven/commands/BUCK b/java/client/src/com/thoughtworks/selenium/webdriven/commands/BUCK deleted file mode 100644 index 368c9fec28758..0000000000000 --- a/java/client/src/com/thoughtworks/selenium/webdriven/commands/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_library( - name = "commands", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/com/thoughtworks/selenium:selenium", - "//java/client/src/com/thoughtworks/selenium/webdriven:emulation-api", - "//java/client/src/org/openqa/selenium:selenium", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:webdriven", - ], -) diff --git a/java/client/src/org/openqa/selenium/BUCK b/java/client/src/org/openqa/selenium/BUCK deleted file mode 100644 index 9cbbae901be07..0000000000000 --- a/java/client/src/org/openqa/selenium/BUCK +++ /dev/null @@ -1,119 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "selenium", - exported_deps = [ - ":core", - "//java/client/src/org/openqa/selenium/io:io", - "//java/client/src/org/openqa/selenium/net:net", - "//java/client/src/org/openqa/selenium/os:os", - ], - visibility = ["PUBLIC"], -) - -export_file( - name = "template-pom", - src = "pom.xml", - out = "pom.xml", - visibility = ["PUBLIC"], -) - -java_library( - name = "core", - maven_coords = "org.seleniumhq.selenium:selenium-api:" + SE_VERSION, - maven_pom_template = ":template-pom", - module_info = "module-info.txt", - srcs = glob([ - "*.java", - "html5/*.java", - "internal/*.java", - "interactions/**/*.java", - "logging/**/*.java", - "mobile/*.java", - ]), - manifest_file = ":manifest", - deps = [ - # Nothing from third party - ], - visibility = [ - "PUBLIC", - ], -) - -genrule( - name = "manifest", - out = "manifest.mf", - cmd = 'python -c "print(\'\\n\\nName: Build-Info\\nSelenium-Version: {}\\n\\n\')" >> $OUT'.format(SE_VERSION), -) - -java_library( - name = "client-combined", - maven_coords = "org.seleniumhq.selenium:selenium-java:" + SE_VERSION, - maven_pom_template = ":template-pom", - exported_deps = [ - ":selenium", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/firefox/xpi:firefox-xpi", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/opera:opera", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/safari:safari", - "//java/client/src/org/openqa/selenium/support:support", - ], - visibility = [ - "//java/server/test/org/openqa/selenium:lib", - ], -) - -# This isn't very elegant, but we can build a dist zip like this: -zip_file( - name = "client-combined-zip", - out = "selenium-java-" + SE_VERSION + ".zip", - srcs = [ - ":client-combined-" + SE_VERSION, - ":client-combined-source-zip", - ":client-libs", - "//java:changelog", - "//:notice", - "//:license", - ], -) - -# The jar file containing merged first party code -java_binary( - name = "client-combined-" + SE_VERSION, - blacklist = [ - "^(?!com.thoughtworks.selenium.*|org.openqa.selenium.*)", - ], - deps = [ - ":client-combined", - ], -) - -# The first party source, as a source jar which we don't want merged -genrule( - name = "client-combined-sources", - out = "client-combined-" + SE_VERSION + "-sources.jar", - cmd = 'mkdir temp && $(exe //java/client/src/org/openqa/selenium/tools:package) $OUT $(@query_paths "inputs(kind(java_library, deps(//java/client/src/org/openqa/selenium:client-combined) - deps(//java/client/src/org/openqa/selenium/tools:package, 1)))")', -) - -# So we hide it in another zip file, which will be merged. Zip file merging isn't recursive. -zip_file( - name = "client-combined-source-zip", - out = "selenium-java-sources.jar", - merge_source_zips = False, - srcs = [ - ":client-combined-sources", - ], -) - -# The third party libraries we depend on, as a source jar for merging -genrule( - name = "client-libs", - out = "libs-sources.jar", - bash = 'mkdir libs && python -c "import sys,shutil;map(lambda f:shutil.copy(f,\'libs\'),[l for l in open(sys.argv[1][1:]).read().strip(\'\\\'\').split(\':\') if l.endswith(\'.jar\') and \'third_party/java\' in l])" $(@classpath :client-combined) && jar cMf $OUT libs/*', - cmd_exe = 'mkdir libs && python -c "import sys,shutil;map(lambda f:shutil.copy(f,\'libs\'),[l for l in open(sys.argv[1][1:]).read().strip(\'\\\'\').split(\';\') if l.endswith(\'.jar\') and \'third_party\\java\' in l])" $(@classpath :client-combined) && jar cMf $OUT libs/*', -) diff --git a/java/client/src/org/openqa/selenium/chrome/BUCK b/java/client/src/org/openqa/selenium/chrome/BUCK deleted file mode 100644 index 5d6e098d130f5..0000000000000 --- a/java/client/src/org/openqa/selenium/chrome/BUCK +++ /dev/null @@ -1,29 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "chrome", - maven_coords = "org.seleniumhq.selenium:selenium-chrome-driver:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/chromium:chromium", - "//java/client/src/org/openqa/selenium/remote:remote", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/chromium/BUCK b/java/client/src/org/openqa/selenium/chromium/BUCK deleted file mode 100644 index 921d24609218b..0000000000000 --- a/java/client/src/org/openqa/selenium/chromium/BUCK +++ /dev/null @@ -1,28 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "chromium", - maven_coords = "org.seleniumhq.selenium:selenium-chromium-driver:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/devtools/BUCK b/java/client/src/org/openqa/selenium/devtools/BUCK deleted file mode 100644 index ad2e692e4356e..0000000000000 --- a/java/client/src/org/openqa/selenium/devtools/BUCK +++ /dev/null @@ -1,14 +0,0 @@ -java_library( - name = "devtools", - srcs = glob(["**/*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/json:json", - "//java/client/src/org/openqa/selenium/remote/http:http", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/remote:", - "//java/client/test/...", - ], -) diff --git a/java/client/src/org/openqa/selenium/edge/BUCK b/java/client/src/org/openqa/selenium/edge/BUCK deleted file mode 100644 index 6e15280e69c50..0000000000000 --- a/java/client/src/org/openqa/selenium/edge/BUCK +++ /dev/null @@ -1,29 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "edge", - maven_coords = "org.seleniumhq.selenium:selenium-edge-driver:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/chromium:chromium", - "//java/client/src/org/openqa/selenium/remote:remote", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/edge/edgehtml/BUCK b/java/client/src/org/openqa/selenium/edge/edgehtml/BUCK deleted file mode 100644 index ebc2196dfef14..0000000000000 --- a/java/client/src/org/openqa/selenium/edge/edgehtml/BUCK +++ /dev/null @@ -1,29 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "edgehtml", - maven_coords = "org.seleniumhq.selenium:selenium-edgehtml-driver:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/edge:edge", - "//java/client/src/org/openqa/selenium/remote:remote", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/firefox/BUCK b/java/client/src/org/openqa/selenium/firefox/BUCK deleted file mode 100644 index 135f1f51c06c7..0000000000000 --- a/java/client/src/org/openqa/selenium/firefox/BUCK +++ /dev/null @@ -1,37 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "firefox", - maven_coords = "org.seleniumhq.selenium:selenium-firefox-driver:jar:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - srcs = glob(["*.java"]), - resources = [ - ":prefs", - ], - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) - -export_file( - name = "prefs", - src = "//third_party/js/selenium:webdriver_prefs", - out = "webdriver_prefs.json", -) diff --git a/java/client/src/org/openqa/selenium/firefox/xpi/BUCK b/java/client/src/org/openqa/selenium/firefox/xpi/BUCK deleted file mode 100644 index e6bcb0df95a49..0000000000000 --- a/java/client/src/org/openqa/selenium/firefox/xpi/BUCK +++ /dev/null @@ -1,51 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "firefox-xpi", - maven_coords = "org.seleniumhq.selenium:selenium-firefox-xpi-driver:jar:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - srcs = glob(["*.java"]), - resources = [ - ":amd64", - ":i386", - ":webdriver.xpi", - ], - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) - -export_file( - name = "webdriver.xpi", - src = "//third_party/js/selenium:webdriver", -) - -export_file( - name = "i386", - src = "//cpp/prebuilt:noblur32", - out = "x86/x_ignore_nofocus.so", -) - -export_file( - name = "amd64", - src = "//cpp/prebuilt:noblur64", - out = "amd64/x_ignore_nofocus.so", -) diff --git a/java/client/src/org/openqa/selenium/ie/BUCK b/java/client/src/org/openqa/selenium/ie/BUCK deleted file mode 100644 index d3732f6ceaba0..0000000000000 --- a/java/client/src/org/openqa/selenium/ie/BUCK +++ /dev/null @@ -1,28 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "ie", - maven_coords = "org.seleniumhq.selenium:selenium-ie-driver:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/io/BUCK b/java/client/src/org/openqa/selenium/io/BUCK deleted file mode 100644 index 507087eabf469..0000000000000 --- a/java/client/src/org/openqa/selenium/io/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -java_library( - name = "io", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:core", - ], - visibility = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/os:os", - ], -) diff --git a/java/client/src/org/openqa/selenium/json/BUCK b/java/client/src/org/openqa/selenium/json/BUCK deleted file mode 100644 index 77d61e64a3e1f..0000000000000 --- a/java/client/src/org/openqa/selenium/json/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_library( - name = "json", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:core", - ], - visibility = [ - "//java/client/src/org/openqa/...", - "//java/client/test/org/openqa/...", - "//java/server/src/org/openqa/...", - "//java/server/test/org/openqa/...", - ], -) diff --git a/java/client/src/org/openqa/selenium/lift/BUCK b/java/client/src/org/openqa/selenium/lift/BUCK deleted file mode 100644 index cf821eed346d3..0000000000000 --- a/java/client/src/org/openqa/selenium/lift/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") - -java_library( - name = "lift", - srcs = glob(["**/*.java"]), - maven_coords = "org.seleniumhq.selenium:lift:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/support:support", - "//third_party/java/guava:guava", - "//third_party/java/hamcrest:hamcrest-library", - "//third_party/java/junit:junit", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/net/BUCK b/java/client/src/org/openqa/selenium/net/BUCK deleted file mode 100644 index 46455e40f62fb..0000000000000 --- a/java/client/src/org/openqa/selenium/net/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -java_library( - name = "net", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:core", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/client/src/org/openqa/selenium:selenium", - ], -) diff --git a/java/client/src/org/openqa/selenium/opera/BUCK b/java/client/src/org/openqa/selenium/opera/BUCK deleted file mode 100644 index cf61575ed8616..0000000000000 --- a/java/client/src/org/openqa/selenium/opera/BUCK +++ /dev/null @@ -1,28 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "opera", - maven_coords = "org.seleniumhq.selenium:selenium-opera-driver:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/os/BUCK b/java/client/src/org/openqa/selenium/os/BUCK deleted file mode 100644 index f52e22c083dfd..0000000000000 --- a/java/client/src/org/openqa/selenium/os/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_library( - name = "os", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:core", - "//java/client/src/org/openqa/selenium/io:io", - "//third_party/java/commons:commons-exec", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium:tests", - "//java/client/test/org/openqa/selenium/build:build", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - ], -) diff --git a/java/client/src/org/openqa/selenium/remote/BUCK b/java/client/src/org/openqa/selenium/remote/BUCK deleted file mode 100644 index fb7aeddce519c..0000000000000 --- a/java/client/src/org/openqa/selenium/remote/BUCK +++ /dev/null @@ -1,151 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "api", - srcs = [ - "Augmentable.java", - "Command.java", - "CommandPayload.java", - "CommandExecutor.java", - "ErrorCodes.java", - "Response.java", - "ScreenshotException.java", - "SessionId.java", - ], - deps = [ - "//java/client/src/org/openqa/selenium:core", - "//java/client/src/org/openqa/selenium/json:json", - "//third_party/java/guava:guava", - ], -) - -java_library( - name = "capabilities", - srcs = [ - "BrowserType.java", - "CapabilityType.java", - "DesiredCapabilities.java", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/remote/session:session", - ], -) - -java_library( - name = "http-session-id", - srcs = ["HttpSessionId.java"], -) - -java_library( - name = "remote", - maven_coords = "org.seleniumhq.selenium:selenium-remote-driver:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - srcs = [ - "Augmenter.java", - "AugmenterProvider.java", - "AddRotatable.java", - "BaseAugmenter.java", - "InterfaceImplementation.java", - "JdkAugmenter.java", - "html5/AddApplicationCache.java", - "html5/AddLocationContext.java", - "html5/AddWebStorage.java", - "mobile/AddNetworkConnection.java", - ], - exported_deps = [ - ":remote-lib", - "//java/client/src/org/openqa/selenium:selenium", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//third_party/java/bytebuddy:byte-buddy", - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) - -java_library( - name = "remote-lib", - srcs = [ - "AbstractDriverOptions.java", - "AcceptedW3CCapabilityKeys.java", - "CommandCodec.java", - "CommandInfo.java", - "Dialect.java", - "DriverCommand.java", - "ErrorHandler.java", - "ExecuteMethod.java", - "FileDetector.java", - "HandshakeResponse.java", - "HttpCommandExecutor.java", - "InitialHandshakeResponse.java", - "JsonToWebElementConverter.java", - "JsonWireProtocolResponse.java", - "LocalFileDetector.java", - "NewSessionPayload.java", - "ProtocolHandshake.java", - "RemoteExecuteMethod.java", - "RemoteKeyboard.java", - "RemoteLogs.java", - "RemoteMouse.java", - "RemoteStatus.java", - "RemoteTouchScreen.java", - "RemoteWebDriver.java", - "RemoteWebDriverBuilder.java", - "RemoteWebElement.java", - "ResponseCodec.java", - "UnreachableBrowserException.java", - "UselessFileDetector.java", - "W3CHandshakeResponse.java", - "html5/RemoteApplicationCache.java", - "html5/RemoteLocalStorage.java", - "html5/RemoteLocationContext.java", - "html5/RemoteSessionStorage.java", - "html5/RemoteWebStorage.java", - "internal/JsonToWebElementConverter.java", - "internal/WebElementToJsonConverter.java", - "mobile/RemoteNetworkConnection.java", - ] + glob([ - "codec/*.java", - "codec/jwp/*.java", - "codec/w3c/*.java", - "service/*.java", - ]), - resources = [ - ":get-attribute", - ":is-displayed", - ], - exported_deps = [ - ":api", - ":capabilities", - ":http-session-id", - "//java/client/src/org/openqa/selenium/devtools:devtools", - "//java/client/src/org/openqa/selenium/remote/http:http", - "//java/client/src/org/openqa/selenium/json:json", - "//java/client/src/org/openqa/selenium/remote/session:session", - "//third_party/java/okhttp3:okhttp", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote/http/okhttp:okhttp", - "//third_party/java/guava:guava", - ], -) - -export_file( - name = "get-attribute", - src = "//javascript/webdriver/atoms:get-attribute", - out = "getAttribute.js", -) - -export_file( - name = "is-displayed", - src = "//javascript/atoms/fragments:is-displayed", - out = "isDisplayed.js", -) diff --git a/java/client/src/org/openqa/selenium/remote/http/BUCK b/java/client/src/org/openqa/selenium/remote/http/BUCK deleted file mode 100644 index dd56749b04c91..0000000000000 --- a/java/client/src/org/openqa/selenium/remote/http/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_library( - name = "http", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/json:json", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/devtools:", - "//java/client/src/org/openqa/selenium/remote/...", - ], -) diff --git a/java/client/src/org/openqa/selenium/remote/http/okhttp/BUCK b/java/client/src/org/openqa/selenium/remote/http/okhttp/BUCK deleted file mode 100644 index 055bee9dcbddb..0000000000000 --- a/java/client/src/org/openqa/selenium/remote/http/okhttp/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_library( - name = "okhttp", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote/http:http", - "//third_party/java/guava:guava", - "//third_party/java/okhttp3:okhttp", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/remote:", - "//java/client/test/org/openqa/selenium/remote/http/okhttp:", - ], -) diff --git a/java/client/src/org/openqa/selenium/remote/session/BUCK b/java/client/src/org/openqa/selenium/remote/session/BUCK deleted file mode 100644 index aca7629d55d30..0000000000000 --- a/java/client/src/org/openqa/selenium/remote/session/BUCK +++ /dev/null @@ -1,12 +0,0 @@ -java_library( - name = "session", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:core", - "//java/client/src/org/openqa/selenium/remote:capabilities", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/remote:remote-lib", - ], -) diff --git a/java/client/src/org/openqa/selenium/remote/tracing/BUCK b/java/client/src/org/openqa/selenium/remote/tracing/BUCK deleted file mode 100644 index 5538fb6466095..0000000000000 --- a/java/client/src/org/openqa/selenium/remote/tracing/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -java_library( - name = "tracing", - srcs = glob(["*.java"]), - exported_deps = [ - # Required for the "register" API - "//third_party/java/opentracing:opentracing-api", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/http:http", - "//third_party/java/contrib:opentracing-tracerresolver", - "//third_party/java/guava:guava", - "//third_party/java/opentracing:opentracing-noop", - "//third_party/java/opentracing:opentracing-util", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/remote:", - "//java/client/test/org/openqa/selenium/remote/tracing:", - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/client/src/org/openqa/selenium/safari/BUCK b/java/client/src/org/openqa/selenium/safari/BUCK deleted file mode 100644 index f1af1c55fcd1c..0000000000000 --- a/java/client/src/org/openqa/selenium/safari/BUCK +++ /dev/null @@ -1,28 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "safari", - maven_coords = "org.seleniumhq.selenium:selenium-safari-driver:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/support/BUCK b/java/client/src/org/openqa/selenium/support/BUCK deleted file mode 100644 index 6f8fbc8cf4998..0000000000000 --- a/java/client/src/org/openqa/selenium/support/BUCK +++ /dev/null @@ -1,48 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -java_library( - name = "support", - srcs = [ - "Color.java", - "Colors.java", - "ThreadGuard.java", - ], - maven_coords = "org.seleniumhq.selenium:selenium-support:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - exported_deps = [ - ":page-factory", - "//java/client/src/org/openqa/selenium/support/events:events", - "//java/client/src/org/openqa/selenium/support/ui:clock", - "//java/client/src/org/openqa/selenium/support/ui:components", - "//java/client/src/org/openqa/selenium/support/ui:elements", - "//java/client/src/org/openqa/selenium/support/ui:wait", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - ], - visibility = ["PUBLIC"], -) - -java_library( - name = "page-factory", - srcs = [ - "AbstractFindByBuilder.java", - "ByIdOrName.java", - "CacheLookup.java", - "FindAll.java", - "FindBy.java", - "FindBys.java", - "How.java", - "PageFactory.java", - "PageFactoryFinder.java", - ] + glob(["pagefactory/*.java", "pagefactory/internal/*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/support/ui:clock", - "//java/client/src/org/openqa/selenium/support/ui:components", - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/support/events/BUCK b/java/client/src/org/openqa/selenium/support/events/BUCK deleted file mode 100644 index 771c459d47861..0000000000000 --- a/java/client/src/org/openqa/selenium/support/events/BUCK +++ /dev/null @@ -1,8 +0,0 @@ -java_library( - name = "events", - srcs = glob(["**/*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/support/ui/BUCK b/java/client/src/org/openqa/selenium/support/ui/BUCK deleted file mode 100644 index fd244e3b4c900..0000000000000 --- a/java/client/src/org/openqa/selenium/support/ui/BUCK +++ /dev/null @@ -1,55 +0,0 @@ -java_library( - name = "clock", - srcs = [ - "Sleeper.java", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) - -java_library( - name = "components", - srcs = [ - "LoadableComponent.java", - "SlowLoadableComponent.java", - ], - deps = [ - ":clock", - "//java/client/src/org/openqa/selenium:selenium", - ], - visibility = ["PUBLIC"], -) - -java_library( - name = "elements", - srcs = [ - "Quotes.java", - "ISelect.java", - "Select.java", - "UnexpectedTagNameException.java", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - ], - visibility = ["PUBLIC"], -) - -java_library( - name = "wait", - srcs = [ - "ExpectedCondition.java", - "ExpectedConditions.java", - "FluentWait.java", - "Wait.java", - "WebDriverWait.java", - ], - deps = [ - ":clock", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) diff --git a/java/client/src/org/openqa/selenium/tools/BUCK b/java/client/src/org/openqa/selenium/tools/BUCK deleted file mode 100644 index e2c98f673c11a..0000000000000 --- a/java/client/src/org/openqa/selenium/tools/BUCK +++ /dev/null @@ -1,44 +0,0 @@ -java_library( - name = "package-lib", - srcs = [ - "PackageParser.java", - ], - deps = [ - "//third_party/java/javaparser:javaparser-core", - "//third_party/java/guava:guava", - ], -) - -java_binary( - name = "package", - main_class = "org.openqa.selenium.tools.PackageParser", - deps = [ - ":package-lib", - ], - visibility = [ - "//java/client/src/org/openqa/selenium:client-combined-sources", - "//java/server/src/org/openqa/selenium/grid:selenium-server-sources", - ], -) - -java_library( - name = "module-maker-lib", - srcs = [ - "ModuleMaker.java", - ], - deps = [ - "//third_party/java/bytebuddy:byte-buddy", - "//third_party/java/javaparser:javaparser-core", - ], -) - -java_binary( - name = "module-maker", - main_class = "org.openqa.selenium.tools.ModuleMaker", - deps = [ - ":module-maker-lib", - ], - visibility = [ - "PUBLIC", - ], -) diff --git a/java/client/test/com/thoughtworks/selenium/BUCK b/java/client/test/com/thoughtworks/selenium/BUCK deleted file mode 100644 index 8907483041a00..0000000000000 --- a/java/client/test/com/thoughtworks/selenium/BUCK +++ /dev/null @@ -1,80 +0,0 @@ -java_test( - name = "chrome-rc-test", - srcs = [ - "WebDriverSeleniumTestSuite.java", - ], - vm_args = [ - "-Dselenium.browser=chrome", - ], - deps = [ - ":tests", - "//third_party/java/junit:junit", - ], -) - -java_test( - name = "firefox-rc-test", - srcs = [ - "WebDriverSeleniumTestSuite.java", - ], - vm_args = [ - "-Dselenium.browser=ff", - ], - deps = [ - ":tests", - "//third_party/java/junit:junit", - ], -) - -java_test( - name = "ie-rc-test", - srcs = [ - "WebDriverSeleniumTestSuite.java", - ], - vm_args = [ - "-Dselenium.browser=ie", - ], - deps = [ - ":tests", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "tests", - srcs = glob([ - "*.java", - "condition/*.java", - "corebased/*.java", - "testing/*.java", - ]), - resources = [ - "testHelpers.js", - ], - deps = [ - "//java/client/src/com/thoughtworks/selenium:leg-rc", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/opera:opera", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/safari:safari", - "//java/client/test/org/openqa/selenium:helpers", - "//java/server/test/org/openqa/selenium:server-with-tests", - "//java/client/test/org/openqa/selenium/build:build", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//java/client/test/org/openqa/selenium/testing/drivers:browser", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - "//third_party/java/guava:guava", - "//third_party/java/jetty:jetty", - "//third_party/java/junit:junit", - "//third_party/java/mockito:mockito-core", - "//third_party/java/servlet:javax.servlet-api", - ], - visibility = [ - "//java/server/test/org/openqa/selenium/server/htmlrunner:", - ], -) diff --git a/java/client/test/com/thoughtworks/selenium/webdriven/BUCK b/java/client/test/com/thoughtworks/selenium/webdriven/BUCK deleted file mode 100644 index 3c7fd1dc48815..0000000000000 --- a/java/client/test/com/thoughtworks/selenium/webdriven/BUCK +++ /dev/null @@ -1,42 +0,0 @@ -java_test( - name = "LargeTests", - srcs = [ - "LargeTests.java", - "ScriptMutatorTest.java", - "WebDriverBackedSeleniumLargeTest.java", - ], - deps = [ - "//java/client/src/com/thoughtworks/selenium:leg-rc", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) - -java_test( - name = "small-tests", - srcs = [ - "SmallTests.java", - ], - deps = [ - ":tests", - "//third_party/java/junit:junit", - ], - visibility = [ - "//java/client/test/org/openqa/selenium:small-tests", - ], -) - -java_library( - name = "tests", - srcs = glob(["*Test.java"], exclude = ["ScriptMutatorTest.java", "WebDriverBackedSeleniumLargeTest.java"]), - deps = [ - "//java/client/src/com/thoughtworks/selenium:leg-rc", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium:helpers", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - "//third_party/java/mockito:mockito-core", - ], -) diff --git a/java/client/test/org/openqa/selenium/BUCK b/java/client/test/org/openqa/selenium/BUCK deleted file mode 100644 index 7acd50cba4991..0000000000000 --- a/java/client/test/org/openqa/selenium/BUCK +++ /dev/null @@ -1,97 +0,0 @@ -java_test( - name = "small-tests", - srcs = [ - "SmallTests.java", - ], - labels = [ - "small", - ], - deps = [ - ":tests", - "//java/client/test/com/thoughtworks/selenium/webdriven:small-tests", - "//java/client/test/org/openqa/selenium/support:small-tests", - "//java/client/test/org/openqa/selenium/testing:small-tests", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "large-tests", - srcs = [ - "StandardSeleniumTests.java", - ], - deps = [ - ":tests", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/junit:junit", - ], - visibility = [ - "//java/client/test/...", - ], -) - -java_library( - name = "helpers", - srcs = [ - "ParallelTestRunner.java", - "StubDriver.java", - "WaitingConditions.java", - "WrappedWebElement.java", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/support/ui:wait", - "//java/client/test/org/openqa/selenium/environment:environment", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], - visibility = [ - "//java/client/test/...", - "//java/server/test/...", - ], -) - -java_library( - name = "tests", - srcs = glob([ - "*Test.java", - "html5/*.java", - "internal/*Test.java", - "interactions/*.java", - "interactions/touch/*Test.java", - "io/*Test.java", - "logging/*.java", - "net/*Test.java", - "os/*Test.java", - ]) + - [ - "interactions/touch/TouchTestBase.java", - "net/StubNetworkInterfaceProvider.java", - ], - exported_deps = [ - "//java/client/test/org/openqa/selenium/support:tests", - ], - deps = [ - ":helpers", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support:support", - "//java/client/src/org/openqa/selenium/support/ui:wait", - "//java/client/test/org/openqa/selenium/build:build", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - "//third_party/java/guava:guava", - "//third_party/java/assertj:assertj", - "//third_party/java/jetty:jetty", - "//third_party/java/junit:junit", - "//third_party/java/littleshoot:littleproxy", - "//third_party/java/mockito:mockito-core", - "//third_party/java/servlet:javax.servlet-api", - ], - visibility = [ - "//java/client/test/...", - ], -) diff --git a/java/client/test/org/openqa/selenium/atoms/BUCK b/java/client/test/org/openqa/selenium/atoms/BUCK deleted file mode 100644 index 646527c0547e5..0000000000000 --- a/java/client/test/org/openqa/selenium/atoms/BUCK +++ /dev/null @@ -1,42 +0,0 @@ -export_file( - name = "execute_script", - out = "execute_script.js", - src = "//javascript/atoms/fragments:execute_script", -) - -export_file( - name = "atoms_inputs", - out = "atoms_inputs.js", - src = "//javascript/webdriver/atoms:inputs", -) - -java_test( - name = "test", - srcs = ["AtomsRhinoTests.java"], - labels = [ - "small", - ], - resources = [ - ":execute_script", - ":atoms_inputs", - ], - deps = [ - ":tests", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "tests", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/json:json", - "//java/client/test/org/openqa/selenium:helpers", - "//java/client/test/org/openqa/selenium/build:build", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/htmlunit:htmlunit", - "//third_party/java/htmlunit:htmlunit-core-js", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/build/BUCK b/java/client/test/org/openqa/selenium/build/BUCK deleted file mode 100644 index ee41051997a85..0000000000000 --- a/java/client/test/org/openqa/selenium/build/BUCK +++ /dev/null @@ -1,14 +0,0 @@ -java_library( - name = "build", - srcs = glob(["*.java"]), - visibility = [ - "//java/client/test/...", - "//java/server/test/...", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/os:os", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/chrome/BUCK b/java/client/test/org/openqa/selenium/chrome/BUCK deleted file mode 100644 index ab791f41d64d5..0000000000000 --- a/java/client/test/org/openqa/selenium/chrome/BUCK +++ /dev/null @@ -1,32 +0,0 @@ -java_test( - name = "chrome", - srcs = [ - "ChromeDriverTests.java", - ], - vm_args = [ - "-Dselenium.browser=chrome", - ], - deps = [ - ":tests", - "//java/client/test/org/openqa/selenium:large-tests", - "//java/client/test/org/openqa/selenium/devtools:devtools", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "tests", - srcs = glob(["*Test.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/devtools:devtools", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support/ui:wait", - "//java/client/test/org/openqa/selenium/build:build", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/devtools/BUCK b/java/client/test/org/openqa/selenium/devtools/BUCK deleted file mode 100644 index 6f607933faad4..0000000000000 --- a/java/client/test/org/openqa/selenium/devtools/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_library( - name = "devtools", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/devtools:devtools", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/assertj:assertj", - "//third_party/java/junit:junit", - "//third_party/java/guava:guava" - ], - visibility = ["//java/client/test/..."], -) diff --git a/java/client/test/org/openqa/selenium/edge/BUCK b/java/client/test/org/openqa/selenium/edge/BUCK deleted file mode 100644 index 8a6a463b0ed3b..0000000000000 --- a/java/client/test/org/openqa/selenium/edge/BUCK +++ /dev/null @@ -1,47 +0,0 @@ -java_test( - name = "edge", - srcs = [ - "EdgeDriverTests.java", - ], - vm_args = [ - "-Dselenium.browser=edge", - "-Dwebdriver.edge.edgehtml=false" - ], - deps = [ - ":tests", - "//java/client/test/org/openqa/selenium:large-tests", - "//third_party/java/junit:junit", - ], -) - -java_test( - name = "edgehtml", - srcs = [ - "EdgeDriverTests.java", - ], - vm_args = [ - "-Dselenium.browser=edge" - ], - deps = [ - ":tests", - "//java/client/test/org/openqa/selenium:large-tests", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "tests", - srcs = glob(["*Test.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge:edge", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support/ui:wait", - "//java/client/test/org/openqa/selenium/build:build", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/environment/BUCK b/java/client/test/org/openqa/selenium/environment/BUCK deleted file mode 100644 index 7d8a2a0c826a3..0000000000000 --- a/java/client/test/org/openqa/selenium/environment/BUCK +++ /dev/null @@ -1,58 +0,0 @@ -java_library( - name = "environment", - srcs = glob(["*.java", "webserver/*.java"], exclude = ["**/*Test.java", "**/*TestBase.java"]), - provided_deps = [ - "//third_party/java/servlet:javax.servlet-api", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/test/org/openqa/selenium/build:build", - "//third_party/java/guava:guava", - "//third_party/java/jetty:jetty", - ], - visibility = [ - "//java/client/test/...", - "//java/server/test/...", - ], -) - -java_binary( - name = "webserver", - main_class = "org.openqa.selenium.environment.webserver.JettyAppServer", - deps = [ - ":environment", - ], - visibility = [ - "//dotnet/test/...", - ], -) - -java_library( - name = "webserver-test-base", - srcs = [ - "webserver/AppServerTestBase.java", - ], - deps = [ - ":environment", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support:support", - "//third_party/java/junit:junit", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - ], -) - -java_test( - name = "webserver-test", - srcs = [ - "webserver/JettyAppServerTest.java", - "webserver/JreAppServerTest.java", - ], - vm_args = [ - "-Dselenium.browser=ff", - ], - deps = [ - ":environment", - ":webserver-test-base", - ], -) diff --git a/java/client/test/org/openqa/selenium/firefox/BUCK b/java/client/test/org/openqa/selenium/firefox/BUCK deleted file mode 100644 index db2db7412489b..0000000000000 --- a/java/client/test/org/openqa/selenium/firefox/BUCK +++ /dev/null @@ -1,67 +0,0 @@ -java_test( - name = "test-synthesized", - srcs = [ - "SynthesizedFirefoxDriverTests.java", - ], - vm_args = [ - "-Dselenium.browser=ff", - "-Dwebdriver.firefox.marionette=false", - ], - deps = [ - ":tests", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium:large-tests", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/junit:junit", - ], -) - -java_test( - name = "marionette", - srcs = [ - "SynthesizedFirefoxDriverTests.java", - ], - vm_args = [ - "-Dselenium.browser=ff", - "-Dwebdriver.firefox.marionette=true", - ], - deps = [ - ":tests", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium:large-tests", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "tests", - srcs = glob(["*Test.java"]) + [ - "FirefoxSpecificTests.java", - ], - resources = [ - ":firebug", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/firefox/xpi:firefox-xpi", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support/ui:wait", - "//java/client/test/org/openqa/selenium:helpers", - "//java/client/test/org/openqa/selenium:tests", - "//java/client/test/org/openqa/selenium/build:build", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - "//third_party/java/guava:guava", - "//third_party/java/assertj:assertj", - "//third_party/java/junit:junit", - "//third_party/java/mockito:mockito-core", - ], -) - -export_file( - name = "firebug", - src = "//third_party/firebug:firebug", - out = "firebug-1.5.0-fx.xpi", -) diff --git a/java/client/test/org/openqa/selenium/htmlunit/BUCK b/java/client/test/org/openqa/selenium/htmlunit/BUCK deleted file mode 100644 index 83680b27f07d6..0000000000000 --- a/java/client/test/org/openqa/selenium/htmlunit/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -java_test( - name = "htmlunit", - srcs = [ - "HtmlUnitDriverTests.java", - ], - vm_args = [ - "-Dselenium.browser=htmlunit", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/test/org/openqa/selenium:large-tests", - "//java/client/test/org/openqa/selenium:tests", - "//third_party/java/junit:junit", - "//third_party/java/selenium:htmlunit-driver", - ], -) diff --git a/java/client/test/org/openqa/selenium/ie/BUCK b/java/client/test/org/openqa/selenium/ie/BUCK deleted file mode 100644 index b977ab234f1a1..0000000000000 --- a/java/client/test/org/openqa/selenium/ie/BUCK +++ /dev/null @@ -1,34 +0,0 @@ -java_test( - name = "ie", - srcs = [ - "InternetExplorerDriverTests.java", - ], - vm_args = [ - "-Dselenium.browser=ie", - "-Dselenium.browser.native_events=true", - ], - deps = [ - ":tests", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium:large-tests", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "tests", - srcs = glob(["*Test.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support/ui:wait", - "//java/client/test/org/openqa/selenium:helpers", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/javascript/BUCK b/java/client/test/org/openqa/selenium/javascript/BUCK deleted file mode 100644 index 2840c4a0a0801..0000000000000 --- a/java/client/test/org/openqa/selenium/javascript/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -java_library( - name = "javascript", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium/build:build", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - "//third_party/java/guava:guava", - "//third_party/java/assertj:assertj", - "//third_party/java/junit:junit", - ], - visibility = [ - "//javascript/...", - ], -) diff --git a/java/client/test/org/openqa/selenium/json/BUCK b/java/client/test/org/openqa/selenium/json/BUCK deleted file mode 100644 index f1bd269f9867d..0000000000000 --- a/java/client/test/org/openqa/selenium/json/BUCK +++ /dev/null @@ -1,15 +0,0 @@ -java_test( - name = "small-tests", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//third_party/java/gson:gson", - "//third_party/java/guava:guava", - "//third_party/java/assertj:assertj", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/lift/BUCK b/java/client/test/org/openqa/selenium/lift/BUCK deleted file mode 100644 index d79822c17076d..0000000000000 --- a/java/client/test/org/openqa/selenium/lift/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -java_test( - name = "lift", - srcs = glob([ - "*.java", - "find/*.java", - "match/*.java", - ]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/lift:lift", - "//java/client/src/org/openqa/selenium/support/ui:clock", - "//java/client/test/org/openqa/selenium/support:clock", - "//java/client/test/org/openqa/selenium/support:tests", - "//third_party/java/hamcrest:hamcrest-library", - "//third_party/java/junit:junit", - "//third_party/java/mockito:mockito-core", - ], -) diff --git a/java/client/test/org/openqa/selenium/opera/BUCK b/java/client/test/org/openqa/selenium/opera/BUCK deleted file mode 100644 index 45ddbd60b6fd1..0000000000000 --- a/java/client/test/org/openqa/selenium/opera/BUCK +++ /dev/null @@ -1,27 +0,0 @@ -java_test( - name = "opera", - srcs = [ - "OperaBlinkDriverTests.java", - ], - vm_args = [ - "-Dselenium.browser=operablink", - ], - deps = [ - ":tests", - "//java/client/test/org/openqa/selenium:large-tests", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "tests", - srcs = glob(["*Test.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/opera:opera", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/assertj:assertj", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/remote/BUCK b/java/client/test/org/openqa/selenium/remote/BUCK deleted file mode 100644 index 49457dcdeb4c3..0000000000000 --- a/java/client/test/org/openqa/selenium/remote/BUCK +++ /dev/null @@ -1,95 +0,0 @@ -java_test( - name = "small-tests", - srcs = [ - "AugmenterTest.java", - "BaseAugmenterTest.java", - "DesiredCapabilitiesTest.java", - "ErrorHandlerTest.java", - "JdkAugmenterTest.java", - "ProtocolHandshakeTest.java", - "RemoteLogsTest.java", - "RemoteWebDriverInitializationTest.java", - "RemoteWebDriverUnitTest.java", - "W3CHandshakeResponseTest.java", - "W3CRemoteDriverTest.java", - "internal/HttpClientTestBase.java", - "internal/WebElementToJsonConverterTest.java", - ], - labels = [ - "small", - ], - provided_deps = [ - "//third_party/java/servlet:javax.servlet-api", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//third_party/java/guava:guava", - "//third_party/java/assertj:assertj", - "//third_party/java/junit:junit", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge:edge", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/firefox/xpi:firefox-xpi", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/test/org/openqa/selenium:helpers", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/guava:guava", - "//third_party/java/assertj:assertj", - "//third_party/java/jetty:jetty", - "//third_party/java/junit:junit", - "//third_party/java/mockito:mockito-core", - ], -) - -java_test( - name = "remote-driver-tests", - srcs = [ - "RemoteWebDriverTests.java", - ], - vm_args = [ - "-Dselenium.browser=ff", - "-Dselenium.browser.remote=true", - ], - deps = [ - ":remote-driver-test-lib", - "//java/client/test/org/openqa/selenium:large-tests", - "//third_party/java/junit:junit", - ], -) - -java_test( - name = "remote-driver-grid-tests", - srcs = [ - "RemoteWebDriverTests.java", - ], - vm_args = [ - "-Dselenium.browser=ff", - "-Dselenium.browser.grid=true", - ], - deps = [ - ":remote-driver-test-lib", - "//java/client/test/org/openqa/selenium:large-tests", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "remote-driver-test-lib", - srcs = [ - "RemoteSpecificTests.java", - "RemoteWebDriverScreenshotTest.java", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/remote/codec/jwp/BUCK b/java/client/test/org/openqa/selenium/remote/codec/jwp/BUCK deleted file mode 100644 index 696cff7e8e6e3..0000000000000 --- a/java/client/test/org/openqa/selenium/remote/codec/jwp/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_test( - name = "jwp", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/remote/codec/w3c/BUCK b/java/client/test/org/openqa/selenium/remote/codec/w3c/BUCK deleted file mode 100644 index d82f48ce9d6e0..0000000000000 --- a/java/client/test/org/openqa/selenium/remote/codec/w3c/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_test( - name = "w3c", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/remote/tracing/BUCK b/java/client/test/org/openqa/selenium/remote/tracing/BUCK deleted file mode 100644 index 1ab7b5f36664d..0000000000000 --- a/java/client/test/org/openqa/selenium/remote/tracing/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -java_test( - name = "tracing", - labels = [ - "small", - ], - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/client/test/org/openqa/selenium/remote/tracing/simple:simple", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/client/test/org/openqa/selenium/remote/tracing/simple:simple", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/client/test/org/openqa/selenium/remote/tracing/simple/BUCK b/java/client/test/org/openqa/selenium/remote/tracing/simple/BUCK deleted file mode 100644 index ad69e08499268..0000000000000 --- a/java/client/test/org/openqa/selenium/remote/tracing/simple/BUCK +++ /dev/null @@ -1,12 +0,0 @@ -java_library( - name = "simple", - srcs = glob(["*.java"]), - deps = [ - "//third_party/java/opentracing:opentracing-util", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/client/test/org/openqa/...", - "//java/server/test/org/openqa/...", - ], -) diff --git a/java/client/test/org/openqa/selenium/safari/BUCK b/java/client/test/org/openqa/selenium/safari/BUCK deleted file mode 100644 index b9c9f1545c0ad..0000000000000 --- a/java/client/test/org/openqa/selenium/safari/BUCK +++ /dev/null @@ -1,34 +0,0 @@ -java_test( - name = "safari", - srcs = ["SafariDriverTests.java"], - vm_args = [ - "-Dselenium.browser=safari", - ], - deps = [ - ":tests", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium:large-tests", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "tests", - srcs = glob(["*Test.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/safari:safari", - "//java/client/src/org/openqa/selenium/support/ui:wait", - "//java/client/test/org/openqa/selenium:helpers", - "//java/client/test/org/openqa/selenium:tests", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/client/test/org/openqa/selenium/testing:annotations", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - "//third_party/java/mockito:mockito-core", - ], -) diff --git a/java/client/test/org/openqa/selenium/support/BUCK b/java/client/test/org/openqa/selenium/support/BUCK deleted file mode 100644 index b2141fdb9c625..0000000000000 --- a/java/client/test/org/openqa/selenium/support/BUCK +++ /dev/null @@ -1,75 +0,0 @@ -java_test( - name = "small-tests", - srcs = [ - "SmallTests.java", - ], - labels = [ - "small", - ], - deps = [ - ":tests", - "//third_party/java/junit:junit", - ], - visibility = [ - "//java/client/test/org/openqa/selenium:small-tests", - ], -) - -java_test( - name = "large-tests", - srcs = [ - "LargeTests.java", - ], - vm_args = [ - "-Dselenium.browser=ff", - ], - deps = [ - ":tests", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "tests", - srcs = glob(["**/*Test.java"], exclude = ["devtools/*Test.java"]), - deps = [ - ":clock", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support:page-factory", - "//java/client/src/org/openqa/selenium/support:support", - "//java/client/src/org/openqa/selenium/support/events:events", - "//java/client/src/org/openqa/selenium/support/ui:clock", - "//java/client/src/org/openqa/selenium/support/ui:components", - "//java/client/src/org/openqa/selenium/support/ui:elements", - "//java/client/src/org/openqa/selenium/support/ui:wait", - "//java/client/test/org/openqa/selenium:helpers", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//third_party/java/guava:guava", - "//third_party/java/assertj:assertj", - "//third_party/java/junit:junit", - "//third_party/java/mockito:mockito-core", - ], - visibility = [ - "//java/client/test/org/openqa/selenium/...", - ], -) - -java_library( - name = "clock", - srcs = [ - "ui/TickingClock.java", - ], - exported_deps = [ - # Transitively exposes Sleeper - "//java/client/src/org/openqa/selenium/support/ui:clock", - ], - visibility = [ - "//java/client/test/...", - "//java/server/test/...", - ], -) diff --git a/java/client/test/org/openqa/selenium/testing/BUCK b/java/client/test/org/openqa/selenium/testing/BUCK deleted file mode 100644 index 98cb48fe29596..0000000000000 --- a/java/client/test/org/openqa/selenium/testing/BUCK +++ /dev/null @@ -1,79 +0,0 @@ -java_library( - name = "annotations", - srcs = [ - "Ignore.java", - "IgnoreList.java", - "NeedsLocalEnvironment.java", - "NeedsFreshDriver.java", - "NoDriverAfterTest.java", - "NoDriverBeforeTest.java", - "NotYetImplemented.java", - "NotYetImplementedList.java", - "SwitchToTopAfterTest.java", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium/testing/drivers:browser", - ], - visibility = [ - "//java/client/test/...", - ], -) - -java_library( - name = "test-base", - srcs = [ - "IgnoreComparator.java", - "JUnit4TestBase.java", - "NotificationRule.java", - "Pages.java", - "Safely.java", - "SeleniumTestRunner.java", - "StaticResources.java", - "TearDownFixture.java", - "TestIgnorance.java", - "TestUtilities.java", - ], - exported_deps = [ - ":annotations", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/client/test/org/openqa/selenium/testing/drivers:browser", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/json:json", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support/ui:wait", - "//java/client/test/org/openqa/selenium/build:build", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - "//third_party/java/github:org.eclipse.egit.github.core", - "//third_party/java/guava:guava", - "//third_party/java/assertj:assertj", - "//third_party/java/junit:junit", - "//third_party/java/selenium:htmlunit-driver", - ], - visibility = [ - "//java/client/test/...", - "//java/server/test/...", - ], -) - -java_library( - name = "small-tests", - srcs = [ - "IgnoreComparatorUnitTest.java", - ], - deps = [ - ":test-base", - "//java/client/test/org/openqa/selenium/testing/drivers:browser", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/org/openqa/selenium/testing:annotations", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - "//third_party/java/mockito:mockito-core", - ], - visibility = [ - "//java/client/test/org/openqa/selenium:small-tests", - ], -) diff --git a/java/client/test/org/openqa/selenium/testing/drivers/BUCK b/java/client/test/org/openqa/selenium/testing/drivers/BUCK deleted file mode 100644 index 373d19eed8cf9..0000000000000 --- a/java/client/test/org/openqa/selenium/testing/drivers/BUCK +++ /dev/null @@ -1,40 +0,0 @@ -java_library( - name = "browser", - srcs = [ - "Browser.java", - ], - visibility = [ - "//java/client/test/...", - "//java/server/test/...", - ], -) - -java_library( - name = "drivers", - srcs = glob(["*Driver.java", "*Supplier.java"]) + [ - "OutOfProcessSeleniumServer.java", - "WebDriverBuilder.java", - ], - deps = [ - ":browser", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/opera:opera", - "//java/client/src/org/openqa/selenium/safari:safari", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support:support", - "//java/client/test/org/openqa/selenium:helpers", - "//java/client/test/org/openqa/selenium/build:build", - "//java/client/test/org/openqa/selenium/testing:annotations", - "//third_party/java/guava:guava", - "//third_party/java/selenium:htmlunit-driver", - "//third_party/java/junit:junit", - ], - visibility = [ - "//java/client/test/...", - "//java/server/test/...", - ], -) diff --git a/java/server/src/com/thoughtworks/selenium/BUCK b/java/server/src/com/thoughtworks/selenium/BUCK deleted file mode 100644 index e0ce389af2121..0000000000000 --- a/java/server/src/com/thoughtworks/selenium/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") - -java_library( - name = "leg-rc", - maven_coords = "org.seleniumhq.selenium:selenium-leg-rc:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - exported_deps = [ - "//java/client/src/com/thoughtworks/selenium:selenium", - "//java/server/src/com/thoughtworks/selenium/webdriven:rc-emulation-servlet", - ], - deps = [ - "//java/server/src/org/openqa/selenium/server/htmlrunner:htmlrunner", - ], - visibility = [ - "//java/server/test/org/openqa/selenium:lib", - ], -) diff --git a/java/server/src/com/thoughtworks/selenium/webdriven/BUCK b/java/server/src/com/thoughtworks/selenium/webdriven/BUCK deleted file mode 100644 index f2d2d11daead1..0000000000000 --- a/java/server/src/com/thoughtworks/selenium/webdriven/BUCK +++ /dev/null @@ -1,29 +0,0 @@ -java_library( - name = "rc-emulation-servlet", - srcs = [ - "WebDriverBackedSeleniumHandler.java", - ], - deps = [ - "//java/client/src/com/thoughtworks/selenium:leg-rc", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/opera:opera", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/safari:safari", - "//java/server/src/org/openqa/selenium/grid:grid", - "//java/server/src/org/openqa/selenium/remote/server:server", - "//java/server/src/org/openqa/selenium/remote/server:sessions", - "//java/server/src/org/openqa/selenium/remote/server:webdriver-servlet", - "//third_party/java/guava:guava", - ], - provided_deps = [ - "//third_party/java/servlet:javax.servlet-api", - ], - visibility = [ - "//java/server/src/com/thoughtworks/selenium:leg-rc", - "//java/server/src/org/openqa/selenium/remote/server:standalone-server", - "//java/server/test/com/thoughtworks/selenium/webdriven:webdriven", - ], -) diff --git a/java/server/src/org/openqa/selenium/cli/BUCK b/java/server/src/org/openqa/selenium/cli/BUCK deleted file mode 100644 index 2c7d3bdcf9c01..0000000000000 --- a/java/server/src/org/openqa/selenium/cli/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -java_library( - name = "cli", - srcs = glob(["*.java"]), - deps = [ - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/...", - "//java/server/test/org/openqa/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/concurrent/BUCK b/java/server/src/org/openqa/selenium/concurrent/BUCK deleted file mode 100644 index 537fb91e1da56..0000000000000 --- a/java/server/src/org/openqa/selenium/concurrent/BUCK +++ /dev/null @@ -1,10 +0,0 @@ -java_library( - name = "concurrent", - srcs = glob(["*.java"]), - deps = [ - ], - visibility = [ - "//java/server/src/org/openqa/selenium/...", - "//java/server/test/org/openqa/selenium/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/docker/BUCK b/java/server/src/org/openqa/selenium/docker/BUCK deleted file mode 100644 index 0adc7a18c06ab..0000000000000 --- a/java/server/src/org/openqa/selenium/docker/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -java_library( - name = "docker", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/docker:", - ], -) diff --git a/java/server/src/org/openqa/selenium/events/BUCK b/java/server/src/org/openqa/selenium/events/BUCK deleted file mode 100644 index 72eac9c3c8b3e..0000000000000 --- a/java/server/src/org/openqa/selenium/events/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -java_library( - name = "events", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/...", - "//java/server/test/org/openqa/selenium/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/events/local/BUCK b/java/server/src/org/openqa/selenium/events/local/BUCK deleted file mode 100644 index 3b87f0c04155d..0000000000000 --- a/java/server/src/org/openqa/selenium/events/local/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_library( - name = "local", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/server/src/org/openqa/selenium/events:events", - "//java/server/src/org/openqa/selenium/grid/config:config", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/events:", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/events/zeromq/BUCK b/java/server/src/org/openqa/selenium/events/zeromq/BUCK deleted file mode 100644 index 405fd74cfd578..0000000000000 --- a/java/server/src/org/openqa/selenium/events/zeromq/BUCK +++ /dev/null @@ -1,19 +0,0 @@ -java_library( - name = "zeromq", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/server/src/org/openqa/selenium/events:events", - "//third_party/java/zeromq:jeromq", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/concurrent:concurrent", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid:", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/test/org/openqa/selenium/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/BUCK b/java/server/src/org/openqa/selenium/grid/BUCK deleted file mode 100644 index 5c61e54b1630d..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/BUCK +++ /dev/null @@ -1,107 +0,0 @@ -load("//java:version.bzl", "SE_VERSION") -load("//java:rules.bzl", "java_library") - -zip_file( - name = "selenium-zip", - out = "selenium-server-" + SE_VERSION + ".zip", - srcs = [ - ":selenium-server-%s" % SE_VERSION, - ":selenium-server-source-zip", - "//java:changelog", - "//:notice", - "//:license", - ], -) - -# So we hide it in another zip file, which will be merged. Zip file merging isn't recursive. -zip_file( - name = "selenium-server-source-zip", - out = "selenium-server-sources.jar", - merge_source_zips = False, - srcs = [ - ":selenium-server-sources", - ], -) - -# The third party libraries we depend on, as a source jar for merging -genrule( - name = "server-libs", - out = "server-libs-sources.jar", - bash = 'mkdir libs && python -c "import sys,shutil;map(lambda f:shutil.copy(f,\'libs\'),[l for l in open(sys.argv[1][1:]).read().strip(\'\\\'\').split(\':\') if l.endswith(\'.jar\') and \'third_party/java\' in l])" $(@classpath :selenium) && jar cMf $OUT libs/*', - cmd_exe = 'mkdir libs && python -c "import sys,shutil;map(lambda f:shutil.copy(f,\'libs\'),[l for l in open(sys.argv[1][1:]).read().strip(\'\\\'\').split(\';\') if l.endswith(\'.jar\') and \'third_party\\java\' in l])" $(@classpath :selenium) && jar cMf $OUT libs/*', -) - -# The first party source, as a source jar which we don't want merged -genrule( - name = "selenium-server-sources", - out = "selenium-server-%s-sources.jar" % SE_VERSION, - cmd = 'mkdir temp && $(exe //java/client/src/org/openqa/selenium/tools:package) $OUT $(@query_paths "inputs(kind(java_library, deps(:selenium)))")', -) - -export_file( - name = "selenium-server-%s" % SE_VERSION, - src = ":selenium", - out = "selenium-server-%s.jar" % SE_VERSION, -) - -java_binary( - name = "selenium", - main_class = "org.openqa.selenium.grid.Main", - deps = [ - ":grid", - # Force slf4j logging to go through java.util.logging - "//third_party/java/slf4j:slf4j-jdk14", - ], -) - -java_library( - name = "lib", - srcs = glob(["*.java"]), - deps = [ - "//java/server/src/org/openqa/selenium/cli:cli", - ], -) - -java_library( - name = "grid", - maven_coords = "org.seleniumhq.selenium:grid:" + SE_VERSION, - maven_pom_template = "//java/client/src/org/openqa/selenium:template-pom", - module_info = "module-info.txt", - exported_deps = [ - "//java/server/src/org/openqa/selenium/events:events", - "//java/server/src/org/openqa/selenium/events/local:local", - "//java/server/src/org/openqa/selenium/events/zeromq:zeromq", - "//java/server/src/org/openqa/selenium/grid/commands:commands", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/data:data", - "//java/server/src/org/openqa/selenium/grid/distributor:distributor", - "//java/server/src/org/openqa/selenium/grid/distributor/local:local", - "//java/server/src/org/openqa/selenium/grid/distributor/remote:remote", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/node/local:local", - "//java/server/src/org/openqa/selenium/grid/node/remote:remote", - "//java/server/src/org/openqa/selenium/grid/router:router", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/session:session", - "//java/server/src/org/openqa/selenium/grid/session/remote:remote", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//java/server/src/org/openqa/selenium/grid/sessionmap/local:local", - "//java/server/src/org/openqa/selenium/grid/sessionmap/remote:remote", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//java/server/src/org/openqa/selenium/remote/server/jmx:jmx", - ], - deps = [ - ":lib", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/safari:safari", - "//java/server/src/org/openqa/selenium/grid/commands:commands", - "//java/server/src/org/openqa/selenium/grid/distributor/httpd:httpd", - "//java/server/src/org/openqa/selenium/grid/node/httpd:httpd", - "//java/server/src/org/openqa/selenium/grid/router/httpd:httpd", - "//java/server/src/org/openqa/selenium/grid/sessionmap/httpd:httpd", - ], - visibility = [ "PUBLIC" ], -) diff --git a/java/server/src/org/openqa/selenium/grid/commands/BUCK b/java/server/src/org/openqa/selenium/grid/commands/BUCK deleted file mode 100644 index ec7157eb01c77..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/commands/BUCK +++ /dev/null @@ -1,36 +0,0 @@ -java_library( - name = "commands", - srcs = glob(["*.java"]), - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/cli:cli", - "//java/server/src/org/openqa/selenium/events/local:local", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/distributor:distributor", - "//java/server/src/org/openqa/selenium/grid/distributor/local:local", - "//java/server/src/org/openqa/selenium/grid/docker:docker", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/node/config:config", - "//java/server/src/org/openqa/selenium/grid/router:router", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//java/server/src/org/openqa/selenium/grid/sessionmap/local:local", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/beust:jcommander", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid:", - "//java/server/src/org/openqa/selenium/grid:", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/component/BUCK b/java/server/src/org/openqa/selenium/grid/component/BUCK deleted file mode 100644 index 12c2444510814..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/component/BUCK +++ /dev/null @@ -1,10 +0,0 @@ -java_library( - name = "component", - srcs = glob(["*.java"]), - deps = [ - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/config/BUCK b/java/server/src/org/openqa/selenium/grid/config/BUCK deleted file mode 100644 index e6a46a31f0205..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/config/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -java_library( - name = "config", - srcs = glob(["*.java"]), - deps = [ - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/events/...", - "//java/server/src/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/data/BUCK b/java/server/src/org/openqa/selenium/grid/data/BUCK deleted file mode 100644 index e934d500873e1..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/data/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_library( - name = "data", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/events:events", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/distributor/BUCK b/java/server/src/org/openqa/selenium/grid/distributor/BUCK deleted file mode 100644 index 920ccc576c96c..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/distributor/BUCK +++ /dev/null @@ -1,20 +0,0 @@ -java_library( - name = "distributor", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/server/src/org/openqa/selenium/grid/data:data", - "//java/server/src/org/openqa/selenium/grid/node:node", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/node/remote:remote", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/distributor/config/BUCK b/java/server/src/org/openqa/selenium/grid/distributor/config/BUCK deleted file mode 100644 index fb0eaaa0ca14e..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/distributor/config/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -java_library( - name = "config", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/distributor:distributor", - ], - deps = [ - "//java/server/src/org/openqa/selenium/grid/distributor/remote:remote", - "//third_party/java/beust:jcommander", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/distributor/httpd/BUCK b/java/server/src/org/openqa/selenium/grid/distributor/httpd/BUCK deleted file mode 100644 index e39fac6183001..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/distributor/httpd/BUCK +++ /dev/null @@ -1,29 +0,0 @@ -java_library( - name = "httpd", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/cli:cli", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/distributor:distributor", - "//java/server/src/org/openqa/selenium/grid/distributor/local:local", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/sessionmap/config:config", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/beust:jcommander", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid:", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/distributor/local/BUCK b/java/server/src/org/openqa/selenium/grid/distributor/local/BUCK deleted file mode 100644 index ae153fbec7900..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/distributor/local/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -java_library( - name = "local", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/server/src/org/openqa/selenium/grid/distributor:distributor", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/concurrent:concurrent", - "//java/server/src/org/openqa/selenium/events:events", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/node/remote:remote", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/distributor/remote/BUCK b/java/server/src/org/openqa/selenium/grid/distributor/remote/BUCK deleted file mode 100644 index 3cd341d3eaa5d..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/distributor/remote/BUCK +++ /dev/null @@ -1,15 +0,0 @@ -java_library( - name = "remote", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/server/src/org/openqa/selenium/grid/distributor:distributor", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/grid/web:web", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/docker/BUCK b/java/server/src/org/openqa/selenium/grid/docker/BUCK deleted file mode 100644 index 6050510ef3574..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/docker/BUCK +++ /dev/null @@ -1,22 +0,0 @@ -java_library( - name = "docker", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - ], - deps = [ - "//java/client/src/org/openqa/selenium/support:support", - "//java/server/src/org/openqa/selenium/docker:docker", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/data:data", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/node/local:local", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/beust:jcommander", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/commands/...", - "//java/server/src/org/openqa/selenium/grid/node/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/log/BUCK b/java/server/src/org/openqa/selenium/grid/log/BUCK deleted file mode 100644 index e502e07809139..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/log/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_library( - name = "log", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/grid/config:config", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/node/BUCK b/java/server/src/org/openqa/selenium/grid/node/BUCK deleted file mode 100644 index dfb1cab28823c..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/node/BUCK +++ /dev/null @@ -1,22 +0,0 @@ -java_library( - name = "node", - srcs = glob(["*.java"]), - exported_deps = [ - # Because session id is exposed as part of our APIs - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/component:component", - "//java/server/src/org/openqa/selenium/grid/data:data", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/remote/server/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/node/config/BUCK b/java/server/src/org/openqa/selenium/grid/node/config/BUCK deleted file mode 100644 index 1c6b0c750d39c..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/node/config/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -java_library( - name = "config", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/node/local:local", - ], - deps = [ - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/data:data", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/beust:jcommander", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - ], -) \ No newline at end of file diff --git a/java/server/src/org/openqa/selenium/grid/node/httpd/BUCK b/java/server/src/org/openqa/selenium/grid/node/httpd/BUCK deleted file mode 100644 index d118b8d2233b7..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/node/httpd/BUCK +++ /dev/null @@ -1,30 +0,0 @@ -java_library( - name = "httpd", - srcs = glob(["*.java"]), - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/cli:cli", - "//java/server/src/org/openqa/selenium/concurrent:concurrent", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/docker:docker", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/node/config:config", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/beust:jcommander", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid:", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/node/local/BUCK b/java/server/src/org/openqa/selenium/grid/node/local/BUCK deleted file mode 100644 index ad0dc70f200ff..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/node/local/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -java_library( - name = "local", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/concurrent:concurrent", - "//java/server/src/org/openqa/selenium/events:events", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/beust:jcommander", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/node/remote/BUCK b/java/server/src/org/openqa/selenium/grid/node/remote/BUCK deleted file mode 100644 index f3456f7d81a8e..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/node/remote/BUCK +++ /dev/null @@ -1,15 +0,0 @@ -java_library( - name = "remote", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/grid/data:data", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/router/BUCK b/java/server/src/org/openqa/selenium/grid/router/BUCK deleted file mode 100644 index 373316fc6efa1..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/router/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_library( - name = "router", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/grid/distributor:distributor", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/router/httpd/BUCK b/java/server/src/org/openqa/selenium/grid/router/httpd/BUCK deleted file mode 100644 index 91c2e56ca1368..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/router/httpd/BUCK +++ /dev/null @@ -1,30 +0,0 @@ -java_library( - name = "httpd", - srcs = glob(["*.java"]), - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/cli:cli", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/distributor/config:config", - "//java/server/src/org/openqa/selenium/grid/node/local:local", - "//java/server/src/org/openqa/selenium/grid/router:router", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/sessionmap/config:config", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/beust:jcommander", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid:", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/server/BUCK b/java/server/src/org/openqa/selenium/grid/server/BUCK deleted file mode 100644 index 2a4d65b8ee233..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/server/BUCK +++ /dev/null @@ -1,27 +0,0 @@ -java_library( - name = "server", - srcs = glob(["*.java"]), - provided_deps = [ - "//third_party/java/servlet:javax.servlet-api", - ], - exported_deps = [ - "//java/server/src/org/openqa/selenium/events:events", - "//java/server/src/org/openqa/selenium/grid/component:component", - "//java/server/src/org/openqa/selenium/grid/log:log", - "//java/server/src/org/openqa/selenium/grid/web:web", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/events/zeromq:zeromq", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//third_party/java/beust:jcommander", - "//third_party/java/guava:guava", - "//third_party/java/jetty:jetty", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/src/org/openqa/selenium/remote/server/...", - "//java/server/test/org/openqa/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/session/BUCK b/java/server/src/org/openqa/selenium/grid/session/BUCK deleted file mode 100644 index 7ae4700bc73c7..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/session/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -java_library( - name = "session", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/server/src/org/openqa/selenium/grid/data:data", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/src/org/openqa/selenium/remote/server/...", - "//java/server/test/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/remote/server/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/session/remote/BUCK b/java/server/src/org/openqa/selenium/grid/session/remote/BUCK deleted file mode 100644 index b5d4eee9b9e28..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/session/remote/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_library( - name = "remote", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/session:session", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//java/server/src/org/openqa/selenium/remote/server/jmx:jmx", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/src/org/openqa/selenium/remote/server/...", - "//java/server/test/org/openqa/selenium/grid/session/remote:remote", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/sessionmap/BUCK b/java/server/src/org/openqa/selenium/grid/sessionmap/BUCK deleted file mode 100644 index acf73b73f6284..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/sessionmap/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_library( - name = "sessionmap", - srcs = glob(["*.java"]), - deps = [ - # "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/data:data", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/sessionmap/config/BUCK b/java/server/src/org/openqa/selenium/grid/sessionmap/config/BUCK deleted file mode 100644 index 13fda2f3228b7..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/sessionmap/config/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_library( - name = "config", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - ], - deps = [ - "//java/server/src/org/openqa/selenium/grid/sessionmap/remote:remote", - "//third_party/java/beust:jcommander", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/sessionmap/httpd/BUCK b/java/server/src/org/openqa/selenium/grid/sessionmap/httpd/BUCK deleted file mode 100644 index 585538192de58..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/sessionmap/httpd/BUCK +++ /dev/null @@ -1,28 +0,0 @@ -java_library( - name = "httpd", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/cli:cli", - "//java/server/src/org/openqa/selenium/grid/config:config", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//java/server/src/org/openqa/selenium/grid/sessionmap/local:local", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//third_party/java/beust:jcommander", - ], - provided_deps = [ - "//third_party/java/service:auto-service", - ], - annotation_processor_deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/service:auto-service", - "//third_party/java/guava:guava", - ], - annotation_processors = [ - "com.google.auto.service.processor.AutoServiceProcessor", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid:", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/sessionmap/local/BUCK b/java/server/src/org/openqa/selenium/grid/sessionmap/local/BUCK deleted file mode 100644 index 8adb5d928d9bb..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/sessionmap/local/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_library( - name = "local", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/events:events", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//java/server/src/org/openqa/selenium/grid/data:data", - "//java/server/src/org/openqa/selenium/grid/web:web", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/sessionmap/remote/BUCK b/java/server/src/org/openqa/selenium/grid/sessionmap/remote/BUCK deleted file mode 100644 index bdf0f0c4d707d..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/sessionmap/remote/BUCK +++ /dev/null @@ -1,14 +0,0 @@ -java_library( - name = "remote", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//java/server/src/org/openqa/selenium/grid/data:data", - "//java/server/src/org/openqa/selenium/grid/web:web", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/org/openqa/selenium/grid/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/grid/web/BUCK b/java/server/src/org/openqa/selenium/grid/web/BUCK deleted file mode 100644 index 2b395fa6bdeda..0000000000000 --- a/java/server/src/org/openqa/selenium/grid/web/BUCK +++ /dev/null @@ -1,15 +0,0 @@ -java_library( - name = "web", - srcs = glob(["*.java"]), - exported_deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - ], - deps = [ - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/src/org/openqa/selenium/remote/server/...", - "//java/server/test/org/openqa/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/remote/server/BUCK b/java/server/src/org/openqa/selenium/remote/server/BUCK deleted file mode 100644 index 21d9fddd707b5..0000000000000 --- a/java/server/src/org/openqa/selenium/remote/server/BUCK +++ /dev/null @@ -1,144 +0,0 @@ -java_library( - name = "sessions", - srcs = [ - "DriverSessions.java", - "KnownElements.java", - "Session.java", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/com/thoughtworks/selenium/webdriven:rc-emulation-servlet", - "//java/server/test/...", - ], -) - -java_library( - name = "server", - srcs = [ - "CapabilitiesComparator.java", - "DefaultDriverFactory.java", - "DefaultDriverProvider.java", - "DefaultSession.java", - "DriverFactory.java", - "DriverProvider.java", - "InputStreamWrappingServletInputStream.java", - "JsonHttpCommandHandler.java", - "RequiresAllSessions.java", - "RequiresSession.java", - "SnapshotScreenListener.java", - "StaticResourceHandler.java", - ] + glob([ - "handler/**/*.java", - "rest/*.java", - "xdrpc/*.java", - ]), - resources = [ - ":client", - ":hub", - ":style", - ], - provided_deps = [ - "//third_party/java/servlet:javax.servlet-api", - ], - deps = [ - ":sessions", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/json:json", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support/events:events", - "//java/server/src/org/openqa/selenium/remote/server/log:log", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/com/thoughtworks/selenium/webdriven:rc-emulation-servlet", - "//java/server/test/...", - ], -) - -java_library( - name = "webdriver-servlet", - srcs = [ - "ActiveSessionFactory.java", - "ActiveSessionListener.java", - "ActiveSessions.java", - "AllHandlers.java", - "DefaultPipeline.java", - "InMemorySession.java", - "NewSessionPipeline.java", - "WebDriverServlet.java", - ] + glob(["commandhandler/*.java"]), - provided_deps = [ - "//third_party/java/servlet:javax.servlet-api", - ], - deps = [ - ":server", - ":sessions", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/session:session", - "//java/server/src/org/openqa/selenium/grid/session/remote:remote", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//java/server/src/org/openqa/selenium/remote/server/log:log", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/com/thoughtworks/selenium/webdriven:rc-emulation-servlet", - "//java/server/test/com/thoughtworks/selenium/webdriven:webdriven", - "//java/server/test/org/openqa/selenium:lib", - "//java/server/test/org/openqa/selenium/remote/server:tests", - "//java/server/test/org/openqa/selenium/remote/server/auth:lib", - ], -) - -export_file( - name = "client", - src = "//javascript/remote:client", - out = "client.js", -) - -export_file( - name = "hub", - src = "//javascript/remote:hub", - out = "hub.html", -) - -export_file( - name = "style", - src = "//javascript/remote:style", - out = "style.css", -) - -java_library( - name = "standalone-server-lib", - srcs = [ - "SeleniumServer.java", - ], - deps = [ - ":server", - ":sessions", - ":webdriver-servlet", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/opera:opera", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/safari:safari", - "//java/server/src/org/openqa/selenium/grid:grid", - "//third_party/java/beust:jcommander", - "//third_party/java/jetty:jetty", - "//third_party/java/servlet:javax.servlet-api", - ], -) - -java_binary( - name = "standalone-server", - main_class = "org.openqa.selenium.remote.server.SeleniumServer", - deps = [ - ":standalone-server-lib", - ], -) \ No newline at end of file diff --git a/java/server/src/org/openqa/selenium/remote/server/jmx/BUCK b/java/server/src/org/openqa/selenium/remote/server/jmx/BUCK deleted file mode 100644 index f1f600f5a4144..0000000000000 --- a/java/server/src/org/openqa/selenium/remote/server/jmx/BUCK +++ /dev/null @@ -1,10 +0,0 @@ -java_library( - name = "jmx", - srcs = glob(["*.java"]), - deps = [ - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/test/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/remote/server/log/BUCK b/java/server/src/org/openqa/selenium/remote/server/log/BUCK deleted file mode 100644 index b5028ee48a003..0000000000000 --- a/java/server/src/org/openqa/selenium/remote/server/log/BUCK +++ /dev/null @@ -1,14 +0,0 @@ -java_library( - name = "log", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid:grid", - "//third_party/java/guava:guava", - ], - visibility = [ - "//java/server/src/...", - "//java/server/test/...", - ], -) diff --git a/java/server/src/org/openqa/selenium/server/htmlrunner/BUCK b/java/server/src/org/openqa/selenium/server/htmlrunner/BUCK deleted file mode 100644 index e73a058ff11fe..0000000000000 --- a/java/server/src/org/openqa/selenium/server/htmlrunner/BUCK +++ /dev/null @@ -1,31 +0,0 @@ -java_binary( - name = "selenium-runner", - main_class = "org.openqa.selenium.server.htmlrunner.HTMLLauncher", - deps = [ - ":htmlrunner", - ], -) - -java_library( - name = "htmlrunner", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/com/thoughtworks/selenium:leg-rc", - "//java/client/src/com/thoughtworks/selenium/webdriven:webdriven", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/opera:opera", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/safari:safari", - "//third_party/java/beust:jcommander", - "//third_party/java/guava:guava", - "//third_party/java/jetty:jetty", - ], - visibility = [ - "//java/server/src/com/thoughtworks/selenium:leg-rc", - "//java/server/test/org/openqa/selenium/...", - ], -) diff --git a/java/server/test/com/thoughtworks/selenium/webdriven/BUCK b/java/server/test/com/thoughtworks/selenium/webdriven/BUCK deleted file mode 100644 index 6b965e1043a17..0000000000000 --- a/java/server/test/com/thoughtworks/selenium/webdriven/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -java_test( - name = "webdriven", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/com/thoughtworks/selenium:leg-rc", - "//java/client/src/org/openqa/selenium/firefox:firefox", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/test/org/openqa/selenium:helpers", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//java/server/src/com/thoughtworks/selenium/webdriven:rc-emulation-servlet", - "//java/server/src/org/openqa/selenium/remote/server:server", - "//java/server/src/org/openqa/selenium/remote/server:webdriver-servlet", - "//third_party/java/jetty:jetty", - "//third_party/java/junit:junit", - "//third_party/java/servlet:javax.servlet-api", - ], -) diff --git a/java/server/test/org/openqa/selenium/BUCK b/java/server/test/org/openqa/selenium/BUCK deleted file mode 100644 index da3a4ce4cb50c..0000000000000 --- a/java/server/test/org/openqa/selenium/BUCK +++ /dev/null @@ -1,42 +0,0 @@ -java_binary( - name = "server-with-tests", - main_class = "org.openqa.selenium.Main", - deps = [ - ":lib", - ], - visibility = [ - "//java/client/test/com/thoughtworks/selenium:tests", - ], -) - -java_library( - name = "lib", - srcs = glob(["*.java"]), - deps = [ - ":core-scripts", - ":tests", - "//java/client/src/org/openqa/selenium:client-combined", - "//java/server/src/com/thoughtworks/selenium:leg-rc", - "//java/server/src/org/openqa/selenium/remote/server:server", - "//java/server/src/org/openqa/selenium/remote/server:sessions", - "//java/server/src/org/openqa/selenium/remote/server:webdriver-servlet", - "//third_party/java/beust:jcommander", - "//third_party/java/jetty:jetty", - "//third_party/java/servlet:javax.servlet-api", - ], -) - -prebuilt_jar( - name = "tests", - binary_jar = "//java/server/test/org/openqa/selenium/tests:tests", -) - -prebuilt_jar( - name = "core-scripts", - binary_jar = ":core-scripts.jar", -) - -export_file( - name = "core-scripts.jar", - src = "//javascript/selenium-core:selenium-core", -) diff --git a/java/server/test/org/openqa/selenium/events/BUCK b/java/server/test/org/openqa/selenium/events/BUCK deleted file mode 100644 index f33ca21751b8d..0000000000000 --- a/java/server/test/org/openqa/selenium/events/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -java_test( - name = "events", - labels = [ - "small", - ], - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/events:events", - "//java/server/src/org/openqa/selenium/events/local:local", - "//java/server/src/org/openqa/selenium/events/zeromq:zeromq", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - "//third_party/java/zeromq:jeromq", - ], -) diff --git a/java/server/test/org/openqa/selenium/grid/config/BUCK b/java/server/test/org/openqa/selenium/grid/config/BUCK deleted file mode 100644 index 462d59fb2bbdc..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/config/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_test( - name = "config", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/server/src/org/openqa/selenium/grid:grid", - "//third_party/java/beust:jcommander", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/server/test/org/openqa/selenium/grid/data/BUCK b/java/server/test/org/openqa/selenium/grid/data/BUCK deleted file mode 100644 index 36c970096b13a..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/data/BUCK +++ /dev/null @@ -1,14 +0,0 @@ -java_test( - name = "data", - labels = [ - "small", - ], - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/data:data", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/server/test/org/openqa/selenium/grid/distributor/BUCK b/java/server/test/org/openqa/selenium/grid/distributor/BUCK deleted file mode 100644 index 4d734b0077b04..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/distributor/BUCK +++ /dev/null @@ -1,24 +0,0 @@ -java_test( - name = "distributor", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium/support:support", - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/events/local:local", - "//java/server/src/org/openqa/selenium/grid/distributor:distributor", - "//java/server/src/org/openqa/selenium/grid/distributor/local:local", - "//java/server/src/org/openqa/selenium/grid/distributor/remote:remote", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/node/local:local", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//java/server/src/org/openqa/selenium/grid/sessionmap/local:local", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//java/server/test/org/openqa/selenium/grid/testing:testing", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/server/test/org/openqa/selenium/grid/node/BUCK b/java/server/test/org/openqa/selenium/grid/node/BUCK deleted file mode 100644 index 8e5e5d3449413..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/node/BUCK +++ /dev/null @@ -1,22 +0,0 @@ -java_test( - name = "node", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/client/src/org/openqa/selenium/support:support", - "//java/server/src/org/openqa/selenium/events/local:local", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/node/local:local", - "//java/server/src/org/openqa/selenium/grid/node/remote:remote", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//java/server/src/org/openqa/selenium/grid/sessionmap/local:local", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//java/server/test/org/openqa/selenium/grid/testing:testing", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/server/test/org/openqa/selenium/grid/node/local/BUCK b/java/server/test/org/openqa/selenium/grid/node/local/BUCK deleted file mode 100644 index c379227d52a40..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/node/local/BUCK +++ /dev/null @@ -1,20 +0,0 @@ -java_test( - name = "local", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/server/src/org/openqa/selenium/events/local:local", - "//java/server/src/org/openqa/selenium/grid/data:data", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/node/local:local", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//java/server/test/org/openqa/selenium/grid/testing:testing", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) \ No newline at end of file diff --git a/java/server/test/org/openqa/selenium/grid/router/BUCK b/java/server/test/org/openqa/selenium/grid/router/BUCK deleted file mode 100644 index ae2f693e79c48..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/router/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_test( - name = "router", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/client/src/org/openqa/selenium/support:support", - "//java/server/src/org/openqa/selenium/grid:grid", - "//java/server/test/org/openqa/selenium/grid/testing:testing", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/server/test/org/openqa/selenium/grid/server/BUCK b/java/server/test/org/openqa/selenium/grid/server/BUCK deleted file mode 100644 index 239898efa102a..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/server/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_test( - name = "server", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid:grid", - "//java/server/test/org/openqa/testing:test-base", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - "//third_party/java/servlet:javax.servlet-api", - ], -) diff --git a/java/server/test/org/openqa/selenium/grid/session/remote/BUCK b/java/server/test/org/openqa/selenium/grid/session/remote/BUCK deleted file mode 100644 index da189079cc513..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/session/remote/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_test( - name = "remote", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/session/remote:remote", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/server/test/org/openqa/selenium/grid/sessionmap/BUCK b/java/server/test/org/openqa/selenium/grid/sessionmap/BUCK deleted file mode 100644 index 48f83447d1f9a..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/sessionmap/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -java_test( - name = "sessionmap", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/remote/tracing:tracing", - "//java/client/src/org/openqa/selenium/support:support", - "//java/server/src/org/openqa/selenium/events/local:local", - "//java/server/src/org/openqa/selenium/grid/data:data", - "//java/server/src/org/openqa/selenium/grid/sessionmap:sessionmap", - "//java/server/src/org/openqa/selenium/grid/sessionmap/local:local", - "//java/server/src/org/openqa/selenium/grid/sessionmap/remote:remote", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//java/server/test/org/openqa/selenium/grid/testing:testing", - "//third_party/java/assertj:assertj", - "//third_party/java/junit:junit", - ], -) diff --git a/java/server/test/org/openqa/selenium/grid/testing/BUCK b/java/server/test/org/openqa/selenium/grid/testing/BUCK deleted file mode 100644 index e5d891f5c9dc4..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/testing/BUCK +++ /dev/null @@ -1,12 +0,0 @@ -java_library( - name = "testing", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/web:web", - ], - visibility = [ - "//java/server/test/...", - ], -) \ No newline at end of file diff --git a/java/server/test/org/openqa/selenium/grid/web/BUCK b/java/server/test/org/openqa/selenium/grid/web/BUCK deleted file mode 100644 index b4ffcb0d8a650..0000000000000 --- a/java/server/test/org/openqa/selenium/grid/web/BUCK +++ /dev/null @@ -1,15 +0,0 @@ -java_test( - name = "web", - labels = ["small"], - srcs = glob(["*Test.java"]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//java/server/test/org/openqa/selenium/grid/testing:testing", - "//third_party/java/assertj:assertj", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - "//third_party/java/mockito:mockito-core", - ], -) diff --git a/java/server/test/org/openqa/selenium/remote/server/BUCK b/java/server/test/org/openqa/selenium/remote/server/BUCK deleted file mode 100644 index abd32d62b1156..0000000000000 --- a/java/server/test/org/openqa/selenium/remote/server/BUCK +++ /dev/null @@ -1,47 +0,0 @@ -java_test( - name = "small-tests", - srcs = [ - "RemoteServerTests.java", - ], - vm_args = [ - "-Dselenium.browser=htmlunit", - "-Dselenium.browser.remote=true", - ], - labels = [ - "small", - ], - deps = [ - ":tests", - "//third_party/java/junit:junit", - ], -) - -java_library( - name = "tests", - srcs = glob([ - "*.java", - "commandhandler/*.java", - "handler/**/*.java", - "rest/*.java", - "xdrpc/*.java", - ]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/test/org/openqa/selenium:helpers", - "//java/client/test/org/openqa/selenium/testing:test-base", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - "//java/server/src/org/openqa/selenium/grid/node:node", - "//java/server/src/org/openqa/selenium/grid/session:session", - "//java/server/src/org/openqa/selenium/remote/server:server", - "//java/server/src/org/openqa/selenium/remote/server:sessions", - "//java/server/src/org/openqa/selenium/remote/server:webdriver-servlet", - "//java/server/test/org/openqa/testing:test-base", - "//third_party/java/guava:guava", - "//third_party/java/assertj:assertj", - "//third_party/java/jetty:jetty", - "//third_party/java/junit:junit", - "//third_party/java/mockito:mockito-core", - "//third_party/java/servlet:javax.servlet-api", - ], -) diff --git a/java/server/test/org/openqa/selenium/remote/server/auth/BUCK b/java/server/test/org/openqa/selenium/remote/server/auth/BUCK deleted file mode 100644 index 64104e0fa15c4..0000000000000 --- a/java/server/test/org/openqa/selenium/remote/server/auth/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -java_binary( - name = "server", - deps = [ - ":lib", - ], -) - -java_library( - name = "lib", - srcs = glob(["*.java"]), - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/server/src/org/openqa/selenium/remote/server:server", - "//java/server/src/org/openqa/selenium/remote/server:webdriver-servlet", - "//third_party/java/jetty:jetty", - "//third_party/java/servlet:javax.servlet-api", - ], -) diff --git a/java/server/test/org/openqa/selenium/remote/server/log/BUCK b/java/server/test/org/openqa/selenium/remote/server/log/BUCK deleted file mode 100644 index c75d67a3eaa6a..0000000000000 --- a/java/server/test/org/openqa/selenium/remote/server/log/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -java_test( - name = "test", - srcs = glob(["*.java"]), - labels = [ - "small", - ], - deps = [ - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/remote/server/log:log", - "//third_party/java/junit:junit", - ], -) diff --git a/java/server/test/org/openqa/selenium/server/htmlrunner/BUCK b/java/server/test/org/openqa/selenium/server/htmlrunner/BUCK deleted file mode 100644 index 799656f0211e9..0000000000000 --- a/java/server/test/org/openqa/selenium/server/htmlrunner/BUCK +++ /dev/null @@ -1,39 +0,0 @@ -java_test( - name = "htmlrunner-firefox", - srcs = ["CoreSelfTest.java"], - vm_args = ["-Dselenium.browser=*firefox"], - deps = [ - ":tests", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/com/thoughtworks/selenium:tests", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/server/src/org/openqa/selenium/server/htmlrunner:htmlrunner", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) - -java_test( - name = "htmlrunner-chrome", - srcs = ["CoreSelfTest.java"], - vm_args = ["-Dselenium.browser=*googlechrome"], - deps = [ - ":tests", - "//java/client/src/org/openqa/selenium:selenium", - "//java/client/test/com/thoughtworks/selenium:tests", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/server/src/org/openqa/selenium/server/htmlrunner:htmlrunner", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) - -java_test( - name = "tests", - srcs = glob(["*UnitTest.java"]), - deps = [ - "//java/server/src/org/openqa/selenium/server/htmlrunner:htmlrunner", - "//third_party/java/guava:guava", - "//third_party/java/junit:junit", - ], -) diff --git a/java/server/test/org/openqa/selenium/tests/BUCK b/java/server/test/org/openqa/selenium/tests/BUCK deleted file mode 100644 index 14d25ae771e22..0000000000000 --- a/java/server/test/org/openqa/selenium/tests/BUCK +++ /dev/null @@ -1,8 +0,0 @@ -zip_file( - name = "tests", - out = "tests-sources.jar", - srcs = glob(["**/*.gif", "**/*.html", "**/*.js"]), - visibility = [ - "//java/server/test/org/openqa/selenium:tests", - ], -) diff --git a/java/server/test/org/openqa/testing/BUCK b/java/server/test/org/openqa/testing/BUCK deleted file mode 100644 index 89ac556cf2ad0..0000000000000 --- a/java/server/test/org/openqa/testing/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -java_library( - name = "test-base", - srcs = glob([ - "*.java", - ]), - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/server/src/org/openqa/selenium/remote/server:server", - "//java/server/src/org/openqa/selenium/remote/server:sessions", - "//third_party/java/guava:guava", - "//third_party/java/mockito:mockito-core", - "//third_party/java/servlet:javax.servlet-api", - ], - visibility = [ - "//java/server/test/org/openqa/selenium/...", - ], -) diff --git a/javascript/atoms/BUCK b/javascript/atoms/BUCK deleted file mode 100644 index a888d882d9820..0000000000000 --- a/javascript/atoms/BUCK +++ /dev/null @@ -1,247 +0,0 @@ -closure_library( - name = "action", - srcs = [ - "action.js", - ], - deps = [ - ":devices", - ":dom", - ":errors", - ":events", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "bot", - srcs = [ - "bot.js", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "color", - srcs = [ - "color.js", - ], - deps = [ - "//third_party/closure:closure", - ], -) - -closure_library( - name = "devices", - srcs = [ - "device.js", - "keyboard.js", - "mouse.js", - "touchscreen.js", - ], - deps = [ - ":dom", - ":errors", - ":events", - ":locators", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "domcore", - srcs = [ - "domcore.js", - ], - deps = [ - ":errors", - ":useragent", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "dom", - srcs = [ - "dom.js", - ], - deps = [ - ":bot", - ":domcore", - ":color", - ":json", - ":xpath", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "errors", - srcs = [ - "error.js", - "response.js", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "events", - srcs = [ - "events.js", - ], - deps = [ - ":bot", - ":dom", - ":errors", - ":json", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "html5", - srcs = glob(["html5/*.js"]), - deps = [ - ":bot", - ":errors", - ":json", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "inject", - srcs = [ - "inject.js", - "response.js", - ], - deps = [ - ":bot", - ":errors", - ":json", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "json", - srcs = [ - "json.js", - "userAgent.js", - ], - deps = [ - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "locators", - srcs = glob(["locators/*.js"], exclude = ["locators/xpath.js"]), - deps = [ - ":dom", - ":json", - ":xpath", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "useragent", - srcs = [ - "userAgent.js", - ], - deps = [ - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "window", - srcs = [ - "frame.js", - "window.js", - ], - deps = [ - ":bot", - ":errors", - ":events", - ":json", - ":locators", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "xpath", - srcs = [ - "locators/xpath.js", - ], - deps = [ - ":bot", - ":errors", - "//third_party/closure:closure", - "//third_party/js/wgxpath:wgxpath", - ], -) - -browsers = { - "firefox": "ff", - "chrome": "chrome", - "ie": "ie", - "safari": "safari", -} - -[java_test( - name = "atoms-%s" % browser, - vm_args = [ - "-Dselenium.browser=%s" % browsers[browser], - "-Djs.test.timeout=20", - "-Djs.test.dir=%s" % package_name(), - ], - test_classes = [ - "org.openqa.selenium.javascript.ClosureTestSuite", - ], - deps = [ - "//java/client/test/org/openqa/selenium/javascript:javascript", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/firefox:firefox", - ], -) for browser in browsers.keys()] diff --git a/javascript/atoms/fragments/BUCK b/javascript/atoms/fragments/BUCK deleted file mode 100644 index 875b19bdc7639..0000000000000 --- a/javascript/atoms/fragments/BUCK +++ /dev/null @@ -1,45 +0,0 @@ -load("//javascript:rules.bzl", "closure_fragment") - -closure_fragment( - name = "clear", - function = "bot.action.clear", - module = "bot.action", - deps = [ - "//javascript/atoms:action", - ], -) - -closure_fragment( - name = "execute_script", - function = "bot.inject.executeScript", - module = "bot.inject", - deps = [ - "//javascript/atoms:inject", - ], - visibility = [ - "//java/client/test/org/openqa/selenium/atoms:", - ], -) - -closure_fragment( - name = "is-displayed", - function = "bot.dom.isShown", - module = "bot.dom", - deps = [ - "//javascript/atoms:dom", - ], - visibility = [ - "//dotnet/src/webdriver:webdriver_deps", - "//java/client/src/org/openqa/selenium/remote:is-displayed", - "//javascript/chrome-driver:is_element_displayed", - ], -) - -closure_fragment( - name = "find-element", - function = "bot.locators.findElement", - module = "bot.locators", - deps = [ - "//javascript/atoms:locators", - ], -) diff --git a/javascript/chrome-driver/BUCK b/javascript/chrome-driver/BUCK deleted file mode 100644 index 54fcb6f5a8273..0000000000000 --- a/javascript/chrome-driver/BUCK +++ /dev/null @@ -1,70 +0,0 @@ -closure_library( - name = "lib", - srcs = glob(["*.js"]), - deps = [ - "//javascript/atoms:dom", - "//javascript/atoms:locators", - "//third_party/closure:closure", - ], -) - -closure_fragment( - name = "get_location_in_view", - module = "webdriver.chrome", - function = "webdriver.chrome.getLocationInView", - deps = [":lib"], -) - -closure_fragment( - name = "get_first_client_rect", - module = "webdriver.chrome", - function = "webdriver.chrome.getFirstClientRect", - deps = [":lib"], -) - -closure_fragment( - name = "is_element_clickable", - module = "webdriver.chrome", - function = "webdriver.chrome.isElementClickable", - deps = [":lib"], -) - -closure_fragment( - name = "get_page_zoom", - module = "webdriver.chrome", - function = "webdriver.chrome.getPageZoom", - deps = [":lib"], -) - -closure_fragment( - name = "is_element_displayed", - module = "webdriver.chrome", - function = "webdriver.chrome.isElementDisplayed", - deps = [ - ":lib", - "//javascript/atoms/fragments:is-displayed", - ], -) - -closure_fragment( - name = "find_element", - module = "webdriver.chrome", - function = "webdriver.chrome.findElement", - deps = [":lib"], -) - -java_test( - name = "atoms-chrome", - vm_args = [ - "-Dselenium.browser=chrome", - "-Djs.test.timeout=20", - "-Djs.test.dir=%s" % package_name(), - ], - test_classes = [ - "org.openqa.selenium.javascript.ClosureTestSuite", - ], - deps = [ - "//java/client/test/org/openqa/selenium/javascript:javascript", - "//java/client/src/org/openqa/selenium/chrome:chrome", - ], -) diff --git a/javascript/ie-driver/BUCK b/javascript/ie-driver/BUCK deleted file mode 100644 index 3e6b3fa359826..0000000000000 --- a/javascript/ie-driver/BUCK +++ /dev/null @@ -1,16 +0,0 @@ -java_test( - name = "atoms-ie", - vm_args = [ - "-Dselenium.browser=ie", - "-Djs.test.timeout=20", - "-Djs.test.dir=%s" % package_name(), - ], - test_classes = [ - "org.openqa.selenium.javascript.ClosureTestSuite", - ], - deps = [ - "//java/client/test/org/openqa/selenium/javascript:javascript", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - ], -) diff --git a/javascript/remote/BUCK b/javascript/remote/BUCK deleted file mode 100644 index ae134fd9bfdb4..0000000000000 --- a/javascript/remote/BUCK +++ /dev/null @@ -1,82 +0,0 @@ -export_file( - name = "hub", - src = "hub.html", - out = "hub.html", - visibility = [ - "//java/server/src/org/openqa/selenium/remote/server:hub", - ], -) - -export_file( - name = "style", - src = "style.css", - out = "style.css", - visibility = [ - "//java/server/src/org/openqa/selenium/remote/server:style", - ], -) - -browsers = { - "firefox": "ff", - "chrome": "chrome", - "ie": "ie", -} - -[java_test( - name = "remote-%s" % browser, - vm_args = [ - "-Dselenium.browser=%s" % browsers[browser], - "-Djs.test.timeout=20", - "-Djs.test.dir=%s" % package_name(), - ], - test_classes = [ - "org.openqa.selenium.javascript.ClosureTestSuite", - ], - deps = [ - "//java/client/test/org/openqa/selenium/javascript:javascript", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/firefox:firefox", - ], -) for browser in browsers.keys()] - -closure_binary( - name = "client", - srcs = glob(["*.js", "ui/*.js"]), - deps = [ - "//javascript/atoms:errors", - "//javascript/webdriver:http", - "//third_party/closure:closure", - ], - flags = [ - "--jscomp_error=accessControls", - "--jscomp_error=ambiguousFunctionDecl", - "--jscomp_error=checkRegExp", - "--jscomp_error=checkTypes", - "--jscomp_error=checkVars", - "--jscomp_error=constantProperty", - "--jscomp_error=deprecated", - "--jscomp_error=duplicateMessage", - "--jscomp_error=es5Strict", - "--jscomp_error=externsValidation", - "--jscomp_error=fileoverviewTags", - "--jscomp_error=globalThis", - "--jscomp_error=invalidCasts", - "--jscomp_error=missingProperties", - "--jscomp_error=nonStandardJsDocs", - "--jscomp_error=strictModuleDepCheck", - "--jscomp_error=typeInvalidation", - "--jscomp_error=undefinedVars", - "--jscomp_error=unknownDefines", - "--jscomp_error=uselessCode", - "--jscomp_error=visibility", - "--language_in=ECMASCRIPT6_STRICT", - "--language_out=ECMASCRIPT5_STRICT", - "--third_party=false", - "--compilation_level=ADVANCED_OPTIMIZATIONS", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/remote/server:client", - ], -) diff --git a/javascript/selenium-atoms/BUCK b/javascript/selenium-atoms/BUCK deleted file mode 100644 index 12d4991075735..0000000000000 --- a/javascript/selenium-atoms/BUCK +++ /dev/null @@ -1,192 +0,0 @@ -load("//javascript:rules.bzl", "closure_fragment") - -closure_library( - name = "deps", - srcs = glob(["*.js"]), - deps = [ - "//javascript/atoms:action", - "//javascript/atoms:bot", - "//javascript/atoms:dom", - "//javascript/atoms:events", - "//javascript/atoms:inject", - "//javascript/atoms:locators", - "//javascript/webdriver/atoms:atoms-lib", - "//third_party/closure:closure", - ], -) - -closure_binary( - name = "selenium-atoms", - srcs = glob(["*.js"]), - deps = [ - ":deps", - ], - flags = [ - "--define=goog.NATIVE_ARRAY_PROTOTYPES=false", - ], - visibility = [ - "//javascript/selenium-core:atoms.js", - ], -) - -closure_fragment( - name = "findElement", - module = "core.locators", - function = "core.locators.findElement", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:findElement", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -closure_fragment( - name = "findOption", - module = "core.select.option", - function = "core.select.option.findOption", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:findOption", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -closure_fragment( - name = "fireEvent", - module = "core.events", - function = "core.events.fire", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:fireEvent", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -closure_fragment( - name = "fireEventAt", - module = "core.events", - function = "core.events.fireAt", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:fireEventAt", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -closure_fragment( - name = "getAttribute", - module = "core.element", - function = "core.element.getAttribute", - deps = [":deps"], - visibility = ["//java/client/src/com/thoughtworks/selenium/webdriven:getAttribute"], -) - -closure_fragment( - name = "getText", - module = "core.text.getText", - function = "core.text.getText", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:getText", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -closure_fragment( - name = "linkLocator", - module = "core.text", - function = "core.text.linkLocator", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:linkLocator", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -closure_fragment( - name = "isSomethingSelected", - module = "core.select", - function = "core.select.isSomethingSelected", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:isSomethingSelected", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -closure_fragment( - name = "isElementPresent", - module = "core.locators", - function = "core.locators.isElementPresent", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:isElementPresent", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -closure_fragment( - name = "isTextPresent", - module = "core.text", - function = "core.text.isTextPresent", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:isTextPresent", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -closure_fragment( - name = "isVisible", - module = "core.browserbot", - function = "core.browserbot.isVisible", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:isVisible", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -closure_fragment( - name = "setCursorPosition", - module = "core.text", - function = "core.text.setCursorPosition", - deps = [":deps"], - visibility = ["//java/client/src/com/thoughtworks/selenium/webdriven:setCursorPosition"], -) - -closure_fragment( - name = "type", - module = "core.events", - function = "core.events.setValue", - deps = [":deps"], - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:type", - "//dotnet/src/webdriverbackedselenium:webdriverbackedselenium_deps", - ], -) - -browsers = { - "firefox": "ff", - "chrome": "chrome", - "ie": "ie", -} - -[java_test( - name = "selenium-atoms-%s" % browser, - vm_args = [ - "-Dselenium.browser=%s" % browsers[browser], - "-Djs.test.timeout=120", - "-Djs.test.dir=%s" % package_name(), - ], - test_classes = [ - "org.openqa.selenium.javascript.ClosureTestSuite", - ], - deps = [ - "//java/client/test/org/openqa/selenium/javascript:javascript", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/firefox:firefox", - ], -) for browser in browsers.keys()] diff --git a/javascript/selenium-core/BUCK b/javascript/selenium-core/BUCK deleted file mode 100644 index 6e86714353969..0000000000000 --- a/javascript/selenium-core/BUCK +++ /dev/null @@ -1,86 +0,0 @@ -zip_file( - name = "selenium-core", - srcs = [ - ":core", - ], - visibility = [ - "//java/server/test/org/openqa/selenium:core-scripts.jar", - ], -) - -folder( - name = "core", - srcs = glob([ - "*.css", - "*.html", - "*.png", - "icons/*.png", - "lib/**/*", - "scripts/*", - "xpath/*", - ]) + [ - ":lib", - ":scripts", - ":TestRunner.hta", - ":RemoteRunner.hta", - ], -) - -folder( - name = "scripts", - srcs = [ - ":atoms.js", - ], -) - -export_file( - name = "atoms.js", - src = "//javascript/selenium-atoms:selenium-atoms", -) - -folder( - name = "lib", - srcs = [ - ":sizzle.js", - ], -) - -export_file( - name = "sizzle.js", - src = "//third_party/js/sizzle:sizzle", -) - -export_file( - name = "TestRunner.hta", - src = "TestRunner.html", -) - -export_file( - name = "RemoteRunner.hta", - src = "RemoteRunner.html", -) - -browsers = { - "firefox": "ff", - "chrome": "chrome", - "ie": "ie", -} - -[java_test( - name = "selenium-core-%s" % browser, - vm_args = [ - "-Dselenium.browser=%s" % browsers[browser], - "-Djs.test.timeout=120", - "-Djs.test.dir=%s" % package_name(), - ], - test_classes = [ - "org.openqa.selenium.javascript.ClosureTestSuite", - ], - deps = [ - "//java/client/test/org/openqa/selenium/javascript:javascript", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/firefox:firefox", - ], -) for browser in browsers.keys()] diff --git a/javascript/webdriver/BUCK b/javascript/webdriver/BUCK deleted file mode 100644 index 47e60093c3b16..0000000000000 --- a/javascript/webdriver/BUCK +++ /dev/null @@ -1,75 +0,0 @@ -closure_library( - name = "http", - srcs = glob([ - "capabilities.js", - "command.js", - "http/*.js", - "logging.js", - "session.js", - ]), - deps = [ - "//javascript/atoms:errors", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/remote:client", - ], -) - -closure_library( - name = "key", - srcs = [ - "key.js", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "logging", - srcs = [ - "logging.js", - ], - deps = [ - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_library( - name = "stacktrace", - srcs = [ - "stacktrace.js", - ], - deps = [ - "//third_party/closure:closure", - ], -) - -browsers = { - "firefox": "ff", - "chrome": "chrome", - "ie": "ie", -} - -[java_test( - name = "webdriver-%s" % browser, - vm_args = [ - "-Dselenium.browser=%s" % browsers[browser], - "-Djs.test.timeout=120", - "-Djs.test.dir=%s" % package_name(), - ], - test_classes = [ - "org.openqa.selenium.javascript.ClosureTestSuite", - ], - deps = [ - "//java/client/test/org/openqa/selenium/javascript:javascript", - "//java/client/src/org/openqa/selenium/chrome:chrome", - "//java/client/src/org/openqa/selenium/edge/edgehtml:edgehtml", - "//java/client/src/org/openqa/selenium/ie:ie", - "//java/client/src/org/openqa/selenium/firefox:firefox", - ], -) for browser in browsers.keys()] diff --git a/javascript/webdriver/atoms/BUCK b/javascript/webdriver/atoms/BUCK deleted file mode 100644 index ed57d0b414232..0000000000000 --- a/javascript/webdriver/atoms/BUCK +++ /dev/null @@ -1,100 +0,0 @@ -load("//javascript:rules.bzl", "closure_fragment") - -closure_library( - name = "atoms-lib", - srcs = glob(["*.js", "storage/*.js"]), - deps = [ - "//javascript/atoms:action", - "//javascript/atoms:devices", - "//javascript/atoms:dom", - "//javascript/atoms:html5", - "//javascript/webdriver:key", - "//third_party/closure:closure", - ], - visibility = [ - "//javascript/...", - ], -) - -closure_binary( - name = "inputs", - srcs = [ - "inputs.js", - "exports/inputs.js", - ], - flags = [ - "--compilation_level=ADVANCED_OPTIMIZATIONS", - ], - no_format = True, - deps = [ - ":atoms-lib", - ], - visibility = [ - "//java/client/test/org/openqa/selenium/atoms:", - ], -) - -closure_library( - name = "attribute-lib", - srcs = ["attribute.js"], - deps = [ - "//javascript/atoms:domcore", - "//third_party/closure:closure", - ], -) - -closure_fragment( - name = "clear-element", - module = "bot.action", - function = "bot.action.clear", - deps = ["//javascript/atoms:action"], - visibility = [ - ], -) - -closure_fragment( - name = "get-attribute", - module = "webdriver.atoms.element.attribute", - function = "webdriver.atoms.element.attribute.get", - deps = [":attribute-lib"], - visibility = [ - "//dotnet/src/webdriver:webdriver_deps", - "//java/client/src/org/openqa/selenium/remote:get-attribute", - ], -) - -closure_fragment( - name = "get-text", - module = "webdriver.atoms.element", - function = "webdriver.atoms.element.getText", - deps = [":atoms-lib"], - visibility = [ - ], -) - -closure_fragment( - name = "is-displayed", - module = "bot.dom", - function = "bot.dom.isShown", - deps = ["//javascript/atoms:dom"], - visibility = [ - ], -) - -closure_fragment( - name = "is-enabled", - module = "bot.dom", - function = "bot.dom.isEnabled", - deps = ["//javascript/atoms:dom"], - visibility = [ - ], -) - -closure_fragment( - name = "is-selected", - module = "webdriver.atoms.element", - function = "webdriver.atoms.element.isSelected", - deps = [":atoms-lib"], - visibility = [ - ], -) diff --git a/rake-tasks/buck.rb b/rake-tasks/buck.rb deleted file mode 100644 index 52ed0555f606b..0000000000000 --- a/rake-tasks/buck.rb +++ /dev/null @@ -1,215 +0,0 @@ -require 'inifile' -require 'open3' -require 'rake-tasks/checks' - -module Buck - - def self.download - @@buck_bin ||= ( - cmd = if windows? - buckconfigs = [IniFile.load('.buckconfig.local'), IniFile.load('.buckconfig')] - python_interpreter = buckconfigs.lazy.map { |c| c && c['parser']['python_interpreter'] }.find(&:itself) - [python_interpreter || "python", "buckw"] - else - ["./buckw"] - end - - sh cmd.join(" ") + " kill", :verbose => true - cmd - ) - end - - def self.buck_cmd(command, args, &block) - buck = [] - pex = Buck.download - buck.push(*pex) - - args ||= [] - buck.push(command) - if command == 'build' || command == 'test' || command == 'publish' - buck.push('--stamp-build=detect') - end - buck.push(*args) - puts buck.join(' ') - - output = '' - Open3.popen3(*buck) do |stdin, stdout, stderr, wait| - Thread.new do - while (error = stderr.gets) - STDERR.print(error) - end - end - - Thread.new do - while (line = stdout.gets) - output << line - STDOUT.print line - end - end - - stdin.close - - raise "#{buck.join(' ')} failed with exit code: #{wait.value.exitstatus}" unless wait.value.success? - end - - block.call(output) if block - end - - def self.enhance_task(task) - class < 1 - out = output.chomp.split[-1] - end - end - - out - end - -end - -def buck(*args, &block) - case args[0] - when String - name = args[0].to_sym - prereqs = [] - when Hash - name = args[0].keys[0] - pres = args[0][name] - case pres - when String - prereqs = [pres] - when Array - prereqs = pres - else - raise "I have no idea what to do with this: #{pres.class.to_s}" - end - else - raise "Unknown arg type: #{args[0].class.to_s}" - end - - task = Rake::Task.task_defined?(name) ? Rake::Task[name] : Rake::Task.define_task(name) - task.enhance prereqs do - Buck.buck_cmd('build', [name]) - block.call if block - end - - Buck::enhance_task(task) -end - -rule /\/\/.*:run/ => [ proc {|task_name| task_name[0..-5]} ] do |task| - Buck::enhance_task(task) - - short = task.name[0..-5] - - task.enhance do - # Figure out if this is an executable or a test target. - Buck.buck_cmd('query', [short, '--output-attributes', 'buck.type']) do |output| - hash = JSON.parse(output) - type = hash[short]['buck.type'] - if type =~ /.*_test/ - Buck.buck_cmd('test', [short]) - else - Buck.buck_cmd('run', ['--verbose', '5', short]) - end - end - end -end - - -rule /\/\/.*:zip/ => [ proc {|task_name| task_name[0..-5]} ] do |task| - Buck::enhance_task(task) - - short = task.name[0..-5] - - task.enhance do - dir, target = short[2..-1].split(':', 2) - working_dir = "buck-out/crazy-fun/#{dir}/#{target}_zip" - - # Build the source zip - Buck.buck_cmd('query', ["kind(java_library, deps(#{short}))"]) do |output| - # Collect all the targets - to_build = [] - output.lines do |line| - line.chomp! - to_build.push(line + "#src") - end - - src_dir = "buck-out/crazy-fun/#{dir}/#{target}_src_zip" - src_out = "#{working_dir}/#{target}-#{version}-nodeps-sources.zip" - mkdir_p File.dirname(src_out) - rm_f src_out - rm_rf src_dir - - mkdir_p src_dir - mkdir_p "#{working_dir}/lib" - mkdir_p "#{working_dir}/uber" - - Buck.buck_cmd('build', ['--show-output'] + to_build) do |built| - built.lines do |line| - line.chomp! - line.split[1].each do |file| - next unless File.exists? file - sh "cd #{src_dir} && jar xf #{File.expand_path(file)}" - end - end - end - sh "cd #{src_dir} && jar cMf #{File.expand_path(src_out)} *" - end - - # Figure out if this is an executable or a test target. - Buck.buck_cmd('audit', ['classpath', short]) do |output| - third_party = [] - first_party = [] - - output.lines do |line| - line.chomp! - line = line.gsub(/\\/, "/") - - if line =~ /gen\/third_party\/.*\.jar/ - third_party.push(line) - elsif line =~ /gen\/java\/.*\.jar/ - first_party.push(line) - end - end - - first_party.each do |jar| - sh "cd #{working_dir}/uber && jar xf #{jar}" - end - - # TODO: Don't do this. It's sinful. - version = File.open('SELENIUM_VERSION', &:gets).chomp - version = eval(version) - - out = "buck-out/crazy-fun/#{dir}/#{target}.zip" - - sh "cd #{working_dir}/uber && jar cMf ../#{target}-#{version}-nodeps.jar *" - rm_rf "#{working_dir}/uber" - - third_party.each do |jar| - cp jar, "#{working_dir}/lib" - end - sh "cd #{working_dir} && jar cMf #{File.expand_path(out)} *" - - task.out = out - end - end -end diff --git a/third_party/closure/BUCK b/third_party/closure/BUCK deleted file mode 100644 index ce4c763c33b52..0000000000000 --- a/third_party/closure/BUCK +++ /dev/null @@ -1,19 +0,0 @@ -closure_library( - name = "closure", - srcs = glob(["**/*.js"]), - visibility = ["PUBLIC"], -) - -prebuilt_jar( - name = "compiler-jar", - binary_jar = "bin/compiler.jar", -) - -java_binary( - name = "compiler", - main_class = "com.google.javascript.jscomp.CommandLineRunner", - deps = [ - ":compiler-jar", - ], - visibility = ["PUBLIC"], -) diff --git a/third_party/dotnet/ilrepack/BUCK b/third_party/dotnet/ilrepack/BUCK deleted file mode 100644 index 7d3a5d5974931..0000000000000 --- a/third_party/dotnet/ilrepack/BUCK +++ /dev/null @@ -1,10 +0,0 @@ -genrule( - name = "ilrepack", - srcs = ["ILRepack.exe"], - out = "ILRepack.exe", - cmd = "copy %SRCS% %OUT%", - executable = True, - visibility = [ - "PUBLIC", - ], -) diff --git a/third_party/dotnet/nuget/BUCK b/third_party/dotnet/nuget/BUCK deleted file mode 100644 index e7c5130f6c743..0000000000000 --- a/third_party/dotnet/nuget/BUCK +++ /dev/null @@ -1,10 +0,0 @@ -genrule( - name = "nuget", - srcs = ["NuGet.exe"], - out = "NuGet.exe", - cmd = "copy %SRCS% %OUT%", - executable = True, - visibility = [ - "PUBLIC", - ], -) diff --git a/third_party/firebug/BUCK b/third_party/firebug/BUCK deleted file mode 100644 index bdc05be186bdb..0000000000000 --- a/third_party/firebug/BUCK +++ /dev/null @@ -1,8 +0,0 @@ -export_file( - name = "firebug", - src = "firebug-1.5.0-fx.xpi", - out = "firebug-1.5.0-fx.xpi", - visibility = [ - "//java/client/test/org/openqa/selenium/firefox:firebug", - ], -) diff --git a/third_party/java/annotation/BUCK b/third_party/java/annotation/BUCK deleted file mode 100644 index 153cf73e3f82b..0000000000000 --- a/third_party/java/annotation/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "jsr250-api", - maven_coords = "javax.annotation:jsr250-api:jar:1.0", - binary_jar = "jsr250-api-1.0.jar", - source_jar = "jsr250-api-1.0-sources.jar", - visibility = [ - "//third_party/java/enterprise:cdi-api", - ], -) diff --git a/third_party/java/ant/BUCK b/third_party/java/ant/BUCK deleted file mode 100644 index 22a1e2fdedd42..0000000000000 --- a/third_party/java/ant/BUCK +++ /dev/null @@ -1,20 +0,0 @@ -prebuilt_jar( - name = "ant", - maven_coords = "org.apache.ant:ant:jar:1.9.9", - binary_jar = "ant-1.9.9.jar", - source_jar = "ant-1.9.9-sources.jar", - deps = [ - ":ant-launcher", - ], - visibility = [ - "//third_party/java/pantsbuild:jarjar", - "//third_party/java/testng:testng", - ], -) - -prebuilt_jar( - name = "ant-launcher", - maven_coords = "org.apache.ant:ant-launcher:jar:1.9.9", - binary_jar = "ant-launcher-1.9.9.jar", - source_jar = "ant-launcher-1.9.9-sources.jar", -) diff --git a/third_party/java/asm/BUCK b/third_party/java/asm/BUCK deleted file mode 100644 index c18f9caa11a23..0000000000000 --- a/third_party/java/asm/BUCK +++ /dev/null @@ -1,32 +0,0 @@ -prebuilt_jar( - name = "asm", - maven_coords = "org.ow2.asm:asm:jar:6.0", - binary_jar = "asm-6.0.jar", - source_jar = "asm-6.0-sources.jar", - visibility = [ - "//third_party/java/pantsbuild:jarjar", - ], -) - -prebuilt_jar( - name = "asm-commons", - maven_coords = "org.ow2.asm:asm-commons:jar:6.0", - binary_jar = "asm-commons-6.0.jar", - source_jar = "asm-commons-6.0-sources.jar", - deps = [ - ":asm-tree", - ], - visibility = [ - "//third_party/java/pantsbuild:jarjar", - ], -) - -prebuilt_jar( - name = "asm-tree", - maven_coords = "org.ow2.asm:asm-tree:jar:6.0", - binary_jar = "asm-tree-6.0.jar", - source_jar = "asm-tree-6.0-sources.jar", - deps = [ - ":asm", - ], -) diff --git a/third_party/java/assertj/BUCK b/third_party/java/assertj/BUCK deleted file mode 100644 index cb78f47616e1a..0000000000000 --- a/third_party/java/assertj/BUCK +++ /dev/null @@ -1,10 +0,0 @@ -prebuilt_jar( - name = "assertj", - maven_coords = "org.assertj:assertj-core:jar:3.12.2", - binary_jar = "assertj-core-3.12.2.jar", - source_jar = "assertj-core-3.12.2-sources.jar", - visibility = [ - "//java/client/test/...", - "//java/server/test/...", - ], -) diff --git a/third_party/java/auto/BUCK b/third_party/java/auto/BUCK deleted file mode 100644 index 05bb688143d7c..0000000000000 --- a/third_party/java/auto/BUCK +++ /dev/null @@ -1,12 +0,0 @@ -prebuilt_jar( - name = "auto-common", - maven_coords = "com.google.auto:auto-common:jar:0.8", - binary_jar = "auto-common-0.8.jar", - source_jar = "auto-common-0.8-sources.jar", - deps = [ - "//third_party/java/guava:guava", - ], - visibility = [ - "PUBLIC", - ], -) diff --git a/third_party/java/beust/BUCK b/third_party/java/beust/BUCK deleted file mode 100644 index c00945c436f9f..0000000000000 --- a/third_party/java/beust/BUCK +++ /dev/null @@ -1,15 +0,0 @@ -prebuilt_jar( - name = "jcommander", - maven_coords = "com.beust:jcommander:jar:1.72", - binary_jar = "jcommander-1.72.jar", - source_jar = "jcommander-1.72-sources.jar", - visibility = [ - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/remote/server:standalone-server-lib", - "//java/server/src/org/openqa/selenium/grid/...", - "//java/server/src/org/openqa/selenium/server/htmlrunner:htmlrunner", - "//java/server/test/org/openqa/selenium:lib", - "//java/server/test/org/openqa/selenium/grid/config:", - "//third_party/java/testng:testng", - ], -) diff --git a/third_party/java/brotli/BUCK b/third_party/java/brotli/BUCK deleted file mode 100644 index 7a91ce39a2f64..0000000000000 --- a/third_party/java/brotli/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "dec", - maven_coords = "org.brotli:dec:jar:0.1.2", - binary_jar = "dec-0.1.2.jar", - source_jar = "dec-0.1.2-sources.jar", - visibility = [ - "//third_party/java/htmlunit:htmlunit", - ], -) diff --git a/third_party/java/bytebuddy/BUCK b/third_party/java/bytebuddy/BUCK deleted file mode 100644 index 0fdec5cb137fa..0000000000000 --- a/third_party/java/bytebuddy/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -prebuilt_jar( - name = "byte-buddy", - maven_coords = "net.bytebuddy:byte-buddy:jar:1.9.12", - binary_jar = "byte-buddy-1.9.12.jar", - source_jar = "byte-buddy-1.9.12-sources.jar", - visibility = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/tools:", - "//third_party/java/mockito:mockito-core", - ], -) - -prebuilt_jar( - name = "byte-buddy-agent", - maven_coords = "net.bytebuddy:byte-buddy-agent:jar:1.9.12", - binary_jar = "byte-buddy-agent-1.9.12.jar", - source_jar = "byte-buddy-agent-1.9.12-sources.jar", - visibility = [ - "//third_party/java/mockito:mockito-core", - ], -) diff --git a/third_party/java/commons-codec/BUCK b/third_party/java/commons-codec/BUCK deleted file mode 100644 index a48328f3495e1..0000000000000 --- a/third_party/java/commons-codec/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "commons-codec", - maven_coords = "commons-codec:commons-codec:jar:1.12", - binary_jar = "commons-codec-1.12.jar", - source_jar = "commons-codec-1.12-sources.jar", - visibility = [ - "//third_party/java/httpcomponents:httpclient", - ], -) diff --git a/third_party/java/commons-io/BUCK b/third_party/java/commons-io/BUCK deleted file mode 100644 index 9c496cf8ff3d2..0000000000000 --- a/third_party/java/commons-io/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "commons-io", - maven_coords = "commons-io:commons-io:jar:2.6", - binary_jar = "commons-io-2.6.jar", - source_jar = "commons-io-2.6-sources.jar", - visibility = [ - "//third_party/java/htmlunit:htmlunit", - ], -) diff --git a/third_party/java/commons-logging/BUCK b/third_party/java/commons-logging/BUCK deleted file mode 100644 index e2e8812410645..0000000000000 --- a/third_party/java/commons-logging/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -prebuilt_jar( - name = "commons-logging", - maven_coords = "commons-logging:commons-logging:jar:1.2", - binary_jar = "commons-logging-1.2.jar", - source_jar = "commons-logging-1.2-sources.jar", - visibility = [ - "//third_party/java/htmlunit:htmlunit", - "//third_party/java/httpcomponents:httpclient", - "//third_party/java/netty:netty-all", - ], -) diff --git a/third_party/java/commons-net/BUCK b/third_party/java/commons-net/BUCK deleted file mode 100644 index 0e953bcaefb17..0000000000000 --- a/third_party/java/commons-net/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "commons-net", - maven_coords = "commons-net:commons-net:jar:3.6", - binary_jar = "commons-net-3.6.jar", - source_jar = "commons-net-3.6-sources.jar", - visibility = [ - "//third_party/java/htmlunit:htmlunit", - ], -) diff --git a/third_party/java/commons/BUCK b/third_party/java/commons/BUCK deleted file mode 100644 index a7b15c80fb161..0000000000000 --- a/third_party/java/commons/BUCK +++ /dev/null @@ -1,35 +0,0 @@ -prebuilt_jar( - name = "commons-exec", - maven_coords = "org.apache.commons:commons-exec:jar:1.3", - binary_jar = "commons-exec-1.3.jar", - source_jar = "commons-exec-1.3-sources.jar", - visibility = [ - "//java/client/src/org/openqa/selenium/os:os", - ], -) - -prebuilt_jar( - name = "commons-lang3", - maven_coords = "org.apache.commons:commons-lang3:jar:3.8.1", - binary_jar = "commons-lang3-3.8.1.jar", - source_jar = "commons-lang3-3.8.1-sources.jar", - visibility = [ - "//third_party/java/htmlunit:htmlunit", - "//third_party/java/littleshoot:littleproxy", - "//third_party/java/maven:maven-artifact", - "//third_party/java/maven:maven-model", - ], -) - -prebuilt_jar( - name = "commons-text", - maven_coords = "org.apache.commons:commons-text:jar:1.6", - binary_jar = "commons-text-1.6.jar", - source_jar = "commons-text-1.6-sources.jar", - deps = [ - ":commons-lang3", - ], - visibility = [ - "//third_party/java/htmlunit:htmlunit", - ], -) diff --git a/third_party/java/contrib/BUCK b/third_party/java/contrib/BUCK deleted file mode 100644 index fda7d68a7019d..0000000000000 --- a/third_party/java/contrib/BUCK +++ /dev/null @@ -1,34 +0,0 @@ -prebuilt_jar( - name = "opentracing-concurrent", - maven_coords = "io.opentracing.contrib:opentracing-concurrent:jar:0.4.0", - binary_jar = "opentracing-concurrent-0.4.0.jar", - source_jar = "opentracing-concurrent-0.4.0-sources.jar", - deps = [ - "//third_party/java/opentracing:opentracing-api", - "//third_party/java/opentracing:opentracing-noop", - ], -) - -prebuilt_jar( - name = "opentracing-okhttp3", - maven_coords = "io.opentracing.contrib:opentracing-okhttp3:jar:2.0.1", - binary_jar = "opentracing-okhttp3-2.0.1.jar", - source_jar = "opentracing-okhttp3-2.0.1-sources.jar", - deps = [ - ":opentracing-concurrent", - "//third_party/java/okhttp3:okhttp", - ], -) - -prebuilt_jar( - name = "opentracing-tracerresolver", - maven_coords = "io.opentracing.contrib:opentracing-tracerresolver:jar:0.1.7", - binary_jar = "opentracing-tracerresolver-0.1.7.jar", - source_jar = "opentracing-tracerresolver-0.1.7-sources.jar", - deps = [ - "//third_party/java/opentracing:opentracing-api", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/remote/tracing:", - ], -) diff --git a/third_party/java/enterprise/BUCK b/third_party/java/enterprise/BUCK deleted file mode 100644 index 4d82e031db981..0000000000000 --- a/third_party/java/enterprise/BUCK +++ /dev/null @@ -1,13 +0,0 @@ -prebuilt_jar( - name = "cdi-api", - maven_coords = "javax.enterprise:cdi-api:jar:1.0", - binary_jar = "cdi-api-1.0.jar", - source_jar = "cdi-api-1.0-sources.jar", - deps = [ - "//third_party/java/annotation:jsr250-api", - "//third_party/java/inject:javax.inject", - ], - visibility = [ - "//third_party/java/sisu:org.eclipse.sisu.plexus", - ], -) diff --git a/third_party/java/github/BUCK b/third_party/java/github/BUCK deleted file mode 100644 index 068ddcca414e9..0000000000000 --- a/third_party/java/github/BUCK +++ /dev/null @@ -1,12 +0,0 @@ -prebuilt_jar( - name = "org.eclipse.egit.github.core", - maven_coords = "org.eclipse.mylyn.github:org.eclipse.egit.github.core:jar:2.1.5", - binary_jar = "org.eclipse.egit.github.core-2.1.5.jar", - source_jar = "org.eclipse.egit.github.core-2.1.5-sources.jar", - deps = [ - "//third_party/java/gson:gson", - ], - visibility = [ - "//java/client/test/org/openqa/selenium/testing:test-base", - ], -) diff --git a/third_party/java/gson/BUCK b/third_party/java/gson/BUCK deleted file mode 100644 index 0fef4be1b53d2..0000000000000 --- a/third_party/java/gson/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -prebuilt_jar( - name = "gson", - maven_coords = "com.google.code.gson:gson:jar:2.8.5", - binary_jar = "gson-2.8.5.jar", - source_jar = "gson-2.8.5-sources.jar", - visibility = [ - # Left for legacy reasons. - "//java/client/test/org/openqa/selenium/json:", - "//third_party/java/github:org.eclipse.egit.github.core", - ], -) diff --git a/third_party/java/guava/BUCK b/third_party/java/guava/BUCK deleted file mode 100644 index eff55449974c5..0000000000000 --- a/third_party/java/guava/BUCK +++ /dev/null @@ -1,27 +0,0 @@ -prebuilt_jar( - name = "guava", - maven_coords = "com.google.guava:guava:jar:27.1-jre", - binary_jar = "guava-27.1-jre.jar", - source_jar = "guava-27.1-jre-sources.jar", - deps = [ - ":listenablefuture", - ":failureaccess", - ], - visibility = [ - "PUBLIC", - ], -) - -prebuilt_jar( - name = "listenablefuture", - maven_coords = "com.google.guava:listenablefuture:jar:1.0", - binary_jar = "listenablefuture-1.0.jar", - source_jar = "listenablefuture-1.0-sources.jar", -) - -prebuilt_jar( - name = "failureaccess", - maven_coords = "com.google.guava:failureaccess:jar:1.0.1", - binary_jar = "failureaccess-1.0.1.jar", - source_jar = "failureaccess-1.0.1-sources.jar", -) diff --git a/third_party/java/hamcrest/BUCK b/third_party/java/hamcrest/BUCK deleted file mode 100644 index 0ee1c3f4d11bf..0000000000000 --- a/third_party/java/hamcrest/BUCK +++ /dev/null @@ -1,24 +0,0 @@ -prebuilt_jar( - name = "hamcrest-core", - maven_coords = "org.hamcrest:hamcrest-core:jar:1.3", - binary_jar = "hamcrest-core-1.3.jar", - source_jar = "hamcrest-core-1.3-sources.jar", - visibility = [ - "//third_party/java/junit:junit", - ], -) - -prebuilt_jar( - name = "hamcrest-library", - maven_coords = "org.hamcrest:hamcrest-library:jar:1.3", - binary_jar = "hamcrest-library-1.3.jar", - source_jar = "hamcrest-library-1.3-sources.jar", - deps = [ - ":hamcrest-core", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/lift:lift", - "//java/client/test/...", - "//java/server/test/...", - ], -) diff --git a/third_party/java/htmlunit/BUCK b/third_party/java/htmlunit/BUCK deleted file mode 100644 index 89742a6dd42ba..0000000000000 --- a/third_party/java/htmlunit/BUCK +++ /dev/null @@ -1,51 +0,0 @@ -prebuilt_jar( - name = "htmlunit", - maven_coords = "net.sourceforge.htmlunit:htmlunit:jar:2.36.0", - binary_jar = "htmlunit-2.36.0.jar", - source_jar = "htmlunit-2.36.0-sources.jar", - deps = [ - ":htmlunit-core-js", - ":neko-htmlunit", - ":htmlunit-cssparser", - "//third_party/java/brotli:dec", - "//third_party/java/commons:commons-lang3", - "//third_party/java/commons:commons-text", - "//third_party/java/commons-io:commons-io", - "//third_party/java/commons-logging:commons-logging", - "//third_party/java/commons-net:commons-net", - "//third_party/java/httpcomponents:httpmime", - "//third_party/java/websocket:websocket-client", - "//third_party/java/xalan:xalan", - ], - visibility = [ - "//java/client/test/...", - "//third_party/java/selenium:htmlunit-driver", - ], -) - -prebuilt_jar( - name = "htmlunit-core-js", - maven_coords = "net.sourceforge.htmlunit:htmlunit-core-js:jar:2.36.0", - binary_jar = "htmlunit-core-js-2.36.0.jar", - source_jar = "htmlunit-core-js-2.36.0-sources.jar", - visibility = [ - "//java/client/test/...", - ], -) - -prebuilt_jar( - name = "neko-htmlunit", - maven_coords = "net.sourceforge.htmlunit:neko-htmlunit:jar:2.36.0", - binary_jar = "neko-htmlunit-2.36.0.jar", - source_jar = "neko-htmlunit-2.36.0-sources.jar", - deps = [ - "//third_party/java/xerces:xercesImpl", - ], -) - -prebuilt_jar( - name = "htmlunit-cssparser", - maven_coords = "net.sourceforge.htmlunit:htmlunit-cssparser:jar:1.5.0", - binary_jar = "htmlunit-cssparser-1.5.0.jar", - source_jar = "htmlunit-cssparser-1.5.0-sources.jar", -) diff --git a/third_party/java/httpcomponents/BUCK b/third_party/java/httpcomponents/BUCK deleted file mode 100644 index 5538ec4da06cb..0000000000000 --- a/third_party/java/httpcomponents/BUCK +++ /dev/null @@ -1,31 +0,0 @@ -prebuilt_jar( - name = "httpclient", - maven_coords = "org.apache.httpcomponents:httpclient:jar:4.5.8", - binary_jar = "httpclient-4.5.8.jar", - source_jar = "httpclient-4.5.8-sources.jar", - deps = [ - ":httpcore", - "//third_party/java/commons-codec:commons-codec", - "//third_party/java/commons-logging:commons-logging", - ], -) - -prebuilt_jar( - name = "httpcore", - maven_coords = "org.apache.httpcomponents:httpcore:jar:4.4.11", - binary_jar = "httpcore-4.4.11.jar", - source_jar = "httpcore-4.4.11-sources.jar", -) - -prebuilt_jar( - name = "httpmime", - maven_coords = "org.apache.httpcomponents:httpmime:jar:4.5.8", - binary_jar = "httpmime-4.5.8.jar", - source_jar = "httpmime-4.5.8-sources.jar", - deps = [ - ":httpclient", - ], - visibility = [ - "//third_party/java/htmlunit:htmlunit", - ], -) diff --git a/third_party/java/inject/BUCK b/third_party/java/inject/BUCK deleted file mode 100644 index 2aadd83997af1..0000000000000 --- a/third_party/java/inject/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "javax.inject", - maven_coords = "javax.inject:javax.inject:jar:1", - binary_jar = "javax.inject-1.jar", - source_jar = "javax.inject-1-sources.jar", - visibility = [ - "//third_party/java/enterprise:cdi-api", - ], -) diff --git a/third_party/java/javaparser/BUCK b/third_party/java/javaparser/BUCK deleted file mode 100644 index e9ad16238c1ac..0000000000000 --- a/third_party/java/javaparser/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "javaparser-core", - maven_coords = "com.github.javaparser:javaparser-core:jar:3.6.14", - binary_jar = "javaparser-core-3.6.14.jar", - source_jar = "javaparser-core-3.6.14-sources.jar", - visibility = [ - "//java/client/src/org/openqa/selenium/tools:", - ], -) diff --git a/third_party/java/jetty/BUCK b/third_party/java/jetty/BUCK deleted file mode 100644 index 26c7a925c079d..0000000000000 --- a/third_party/java/jetty/BUCK +++ /dev/null @@ -1,201 +0,0 @@ -load("//java:rules.bzl", "java_library") - -JETTY_VERSION = "9.4.19.v20190610" -MAVEN_VERSION = "%s.1" % JETTY_VERSION - -java_library( - name = "jetty", - maven_coords = "org.seleniumhq.selenium:jetty-repacked:%s" % MAVEN_VERSION, - maven_pom_template = "jetty.pom", - module_info = "module-info.txt", - exported_deps = [ - ":repackage", - ], - deps = [ - "//third_party/java/servlet:javax.servlet-api", - "//third_party/java/slf4j:slf4j-api", - ], - visibility = [ - "//java/client/test/com/thoughtworks/selenium:tests", - "//java/client/test/org/openqa/selenium:tests", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/client/test/org/openqa/selenium/remote:", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/remote/server:standalone-server-lib", - "//java/server/src/org/openqa/selenium/server/htmlrunner:htmlrunner", - "//java/server/test/org/openqa/selenium:lib", - "//java/server/test/com/thoughtworks/selenium/webdriven:webdriven", - "//java/server/test/org/openqa/selenium/remote/server:tests", - "//java/server/test/org/openqa/selenium/remote/server/auth:lib", - ], -) - -# We want the deployable 'jetty-repacked' artifact to not require each of the -# individual jars (we did, after all, repackage everything). By introducing a -# prebuilt_jar we avoid that problem. -prebuilt_jar( - name = "repackage", - binary_jar = ":move-services", -) - -genrule( - name = "move-services", - out = "moved-bundle.jar", - cmd = "mkdir tmp && cd tmp && jar xf $(location :bundle-jars) && rm -rf META-INF/services/* && echo org.eclipse.jetty.http.Http1FieldPreEncoder > META-INF/services/org.eclipse.jetty.http.HttpFieldPreEncoder && jar cvf $OUT *", - cmd_exe = "md tmp && cd tmp && jar xf $(location :bundle-jars) && del /s /q META-INF\services\* && echo org.eclipse.jetty.http.Http1FieldPreEncoder > META-INF\\services\\org.eclipse.jetty.http.HttpFieldPreEncoder && jar cvf $OUT *", -) - - -java_binary( - name = "bundle-jars", - deps = [ - ":jetty-http-repacked", - ":jetty-io-repacked", - ":jetty-jmx-repacked", - ":jetty-security-repacked", - ":jetty-server-repacked", - ":jetty-servlet-repacked", - ":jetty-util-repacked", - ":jetty-xml-repacked", - ], -) - -REPACK = [ - "jetty-client", - "jetty-http", - "jetty-io", - "jetty-jmx", - "jetty-security", - "jetty-server", - "jetty-servlet", - "jetty-util", - "jetty-xml", -] - -[genrule( - name = "%s-do-repack" % i, - out = "%s-repacked.jar" % i, - cmd = "$(exe //third_party/java/pantsbuild:jarjar-links) process $(location :jarjar-rules) $(location :%s) $OUT" % i, -) for i in REPACK] - -[prebuilt_jar( - name = "%s-repacked" % i, - maven_coords = "org.seleniumhq.selenium:%s:%s" % ("%s-repacked" % i, JETTY_VERSION), - binary_jar = ":%s-do-repack" % i, -) for i in REPACK] - -export_file( - name = "jarjar-rules", - src = "jetty-repack-rules", - visibility = [ - "//third_party/java/websocket:", - ], -) - -prebuilt_jar( - name = "jetty-client", - maven_coords = "org.eclipse.jetty:jetty-client:jar:9.4.19.v20190610", - binary_jar = "jetty-client-9.4.19.v20190610.jar", - source_jar = "jetty-client-9.4.19.v20190610-sources.jar", - deps = [ - ":jetty-http", - ":jetty-io", - ], - visibility = [ - "//third_party/java/websocket:", - ], -) - -prebuilt_jar( - name = "jetty-http", - maven_coords = "org.eclipse.jetty:jetty-http:jar:9.4.19.v20190610", - binary_jar = "jetty-http-9.4.19.v20190610.jar", - source_jar = "jetty-http-9.4.19.v20190610-sources.jar", - deps = [ - ":jetty-io", - ":jetty-util", - ], -) - -prebuilt_jar( - name = "jetty-io", - maven_coords = "org.eclipse.jetty:jetty-io:jar:9.4.19.v20190610", - binary_jar = "jetty-io-9.4.19.v20190610.jar", - source_jar = "jetty-io-9.4.19.v20190610-sources.jar", - deps = [ - ":jetty-util", - ], - visibility = [ - "//third_party/java/websocket:", - ], -) - -prebuilt_jar( - name = "jetty-jmx", - maven_coords = "org.eclipse.jetty:jetty-jmx:jar:9.4.19.v20190610", - binary_jar = "jetty-jmx-9.4.19.v20190610.jar", - source_jar = "jetty-jmx-9.4.19.v20190610-sources.jar", - deps = [ - ":jetty-util", - ], -) - -prebuilt_jar( - name = "jetty-security", - maven_coords = "org.eclipse.jetty:jetty-security:jar:9.4.19.v20190610", - binary_jar = "jetty-security-9.4.19.v20190610.jar", - source_jar = "jetty-security-9.4.19.v20190610-sources.jar", - deps = [ - ":jetty-server", - ], -) - -prebuilt_jar( - name = "jetty-server", - maven_coords = "org.eclipse.jetty:jetty-server:jar:9.4.19.v20190610", - binary_jar = "jetty-server-9.4.19.v20190610.jar", - source_jar = "jetty-server-9.4.19.v20190610-sources.jar", - deps = [ - ":jetty-http", - ":jetty-io", - ":jetty-jmx", - "//third_party/java/servlet:javax.servlet-api", - ], -) - -prebuilt_jar( - name = "jetty-servlet", - maven_coords = "org.eclipse.jetty:jetty-servlet:jar:9.4.19.v20190610", - binary_jar = "jetty-servlet-9.4.19.v20190610.jar", - source_jar = "jetty-servlet-9.4.19.v20190610-sources.jar", - deps = [ - ":jetty-jmx", - ":jetty-security", - ], -) - -prebuilt_jar( - name = "jetty-util", - maven_coords = "org.eclipse.jetty:jetty-util:jar:9.4.19.v20190610", - binary_jar = "jetty-util-9.4.19.v20190610.jar", - source_jar = "jetty-util-9.4.19.v20190610-sources.jar", - deps = [ - "//third_party/java/servlet:javax.servlet-api", - ], - visibility = [ - "//third_party/java/websocket:", - ], -) - -prebuilt_jar( - name = "jetty-xml", - maven_coords = "org.eclipse.jetty:jetty-xml:jar:9.4.19.v20190610", - binary_jar = "jetty-xml-9.4.19.v20190610.jar", - source_jar = "jetty-xml-9.4.19.v20190610-sources.jar", - deps = [ - ":jetty-util", - ], - visibility = [ - "//third_party/java/websocket:websocket-client", - ], -) diff --git a/third_party/java/junit/BUCK b/third_party/java/junit/BUCK deleted file mode 100644 index 808c1c971a6e8..0000000000000 --- a/third_party/java/junit/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -prebuilt_jar( - name = "junit", - maven_coords = "junit:junit:jar:4.12", - binary_jar = "junit-4.12.jar", - source_jar = "junit-4.12-sources.jar", - deps = [ - "//third_party/java/hamcrest:hamcrest-core", - ], - visibility = [ - "//java/client/src/com/thoughtworks/selenium:selenium", - "//java/client/src/com/thoughtworks/selenium/condition:condition", - "//java/client/src/org/openqa/selenium/lift:lift", - "//java/client/test/...", - "//java/server/test/...", - "//third_party/java/sisu:org.eclipse.sisu.plexus", - "//third_party/java/testng:testng", - ], -) diff --git a/third_party/java/kotlin-stdlib/BUCK b/third_party/java/kotlin-stdlib/BUCK deleted file mode 100644 index 0ce1a11e9e971..0000000000000 --- a/third_party/java/kotlin-stdlib/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "kotlin-stdlib", - maven_coords = "org.jetbrains.kotlin:kotlin-stdlib:jar:1.3.41", - binary_jar = "kotlin-stdlib-1.3.41.jar", - source_jar = "kotlin-stdlib-1.3.41-sources.jar", - visibility = [ - "//third_party/java/okio:okio", - ], -) diff --git a/third_party/java/littleshoot/BUCK b/third_party/java/littleshoot/BUCK deleted file mode 100644 index 04174b5306a9a..0000000000000 --- a/third_party/java/littleshoot/BUCK +++ /dev/null @@ -1,15 +0,0 @@ -prebuilt_jar( - name = "littleproxy", - maven_coords = "org.littleshoot:littleproxy:jar:1.1.3-SNAPSHOT", - binary_jar = "littleproxy-1.1.3-SNAPSHOT.jar", - deps = [ - "//third_party/java/commons:commons-lang3", - "//third_party/java/guava:guava", - "//third_party/java/netty:netty-all", - "//third_party/java/slf4j:slf4j-api", - "//third_party/java/udt:barchart-udt-bundle", - ], - visibility = [ - "//java/client/test/org/openqa/selenium:tests", - ], -) diff --git a/third_party/java/maven/BUCK b/third_party/java/maven/BUCK deleted file mode 100644 index 380e5c800c522..0000000000000 --- a/third_party/java/maven/BUCK +++ /dev/null @@ -1,36 +0,0 @@ -prebuilt_jar( - name = "maven-artifact", - maven_coords = "org.apache.maven:maven-artifact:jar:3.3.9", - binary_jar = "maven-artifact-3.3.9.jar", - source_jar = "maven-artifact-3.3.9-sources.jar", - deps = [ - "//third_party/java/commons:commons-lang3", - "//third_party/java/plexus:plexus-utils", - ], -) - -prebuilt_jar( - name = "maven-model", - maven_coords = "org.apache.maven:maven-model:jar:3.3.9", - binary_jar = "maven-model-3.3.9.jar", - source_jar = "maven-model-3.3.9-sources.jar", - deps = [ - "//third_party/java/commons:commons-lang3", - "//third_party/java/plexus:plexus-utils", - ], -) - -prebuilt_jar( - name = "maven-plugin-api", - maven_coords = "org.apache.maven:maven-plugin-api:jar:3.3.9", - binary_jar = "maven-plugin-api-3.3.9.jar", - source_jar = "maven-plugin-api-3.3.9-sources.jar", - deps = [ - ":maven-artifact", - ":maven-model", - "//third_party/java/sisu:org.eclipse.sisu.plexus", - ], - visibility = [ - "//third_party/java/pantsbuild:jarjar", - ], -) diff --git a/third_party/java/mockito/BUCK b/third_party/java/mockito/BUCK deleted file mode 100644 index ee44620a49c89..0000000000000 --- a/third_party/java/mockito/BUCK +++ /dev/null @@ -1,15 +0,0 @@ -prebuilt_jar( - name = "mockito-core", - maven_coords = "org.mockito:mockito-core:jar:2.26.0", - binary_jar = "mockito-core-2.26.0.jar", - source_jar = "mockito-core-2.26.0-sources.jar", - deps = [ - "//third_party/java/bytebuddy:byte-buddy", - "//third_party/java/bytebuddy:byte-buddy-agent", - "//third_party/java/objenesis:objenesis", - ], - visibility = [ - "//java/client/test/...", - "//java/server/test/...", - ], -) diff --git a/third_party/java/netty/BUCK b/third_party/java/netty/BUCK deleted file mode 100644 index cf5f9d7575f02..0000000000000 --- a/third_party/java/netty/BUCK +++ /dev/null @@ -1,14 +0,0 @@ -prebuilt_jar( - name = "netty-all", - maven_coords = "io.netty:netty-all:jar:4.1.25.Final", - binary_jar = "netty-all-4.1.25.Final.jar", - source_jar = "netty-all-4.1.25.Final-sources.jar", - deps = [ - "//third_party/java/commons-logging:commons-logging", - "//third_party/java/slf4j:slf4j-api", - "//third_party/java/slf4j:slf4j-jdk14", - ], - visibility = [ - "//third_party/java/littleshoot:littleproxy", - ], -) diff --git a/third_party/java/objenesis/BUCK b/third_party/java/objenesis/BUCK deleted file mode 100644 index c572d81f2bae9..0000000000000 --- a/third_party/java/objenesis/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "objenesis", - maven_coords = "org.objenesis:objenesis:jar:3.0.1", - binary_jar = "objenesis-3.0.1.jar", - source_jar = "objenesis-3.0.1-sources.jar", - visibility = [ - "//third_party/java/mockito:mockito-core", - ], -) diff --git a/third_party/java/okhttp3/BUCK b/third_party/java/okhttp3/BUCK deleted file mode 100644 index 6f25b4941b3ee..0000000000000 --- a/third_party/java/okhttp3/BUCK +++ /dev/null @@ -1,14 +0,0 @@ -prebuilt_jar( - name = "okhttp", - maven_coords = "com.squareup.okhttp3:okhttp:jar:4.0.1", - binary_jar = "okhttp-4.0.1.jar", - source_jar = "okhttp-4.0.1-sources.jar", - deps = [ - "//third_party/java/okio:okio", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/remote:remote-lib", - "//java/client/src/org/openqa/selenium/remote/http/okhttp:", - "//third_party/java/contrib:opentracing-okhttp3", - ], -) diff --git a/third_party/java/okio/BUCK b/third_party/java/okio/BUCK deleted file mode 100644 index 766416fb59f61..0000000000000 --- a/third_party/java/okio/BUCK +++ /dev/null @@ -1,12 +0,0 @@ -prebuilt_jar( - name = "okio", - maven_coords = "com.squareup.okio:okio:jar:2.2.2", - binary_jar = "okio-2.2.2.jar", - source_jar = "okio-2.2.2-sources.jar", - deps = [ - "//third_party/java/kotlin-stdlib:kotlin-stdlib", - ], - visibility = [ - "//third_party/java/okhttp3:okhttp", - ], -) diff --git a/third_party/java/opentracing/BUCK b/third_party/java/opentracing/BUCK deleted file mode 100644 index fdc88649dcc86..0000000000000 --- a/third_party/java/opentracing/BUCK +++ /dev/null @@ -1,41 +0,0 @@ -prebuilt_jar( - name = "opentracing-api", - maven_coords = "io.opentracing:opentracing-api:0.33.0", - binary_jar = "opentracing-api-0.33.0.jar", - source_jar = "opentracing-api-0.33.0-sources.jar", - visibility = [ - "//third_party/java/contrib:", - "//java/client/src/org/openqa/selenium/remote/tracing:", - ], -) - -prebuilt_jar( - name = "opentracing-noop", - maven_coords = "io.opentracing:opentracing-noop:0.33.0", - binary_jar = "opentracing-noop-0.33.0.jar", - source_jar = "opentracing-noop-0.33.0-sources.jar", - deps = [ - ":opentracing-api", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/remote/tracing:", - "//third_party/java/contrib:opentracing-concurrent", - "//third_party/java/contrib:opentracing-okhttp3", - ], -) - -prebuilt_jar( - name = "opentracing-util", - maven_coords = "io.opentracing:opentracing-util:0.33.0", - binary_jar = "opentracing-util-0.33.0.jar", - source_jar = "opentracing-util-0.33.0-sources.jar", - deps = [ - ":opentracing-api", - ":opentracing-noop", - ], - visibility = [ - "//java/client/src/org/openqa/selenium/remote/tracing:", - "//java/client/test/org/openqa/selenium/remote/tracing/simple:", - "//third_party/java/contrib:opentracing-tracerresolver", - ], -) diff --git a/third_party/java/pantsbuild/BUCK b/third_party/java/pantsbuild/BUCK deleted file mode 100644 index 6ad18a443c653..0000000000000 --- a/third_party/java/pantsbuild/BUCK +++ /dev/null @@ -1,24 +0,0 @@ -java_binary( - name = "jarjar-links", - main_class = "org.pantsbuild.jarjar.Main", - deps = [ - ":jarjar", - ], - visibility = [ - "//third_party/java/jetty:", - "//third_party/java/websocket:", - ], -) - -prebuilt_jar( - name = "jarjar", - maven_coords = "org.pantsbuild:jarjar:jar:1.6.5", - binary_jar = "jarjar-1.6.5.jar", - source_jar = "jarjar-1.6.5-sources.jar", - deps = [ - "//third_party/java/ant:ant", - "//third_party/java/asm:asm", - "//third_party/java/asm:asm-commons", - "//third_party/java/maven:maven-plugin-api", - ], -) diff --git a/third_party/java/plexus/BUCK b/third_party/java/plexus/BUCK deleted file mode 100644 index edd27acca3f90..0000000000000 --- a/third_party/java/plexus/BUCK +++ /dev/null @@ -1,31 +0,0 @@ -prebuilt_jar( - name = "plexus-classworlds", - maven_coords = "org.codehaus.plexus:plexus-classworlds:jar:2.5.2", - binary_jar = "plexus-classworlds-2.5.2.jar", - source_jar = "plexus-classworlds-2.5.2-sources.jar", - visibility = [ - "//third_party/java/sisu:org.eclipse.sisu.plexus", - ], -) - -prebuilt_jar( - name = "plexus-component-annotations", - maven_coords = "org.codehaus.plexus:plexus-component-annotations:jar:1.5.5", - binary_jar = "plexus-component-annotations-1.5.5.jar", - source_jar = "plexus-component-annotations-1.5.5-sources.jar", - visibility = [ - "//third_party/java/sisu:org.eclipse.sisu.plexus", - ], -) - -prebuilt_jar( - name = "plexus-utils", - maven_coords = "org.codehaus.plexus:plexus-utils:jar:3.0.22", - binary_jar = "plexus-utils-3.0.22.jar", - source_jar = "plexus-utils-3.0.22-sources.jar", - visibility = [ - "//third_party/java/maven:maven-artifact", - "//third_party/java/maven:maven-model", - "//third_party/java/sisu:org.eclipse.sisu.plexus", - ], -) diff --git a/third_party/java/selenium/BUCK b/third_party/java/selenium/BUCK deleted file mode 100644 index 5c7d04076ac1a..0000000000000 --- a/third_party/java/selenium/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -prebuilt_jar( - name = "htmlunit-driver", - maven_coords = "org.seleniumhq.selenium:htmlunit-driver:jar:2.36.0", - binary_jar = "htmlunit-driver-2.36.0.jar", - source_jar = "htmlunit-driver-2.36.0-sources.jar", - deps = [ - "//java/client/src/org/openqa/selenium/remote:remote", - "//java/client/src/org/openqa/selenium/support:support", - "//third_party/java/htmlunit:htmlunit", - ], - visibility = [ - "//java/client/test/org/openqa/selenium/htmlunit:htmlunit", - "//java/client/test/org/openqa/selenium/testing/drivers:drivers", - "//java/server/src/org/openqa/selenium/remote/server:standalone-server-lib", - "//java/client/test/org/openqa/selenium/testing:test-base", - ], -) diff --git a/third_party/java/service/BUCK b/third_party/java/service/BUCK deleted file mode 100644 index 97bb0df13b98f..0000000000000 --- a/third_party/java/service/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -prebuilt_jar( - name = "auto-service", - maven_coords = "com.google.auto.service:auto-service:jar:1.0-rc4", - binary_jar = "auto-service-1.0-rc4.jar", - source_jar = "auto-service-1.0-rc4-sources.jar", - deps = [ - "//third_party/java/auto:auto-common", - "//third_party/java/guava:guava", - ], - visibility = ["PUBLIC"], -) diff --git a/third_party/java/servlet/BUCK b/third_party/java/servlet/BUCK deleted file mode 100644 index 0b6ca1b1b499a..0000000000000 --- a/third_party/java/servlet/BUCK +++ /dev/null @@ -1,20 +0,0 @@ -prebuilt_jar( - name = "javax.servlet-api", - maven_coords = "javax.servlet:javax.servlet-api:jar:3.1.0", - binary_jar = "javax.servlet-api-3.1.0.jar", - source_jar = "javax.servlet-api-3.1.0-sources.jar", - visibility = [ - "//java/client/test/com/thoughtworks/selenium:tests", - "//java/client/test/org/openqa/selenium:tests", - "//java/client/test/org/openqa/selenium/environment:environment", - "//java/client/test/org/openqa/selenium/remote:", - "//java/server/src/com/thoughtworks/selenium/webdriven:rc-emulation-servlet", - "//java/server/src/org/openqa/selenium/grid/server:server", - "//java/server/src/org/openqa/selenium/grid/web:web", - "//java/server/src/org/openqa/selenium/remote/server:server", - "//java/server/src/org/openqa/selenium/remote/server:standalone-server-lib", - "//java/server/src/org/openqa/selenium/remote/server:webdriver-servlet", - "//java/server/test/...", - "//third_party/java/jetty:", - ], -) diff --git a/third_party/java/sisu/BUCK b/third_party/java/sisu/BUCK deleted file mode 100644 index f1b708b5735f5..0000000000000 --- a/third_party/java/sisu/BUCK +++ /dev/null @@ -1,24 +0,0 @@ -prebuilt_jar( - name = "org.eclipse.sisu.inject", - maven_coords = "org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.2", - binary_jar = "org.eclipse.sisu.inject-0.3.2.jar", - source_jar = "org.eclipse.sisu.inject-0.3.2-sources.jar", -) - -prebuilt_jar( - name = "org.eclipse.sisu.plexus", - maven_coords = "org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.2", - binary_jar = "org.eclipse.sisu.plexus-0.3.2.jar", - source_jar = "org.eclipse.sisu.plexus-0.3.2-sources.jar", - deps = [ - ":org.eclipse.sisu.inject", - "//third_party/java/enterprise:cdi-api", - "//third_party/java/junit:junit", - "//third_party/java/plexus:plexus-classworlds", - "//third_party/java/plexus:plexus-component-annotations", - "//third_party/java/plexus:plexus-utils", - ], - visibility = [ - "//third_party/java/maven:maven-plugin-api", - ], -) diff --git a/third_party/java/slf4j/BUCK b/third_party/java/slf4j/BUCK deleted file mode 100644 index a011840def448..0000000000000 --- a/third_party/java/slf4j/BUCK +++ /dev/null @@ -1,25 +0,0 @@ -prebuilt_jar( - name = "slf4j-api", - maven_coords = "org.slf4j:slf4j-api:jar:1.7.25", - binary_jar = "slf4j-api-1.7.25.jar", - source_jar = "slf4j-api-1.7.25-sources.jar", - visibility = [ - "//third_party/java/jetty:", - "//third_party/java/littleshoot:littleproxy", - "//third_party/java/netty:netty-all", - ], -) - -prebuilt_jar( - name = "slf4j-jdk14", - maven_coords = "org.slf4j:slf4j-jdk14:jar:1.7.25", - binary_jar = "slf4j-jdk14-1.7.25.jar", - source_jar = "slf4j-jdk14-1.7.25-sources.jar", - deps = [ - ":slf4j-api", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid:", - "//third_party/java/netty:netty-all", - ], -) diff --git a/third_party/java/testng/BUCK b/third_party/java/testng/BUCK deleted file mode 100644 index e74aee552ca8d..0000000000000 --- a/third_party/java/testng/BUCK +++ /dev/null @@ -1,15 +0,0 @@ -prebuilt_jar( - name = "testng", - maven_coords = "org.testng:testng:jar:6.14.3", - binary_jar = "testng-6.14.3.jar", - source_jar = "testng-6.14.3-sources.jar", - deps = [ - "//third_party/java/ant:ant", - "//third_party/java/beust:jcommander", - "//third_party/java/junit:junit", - "//third_party/java/yaml:snakeyaml", - ], - visibility = [ - "//java/client/src/com/thoughtworks/selenium:selenium", - ], -) diff --git a/third_party/java/udt/BUCK b/third_party/java/udt/BUCK deleted file mode 100644 index 2775a92dfd620..0000000000000 --- a/third_party/java/udt/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "barchart-udt-bundle", - maven_coords = "com.barchart.udt:barchart-udt-bundle:jar:2.3.0", - binary_jar = "barchart-udt-bundle-2.3.0.jar", - source_jar = "barchart-udt-bundle-2.3.0-sources.jar", - visibility = [ - "//third_party/java/littleshoot:littleproxy", - ], -) diff --git a/third_party/java/websocket/BUCK b/third_party/java/websocket/BUCK deleted file mode 100644 index cafe533e6c5eb..0000000000000 --- a/third_party/java/websocket/BUCK +++ /dev/null @@ -1,35 +0,0 @@ -prebuilt_jar( - name = "websocket-api", - maven_coords = "org.eclipse.jetty.websocket:websocket-api:jar:9.4.8.v20180619", - binary_jar = "websocket-api-9.4.8.v20180619.jar", - source_jar = "websocket-api-9.4.8.v20180619-sources.jar", -) - -prebuilt_jar( - name = "websocket-client", - maven_coords = "org.eclipse.jetty.websocket:websocket-client:jar:9.4.8.v20180619", - binary_jar = "websocket-client-9.4.8.v20180619.jar", - source_jar = "websocket-client-9.4.8.v20180619-sources.jar", - deps = [ - ":websocket-common", - "//third_party/java/jetty:jetty-client", - "//third_party/java/jetty:jetty-io", - "//third_party/java/jetty:jetty-util", - "//third_party/java/jetty:jetty-xml", - ], - visibility = [ - "//third_party/java/htmlunit:htmlunit", - ], -) - -prebuilt_jar( - name = "websocket-common", - maven_coords = "org.eclipse.jetty.websocket:websocket-common:jar:9.4.8.v20180619", - binary_jar = "websocket-common-9.4.8.v20180619.jar", - source_jar = "websocket-common-9.4.8.v20180619-sources.jar", - deps = [ - ":websocket-api", - "//third_party/java/jetty:jetty-io", - "//third_party/java/jetty:jetty-util", - ], -) diff --git a/third_party/java/xalan/BUCK b/third_party/java/xalan/BUCK deleted file mode 100644 index c1e111d7568f2..0000000000000 --- a/third_party/java/xalan/BUCK +++ /dev/null @@ -1,24 +0,0 @@ -prebuilt_jar( - name = "serializer", - maven_coords = "xalan:serializer:jar:2.7.2", - binary_jar = "serializer-2.7.2.jar", - source_jar = "serializer-2.7.2-sources.jar", - deps = [ - "//third_party/java/xerces:xercesImpl", - "//third_party/java/xml-apis:xml-apis", - ], -) - -prebuilt_jar( - name = "xalan", - maven_coords = "xalan:xalan:jar:2.7.2", - binary_jar = "xalan-2.7.2.jar", - source_jar = "xalan-2.7.2-sources.jar", - deps = [ - ":serializer", - "//third_party/java/xerces:xercesImpl", - ], - visibility = [ - "//third_party/java/htmlunit:htmlunit", - ], -) diff --git a/third_party/java/xerces/BUCK b/third_party/java/xerces/BUCK deleted file mode 100644 index 84676ff9ed4a6..0000000000000 --- a/third_party/java/xerces/BUCK +++ /dev/null @@ -1,14 +0,0 @@ -prebuilt_jar( - name = "xercesImpl", - maven_coords = "xerces:xercesImpl:jar:2.11.0", - binary_jar = "xercesImpl-2.11.0.jar", - source_jar = "xercesImpl-2.11.0-sources.jar", - deps = [ - "//third_party/java/xml-apis:xml-apis", - ], - visibility = [ - "//third_party/java/htmlunit:neko-htmlunit", - "//third_party/java/xalan:serializer", - "//third_party/java/xalan:xalan", - ], -) diff --git a/third_party/java/xml-apis/BUCK b/third_party/java/xml-apis/BUCK deleted file mode 100644 index 5a380a2d6ca3f..0000000000000 --- a/third_party/java/xml-apis/BUCK +++ /dev/null @@ -1,10 +0,0 @@ -prebuilt_jar( - name = "xml-apis", - maven_coords = "xml-apis:xml-apis:jar:1.4.01", - binary_jar = "xml-apis-1.4.01.jar", - source_jar = "xml-apis-1.4.01-sources.jar", - visibility = [ - "//third_party/java/xalan:serializer", - "//third_party/java/xerces:xercesImpl", - ], -) diff --git a/third_party/java/yaml/BUCK b/third_party/java/yaml/BUCK deleted file mode 100644 index 49f4d677f91db..0000000000000 --- a/third_party/java/yaml/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -prebuilt_jar( - name = "snakeyaml", - maven_coords = "org.yaml:snakeyaml:jar:1.24", - binary_jar = "snakeyaml-1.24.jar", - source_jar = "snakeyaml-1.24-sources.jar", - visibility = [ - "//third_party/java/testng:testng", - ], -) diff --git a/third_party/java/zeromq/BUCK b/third_party/java/zeromq/BUCK deleted file mode 100644 index 7cecb3f677c0d..0000000000000 --- a/third_party/java/zeromq/BUCK +++ /dev/null @@ -1,20 +0,0 @@ -prebuilt_jar( - name = "jeromq", - maven_coords = "org.zeromq:jeromq:jar:0.5.1", - binary_jar = "jeromq-0.5.1.jar", - source_jar = "jeromq-0.5.1-sources.jar", - deps = [ - ":jnacl", - ], - visibility = [ - "//java/server/src/org/openqa/selenium/events/zeromq:", - "//java/server/test/org/openqa/selenium/events:", - ], -) - -prebuilt_jar( - name = "jnacl", - maven_coords = "eu.neilalexander:jnacl:jar:1.0.0", - binary_jar = "jnacl-1.0.0.jar", - source_jar = "jnacl-1.0.0-sources.jar", -) diff --git a/third_party/js/selenium/BUCK b/third_party/js/selenium/BUCK deleted file mode 100644 index 7a5785adb3769..0000000000000 --- a/third_party/js/selenium/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -export_file( - name = "webdriver", - src = "webdriver-3.141.59.xpi", - out = "webdriver.xpi", - visibility = [ - "//java/client/src/org/openqa/selenium/firefox/xpi:webdriver.xpi", - ], -) - -export_file( - name = "webdriver_prefs", - src = "webdriver.json", - visibility = [ - "//java/client/src/org/openqa/selenium/firefox:prefs", - "//dotnet/src/webdriver:webdriver_deps", - ], -) diff --git a/third_party/js/sizzle/BUCK b/third_party/js/sizzle/BUCK deleted file mode 100644 index 85bd95a9c3fe3..0000000000000 --- a/third_party/js/sizzle/BUCK +++ /dev/null @@ -1,9 +0,0 @@ -export_file( - name = "sizzle", - src = "sizzle.js", - out = "sizzle.js", - visibility = [ - "//java/client/src/com/thoughtworks/selenium/webdriven:sizzle", - "//javascript/selenium-core:sizzle.js", - ], -) diff --git a/third_party/js/wgxpath/BUCK b/third_party/js/wgxpath/BUCK deleted file mode 100644 index 6668340c16df0..0000000000000 --- a/third_party/js/wgxpath/BUCK +++ /dev/null @@ -1,8 +0,0 @@ -closure_library( - name = "wgxpath", - srcs = glob(["*.js"]), - deps = [ - "//third_party/closure:closure", - ], - visibility = ["PUBLIC"], -)