Index: build/config/BUILDCONFIG.gn |
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn |
index f354f17b0d3193738d6646776fb2352868f0a179..122acef8968d483838804585984d287542d14d2d 100644 |
--- a/build/config/BUILDCONFIG.gn |
+++ b/build/config/BUILDCONFIG.gn |
@@ -130,9 +130,6 @@ declare_args() { |
# separate flags. |
is_official_build = false |
- # Debug build. Enabling official builds automatically sets is_debug to false. |
- is_debug = !is_official_build |
- |
# Whether we're a traditional desktop unix. |
is_desktop_linux = current_os == "linux" |
@@ -153,6 +150,11 @@ declare_args() { |
} |
declare_args() { |
+ # Debug build. Enabling official builds automatically sets is_debug to false. |
+ is_debug = !is_official_build |
+} |
+ |
+declare_args() { |
# Component build. Setting to true compiles targets declared as "components" |
# as shared libraries loaded dynamically. This speeds up development time. |
# When false, components will be linked statically. |