BUILD.gn 654 Bytes
Newer Older
1 2 3 4 5 6 7
# Copyright 2015 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("//sky/build/sky_app.gni")

sky_app("game") {
8
  main_dart = "lib/main.dart"
9 10 11 12 13 14
  manifest = "sky.yaml"

  if (is_android) {
    apk_name = "Asteroids"

    deps = [
15
      "//examples/game/apk:resources",
16
    ]
17 18
  } else if (is_ios) {
    info_plist = "ios/Info.plist"
19
    launcher_resources = [
20 21
      "assets/Icon.png",
      "assets/Icon@2x.png",
22
      "ios/LaunchScreen.storyboardc",
23
    ]
24 25 26
  } else if (is_mac) {
    info_plist = "mac/Info.plist"
    xibs = [ "mac/sky_mac.xib" ]
27 28
  }
}