OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'content_shell_product_name': 'Content Shell', | 7 'content_shell_product_name': 'Content Shell', |
8 # The "19" is so that sites that sniff for version think that this is | 8 # The "19" is so that sites that sniff for version think that this is |
9 # something reasonably current; the "77.34.5" is a hint that this isn't a | 9 # something reasonably current; the "77.34.5" is a hint that this isn't a |
10 # standard Chrome. | 10 # standard Chrome. |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 'dependencies': [ | 717 'dependencies': [ |
718 'content_shell_lib', | 718 'content_shell_lib', |
719 ], | 719 ], |
720 'include_dirs': [ | 720 'include_dirs': [ |
721 '..', | 721 '..', |
722 ], | 722 ], |
723 'sources': [ | 723 'sources': [ |
724 'shell/app/shell_content_main.cc', | 724 'shell/app/shell_content_main.cc', |
725 'shell/app/shell_content_main.h', | 725 'shell/app/shell_content_main.h', |
726 ], | 726 ], |
727 'postbuilds': [ | 727 'postbuilds': [ |
728 { | 728 { |
729 # Modify the Info.plist as needed. The script explains why | 729 # Modify the Info.plist as needed. The script explains why |
730 # this is needed. This is also done in the chrome target. | 730 # this is needed. This is also done in the chrome target. |
731 # The framework needs the Breakpad keys if this feature is | 731 # The framework needs the Breakpad keys if this feature is |
732 # enabled. It does not need the Keystone keys; these always | 732 # enabled. It does not need the Keystone keys; these always |
733 # come from the outer application bundle. The framework | 733 # come from the outer application bundle. The framework |
734 # doesn't currently use the SCM keys for anything, | 734 # doesn't currently use the SCM keys for anything, |
735 # but this seems like a really good place to store them. | 735 # but this seems like a really good place to store them. |
736 'postbuild_name': 'Tweak Info.plist', | 736 'postbuild_name': 'Tweak Info.plist', |
737 'action': ['../build/mac/tweak_info_plist.py', | 737 'action': ['../build/mac/tweak_info_plist.py', |
738 '--breakpad=1', | 738 '--breakpad=1', |
739 '--keystone=0', | 739 '--keystone=0', |
740 '--scm=1', | 740 '--scm=1', |
741 '--version=<(content_shell_version)', | 741 '--version=<(content_shell_version)', |
742 '--branding=<(content_shell_product_name)'], | 742 '--branding=<(content_shell_product_name)'], |
743 }, | 743 }, |
744 ], | 744 ], |
745 'copies': [ | 745 'copies': [ |
746 { | 746 { |
747 # Copy FFmpeg binaries for audio/video support. | 747 # Copy FFmpeg binaries for audio/video support. |
748 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', | 748 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', |
749 'files': [ | 749 'files': [ |
750 '<(PRODUCT_DIR)/ffmpegsumo.so', | 750 '<(PRODUCT_DIR)/ffmpegsumo.so', |
751 ], | 751 ], |
752 }, | 752 }, |
753 { | 753 { |
754 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources', | 754 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources', |
(...skipping 12 matching lines...) Expand all Loading... |
767 ['libpeer_target_type!="static_library"', { | 767 ['libpeer_target_type!="static_library"', { |
768 'copies': [{ | 768 'copies': [{ |
769 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Librar
ies', | 769 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Librar
ies', |
770 'files': [ | 770 'files': [ |
771 '<(PRODUCT_DIR)/libpeerconnection.so', | 771 '<(PRODUCT_DIR)/libpeerconnection.so', |
772 ], | 772 ], |
773 }], | 773 }], |
774 }], | 774 }], |
775 ], | 775 ], |
776 }], | 776 }], |
| 777 ['icu_use_data_file_flag==1', { |
| 778 'mac_bundle_resources': [ |
| 779 '<(PRODUCT_DIR)/icudtl.dat', |
| 780 ], |
| 781 }], |
777 ], | 782 ], |
778 }, # target content_shell_framework | 783 }, # target content_shell_framework |
779 { | 784 { |
780 'target_name': 'content_shell_helper_app', | 785 'target_name': 'content_shell_helper_app', |
781 'type': 'executable', | 786 'type': 'executable', |
782 'variables': { 'enable_wexit_time_destructors': 1, }, | 787 'variables': { 'enable_wexit_time_destructors': 1, }, |
783 'product_name': '<(content_shell_product_name) Helper', | 788 'product_name': '<(content_shell_product_name) Helper', |
784 'mac_bundle': 1, | 789 'mac_bundle': 1, |
785 'dependencies': [ | 790 'dependencies': [ |
786 'content_shell_framework', | 791 'content_shell_framework', |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', | 1015 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
1011 '--destination_dir', '<(dest_dir)', | 1016 '--destination_dir', '<(dest_dir)', |
1012 ], | 1017 ], |
1013 }, | 1018 }, |
1014 ], | 1019 ], |
1015 }, | 1020 }, |
1016 ], | 1021 ], |
1017 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" | 1022 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
1018 ] | 1023 ] |
1019 } | 1024 } |
OLD | NEW |