summaryrefslogtreecommitdiffstats
path: root/chromium/build/config/ios/BUILD.gn
blob: 0886be458ab843a5be2985cd718b94d43db28099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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/sysroot.gni")
import("//build/config/ios/ios_sdk.gni")

config("sdk") {
  common_flags = [ "-isysroot", sysroot ]

  cflags = common_flags
  ldflags = common_flags

  if (use_ios_simulator) {
    cflags += [ "-mios-simulator-version-min=$ios_deployment_target" ]
  } else {
    cflags += [ "-miphoneos-version-min=$ios_deployment_target" ]
  }
}