From 2972472d7c55c76ced06d0ebbfb8dc10f57fa110 Mon Sep 17 00:00:00 2001 From: wwieclaw Date: Mon, 26 Jun 2023 16:07:24 +0200 Subject: [PATCH] update config name --- BUILD | 2 +- bazel/gflags.bzl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD b/BUILD index 0276301..97122ea 100644 --- a/BUILD +++ b/BUILD @@ -12,7 +12,7 @@ config_setting( ) config_setting( - name = "gflags_debug_build", + name = "debug_build", values = { "compilation_mode": "dbg", }, diff --git a/bazel/gflags.bzl b/bazel/gflags.bzl index 1c94bd4..ab331da 100644 --- a/bazel/gflags.bzl +++ b/bazel/gflags.bzl @@ -99,7 +99,7 @@ def gflags_library(hdrs=[], srcs=[], threads=1): copts = copts, linkopts = linkopts, defines = select({ - "//:gflags_debug_build": ["GFLAGS_DEBUG_BUILD"], + "//:debug_build": ["GFLAGS_DEBUG_BUILD"], "//conditions:default": [] }), visibility = ["//visibility:public"],