| 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/config/mac/base_rules.gni") | 6 import("//build/config/mac/base_rules.gni") |
| 7 import("//build/mac/tweak_info_plist.gni") | 7 import("//build/mac/tweak_info_plist.gni") |
| 8 import("//ios/build/chrome_build.gni") | 8 import("//ios/build/chrome_build.gni") |
| 9 import("//ios/public/provider/chrome/browser/build_config.gni") | 9 import("//ios/public/provider/chrome/browser/build_config.gni") |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 "--branding=$chromium_short_name", | 99 "--branding=$chromium_short_name", |
| 100 ] | 100 ] |
| 101 } | 101 } |
| 102 | 102 |
| 103 compile_plist("entitlements") { | 103 compile_plist("entitlements") { |
| 104 format = "xml1" | 104 format = "xml1" |
| 105 plist_templates = [ "resources/Chrome.entitlements" ] | 105 plist_templates = [ "resources/Chrome.entitlements" ] |
| 106 if (ios_chrome_entitlements_additions != []) { | 106 if (ios_chrome_entitlements_additions != []) { |
| 107 plist_templates += ios_chrome_entitlements_additions | 107 plist_templates += ios_chrome_entitlements_additions |
| 108 } | 108 } |
| 109 if (!ios_automatically_manage_certs) { | |
| 110 plist_templates += [ "resources/AssociatedDomains.entitlements" ] | |
| 111 } | |
| 112 substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] | 109 substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] |
| 113 output_name = "$target_gen_dir/$chromium_short_name.entitlements" | 110 output_name = "$target_gen_dir/$chromium_short_name.entitlements" |
| 114 } | 111 } |
| 115 | 112 |
| 116 source_set("app_internal") { | 113 source_set("app_internal") { |
| 117 sources = [ | 114 sources = [ |
| 118 "application_mode.h", | 115 "application_mode.h", |
| 119 "chrome_app_startup_parameters.h", | 116 "chrome_app_startup_parameters.h", |
| 120 "chrome_app_startup_parameters.mm", | 117 "chrome_app_startup_parameters.mm", |
| 121 "chrome_overlay_window.h", | 118 "chrome_overlay_window.h", |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 ] | 342 ] |
| 346 sources = [ | 343 sources = [ |
| 347 "$root_out_dir/share_extension.appex", | 344 "$root_out_dir/share_extension.appex", |
| 348 ] | 345 ] |
| 349 outputs = [ | 346 outputs = [ |
| 350 "{{bundle_plugins_dir}}/{{source_file_part}}", | 347 "{{bundle_plugins_dir}}/{{source_file_part}}", |
| 351 ] | 348 ] |
| 352 } | 349 } |
| 353 } | 350 } |
| 354 } | 351 } |
| OLD | NEW |