Commit e0cbdbf3 authored by Antonio Gomes's avatar Antonio Gomes Committed by Commit Bot

[lacros/chrome] Enforce use_gtk=false if chromeos_is_browser_only

This prevents the developer from accidentally enabling use_gtk=true
on the lacros/chrome build, and diverge from the ChromeOS environment.

BUG=None
R=jamescook@chromium.org

Change-Id: Idc204d85b970d47fe96dc21dec55c1ac091b8484
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2343488
Commit-Queue: James Cook <jamescook@chromium.org>
Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
Auto-Submit: Antonio Gomes (GMT-4) <tonikitoo@igalia.com>
Cr-Commit-Position: refs/heads/master@{#796146}
parent 529b1a97
...@@ -3,9 +3,11 @@ ...@@ -3,9 +3,11 @@
# found in the LICENSE file. # found in the LICENSE file.
import("//build/config/chromeos/ui_mode.gni") import("//build/config/chromeos/ui_mode.gni")
import("//build/config/linux/gtk/gtk.gni")
# Code lives in the lacros-chrome browser only, not ash-chrome. # Code lives in the lacros-chrome browser only, not ash-chrome.
assert(chromeos_is_browser_only) assert(chromeos_is_browser_only)
assert(!use_gtk)
# Reset sources_assignment_filter for the BUILD.gn file to prevent # Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature. # regression during the migration of Chromium away from the feature.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment