|
| 1 | +chrome_data = select({ |
| 2 | + "//common:use_chromedriver": ["//common:chromedriver"], |
| 3 | + "//conditions:default": [] |
| 4 | +}) |
| 5 | + |
| 6 | +chrome_jvm_flags = select({ |
| 7 | + "//common:use_chromedriver": [ |
| 8 | + "-Dwebdriver.chrome.driver=$(location //common:chromedriver)", |
| 9 | + ], |
| 10 | + "//conditions:default": [ |
| 11 | + "-Dselenium.skiptest=true", |
| 12 | + ] |
| 13 | +}) |
| 14 | + |
| 15 | +firefox_data = ["//common:geckodriver"] |
| 16 | + |
| 17 | +firefox_jvm_flags = select({ |
| 18 | + "//common:use_pinned_firefox": [ |
| 19 | + "-Dwebdriver.gecko.driver=$(location //common:geckodriver)", |
| 20 | + "-Dwebdriver.firefox.bin=$(location ", |
| 21 | + ], |
| 22 | + "//common:use_local_geckodriver": [ |
| 23 | + "-Dwebdriver.gecko.driver=$(location //common:geckodriver)", |
| 24 | + ], |
| 25 | + "//conditions:default": [ |
| 26 | + "-Dselenium.skiptest=true", |
| 27 | + ], |
| 28 | +}) |
| 29 | + |
| 30 | +edge_data = select({ |
| 31 | + "//common:use_msedgedriver": ["//common:msedgedriver"], |
| 32 | + "//conditions:default": [] |
| 33 | +}) |
| 34 | + |
| 35 | +edge_jvm_flags = select({ |
| 36 | + "//common:use_msedgedriver": [ |
| 37 | + "-Dwebdriver.edge.driver=$(location //common:msedgedriver)", |
| 38 | + ], |
| 39 | + "//conditions:default": [ |
| 40 | + "-Dselenium.skiptest=true", |
| 41 | + ], |
| 42 | +}) |
0 commit comments