After installing bazel, we’ll need to make two files in the same working directory as the tracing.cc
that is:

WORKSPACE

BUILD

WORKSPACE

Please update your WORKSPACE file to:

http_archive(name="io_opencensus_cpp",strip_prefix="opencensus-cpp-master",urls=["https://github.com/census-instrumentation/opencensus-cpp/archive/master.zip"],)# OpenCensus depends on Abseil so we have to explicitly to pull it in.# This is how diamond dependencies are prevented.http_archive(name="com_google_absl",strip_prefix="abseil-cpp-master",urls=["https://github.com/abseil/abseil-cpp/archive/master.zip"])

http_archive tells bazel to configure an “external repository” by downloading an archive via http, unpacking it, and removing the top-level directory as per “strip_prefix”