Skip to content

Commit

Permalink
Reorder Build Flag Assert After Includes
Browse files Browse the repository at this point in the history
Some variables depend on //build/config/chromeos/ui_mode.gni.

Change-Id: I86db3177d316d3a73ef37ea4f50727c4a7a37e2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2782940
Commit-Queue: Robert Liao <robliao@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Auto-Submit: Robert Liao <robliao@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#865878}
  • Loading branch information
Robert Liao authored and Chromium LUCI CQ committed Mar 23, 2021
1 parent 35ab836 commit bf0e9ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/gtk/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

assert(is_linux || is_chromeos_lacros || is_chromeos,
"This file should only be referenced on Linux")

import("//build/buildflag_header.gni")
import("//build/config/chromeos/ui_mode.gni")
import("//build/config/features.gni")
Expand All @@ -14,6 +11,9 @@ import("//build/config/ui.gni")
import("//printing/buildflags/buildflags.gni")
import("//tools/generate_stubs/rules.gni")

assert(is_linux || is_chromeos_lacros || is_chromeos,
"This file should only be referenced on Linux")

buildflag_header("gtk_buildflags") {
header = "gtk_buildflags.h"

Expand Down

0 comments on commit bf0e9ce

Please sign in to comment.