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

Side by Side Diff: app/app_base.gypi

Issue 6965007: Define os_posix in gyp files to get new Unix platforms added quickly (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: changed os_nix to os_posix Created 9 years, 7 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
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'app_base_target': 0, 8 'app_base_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
(...skipping 13 matching lines...) Expand all
24 '../ui/base/system_monitor/system_monitor_posix.cc', 24 '../ui/base/system_monitor/system_monitor_posix.cc',
25 '../ui/base/system_monitor/system_monitor_win.cc', 25 '../ui/base/system_monitor/system_monitor_win.cc',
26 '../ui/base/ui_base_paths.h', 26 '../ui/base/ui_base_paths.h',
27 '../ui/base/ui_base_paths.cc', 27 '../ui/base/ui_base_paths.cc',
28 '../ui/base/ui_base_switches.h', 28 '../ui/base/ui_base_switches.h',
29 '../ui/base/ui_base_switches.cc', 29 '../ui/base/ui_base_switches.cc',
30 'app_paths.h', 30 'app_paths.h',
31 'app_paths.cc', 31 'app_paths.cc',
32 ], 32 ],
33 'conditions': [ 33 'conditions': [
34 ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', { 34 ['os_posix!=1', {
35 'sources!': [ 35 'sources!': [
36 '../ui/base/dragdrop/gtk_dnd_util.cc', 36 '../ui/base/dragdrop/gtk_dnd_util.cc',
37 '../ui/base/dragdrop/gtk_dnd_util.h', 37 '../ui/base/dragdrop/gtk_dnd_util.h',
38 '../ui/base/gtk/gtk_signal.h', 38 '../ui/base/gtk/gtk_signal.h',
39 '../ui/base/gtk/gtk_signal_registrar.cc', 39 '../ui/base/gtk/gtk_signal_registrar.cc',
40 '../ui/base/gtk/gtk_signal_registrar.h', 40 '../ui/base/gtk/gtk_signal_registrar.h',
41 '../ui/base/gtk/gtk_windowing.cc', 41 '../ui/base/gtk/gtk_windowing.cc',
42 '../ui/base/gtk/gtk_windowing.h', 42 '../ui/base/gtk/gtk_windowing.h',
43 '../ui/base/x/x11_util.cc', 43 '../ui/base/x/x11_util.cc',
44 '../ui/base/x/x11_util.h', 44 '../ui/base/x/x11_util.h',
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 'win/iat_patch_function.cc', 214 'win/iat_patch_function.cc',
215 'win/iat_patch_function.h', 215 'win/iat_patch_function.h',
216 'win/scoped_co_mem.h', 216 'win/scoped_co_mem.h',
217 'win/scoped_com_initializer.h', 217 'win/scoped_com_initializer.h',
218 'win/scoped_prop.cc', 218 'win/scoped_prop.cc',
219 'win/scoped_prop.h', 219 'win/scoped_prop.h',
220 'win/shell.cc', 220 'win/shell.cc',
221 'win/shell.h', 221 'win/shell.h',
222 ], 222 ],
223 'conditions': [ 223 'conditions': [
224 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 224 ['os_posix==1', {
225 'dependencies': [ 225 'dependencies': [
226 # font_gtk.cc uses fontconfig. 226 # font_gtk.cc uses fontconfig.
227 # TODO(evanm): I think this is wrong; it should just use GTK. 227 # TODO(evanm): I think this is wrong; it should just use GTK.
228 '../build/linux/system.gyp:fontconfig', 228 '../build/linux/system.gyp:fontconfig',
229 '../build/linux/system.gyp:gtk', 229 '../build/linux/system.gyp:gtk',
230 '../build/linux/system.gyp:x11', 230 '../build/linux/system.gyp:x11',
231 '../build/linux/system.gyp:xext', 231 '../build/linux/system.gyp:xext',
232 ], 232 ],
233 'link_settings': { 233 'link_settings': {
234 'libraries': [ 234 'libraries': [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 '../ui/base/dragdrop/os_exchange_data.cc', 266 '../ui/base/dragdrop/os_exchange_data.cc',
267 '../ui/base/view_prop.cc', 267 '../ui/base/view_prop.cc',
268 '../ui/base/view_prop.h', 268 '../ui/base/view_prop.h',
269 'win/iat_patch_function.cc', 269 'win/iat_patch_function.cc',
270 'win/iat_patch_function.h', 270 'win/iat_patch_function.h',
271 ], 271 ],
272 'sources/': [ 272 'sources/': [
273 ['exclude', '^win/*'], 273 ['exclude', '^win/*'],
274 ], 274 ],
275 }], 275 }],
276 ['OS=="linux"', { 276 ['os_posix==1', {
277 'sources!': [ 277 'sources!': [
278 '../ui/base/keycodes/keyboard_code_conversion_mac.mm', 278 '../ui/base/keycodes/keyboard_code_conversion_mac.mm',
279 '../ui/base/keycodes/keyboard_code_conversion_mac.h', 279 '../ui/base/keycodes/keyboard_code_conversion_mac.h',
280 '../ui/base/keycodes/keyboard_codes_win.h', 280 '../ui/base/keycodes/keyboard_codes_win.h',
281 ], 281 ],
282 'all_dependent_settings': { 282 'all_dependent_settings': {
283 'ldflags': [ 283 'ldflags': [
284 '-L<(PRODUCT_DIR)', 284 '-L<(PRODUCT_DIR)',
285 ], 285 ],
286 'link_settings': { 286 'link_settings': {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 'configurations': { 365 'configurations': {
366 'Common_Base': { 366 'Common_Base': {
367 'msvs_target_platform': 'x64', 367 'msvs_target_platform': 'x64',
368 }, 368 },
369 }, 369 },
370 }, 370 },
371 ], 371 ],
372 }], 372 }],
373 ], 373 ],
374 } 374 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698