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

Side by Side Diff: chrome/chrome.gyp

Issue 345057: EN, mf, DO YOU SPEAK IT? (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/helper-Info.plist ('k') | chrome/tools/build/apply_locales.py » ('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 (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'chromium_code': 1, 7 'chromium_code': 1,
8 8
9 'variables': { 9 'variables': {
10 'version_py_path': 'tools/build/version.py', 10 'version_py_path': 'tools/build/version.py',
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 },], 140 },],
141 ['OS=="linux"', { 141 ['OS=="linux"', {
142 'nacl_defines': [ 142 'nacl_defines': [
143 'NACL_WINDOWS=0', 143 'NACL_WINDOWS=0',
144 'NACL_LINUX=1', 144 'NACL_LINUX=1',
145 'NACL_OSX=0', 145 'NACL_OSX=0',
146 ], 146 ],
147 },], 147 },],
148 ['OS=="mac"', { 148 ['OS=="mac"', {
149 'tweak_info_plist_path': 'tools/build/mac/tweak_info_plist', 149 'tweak_info_plist_path': 'tools/build/mac/tweak_info_plist',
150 'symlink_lprojs_path': 'tools/build/mac/symlink_lprojs', 150 # TODO(mark): Remove after November 17, 2009, allowing two weeks for
151 # the transition.
152 'transition_lprojs_path': 'tools/build/mac/transition_lprojs',
151 'nacl_defines': [ 153 'nacl_defines': [
152 'NACL_WINDOWS=0', 154 'NACL_WINDOWS=0',
153 'NACL_LINUX=0', 155 'NACL_LINUX=0',
154 'NACL_OSX=1', 156 'NACL_OSX=1',
155 ], 157 ],
156 'conditions': [ 158 'conditions': [
157 ['branding=="Chrome"', { 159 ['branding=="Chrome"', {
158 'mac_bundle_id': 'com.google.Chrome', 160 'mac_bundle_id': 'com.google.Chrome',
159 'mac_creator': 'rimZ', 161 'mac_creator': 'rimZ',
160 }, { # else: branding!="Chrome" 162 }, { # else: branding!="Chrome"
(...skipping 3492 matching lines...) Expand 10 before | Expand all | Expand 10 after
3653 'CHROMIUM_SHORT_NAME': '<(branding)', 3655 'CHROMIUM_SHORT_NAME': '<(branding)',
3654 }, 3656 },
3655 'dependencies': [ 3657 'dependencies': [
3656 'helper_app', 3658 'helper_app',
3657 'infoplist_strings_tool', 3659 'infoplist_strings_tool',
3658 # This library provides the real implementation for NaClSyscallSeg 3660 # This library provides the real implementation for NaClSyscallSeg
3659 '../native_client/src/trusted/service_runtime/arch/x86_32/service_ru ntime_x86_32.gyp:service_runtime_x86_32_chrome' 3661 '../native_client/src/trusted/service_runtime/arch/x86_32/service_ru ntime_x86_32.gyp:service_runtime_x86_32_chrome'
3660 ], 3662 ],
3661 'actions': [ 3663 'actions': [
3662 { 3664 {
3665 # Clean up the old .lproj structure, where English was in
3666 # en_US.lproj, and en.lproj was a symbolic link. This must run
3667 # before the "Generating InfoPlist.strings files" action.
3668 #
3669 # TODO(mark): Remove after November 17, 2009, allowing two weeks
3670 # for the transition.
3671 'action_name': 'Temporary .lproj transition',
3672 'action': ['<(transition_lprojs_path)'],
3673 'inputs': [], # Always run.
3674 'outputs': [],
3675 },
3676 {
3663 # Generate the InfoPlist.strings file 3677 # Generate the InfoPlist.strings file
3664 'action_name': 'Generating InfoPlist.strings files', 3678 'action_name': 'Generating InfoPlist.strings files',
3665 'variables': { 3679 'variables': {
3666 'tool_path': '<(PRODUCT_DIR)/infoplist_strings_tool', 3680 'tool_path': '<(PRODUCT_DIR)/infoplist_strings_tool',
3667 # Unique dir to write to so the [lang].lproj/InfoPlist.strings 3681 # Unique dir to write to so the [lang].lproj/InfoPlist.strings
3668 # for the main app and the helper app don't name collide. 3682 # for the main app and the helper app don't name collide.
3669 'output_path': '<(INTERMEDIATE_DIR)/app_infoplist_strings', 3683 'output_path': '<(INTERMEDIATE_DIR)/app_infoplist_strings',
3670 }, 3684 },
3671 'conditions': [ 3685 'conditions': [
3672 [ 'branding == "Chrome"', { 3686 [ 'branding == "Chrome"', {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
3727 # Info.plist. Use -s1 to include Subversion information. 3741 # Info.plist. Use -s1 to include Subversion information.
3728 'postbuild_name': 'Tweak Info.plist', 3742 'postbuild_name': 'Tweak Info.plist',
3729 'action': ['<(tweak_info_plist_path)', 3743 'action': ['<(tweak_info_plist_path)',
3730 '-b0', 3744 '-b0',
3731 '-k0', 3745 '-k0',
3732 '-s1', 3746 '-s1',
3733 '<(branding)', 3747 '<(branding)',
3734 '<(mac_bundle_id)'], 3748 '<(mac_bundle_id)'],
3735 }, 3749 },
3736 { 3750 {
3737 'postbuild_name': 'Make .lproj links',
3738 'action': ['<(symlink_lprojs_path)'],
3739 },
3740 {
3741 'postbuild_name': 'Clean up old versions', 3751 'postbuild_name': 'Clean up old versions',
3742 'action': [ 3752 'action': [
3743 'tools/build/mac/clean_up_old_versions', 3753 'tools/build/mac/clean_up_old_versions',
3744 '<(version_full)' 3754 '<(version_full)'
3745 ], 3755 ],
3746 }, 3756 },
3747 { 3757 {
3748 # TODO(tony): Remove this after Nov 13, 2009. 3758 # TODO(tony): Remove this after Nov 13, 2009.
3749 'postbuild_name': 'cleanup_theme_pak', 3759 'postbuild_name': 'cleanup_theme_pak',
3750 'action': [ 3760 'action': [
(...skipping 1985 matching lines...) Expand 10 before | Expand all | Expand 10 after
5736 ], 5746 ],
5737 'action': ['<(PRODUCT_DIR)/pdfsqueeze', 5747 'action': ['<(PRODUCT_DIR)/pdfsqueeze',
5738 '<(RULE_INPUT_PATH)', '<@(_outputs)'], 5748 '<(RULE_INPUT_PATH)', '<@(_outputs)'],
5739 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)', 5749 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)',
5740 }, 5750 },
5741 ], 5751 ],
5742 'variables': { 5752 'variables': {
5743 'repack_path': '../tools/data_pack/repack.py', 5753 'repack_path': '../tools/data_pack/repack.py',
5744 }, 5754 },
5745 'actions': [ 5755 'actions': [
5756 {
5757 # Clean up the old .lproj structure, where English was in
5758 # en_US.lproj, and en.lproj was a symbolic link. This must
5759 # run before the "repack_locales" action.
5760 #
5761 # TODO(mark): Remove after November 17, 2009, allowing two
5762 # weeks for the transition.
5763 'action_name': 'Temporary .lproj transition',
5764 'action': ['<(transition_lprojs_path)'],
5765 'inputs': [], # Always run.
5766 'outputs': [],
5767 },
5746 # TODO(mark): These actions are duplicated for Linux and 5768 # TODO(mark): These actions are duplicated for Linux and
5747 # FreeBSD in the chrome target. Can they be unified? 5769 # FreeBSD in the chrome target. Can they be unified?
5748 { 5770 {
5749 'action_name': 'repack_chrome', 5771 'action_name': 'repack_chrome',
5750 'variables': { 5772 'variables': {
5751 'pak_inputs': [ 5773 'pak_inputs': [
5752 '<(grit_out_dir)/browser_resources.pak', 5774 '<(grit_out_dir)/browser_resources.pak',
5753 '<(grit_out_dir)/common_resources.pak', 5775 '<(grit_out_dir)/common_resources.pak',
5754 '<(grit_out_dir)/renderer_resources.pak', 5776 '<(grit_out_dir)/renderer_resources.pak',
5755 '<(grit_out_dir)/theme_resources.pak', 5777 '<(grit_out_dir)/theme_resources.pak',
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
5813 # good place to store them. 5835 # good place to store them.
5814 'postbuild_name': 'Tweak Info.plist', 5836 'postbuild_name': 'Tweak Info.plist',
5815 'action': ['<(tweak_info_plist_path)', 5837 'action': ['<(tweak_info_plist_path)',
5816 '-b<(mac_breakpad)', 5838 '-b<(mac_breakpad)',
5817 '-k<(mac_keystone)', 5839 '-k<(mac_keystone)',
5818 '-s1', 5840 '-s1',
5819 '<(branding)', 5841 '<(branding)',
5820 '<(mac_bundle_id)'], 5842 '<(mac_bundle_id)'],
5821 }, 5843 },
5822 { 5844 {
5823 'postbuild_name': 'Make .lproj links',
5824 'action': ['<(symlink_lprojs_path)'],
5825 },
5826 {
5827 'postbuild_name': 'Symlink Libraries', 5845 'postbuild_name': 'Symlink Libraries',
5828 'action': [ 5846 'action': [
5829 'ln', 5847 'ln',
5830 '-fhs', 5848 '-fhs',
5831 'Versions/Current/Libraries', 5849 'Versions/Current/Libraries',
5832 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries' 5850 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries'
5833 ], 5851 ],
5834 }, 5852 },
5835 ], 5853 ],
5836 'copies': [ 5854 'copies': [
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
5965 'copies': [ 5983 'copies': [
5966 { 5984 {
5967 'destination': '<(PRODUCT_DIR)/<(mac_product_name) Helper.app/Cont ents/MacOS', 5985 'destination': '<(PRODUCT_DIR)/<(mac_product_name) Helper.app/Cont ents/MacOS',
5968 'files': [ 5986 'files': [
5969 '<(PRODUCT_DIR)/plugin_carbon_interpose.dylib', 5987 '<(PRODUCT_DIR)/plugin_carbon_interpose.dylib',
5970 ], 5988 ],
5971 }, 5989 },
5972 ], 5990 ],
5973 'actions': [ 5991 'actions': [
5974 { 5992 {
5993 # Clean up the old .lproj structure, where English was in
5994 # en_US.lproj, and en.lproj was a symbolic link. This must run
5995 # before the "Generating InfoPlist.strings files" action.
5996 #
5997 # TODO(mark): Remove after November 17, 2009, allowing two weeks
5998 # for the transition.
5999 'action_name': 'Temporary .lproj transition',
6000 'action': ['<(transition_lprojs_path)'],
6001 'inputs': [], # Always run.
6002 'outputs': [],
6003 },
6004 {
5975 # Generate the InfoPlist.strings file 6005 # Generate the InfoPlist.strings file
5976 'action_name': 'Generating InfoPlist.strings files', 6006 'action_name': 'Generating InfoPlist.strings files',
5977 'variables': { 6007 'variables': {
5978 'tool_path': '<(PRODUCT_DIR)/infoplist_strings_tool', 6008 'tool_path': '<(PRODUCT_DIR)/infoplist_strings_tool',
5979 # Unique dir to write to so the [lang].lproj/InfoPlist.strings 6009 # Unique dir to write to so the [lang].lproj/InfoPlist.strings
5980 # for the main app and the helper app don't name collide. 6010 # for the main app and the helper app don't name collide.
5981 'output_path': '<(INTERMEDIATE_DIR)/helper_infoplist_strings', 6011 'output_path': '<(INTERMEDIATE_DIR)/helper_infoplist_strings',
5982 }, 6012 },
5983 'conditions': [ 6013 'conditions': [
5984 [ 'branding == "Chrome"', { 6014 [ 'branding == "Chrome"', {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
6037 # the framework. -s0 is used because Subversion keys are only 6067 # the framework. -s0 is used because Subversion keys are only
6038 # placed into the main app. 6068 # placed into the main app.
6039 'postbuild_name': 'Tweak Info.plist', 6069 'postbuild_name': 'Tweak Info.plist',
6040 'action': ['<(tweak_info_plist_path)', 6070 'action': ['<(tweak_info_plist_path)',
6041 '-b0', 6071 '-b0',
6042 '-k0', 6072 '-k0',
6043 '-s0', 6073 '-s0',
6044 '<(branding)', 6074 '<(branding)',
6045 '<(mac_bundle_id)'], 6075 '<(mac_bundle_id)'],
6046 }, 6076 },
6047 {
6048 'postbuild_name': 'Make .lproj links',
6049 'action': ['<(symlink_lprojs_path)'],
6050 },
6051 ], 6077 ],
6052 'conditions': [ 6078 'conditions': [
6053 ['mac_breakpad==1', { 6079 ['mac_breakpad==1', {
6054 'variables': { 6080 'variables': {
6055 # A real .dSYM is needed for dump_syms to operate on. 6081 # A real .dSYM is needed for dump_syms to operate on.
6056 'mac_real_dsym': 1, 6082 'mac_real_dsym': 1,
6057 }, 6083 },
6058 }], 6084 }],
6059 ], 6085 ],
6060 }, # target helper_app 6086 }, # target helper_app
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
6940 ] 6966 ]
6941 }], 6967 }],
6942 ], # 'conditions' 6968 ], # 'conditions'
6943 } 6969 }
6944 6970
6945 # Local Variables: 6971 # Local Variables:
6946 # tab-width:2 6972 # tab-width:2
6947 # indent-tabs-mode:nil 6973 # indent-tabs-mode:nil
6948 # End: 6974 # End:
6949 # vim: set expandtab tabstop=2 shiftwidth=2: 6975 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/app/helper-Info.plist ('k') | chrome/tools/build/apply_locales.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698