gecko-dev/testing/geckodriver/moz.build
Andreas Tolfsen eda48cff40 Bug 1340637 - Provide build rules for geckodriver; r=jgraham,ted
geckodriver is the Mozilla implementation of the WebDriver remote
control interface for Gecko, and provides an HTTPD proxy that
translates the WebDriver protocol to Marionette.

Building this as part of the Firefox build will allow us to run
WPT WebDriver tests to verify our implementation of Marionette and
geckodriver.  It also makes it less painful to make changes across
projects.

This change will cause the geckodriver program to be built as part
of regular Firefox builds, except on macOS and Android, and when artifact
builds are enabled.

RUST_PROGRAMS in cross-compile environments cause the wrong linker to
be used.  When this bug is fixed, we should be able to enable building
of geckodriver on macOS.  This work is tracked in:

	https://bugzilla.mozilla.org/show_bug.cgi?id=1329737

On Android, we may one to build a binary for the host system to use
(x86_64), instead of an ARM binary for the emulator.

MozReview-Commit-ID: FG5tmPv4iut

--HG--
extra : rebase_source : 091728fd2582458325689fc6e3d8b317428802d8
2017-05-23 14:55:54 +01:00

9 lines
298 B
Plaintext

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
RUST_PROGRAMS += ["geckodriver"]
with Files("**"):
BUG_COMPONENT = ("Testing", "Marionette")