mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
- Adds an explicit option for not building the GLFW embedding. - Disables GLFW by default on Windows, where it's no longer the uploaded embedding. - Moves the X11 pkg-config, which is only used by the GLFW embedding, behind the GLFW build flag.
21 lines
434 B
Plaintext
21 lines
434 B
Plaintext
# Copyright 2013 The Flutter Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//build/config/linux/pkg_config.gni")
|
|
import("//flutter/shell/platform/glfw/config.gni")
|
|
|
|
if (build_glfw_shell) {
|
|
pkg_config("x11") {
|
|
packages = [ "x11" ]
|
|
}
|
|
}
|
|
|
|
pkg_config("gtk") {
|
|
packages = [ "gtk+-3.0" ]
|
|
}
|
|
|
|
pkg_config("egl") {
|
|
packages = [ "egl" ]
|
|
}
|