OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 'sources/': [ | 410 'sources/': [ |
411 ['include', '^scoped_cg_context_save_gstate_mac\\.h$'], | 411 ['include', '^scoped_cg_context_save_gstate_mac\\.h$'], |
412 ], | 412 ], |
413 }], | 413 }], |
414 ], | 414 ], |
415 }, | 415 }, |
416 { | 416 { |
417 'target_name': 'gfx_test_support', | 417 'target_name': 'gfx_test_support', |
418 'type': 'static_library', | 418 'type': 'static_library', |
419 'sources': [ | 419 'sources': [ |
| 420 'test/fontconfig_util_linux.cc', |
| 421 'test/fontconfig_util_linux.h', |
420 'test/gfx_util.cc', | 422 'test/gfx_util.cc', |
421 'test/gfx_util.h', | 423 'test/gfx_util.h', |
422 'test/ui_cocoa_test_helper.h', | 424 'test/ui_cocoa_test_helper.h', |
423 'test/ui_cocoa_test_helper.mm', | 425 'test/ui_cocoa_test_helper.mm', |
424 ], | 426 ], |
425 'dependencies': [ | 427 'dependencies': [ |
426 '../../base/base.gyp:base', | 428 '../../base/base.gyp:base', |
427 '../../skia/skia.gyp:skia', | 429 '../../skia/skia.gyp:skia', |
428 '../../testing/gtest.gyp:gtest', | 430 '../../testing/gtest.gyp:gtest', |
429 ], | 431 ], |
430 'conditions': [ | 432 'conditions': [ |
431 ['OS == "mac"', { | 433 ['OS == "mac"', { |
432 'link_settings': { | 434 'link_settings': { |
433 'libraries': [ | 435 'libraries': [ |
434 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 436 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
435 ], | 437 ], |
436 }, | 438 }, |
437 }], | 439 }], |
438 ['OS=="ios"', { | 440 ['OS=="ios"', { |
439 # The cocoa files don't apply to iOS. | 441 # The cocoa files don't apply to iOS. |
440 'sources/': [ | 442 'sources/': [ |
441 ['exclude', 'cocoa'] | 443 ['exclude', 'cocoa'] |
442 ], | 444 ], |
443 }], | 445 }], |
| 446 ['OS=="linux"', { |
| 447 'dependencies': [ |
| 448 '../../build/linux/system.gyp:fontconfig', |
| 449 ], |
| 450 }], |
444 ], | 451 ], |
445 }, | 452 }, |
446 ], | 453 ], |
447 'conditions': [ | 454 'conditions': [ |
448 ['OS=="android"' , { | 455 ['OS=="android"' , { |
449 'targets': [ | 456 'targets': [ |
450 { | 457 { |
451 'target_name': 'gfx_jni_headers', | 458 'target_name': 'gfx_jni_headers', |
452 'type': 'none', | 459 'type': 'none', |
453 'sources': [ | 460 'sources': [ |
454 '../android/java/src/org/chromium/ui/gfx/BitmapHelper.java', | 461 '../android/java/src/org/chromium/ui/gfx/BitmapHelper.java', |
455 '../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java', | 462 '../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java', |
456 '../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java
', | 463 '../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java
', |
457 ], | 464 ], |
458 'variables': { | 465 'variables': { |
459 'jni_gen_package': 'ui/gfx', | 466 'jni_gen_package': 'ui/gfx', |
460 }, | 467 }, |
461 'includes': [ '../../build/jni_generator.gypi' ], | 468 'includes': [ '../../build/jni_generator.gypi' ], |
462 }, | 469 }, |
463 ], | 470 ], |
464 }], | 471 }], |
465 ], | 472 ], |
466 } | 473 } |
OLD | NEW |