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

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

Issue 1812823002: [iOS] Define global assert_no_deps and use it to prevent regressions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@components-invalidation
Patch Set: Address comments Created 4 years, 9 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 | components/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 6
7 # TODO(crbug.com/297668): refactor this template to extract common behaviour 7 # TODO(crbug.com/297668): refactor this template to extract common behaviour
8 # between OS X and iOS bundle generation, then create a generic "app" template 8 # between OS X and iOS bundle generation, then create a generic "app" template
9 # that forward to "executable" on all platform except iOS/OS X. 9 # that forward to "executable" on all platform except iOS/OS X.
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 93 }
94 94
95 _generate_executable = target_name + "_generate_executable" 95 _generate_executable = target_name + "_generate_executable"
96 _bundle_data_executable = target_name + "_bundle_data_executable" 96 _bundle_data_executable = target_name + "_bundle_data_executable"
97 97
98 executable(_generate_executable) { 98 executable(_generate_executable) {
99 visibility = [ ":$_bundle_data_executable" ] 99 visibility = [ ":$_bundle_data_executable" ]
100 forward_variables_from(invoker, 100 forward_variables_from(invoker,
101 "*", 101 "*",
102 [ 102 [
103 "output_name", 103 "assert_no_deps",
104 "code_signing_identity", 104 "code_signing_identity",
105 "data_deps", 105 "data_deps",
106 "entitlements_path", 106 "entitlements_path",
107 "info_plist", 107 "info_plist",
108 "output_name",
108 "visibility", 109 "visibility",
109 ]) 110 ])
110 111
111 output_name = rebase_path("$target_gen_dir/$_output_name", root_build_dir) 112 output_name = rebase_path("$target_gen_dir/$_output_name", root_build_dir)
112 if (!defined(libs)) { 113 if (!defined(libs)) {
113 libs = [] 114 libs = []
114 } 115 }
115 libs += [ "UIKit.framework" ] 116 libs += [ "UIKit.framework" ]
116 } 117 }
117 118
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 bundle_executable_dir = bundle_root_dir 160 bundle_executable_dir = bundle_root_dir
160 bundle_plugins_dir = "$bundle_root_dir/Plugins" 161 bundle_plugins_dir = "$bundle_root_dir/Plugins"
161 } 162 }
162 163
163 # TODO(crbug.com/297668): 164 # TODO(crbug.com/297668):
164 # - add support for codesigning, 165 # - add support for codesigning,
165 # - find a way to make "ninja -C out/Default base_unittests.app" work as 166 # - find a way to make "ninja -C out/Default base_unittests.app" work as
166 # an alias to "ninja -C out/Default base_unittests" (for convenience 167 # an alias to "ninja -C out/Default base_unittests" (for convenience
167 # and compatibility with gyp), 168 # and compatibility with gyp),
168 } 169 }
OLDNEW
« no previous file with comments | « no previous file | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698