Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(644)

Side by Side Diff: build/config/ios/ios_sdk.gni

Issue 2101243005: Add a snapshot of flutter/engine/src/build to our sdk (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add README.dart Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/ios/ios_app.py ('k') | build/config/ios/ios_sdk.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 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
5 declare_args() {
6 # SDK path to use. When empty this will use the default SDK based on the
7 # value of use_ios_simulator.
8 ios_sdk_path = ""
9
10 # Set to true when targeting a simulator build on iOS. False means that the
11 # target is for running on the device. The default value is to use the
12 # Simulator except when targeting GYP's Xcode builds (for compat with the
13 # existing GYP build).
14 use_ios_simulator = true
15
16 # Version of iOS that we're targeting.
17 ios_deployment_target = "6.0"
18
19 # The iOS Code signing identity to use
20 ios_code_signing_identity = ""
21
22 # The path to the iOS device SDK.
23 ios_device_sdk_path = ""
24
25 # The path to the iOS simulator SDK.
26 ios_simulator_sdk_path = ""
27 }
28
29 if (ios_device_sdk_path == "") {
30 _ios_device_sdk_result =
31 exec_script("ios_sdk.py", [ "iphoneos" ], "list lines")
32 ios_device_sdk_path = _ios_device_sdk_result[0]
33 }
34
35 if (ios_simulator_sdk_path == "") {
36 _ios_sim_sdk_result =
37 exec_script("ios_sdk.py", [ "iphonesimulator" ], "list lines")
38 ios_simulator_sdk_path = _ios_sim_sdk_result[0]
39 }
40
41 # Compute default target.
42 if (use_ios_simulator) {
43 ios_sdk_path = ios_simulator_sdk_path
44 } else {
45 ios_sdk_path = ios_device_sdk_path
46 }
47
48 if (use_ios_simulator) {
49 # Always disable code signing on the simulator
50 ios_code_signing_identity = ""
51 } else {
52 # If an identity is not provided, look for one on the host
53 if (ios_code_signing_identity == "") {
54 _ios_identities = exec_script("find_signing_identity.py",
55 [], "list lines")
56 ios_code_signing_identity = _ios_identities[0]
57 }
58 }
OLDNEW
« no previous file with comments | « build/config/ios/ios_app.py ('k') | build/config/ios/ios_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698