def METHOD_NAME(args):
    if args.run_bazel_build:
        subprocess.check_call(["bazel", "build"] + [args.bazel_target])
    gen_compilation_database_sh = os.path.join(
        os.path.realpath(os.path.dirname(__file__)), "gen_compilation_database.sh")
    subprocess.check_call([gen_compilation_database_sh] + [args.bazel_target])