| OLD | NEW |
| 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/rules.gni") | 5 import("//build/config/ios/rules.gni") |
| 6 import("//build/mac/tweak_info_plist.gni") | 6 import("//build/mac/tweak_info_plist.gni") |
| 7 import("//ios/build/chrome_build.gni") | 7 import("//ios/build/chrome_build.gni") |
| 8 import("//ios/public/provider/chrome/browser/build_config.gni") |
| 8 | 9 |
| 9 source_set("app") { | 10 source_set("app") { |
| 10 sources = [ | 11 sources = [ |
| 11 "deferred_initialization_runner.h", | 12 "deferred_initialization_runner.h", |
| 12 "deferred_initialization_runner.mm", | 13 "deferred_initialization_runner.mm", |
| 13 "safe_mode_crashing_modules_config.h", | 14 "safe_mode_crashing_modules_config.h", |
| 14 "safe_mode_crashing_modules_config.mm", | 15 "safe_mode_crashing_modules_config.mm", |
| 15 "safe_mode_util.cc", | 16 "safe_mode_util.cc", |
| 16 "safe_mode_util.h", | 17 "safe_mode_util.h", |
| 17 ] | 18 ] |
| 18 | 19 |
| 19 deps = [ | 20 deps = [ |
| 20 ":resources", | 21 ":resources", |
| 21 "//base", | 22 "//base", |
| 23 ios_packed_resources_target, |
| 22 ] | 24 ] |
| 23 | 25 |
| 24 libs = [ "Foundation.framework" ] | 26 libs = [ "Foundation.framework" ] |
| 25 } | 27 } |
| 26 | 28 |
| 27 source_set("unit_tests") { | 29 source_set("unit_tests") { |
| 28 testonly = true | 30 testonly = true |
| 29 sources = [ | 31 sources = [ |
| 30 "deferred_initialization_runner_unittest.mm", | 32 "deferred_initialization_runner_unittest.mm", |
| 31 "safe_mode_util_unittest.cc", | 33 "safe_mode_util_unittest.cc", |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 plist_templates = [ "resources/Chrome.entitlements" ] | 89 plist_templates = [ "resources/Chrome.entitlements" ] |
| 88 if (ios_chrome_entitlements_additions != []) { | 90 if (ios_chrome_entitlements_additions != []) { |
| 89 plist_templates += ios_chrome_entitlements_additions | 91 plist_templates += ios_chrome_entitlements_additions |
| 90 } | 92 } |
| 91 if (!ios_automatically_manage_certs) { | 93 if (!ios_automatically_manage_certs) { |
| 92 plist_templates += [ "resources/AssociatedDomains.entitlements" ] | 94 plist_templates += [ "resources/AssociatedDomains.entitlements" ] |
| 93 } | 95 } |
| 94 substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] | 96 substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] |
| 95 output_name = "$target_gen_dir/$chromium_short_name.entitlements" | 97 output_name = "$target_gen_dir/$chromium_short_name.entitlements" |
| 96 } | 98 } |
| OLD | NEW |