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

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

Issue 1882843002: [GN/iOS] Create a symlink to iossim for compatibility with gyp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-iossim
Patch Set: Rebase Created 4 years, 8 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 | « no previous file | testing/iossim/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ios/ios_sdk.gni") 5 import("//build/config/ios/ios_sdk.gni")
6 import("//build/config/mac/rules.gni") 6 import("//build/config/mac/rules.gni")
7 7
8 # TODO(crbug.com/297668): refactor this template to extract common behaviour 8 # TODO(crbug.com/297668): refactor this template to extract common behaviour
9 # between OS X and iOS bundle generation, then create a generic "app" template 9 # between OS X and iOS bundle generation, then create a generic "app" template
10 # that forward to "executable" on all platform except iOS/OS X. 10 # that forward to "executable" on all platform except iOS/OS X.
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 } 146 }
147 deps += [ 147 deps += [
148 ":$_bundle_data_executable", 148 ":$_bundle_data_executable",
149 ":$_bundle_data_info_plist", 149 ":$_bundle_data_info_plist",
150 ] 150 ]
151 151
152 if (use_ios_simulator) { 152 if (use_ios_simulator) {
153 if (!defined(data_deps)) { 153 if (!defined(data_deps)) {
154 data_deps = [] 154 data_deps = []
155 } 155 }
156 data_deps += [ "//testing/iossim(${host_toolchain})" ] 156 data_deps += [ "//testing/iossim" ]
157 } 157 }
158 158
159 bundle_root_dir = "$root_out_dir/$_output_name.app" 159 bundle_root_dir = "$root_out_dir/$_output_name.app"
160 bundle_resources_dir = bundle_root_dir 160 bundle_resources_dir = bundle_root_dir
161 bundle_executable_dir = bundle_root_dir 161 bundle_executable_dir = bundle_root_dir
162 bundle_plugins_dir = "$bundle_root_dir/Plugins" 162 bundle_plugins_dir = "$bundle_root_dir/Plugins"
163 } 163 }
164 164
165 # TODO(crbug.com/297668): 165 # TODO(crbug.com/297668):
166 # - add support for codesigning, 166 # - add support for codesigning,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 343
344 if (defined(_public_headers)) { 344 if (defined(_public_headers)) {
345 configs += [ ":$_headers_map_config" ] 345 configs += [ ":$_headers_map_config" ]
346 if (!defined(deps)) { 346 if (!defined(deps)) {
347 deps = [] 347 deps = []
348 } 348 }
349 deps += [ ":$_framework_headers_target" ] 349 deps += [ ":$_framework_headers_target" ]
350 } 350 }
351 } 351 }
352 } 352 }
OLDNEW
« no previous file with comments | « no previous file | testing/iossim/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698