1# Copyright 2013 The Flutter Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("//build/fuchsia/sdk.gni") 6 7group("platform") { 8 if (is_mac || is_ios) { 9 deps = [ "darwin" ] 10 } else if (is_android) { 11 deps = [ "android" ] 12 } else if (is_linux) { 13 if (is_fuchsia_host) { 14 # The linux build is not supported as part of the Fuchsia host build. 15 deps = [] 16 } else { 17 deps = [ "linux" ] 18 } 19 } else if (is_win) { 20 deps = [ "windows" ] 21 } else if (is_fuchsia) { 22 if (using_fuchsia_sdk) { 23 deps = [ "fuchsia" ] 24 } 25 } else { 26 assert(false, "Unknown/Unsupported platform.") 27 } 28} 29