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

Side by Side Diff: ui/gfx/gfx.gyp

Issue 368903003: Provide gtest printers for ui/gfx geometry types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add gfx_test_support dep to video_encode_accelerator_unittest Created 6 years, 5 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/geometry/vector3d_f.h ('k') | ui/gfx/test/gfx_util.h » ('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) 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 # the file on iOS. 408 # the file on iOS.
409 ['OS == "ios"', { 409 ['OS == "ios"', {
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 'sources': [ 419 'sources': [
419 'test/gfx_util.cc', 420 'test/gfx_util.cc',
420 'test/gfx_util.h', 421 'test/gfx_util.h',
421 'test/ui_cocoa_test_helper.h', 422 'test/ui_cocoa_test_helper.h',
422 'test/ui_cocoa_test_helper.mm', 423 'test/ui_cocoa_test_helper.mm',
423 ], 424 ],
424 'dependencies': [ 425 'dependencies': [
425 '../../base/base.gyp:base', 426 '../../base/base.gyp:base',
426 '../../skia/skia.gyp:skia', 427 '../../skia/skia.gyp:skia',
427 '../../testing/gtest.gyp:gtest', 428 '../../testing/gtest.gyp:gtest',
428 ], 429 ],
429 'conditions': [ 430 'conditions': [
430 ['OS == "mac"', { 431 ['OS == "mac"', {
431 'link_settings': { 432 'link_settings': {
432 'libraries': [ 433 'libraries': [
433 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', 434 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
434 ], 435 ],
435 }, 436 },
436 }], 437 }],
437 ['OS!="ios"', { 438 ['OS=="ios"', {
438 'type': 'static_library',
439 }, { # OS=="ios"
440 # None of the sources in this target are built on iOS, resulting in
441 # link errors when building targets that depend on this target
442 # because the static library isn't found. If this target is changed
443 # to have sources that are built on iOS, the target should be changed
444 # to be of type static_library on all platforms.
445 'type': 'none',
446 # The cocoa files don't apply to iOS. 439 # The cocoa files don't apply to iOS.
447 'sources/': [ 440 'sources/': [
448 ['exclude', 'cocoa'] 441 ['exclude', 'cocoa']
449 ], 442 ],
450 }], 443 }],
451 ], 444 ],
452 }, 445 },
453 ], 446 ],
454 'conditions': [ 447 'conditions': [
455 ['OS=="android"' , { 448 ['OS=="android"' , {
456 'targets': [ 449 'targets': [
457 { 450 {
458 'target_name': 'gfx_jni_headers', 451 'target_name': 'gfx_jni_headers',
459 'type': 'none', 452 'type': 'none',
460 'sources': [ 453 'sources': [
461 '../android/java/src/org/chromium/ui/gfx/BitmapHelper.java', 454 '../android/java/src/org/chromium/ui/gfx/BitmapHelper.java',
462 '../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java', 455 '../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java',
463 '../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java ', 456 '../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java ',
464 ], 457 ],
465 'variables': { 458 'variables': {
466 'jni_gen_package': 'ui/gfx', 459 'jni_gen_package': 'ui/gfx',
467 }, 460 },
468 'includes': [ '../../build/jni_generator.gypi' ], 461 'includes': [ '../../build/jni_generator.gypi' ],
469 }, 462 },
470 ], 463 ],
471 }], 464 }],
472 ], 465 ],
473 } 466 }
OLDNEW
« no previous file with comments | « ui/gfx/geometry/vector3d_f.h ('k') | ui/gfx/test/gfx_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698