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

Side by Side Diff: chrome/chrome.gyp

Issue 160328: Mac l10n work (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/nibs/Toolbar.xib ('k') | 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 (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 # Define the common dependencies that contain all the actual 8 # Define the common dependencies that contain all the actual
9 # Chromium functionality. This list gets pulled in below by 9 # Chromium functionality. This list gets pulled in below by
10 # the link of the actual chrome (or chromium) executable on 10 # the link of the actual chrome (or chromium) executable on
(...skipping 2028 matching lines...) Expand 10 before | Expand all | Expand 10 after
2039 'browser/views/extensions/extension_view.cc', 2039 'browser/views/extensions/extension_view.cc',
2040 'browser/views/extensions/extension_view.h', 2040 'browser/views/extensions/extension_view.h',
2041 ], 2041 ],
2042 'sources': [ 2042 'sources': [
2043 # Build the necessary GTM sources 2043 # Build the necessary GTM sources
2044 '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.m', 2044 '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.m',
2045 '../third_party/GTM/AppKit/GTMNSColor+Luminance.m', 2045 '../third_party/GTM/AppKit/GTMNSColor+Luminance.m',
2046 '../third_party/GTM/AppKit/GTMTheme.m', 2046 '../third_party/GTM/AppKit/GTMTheme.m',
2047 '../third_party/GTM/AppKit/GTMUILocalizer.h', 2047 '../third_party/GTM/AppKit/GTMUILocalizer.h',
2048 '../third_party/GTM/AppKit/GTMUILocalizer.m', 2048 '../third_party/GTM/AppKit/GTMUILocalizer.m',
2049 '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h',
2050 '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.m',
2049 # Build necessary Mozilla sources 2051 # Build necessary Mozilla sources
2050 '../third_party/mozilla/include/NSPasteboard+Utils.h', 2052 '../third_party/mozilla/include/NSPasteboard+Utils.h',
2051 '../third_party/mozilla/include/NSPasteboard+Utils.mm', 2053 '../third_party/mozilla/include/NSPasteboard+Utils.mm',
2052 '../third_party/mozilla/include/NSScreen+Utils.h', 2054 '../third_party/mozilla/include/NSScreen+Utils.h',
2053 '../third_party/mozilla/include/NSScreen+Utils.m', 2055 '../third_party/mozilla/include/NSScreen+Utils.m',
2054 '../third_party/mozilla/include/NSString+Utils.h', 2056 '../third_party/mozilla/include/NSString+Utils.h',
2055 '../third_party/mozilla/include/NSString+Utils.m', 2057 '../third_party/mozilla/include/NSString+Utils.m',
2056 '../third_party/mozilla/include/NSURL+Utils.h', 2058 '../third_party/mozilla/include/NSURL+Utils.h',
2057 '../third_party/mozilla/include/NSURL+Utils.m', 2059 '../third_party/mozilla/include/NSURL+Utils.m',
2058 '../third_party/mozilla/include/NSWorkspace+Utils.h', 2060 '../third_party/mozilla/include/NSWorkspace+Utils.h',
2059 '../third_party/mozilla/include/NSWorkspace+Utils.m', 2061 '../third_party/mozilla/include/NSWorkspace+Utils.m',
2060 ], 2062 ],
2061 'include_dirs': [ 2063 'include_dirs': [
2062 '../third_party/GTM', 2064 '../third_party/GTM',
2063 '../third_party/GTM/AppKit', 2065 '../third_party/GTM/AppKit',
2064 ], 2066 ],
2065 'link_settings': { 2067 'link_settings': {
2066 'libraries': [ 2068 'libraries': [
2067 '$(SDKROOT)/System/Library/Frameworks/SecurityInterface.framework' , 2069 '$(SDKROOT)/System/Library/Frameworks/SecurityInterface.framework' ,
2068 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', 2070 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
2069 ], 2071 ],
2070 }, 2072 },
2071 'actions': [ 2073 'actions': [
2072 # This block of actions are used to extract the localization data 2074 # This block of actions are used to extract the localization data
2073 # from xib files and generate a localizer out of it. 2075 # from xib files and generate a localizer out of it.
2074 { 2076 {
Mark Mentovai 2009/08/07 14:16:13 Seems like we might want to think about how to tur
TVL 2009/08/07 14:25:19 Yea, I wondered about that when I first did main m
2077 'action_name': 'process_bookmark_bar_xib',
2078 'process_outputs_as_sources': 1,
2079 'inputs': [
2080 '<(mac_xib_localizer_tool_path)',
2081 'app/nibs/BookmarkBar.xib'
2082 ],
2083 'outputs': [
2084 '<(mac_xib_localizers_dir)/bookmark_bar_localizer.h',
2085 '<(mac_xib_localizers_dir)/bookmark_bar_localizer.mm',
2086 ],
2087 'action': ['<@(_inputs)', '<@(_outputs)'],
2088 },
2089 {
2090 'action_name': 'process_bookmark_editor_xib',
2091 'process_outputs_as_sources': 1,
2092 'inputs': [
2093 '<(mac_xib_localizer_tool_path)',
2094 'app/nibs/BookmarkEditor.xib'
2095 ],
2096 'outputs': [
2097 '<(mac_xib_localizers_dir)/bookmark_editor_localizer.h',
2098 '<(mac_xib_localizers_dir)/bookmark_editor_localizer.mm',
2099 ],
2100 'action': ['<@(_inputs)', '<@(_outputs)'],
2101 },
2102 {
2103 'action_name': 'process_bookmark_name_folder_xib',
2104 'process_outputs_as_sources': 1,
2105 'inputs': [
2106 '<(mac_xib_localizer_tool_path)',
2107 'app/nibs/BookmarkNameFolder.xib'
2108 ],
2109 'outputs': [
2110 '<(mac_xib_localizers_dir)/bookmark_name_folder_localizer.h',
2111 '<(mac_xib_localizers_dir)/bookmark_name_folder_localizer.mm',
2112 ],
2113 'action': ['<@(_inputs)', '<@(_outputs)'],
2114 },
2115 {
2075 'action_name': 'process_mainmenu_xib', 2116 'action_name': 'process_mainmenu_xib',
2076 'process_outputs_as_sources': 1, 2117 'process_outputs_as_sources': 1,
2077 'inputs': [ 2118 'inputs': [
2078 '<(mac_xib_localizer_tool_path)', 2119 '<(mac_xib_localizer_tool_path)',
2079 'app/nibs/MainMenu.xib' 2120 'app/nibs/MainMenu.xib'
2080 ], 2121 ],
2081 'outputs': [ 2122 'outputs': [
2082 '<(mac_xib_localizers_dir)/main_menu_localizer.h', 2123 '<(mac_xib_localizers_dir)/main_menu_localizer.h',
2083 '<(mac_xib_localizers_dir)/main_menu_localizer.mm', 2124 '<(mac_xib_localizers_dir)/main_menu_localizer.mm',
2084 ], 2125 ],
2085 'action': ['<@(_inputs)', '<@(_outputs)'], 2126 'action': ['<@(_inputs)', '<@(_outputs)'],
2086 }, 2127 },
2128 {
2129 'action_name': 'process_tab_view_xib',
2130 'process_outputs_as_sources': 1,
2131 'inputs': [
2132 '<(mac_xib_localizer_tool_path)',
2133 'app/nibs/TabView.xib'
2134 ],
2135 'outputs': [
2136 '<(mac_xib_localizers_dir)/tab_view_localizer.h',
2137 '<(mac_xib_localizers_dir)/tab_view_localizer.mm',
2138 ],
2139 'action': ['<@(_inputs)', '<@(_outputs)'],
2140 },
2141 {
2142 'action_name': 'process_toolbar_xib',
2143 'process_outputs_as_sources': 1,
2144 'inputs': [
2145 '<(mac_xib_localizer_tool_path)',
2146 'app/nibs/Toolbar.xib'
2147 ],
2148 'outputs': [
2149 '<(mac_xib_localizers_dir)/toolbar_localizer.h',
2150 '<(mac_xib_localizers_dir)/toolbar_localizer.mm',
2151 ],
2152 'action': ['<@(_inputs)', '<@(_outputs)'],
2153 },
2087 # TODO(tvl): add other xibs 2154 # TODO(tvl): add other xibs
2088 ], 2155 ],
2089 }], 2156 }],
2090 ['OS=="win"', { 2157 ['OS=="win"', {
2091 'defines': [ 2158 'defines': [
2092 '__STD_C', 2159 '__STD_C',
2093 '_CRT_SECURE_NO_DEPRECATE', 2160 '_CRT_SECURE_NO_DEPRECATE',
2094 '_SCL_SECURE_NO_DEPRECATE', 2161 '_SCL_SECURE_NO_DEPRECATE',
2095 ], 2162 ],
2096 'include_dirs': [ 2163 'include_dirs': [
(...skipping 3179 matching lines...) Expand 10 before | Expand all | Expand 10 after
5276 # Use outputs of this action as inputs for the main target build. 5343 # Use outputs of this action as inputs for the main target build.
5277 # Seems as a misnomer but makes this happy on Linux (scons). 5344 # Seems as a misnomer but makes this happy on Linux (scons).
5278 'process_outputs_as_sources': 1, 5345 'process_outputs_as_sources': 1,
5279 }, 5346 },
5280 ], # 'actions' 5347 ], # 'actions'
5281 }, 5348 },
5282 ] 5349 ]
5283 }], 5350 }],
5284 ], # 'conditions' 5351 ], # 'conditions'
5285 } 5352 }
OLDNEW
« no previous file with comments | « chrome/app/nibs/Toolbar.xib ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698