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

Side by Side Diff: app/app.gyp

Issue 466059: Revert "Split app.gyp and add a Win64 version of the app_base target." (Closed)
Patch Set: Created 11 years 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 | app/app_base.gypi » ('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 # TODO: remove this helper when we have loops in GYP 7 # TODO: remove this helper when we have loops in GYP
8 'apply_locales_cmd': ['python', '../chrome/tools/build/apply_locales.py',], 8 'apply_locales_cmd': ['python', '../chrome/tools/build/apply_locales.py',],
9 'chromium_code': 1, 9 'chromium_code': 1,
10 'grit_info_cmd': ['python', '../tools/grit/grit_info.py',], 10 'grit_info_cmd': ['python', '../tools/grit/grit_info.py',],
11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/app', 11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/app',
12 'grit_cmd': ['python', '../tools/grit/grit.py'], 12 'grit_cmd': ['python', '../tools/grit/grit.py'],
13 'localizable_resources': [ 13 'localizable_resources': [
14 'resources/app_locale_settings.grd', 14 'resources/app_locale_settings.grd',
15 'resources/app_strings.grd', 15 'resources/app_strings.grd',
16 ], 16 ],
17 }, 17 },
18 'includes': [
19 'app_base.gypi',
20 ],
21 'targets': [ 18 'targets': [
22 { 19 {
20 'target_name': 'app_base',
21 'type': '<(library)',
22 'msvs_guid': '4631946D-7D5F-44BD-A5A8-504C0A7033BE',
23 'dependencies': [
24 'app_resources',
25 'app_strings',
26 '../base/base.gyp:base',
27 '../base/base.gyp:base_i18n',
28 '../net/net.gyp:net',
29 '../skia/skia.gyp:skia',
30 '../third_party/icu/icu.gyp:icui18n',
31 '../third_party/icu/icu.gyp:icuuc',
32 '../third_party/libjpeg/libjpeg.gyp:libjpeg',
33 '../third_party/libpng/libpng.gyp:libpng',
34 '../third_party/sqlite/sqlite.gyp:sqlite',
35 '../third_party/zlib/zlib.gyp:zlib',
36 ],
37 'include_dirs': [
38 '..',
39 '../chrome/third_party/wtl/include',
40 ],
41 'sources': [
42 # All .cc, .h, and .mm files under app/ except for tests.
43 'animation.cc',
44 'animation.h',
45 'active_window_watcher_x.cc',
46 'active_window_watcher_x.h',
47 'app_paths.h',
48 'app_paths.cc',
49 'app_switches.h',
50 'app_switches.cc',
51 'clipboard/clipboard.cc',
52 'clipboard/clipboard.h',
53 'clipboard/clipboard_linux.cc',
54 'clipboard/clipboard_mac.mm',
55 'clipboard/clipboard_util_win.cc',
56 'clipboard/clipboard_util_win.h',
57 'clipboard/clipboard_win.cc',
58 'clipboard/scoped_clipboard_writer.cc',
59 'clipboard/scoped_clipboard_writer.h',
60 'combobox_model.h',
61 'drag_drop_types_gtk.cc',
62 'drag_drop_types_win.cc',
63 'drag_drop_types.h',
64 'gfx/blit.cc',
65 'gfx/blit.h',
66 'gfx/canvas.cc',
67 'gfx/canvas.h',
68 'gfx/canvas_linux.cc',
69 'gfx/canvas_mac.mm',
70 'gfx/canvas_win.cc',
71 'gfx/codec/jpeg_codec.cc',
72 'gfx/codec/jpeg_codec.h',
73 'gfx/codec/png_codec.cc',
74 'gfx/codec/png_codec.h',
75 'gfx/color_utils.cc',
76 'gfx/color_utils.h',
77 'gfx/favicon_size.h',
78 'gfx/font.h',
79 'gfx/font_gtk.cc',
80 'gfx/font_mac.mm',
81 'gfx/font_skia.cc',
82 'gfx/font_util.h',
83 'gfx/font_util.cc',
84 'gfx/font_win.cc',
85 'gfx/gdi_util.cc',
86 'gfx/gdi_util.h',
87 'gfx/gtk_util.cc',
88 'gfx/gtk_util.h',
89 'gfx/icon_util.cc',
90 'gfx/icon_util.h',
91 'gfx/insets.h',
92 'gfx/native_widget_types.h',
93 'gfx/native_widget_types_gtk.cc',
94 'gfx/native_theme_win.cc',
95 'gfx/native_theme_win.h',
96 'gfx/gtk_native_view_id_manager.cc',
97 'gfx/gtk_native_view_id_manager.h',
98 'gfx/path.cc',
99 'gfx/path_gtk.cc',
100 'gfx/path_win.cc',
101 'gfx/path.h',
102 'gfx/skbitmap_operations.cc',
103 'gfx/skbitmap_operations.h',
104 'gfx/text_elider.cc',
105 'gfx/text_elider.h',
106 'gtk_dnd_util.cc',
107 'gtk_dnd_util.h',
108 'hi_res_timer_manager_posix.cc',
109 'hi_res_timer_manager_win.cc',
110 'hi_res_timer_manager.h',
111 'l10n_util.cc',
112 'l10n_util.h',
113 'l10n_util_mac.h',
114 'l10n_util_mac.mm',
115 'l10n_util_posix.cc',
116 'l10n_util_win.cc',
117 'l10n_util_win.h',
118 'menus/accelerator.h',
119 'menus/menu_model.cc',
120 'menus/menu_model.h',
121 'menus/simple_menu_model.cc',
122 'menus/simple_menu_model.h',
123 'message_box_flags.h',
124 'os_exchange_data_provider_gtk.cc',
125 'os_exchange_data_provider_gtk.h',
126 'os_exchange_data_provider_win.cc',
127 'os_exchange_data_provider_win.h',
128 'os_exchange_data.cc',
129 'os_exchange_data.h',
130 'resource_bundle.cc',
131 'resource_bundle.h',
132 'resource_bundle_linux.cc',
133 'resource_bundle_mac.mm',
134 'resource_bundle_posix.cc',
135 'resource_bundle_win.cc',
136 'slide_animation.cc',
137 'slide_animation.h',
138 'sql/connection.cc',
139 'sql/connection.h',
140 'sql/meta_table.cc',
141 'sql/meta_table.h',
142 'sql/statement.cc',
143 'sql/statement.h',
144 'sql/transaction.cc',
145 'sql/transaction.h',
146 'system_monitor.cc',
147 'system_monitor.h',
148 'system_monitor_posix.cc',
149 'system_monitor_win.cc',
150 'table_model.cc',
151 'table_model.h',
152 'table_model_observer.h',
153 'theme_provider.cc',
154 'theme_provider.h',
155 'throb_animation.cc',
156 'throb_animation.h',
157 'tree_model.h',
158 'tree_node_iterator.h',
159 'tree_node_model.h',
160 'win/window_impl.cc',
161 'win/window_impl.h',
162 ],
163 'direct_dependent_settings': {
164 'include_dirs': [
165 '..',
166 ],
167 },
168 'conditions': [
169 ['OS=="linux"', {
170 'dependencies': [
171 # font_gtk.cc uses fontconfig.
172 # TODO(evanm): I think this is wrong; it should just use GTK.
173 '../build/linux/system.gyp:fontconfig',
174 '../build/linux/system.gyp:gtk',
175 '../build/linux/system.gyp:x11',
176 ],
177 'conditions': [
178 ['toolkit_views==0 and chromeos==0', {
179 # Note: because of gyp predence rules this has to be defined as
180 # 'sources/' rather than 'sources!'.
181 'sources/': [
182 ['exclude', '^os_exchange_data.cc'],
183 ['exclude', '^os_exchange_data.h'],
184 ['exclude', '^os_exchange_data_provider_gtk.cc'],
185 ['exclude', '^os_exchange_data_provider_gtk.h'],
186 ['exclude', '^drag_drop_types_gtk.cc'],
187 ],
188 }],
189 ['toolkit_views==1 or chromeos==1', {
190 # Note: because of gyp predence rules this has to be defined as
191 # 'sources/' rather than 'sources!'.
192 'sources/': [
193 ['include', '^os_exchange_data.cc'],
194 ],
195 }],
196 ],
197 }],
198 ['OS=="win"', {
199 'sources': [
200 'win_util.cc',
201 'win_util.h',
202 ],
203 }],
204 ['OS!="win"', {
205 'sources!': [
206 'drag_drop_types.h',
207 'gfx/gdi_util.cc',
208 'gfx/gdi_util.h',
209 'gfx/icon_util.cc',
210 'gfx/icon_util.h',
211 'gfx/native_theme_win.cc',
212 'gfx/native_theme_win.h',
213 'os_exchange_data.cc',
214 'win/window_impl.cc',
215 'win/window_impl.h',
216 ],
217 }],
218 ['OS!="linux"', {
219 'sources!': [
220 'gfx/gtk_util.cc',
221 'gfx/gtk_util.h',
222 'gtk_dnd_util.cc',
223 'gtk_dnd_util.h',
224 ],
225 }],
226 ],
227 },
228 {
23 'target_name': 'app_unittests', 229 'target_name': 'app_unittests',
24 'type': 'executable', 230 'type': 'executable',
25 'msvs_guid': 'B4D59AE8-8D2F-97E1-A8E9-6D2826729530', 231 'msvs_guid': 'B4D59AE8-8D2F-97E1-A8E9-6D2826729530',
26 'dependencies': [ 232 'dependencies': [
27 'app_base', 233 'app_base',
28 'app_resources', 234 'app_resources',
29 '../net/net.gyp:net_test_support', 235 '../net/net.gyp:net_test_support',
30 '../skia/skia.gyp:skia', 236 '../skia/skia.gyp:skia',
31 '../testing/gtest.gyp:gtest', 237 '../testing/gtest.gyp:gtest',
32 '../third_party/icu/icu.gyp:icui18n', 238 '../third_party/icu/icu.gyp:icui18n',
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 ], 410 ],
205 }, 411 },
206 ], 412 ],
207 } 413 }
208 414
209 # Local Variables: 415 # Local Variables:
210 # tab-width:2 416 # tab-width:2
211 # indent-tabs-mode:nil 417 # indent-tabs-mode:nil
212 # End: 418 # End:
213 # vim: set expandtab tabstop=2 shiftwidth=2: 419 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | app/app_base.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698