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

Side by Side Diff: ui/ui.gyp

Issue 7977025: aura: Make 'ui' buildable without gtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 3 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 | « ui/gfx/rect.cc ('k') | ui/ui_unittests.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) 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'toolkit_views2': 0, # ui/views/ is an experimental framework on Windows. 8 'toolkit_views2': 0, # ui/views/ is an experimental framework on Windows.
9 }, 9 },
10 'target_defaults': { 10 'target_defaults': {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 'base/animation/multi_animation.cc', 72 'base/animation/multi_animation.cc',
73 'base/animation/multi_animation.h', 73 'base/animation/multi_animation.h',
74 'base/animation/slide_animation.cc', 74 'base/animation/slide_animation.cc',
75 'base/animation/slide_animation.h', 75 'base/animation/slide_animation.h',
76 'base/animation/throb_animation.cc', 76 'base/animation/throb_animation.cc',
77 'base/animation/throb_animation.h', 77 'base/animation/throb_animation.h',
78 'base/animation/tween.cc', 78 'base/animation/tween.cc',
79 'base/animation/tween.h', 79 'base/animation/tween.h',
80 'base/clipboard/clipboard.cc', 80 'base/clipboard/clipboard.cc',
81 'base/clipboard/clipboard.h', 81 'base/clipboard/clipboard.h',
82 'base/clipboard/clipboard_linux.cc', 82 'base/clipboard/clipboard_aura.cc',
83 'base/clipboard/clipboard_gtk.cc',
83 'base/clipboard/clipboard_mac.mm', 84 'base/clipboard/clipboard_mac.mm',
84 'base/clipboard/clipboard_util_win.cc', 85 'base/clipboard/clipboard_util_win.cc',
85 'base/clipboard/clipboard_util_win.h', 86 'base/clipboard/clipboard_util_win.h',
86 'base/clipboard/clipboard_win.cc', 87 'base/clipboard/clipboard_win.cc',
87 'base/clipboard/scoped_clipboard_writer.cc', 88 'base/clipboard/scoped_clipboard_writer.cc',
88 'base/clipboard/scoped_clipboard_writer.h', 89 'base/clipboard/scoped_clipboard_writer.h',
89 'base/cocoa/base_view.h', 90 'base/cocoa/base_view.h',
90 'base/cocoa/base_view.mm', 91 'base/cocoa/base_view.mm',
91 'base/dragdrop/drag_drop_types_gtk.cc', 92 'base/dragdrop/drag_drop_types_gtk.cc',
92 'base/dragdrop/drag_drop_types.h', 93 'base/dragdrop/drag_drop_types.h',
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 'gfx/native_theme.cc', 251 'gfx/native_theme.cc',
251 'gfx/native_theme.h', 252 'gfx/native_theme.h',
252 'gfx/native_widget_types.h', 253 'gfx/native_widget_types.h',
253 'gfx/pango_util.h', 254 'gfx/pango_util.h',
254 'gfx/pango_util.cc', 255 'gfx/pango_util.cc',
255 'gfx/path.cc', 256 'gfx/path.cc',
256 'gfx/path.h', 257 'gfx/path.h',
257 'gfx/path_gtk.cc', 258 'gfx/path_gtk.cc',
258 'gfx/path_win.cc', 259 'gfx/path_win.cc',
259 'gfx/platform_font.h', 260 'gfx/platform_font.h',
260 'gfx/platform_font_gtk.h', 261 'gfx/platform_font_pango.h',
261 'gfx/platform_font_gtk.cc', 262 'gfx/platform_font_pango.cc',
262 'gfx/platform_font_mac.h', 263 'gfx/platform_font_mac.h',
263 'gfx/platform_font_mac.mm', 264 'gfx/platform_font_mac.mm',
264 'gfx/platform_font_win.h', 265 'gfx/platform_font_win.h',
265 'gfx/platform_font_win.cc', 266 'gfx/platform_font_win.cc',
266 'gfx/point.cc', 267 'gfx/point.cc',
267 'gfx/point.h', 268 'gfx/point.h',
268 'gfx/rect.cc', 269 'gfx/rect.cc',
269 'gfx/rect.h', 270 'gfx/rect.h',
270 'gfx/render_text.cc', 271 'gfx/render_text.cc',
271 'gfx/render_text.h', 272 'gfx/render_text.h',
(...skipping 27 matching lines...) Expand all
299 'sources/': [ 300 'sources/': [
300 ['exclude', 'gfx/gtk_'], 301 ['exclude', 'gfx/gtk_'],
301 ['exclude', 'gfx/gtk_util.cc'], 302 ['exclude', 'gfx/gtk_util.cc'],
302 ['exclude', 'gfx/gtk_util.h'], 303 ['exclude', 'gfx/gtk_util.h'],
303 ['exclude', 'gfx/screen_gtk.cc'], 304 ['exclude', 'gfx/screen_gtk.cc'],
304 ['exclude', 'gfx/screen_win.cc'], 305 ['exclude', 'gfx/screen_win.cc'],
305 ['exclude', 'base/win/mouse_wheel_util.cc'], 306 ['exclude', 'base/win/mouse_wheel_util.cc'],
306 ['exclude', 'base/win/mouse_wheel_util.h'], 307 ['exclude', 'base/win/mouse_wheel_util.h'],
307 ], 308 ],
308 }], 309 }],
309 ['toolkit_uses_gtk == 1', { 310 ['use_glib == 1', {
310 'dependencies': [ 311 'dependencies': [
311 # font_gtk.cc uses fontconfig. 312 # font_gtk.cc uses fontconfig.
312 # TODO(evanm): I think this is wrong; it should just use GTK.
313 '../build/linux/system.gyp:fontconfig', 313 '../build/linux/system.gyp:fontconfig',
314 '../build/linux/system.gyp:gtk', 314 '../build/linux/system.gyp:glib',
315 '../build/linux/system.gyp:pangocairo',
315 '../build/linux/system.gyp:x11', 316 '../build/linux/system.gyp:x11',
316 '../build/linux/system.gyp:xext', 317 '../build/linux/system.gyp:xext',
317 ], 318 ],
318 'sources': [ 319 'sources': [
319 'gfx/gtk_native_view_id_manager.cc',
320 'gfx/gtk_native_view_id_manager.h',
321 'gfx/gtk_preserve_window.cc',
322 'gfx/gtk_preserve_window.h',
323 'gfx/gtk_util.cc',
324 'gfx/gtk_util.h',
325 'gfx/linux_util.cc', 320 'gfx/linux_util.cc',
326 'gfx/linux_util.h', 321 'gfx/linux_util.h',
327 'gfx/native_theme_linux.cc', 322 'gfx/native_theme_linux.cc',
328 'gfx/native_theme_linux.h', 323 'gfx/native_theme_linux.h',
329 ], 324 ],
330 'link_settings': { 325 'link_settings': {
331 'libraries': [ 326 'libraries': [
332 '-lXrender', # For XRender* function calls in x11_util.cc. 327 '-lXrender', # For XRender* function calls in x11_util.cc.
333 ], 328 ],
334 }, 329 },
(...skipping 10 matching lines...) Expand all
345 ], 340 ],
346 }, { 341 }, {
347 # Note: because of gyp predence rules this has to be defined as 342 # Note: because of gyp predence rules this has to be defined as
348 # 'sources/' rather than 'sources!'. 343 # 'sources/' rather than 'sources!'.
349 'sources/': [ 344 'sources/': [
350 ['include', '^base/dragdrop/os_exchange_data.cc'], 345 ['include', '^base/dragdrop/os_exchange_data.cc'],
351 ], 346 ],
352 }], 347 }],
353 ], 348 ],
354 }], 349 }],
350 ['toolkit_uses_gtk == 1', {
351 'dependencies': [
352 '../build/linux/system.gyp:gtk',
353 ],
354 'sources': [
355 'gfx/gtk_native_view_id_manager.cc',
356 'gfx/gtk_native_view_id_manager.h',
357 'gfx/gtk_preserve_window.cc',
358 'gfx/gtk_preserve_window.h',
359 'gfx/gtk_util.cc',
360 'gfx/gtk_util.h',
361 ],
362 }],
355 ['use_wayland == 1', { 363 ['use_wayland == 1', {
356 'sources/': [ 364 'sources/': [
357 ['exclude', '_(gtk|x)\\.cc$'], 365 ['exclude', '_(gtk|x)\\.cc$'],
358 ['exclude', '/(gtk|x11)_[^/]*\\.cc$'], 366 ['exclude', '/(gtk|x11)_[^/]*\\.cc$'],
359 ['include', 'base/dragdrop/gtk_dnd_util.cc'], 367 ['include', 'base/dragdrop/gtk_dnd_util.cc'],
360 ['include', 'base/dragdrop/gtk_dnd_util.h'], 368 ['include', 'base/dragdrop/gtk_dnd_util.h'],
361 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.cc'], 369 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.cc'],
362 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.h'], 370 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.h'],
363 ['include', 'base/keycodes/keyboard_code_conversion_x.cc'], 371 ['include', 'base/keycodes/keyboard_code_conversion_x.cc'],
364 ['include', 'base/keycodes/keyboard_code_conversion_x.h'], 372 ['include', 'base/keycodes/keyboard_code_conversion_x.h'],
365 ['include', 'base/view_prop.cc'], 373 ['include', 'base/view_prop.cc'],
366 ['include', 'base/view_prop.h'], 374 ['include', 'base/view_prop.h'],
367 ['include', 'gfx/gtk_util.cc'], 375 ['include', 'gfx/gtk_util.cc'],
368 ['include', 'gfx/gtk_util.h'], 376 ['include', 'gfx/gtk_util.h'],
369 ['include', 'gfx/path_gtk.cc'], 377 ['include', 'gfx/path_gtk.cc'],
370 ['include', 'gfx/platform_font_gtk.cc'], 378 ['include', 'gfx/platform_font_pango.cc'],
371 ['include', 'gfx/platform_font_gtk.h'], 379 ['include', 'gfx/platform_font_pango.h'],
372 ['include', 'gfx/linux_util.cc'], 380 ['include', 'gfx/linux_util.cc'],
373 ['include', 'gfx/linux_util.h'], 381 ['include', 'gfx/linux_util.h'],
374 ], 382 ],
375 }], 383 }],
376 ['OS=="win"', { 384 ['OS=="win"', {
377 'sources': [ 385 'sources': [
378 'gfx/canvas_direct2d.cc', 386 'gfx/canvas_direct2d.cc',
379 'gfx/canvas_direct2d.h', 387 'gfx/canvas_direct2d.h',
380 'gfx/gdi_util.cc', 388 'gfx/gdi_util.cc',
381 'gfx/gdi_util.h', 389 'gfx/gdi_util.h',
382 'gfx/icon_util.cc', 390 'gfx/icon_util.cc',
383 'gfx/icon_util.h', 391 'gfx/icon_util.h',
384 'gfx/native_theme_win.cc', 392 'gfx/native_theme_win.cc',
385 'gfx/native_theme_win.h', 393 'gfx/native_theme_win.h',
386 'gfx/win_util.cc', 394 'gfx/win_util.cc',
387 'gfx/win_util.h', 395 'gfx/win_util.h',
388 ], 396 ],
389 'sources!': [ 397 'sources!': [
390 'gfx/pango_util.h', 398 'gfx/pango_util.h',
391 'gfx/pango_util.cc', 399 'gfx/pango_util.cc',
400 'gfx/platform_font_pango.cc',
401 'gfx/platform_font_pango.h',
392 ], 402 ],
393 'include_dirs': [ 403 'include_dirs': [
394 '../', 404 '../',
395 '../third_party/wtl/include', 405 '../third_party/wtl/include',
396 ], 406 ],
397 'msvs_settings': { 407 'msvs_settings': {
398 'VCLinkerTool': { 408 'VCLinkerTool': {
399 'DelayLoadDLLs': [ 409 'DelayLoadDLLs': [
400 'd2d1.dll', 410 'd2d1.dll',
401 'd3d10_1.dll', 411 'd3d10_1.dll',
(...skipping 23 matching lines...) Expand all
425 'base/view_prop.h', 435 'base/view_prop.h',
426 ], 436 ],
427 'sources/': [ 437 'sources/': [
428 ['exclude', '^base/win/*'], 438 ['exclude', '^base/win/*'],
429 ], 439 ],
430 }], 440 }],
431 ['OS=="mac"', { 441 ['OS=="mac"', {
432 'sources!': [ 442 'sources!': [
433 'gfx/pango_util.h', 443 'gfx/pango_util.h',
434 'gfx/pango_util.cc', 444 'gfx/pango_util.cc',
445 'gfx/platform_font_pango.h',
446 'gfx/platform_font_pango.cc',
435 ], 447 ],
436 'link_settings': { 448 'link_settings': {
437 'libraries': [ 449 'libraries': [
438 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework', 450 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
439 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', 451 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
440 ], 452 ],
441 }, 453 },
442 }], 454 }],
443 ['use_x11==1', { 455 ['use_x11==1', {
444 'all_dependent_settings': { 456 'all_dependent_settings': {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); ' \ 541 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); ' \
530 'os.chmod(\'<(ui_copy_dest)\', 0700)' 542 'os.chmod(\'<(ui_copy_dest)\', 0700)'
531 ] 543 ]
532 } 544 }
533 ], 545 ],
534 }, 546 },
535 ], 547 ],
536 }], 548 }],
537 ], 549 ],
538 } 550 }
OLDNEW
« no previous file with comments | « ui/gfx/rect.cc ('k') | ui/ui_unittests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698