-
Notifications
You must be signed in to change notification settings - Fork 30.3k
Expand file tree
/
Copy pathBUILD.gn
More file actions
30 lines (28 loc) · 768 Bytes
/
BUILD.gn
File metadata and controls
30 lines (28 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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("//flutter/shell/platform/config.gni")
group("platform") {
if (is_mac || is_ios) {
deps = [ "darwin" ]
} else if (is_android) {
deps = [ "android" ]
} else if (is_linux) {
deps = []
if (enable_desktop_embeddings) {
deps += [ "linux" ]
}
} else if (is_win) {
deps = []
if (enable_desktop_embeddings) {
deps += [ "windows" ]
}
} else if (is_fuchsia) {
import("//flutter/tools/fuchsia/gn-sdk/src/gn_configs.gni")
deps = [ "fuchsia" ]
} else if (is_qnx) {
deps = []
} else {
assert(false, "Unknown/Unsupported platform.")
}
}