• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 The Chromium 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/config/ios/templates/ios_app_bundle.gni")
6import("//build/config/ios/templates/storyboards.gni")
7
8ios_app_bundle("hello") {
9  output_name = "Hello"
10
11  info_plist = "resources/Info.plist"
12
13  sources = [
14    "AppDelegate.h",
15    "AppDelegate.m",
16    "SceneDelegate.h",
17    "SceneDelegate.m",
18    "ViewController.h",
19    "ViewController.m",
20    "main.m",
21  ]
22
23  frameworks = [
24    "CoreGraphics.framework",
25    "Foundation.framework",
26    "UIKit.framework",
27  ]
28
29  deps = [
30    ":storyboards",
31    "//shared:hello_framework",
32    "//shared:hello_framework+bundle",
33  ]
34}
35
36storyboards("storyboards") {
37  sources = [
38    "resources/LaunchScreen.storyboard",
39    "resources/Main.storyboard",
40  ]
41}
42