BUILD.gn 758 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

executable("linux") {
  output_name = "sky_shell"

  sources = [
    "main_linux.cc",
    "message_pump_glfw.cc",
    "message_pump_glfw.h",
    "platform_view_glfw.cc",
    "platform_view_glfw.h",
  ]

  deps = [
    "//base",
A
Adam Barth 已提交
18
    "//flutter/common",
19 20 21 22
    "//flutter/shell/common",
    "//flutter/shell/gpu",
    "//flutter/shell/testing",
    "//lib/ftl",
23
    "//lib/tonic",
24

25 26 27
    # Required by FontCacheLinux. Not Skia. Skia uses a custom font manager
    # that delegates to us.
    "//third_party:fontconfig",
28 29
    "//third_party/glfw",
    "//third_party/skia",
30 31
  ]

32
  ldflags = [ "-lGL" ]
33
}