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

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

Issue 2172733003: Add ${target}+bundle to ios_framework_bundle template. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios-framework-bundle-info-plist
Patch Set: 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 | « no previous file | no next file » | 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/base_rules.gni") 6 import("//build/config/mac/base_rules.gni")
7 import("//build/config/mac/symbols.gni") 7 import("//build/config/mac/symbols.gni")
8 8
9 # Generates Info.plist files for Mac apps and frameworks. 9 # Generates Info.plist files for Mac apps and frameworks.
10 # 10 #
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 if (!defined(public_configs)) { 841 if (!defined(public_configs)) {
842 public_configs = [] 842 public_configs = []
843 } 843 }
844 public_configs += [ ":$_framework_public_config$_toolchain_suffix" ] 844 public_configs += [ ":$_framework_public_config$_toolchain_suffix" ]
845 } 845 }
846 846
847 if (_has_public_headers) { 847 if (_has_public_headers) {
848 visibility = [ 848 visibility = [
849 ":$_target_name$_toolchain_suffix", 849 ":$_target_name$_toolchain_suffix",
850 ":$_target_name+link$_toolchain_suffix", 850 ":$_target_name+link$_toolchain_suffix",
851 ":$_target_name+bundle$_toolchain_suffix",
851 ] 852 ]
852 configs += [ ":$_headers_map_config$_toolchain_suffix" ] 853 configs += [ ":$_headers_map_config$_toolchain_suffix" ]
853 854
854 if (!defined(deps)) { 855 if (!defined(deps)) {
855 deps = [] 856 deps = []
856 } 857 }
857 deps += [ ":$_framework_headers_target$_toolchain_suffix" ] 858 deps += [ ":$_framework_headers_target$_toolchain_suffix" ]
858 } else { 859 } else {
859 if (defined(invoker.visibility)) { 860 if (defined(invoker.visibility)) {
860 visibility = invoker.visibility 861 visibility = invoker.visibility
(...skipping 24 matching lines...) Expand all
885 forward_variables_from(invoker, 886 forward_variables_from(invoker,
886 [ 887 [
887 "testonly", 888 "testonly",
888 "visibility", 889 "visibility",
889 ]) 890 ])
890 public_deps = [ 891 public_deps = [
891 ":$_framework_target+link$_toolchain_suffix", 892 ":$_framework_target+link$_toolchain_suffix",
892 ] 893 ]
893 } 894 }
894 } 895 }
896
897 if (!_is_fat_build || _is_fat_build_main_target) {
justincohen 2016/07/21 18:34:51 I'm seeing `!_is_fat_build || _is_fat_build_main_t
898 bundle_data(_target_name + "+bundle") {
899 forward_variables_from(invoker,
900 [
901 "testonly",
902 "visibility",
903 ])
904 public_deps = [
905 ":$_framework_target",
906 ]
907 sources = [
908 "$root_out_dir/$_output_name.framework",
909 ]
910 outputs = [
911 "{{bundle_resources_dir}}/Frameworks/$_output_name.framework",
912 ]
913 }
914 }
895 } 915 }
896 916
897 set_defaults("ios_framework_bundle") { 917 set_defaults("ios_framework_bundle") {
898 configs = default_shared_library_configs 918 configs = default_shared_library_configs
899 } 919 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698