| 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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 'type': 'none', | 487 'type': 'none', |
| 488 # The cocoa files don't apply to iOS. | 488 # The cocoa files don't apply to iOS. |
| 489 'sources/': [ | 489 'sources/': [ |
| 490 ['exclude', 'cocoa'] | 490 ['exclude', 'cocoa'] |
| 491 ], | 491 ], |
| 492 }], | 492 }], |
| 493 ], | 493 ], |
| 494 }, | 494 }, |
| 495 { | 495 { |
| 496 'target_name': 'gfx_unittests', | 496 'target_name': 'gfx_unittests', |
| 497 'type': 'executable', | 497 'type': '<(gtest_target_type)', |
| 498 'sources': [ | 498 'sources': [ |
| 499 'geometry/box_unittest.cc', | 499 'geometry/box_unittest.cc', |
| 500 'geometry/cubic_bezier_unittest.cc', | 500 'geometry/cubic_bezier_unittest.cc', |
| 501 'geometry/insets_unittest.cc', | 501 'geometry/insets_unittest.cc', |
| 502 'geometry/matrix3_unittest.cc', | 502 'geometry/matrix3_unittest.cc', |
| 503 'geometry/point_unittest.cc', | 503 'geometry/point_unittest.cc', |
| 504 'geometry/point3_unittest.cc', | 504 'geometry/point3_unittest.cc', |
| 505 'geometry/quad_unittest.cc', | 505 'geometry/quad_unittest.cc', |
| 506 'geometry/rect_unittest.cc', | 506 'geometry/rect_unittest.cc', |
| 507 'geometry/safe_integer_conversions_unittest.cc', | 507 'geometry/safe_integer_conversions_unittest.cc', |
| (...skipping 24 matching lines...) Expand all Loading... |
| 532 '../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java
', | 532 '../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java
', |
| 533 ], | 533 ], |
| 534 'variables': { | 534 'variables': { |
| 535 'jni_gen_package': 'ui/gfx', | 535 'jni_gen_package': 'ui/gfx', |
| 536 'jni_generator_ptr_type': 'long' | 536 'jni_generator_ptr_type': 'long' |
| 537 }, | 537 }, |
| 538 'includes': [ '../../build/jni_generator.gypi' ], | 538 'includes': [ '../../build/jni_generator.gypi' ], |
| 539 }, | 539 }, |
| 540 ], | 540 ], |
| 541 }], | 541 }], |
| 542 # Special target to wrap a gtest_target_type==shared_library |
| 543 # gfx_unittests into an android apk for execution. |
| 544 # See base.gyp for TODO(jrg)s about this strategy. |
| 545 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 546 'targets': [ |
| 547 { |
| 548 'target_name': 'gfx_unittests_apk', |
| 549 'type': 'none', |
| 550 'dependencies': [ |
| 551 'gfx_unittests', |
| 552 ], |
| 553 'variables': { |
| 554 'test_suite_name': 'gfx_unittests', |
| 555 }, |
| 556 'includes': [ '../../build/apk_test.gypi' ], |
| 557 }, |
| 558 ], |
| 559 }], |
| 542 ], | 560 ], |
| 543 } | 561 } |
| OLD | NEW |