OLD | NEW |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 }, { |
| 363 'sources/': [ |
| 364 ['include', 'gfx/platform_font_pango.cc'], |
| 365 ], |
| 366 }], |
355 ['use_wayland == 1', { | 367 ['use_wayland == 1', { |
356 'sources/': [ | 368 'sources/': [ |
357 ['exclude', '_(gtk|x)\\.cc$'], | 369 ['exclude', '_(gtk|x)\\.cc$'], |
358 ['exclude', '/(gtk|x11)_[^/]*\\.cc$'], | 370 ['exclude', '/(gtk|x11)_[^/]*\\.cc$'], |
359 ['include', 'base/dragdrop/gtk_dnd_util.cc'], | 371 ['include', 'base/dragdrop/gtk_dnd_util.cc'], |
360 ['include', 'base/dragdrop/gtk_dnd_util.h'], | 372 ['include', 'base/dragdrop/gtk_dnd_util.h'], |
361 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.cc'], | 373 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.cc'], |
362 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.h'], | 374 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.h'], |
363 ['include', 'base/keycodes/keyboard_code_conversion_x.cc'], | 375 ['include', 'base/keycodes/keyboard_code_conversion_x.cc'], |
364 ['include', 'base/keycodes/keyboard_code_conversion_x.h'], | 376 ['include', 'base/keycodes/keyboard_code_conversion_x.h'], |
365 ['include', 'base/view_prop.cc'], | 377 ['include', 'base/view_prop.cc'], |
366 ['include', 'base/view_prop.h'], | 378 ['include', 'base/view_prop.h'], |
367 ['include', 'gfx/gtk_util.cc'], | 379 ['include', 'gfx/gtk_util.cc'], |
368 ['include', 'gfx/gtk_util.h'], | 380 ['include', 'gfx/gtk_util.h'], |
369 ['include', 'gfx/path_gtk.cc'], | 381 ['include', 'gfx/path_gtk.cc'], |
370 ['include', 'gfx/platform_font_gtk.cc'], | 382 ['include', 'gfx/platform_font_pango.cc'], |
371 ['include', 'gfx/platform_font_gtk.h'], | 383 ['include', 'gfx/platform_font_pango.h'], |
372 ['include', 'gfx/linux_util.cc'], | 384 ['include', 'gfx/linux_util.cc'], |
373 ['include', 'gfx/linux_util.h'], | 385 ['include', 'gfx/linux_util.h'], |
374 ], | 386 ], |
375 }], | 387 }], |
376 ['OS=="win"', { | 388 ['OS=="win"', { |
377 'sources': [ | 389 'sources': [ |
378 'gfx/canvas_direct2d.cc', | 390 'gfx/canvas_direct2d.cc', |
379 'gfx/canvas_direct2d.h', | 391 'gfx/canvas_direct2d.h', |
380 'gfx/gdi_util.cc', | 392 'gfx/gdi_util.cc', |
381 'gfx/gdi_util.h', | 393 'gfx/gdi_util.h', |
382 'gfx/icon_util.cc', | 394 'gfx/icon_util.cc', |
383 'gfx/icon_util.h', | 395 'gfx/icon_util.h', |
384 'gfx/native_theme_win.cc', | 396 'gfx/native_theme_win.cc', |
385 'gfx/native_theme_win.h', | 397 'gfx/native_theme_win.h', |
386 'gfx/win_util.cc', | 398 'gfx/win_util.cc', |
387 'gfx/win_util.h', | 399 'gfx/win_util.h', |
388 ], | 400 ], |
389 'sources!': [ | 401 'sources!': [ |
390 'gfx/pango_util.h', | 402 'gfx/pango_util.h', |
391 'gfx/pango_util.cc', | 403 'gfx/pango_util.cc', |
| 404 'gfx/platform_font_pango.cc', |
| 405 'gfx/platform_font_pango.h', |
392 ], | 406 ], |
393 'include_dirs': [ | 407 'include_dirs': [ |
394 '../', | 408 '../', |
395 '../third_party/wtl/include', | 409 '../third_party/wtl/include', |
396 ], | 410 ], |
397 'msvs_settings': { | 411 'msvs_settings': { |
398 'VCLinkerTool': { | 412 'VCLinkerTool': { |
399 'DelayLoadDLLs': [ | 413 'DelayLoadDLLs': [ |
400 'd2d1.dll', | 414 'd2d1.dll', |
401 'd3d10_1.dll', | 415 'd3d10_1.dll', |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); '
\ | 543 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); '
\ |
530 'os.chmod(\'<(ui_copy_dest)\', 0700)' | 544 'os.chmod(\'<(ui_copy_dest)\', 0700)' |
531 ] | 545 ] |
532 } | 546 } |
533 ], | 547 ], |
534 }, | 548 }, |
535 ], | 549 ], |
536 }], | 550 }], |
537 ], | 551 ], |
538 } | 552 } |
OLD | NEW |