mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This CL makes it possible to build sky_shell on Linux. It doesn't do much, but it doesn't crash on startup. The goal is to evetually be able to test sky_shell on the bots and to be able to run the test_sky on Mac. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1202323002.
54 lines
1.0 KiB
Plaintext
54 lines
1.0 KiB
Plaintext
# Copyright 2014 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.
|
|
|
|
import("//build/config/ui.gni")
|
|
import("//tools/grit/grit_rule.gni")
|
|
|
|
group("sky") {
|
|
testonly = true
|
|
|
|
deps = [
|
|
"//services/debugger",
|
|
"//sky/engine/platform:platform_unittests",
|
|
"//sky/engine/web:sky_unittests",
|
|
"//sky/engine/wtf:unittests",
|
|
"//sky/tools/imagediff",
|
|
"//sky/tools/packager($host_toolchain)",
|
|
"//sky/tools/tester",
|
|
"//sky/viewer",
|
|
":sky_apk",
|
|
]
|
|
|
|
if (is_android) {
|
|
deps += [ "//sky/apk/stocks" ]
|
|
}
|
|
|
|
if (!is_android) {
|
|
deps += [ "//third_party/mesa:osmesa" ]
|
|
}
|
|
}
|
|
|
|
group("sky_apk") {
|
|
testonly = true
|
|
|
|
deps = [
|
|
"//mojo/dart/mojo_services",
|
|
"//mojo/dart/mojom",
|
|
"//mojo/public/dart:mojo",
|
|
"//sky/sdk",
|
|
"//third_party/dart-pkg",
|
|
]
|
|
|
|
if (is_android) {
|
|
deps += [
|
|
"//sky/apk/demo",
|
|
"//sky/services/intents",
|
|
]
|
|
}
|
|
|
|
if (is_linux) {
|
|
deps += [ "//sky/shell" ]
|
|
}
|
|
}
|