| Index: build/config/ios/BUILD.gn
|
| diff --git a/build/config/ios/BUILD.gn b/build/config/ios/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0539810f818dd46564a57cff05e4ca1a5723bd48
|
| --- /dev/null
|
| +++ b/build/config/ios/BUILD.gn
|
| @@ -0,0 +1,22 @@
|
| +# 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,
|
| + ]
|
| +
|
| + if (use_ios_simulator) {
|
| + common_flags += [ "-mios-simulator-version-min=$ios_deployment_target" ]
|
| + } else {
|
| + common_flags += [ "-miphoneos-version-min=$ios_deployment_target" ]
|
| + }
|
| +
|
| + cflags = common_flags
|
| + ldflags = common_flags
|
| +}
|
|
|