# Copyright (c) 2019 The Felicia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
load("//third_party:realsense_configure.bzl", "realsense_configure")

def realsense_deps():
    native.bind(
        name = "felicia",
        actual = "@com_github_chokobole_felicia//felicia:felicia",
    )

    native.bind(
        name = "realsense",
        actual = "@local_config_realsense//:realsense",
    )

    realsense_configure(name = "local_config_realsense")

    if not native.existing_rule("com_github_chokobole_felicia"):
        git_repository(
            name = "com_github_chokobole_felicia",
            remote = "https://github.com/chokobole/felicia.git",
            commit = "<PASSWORD>",
        )
