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

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

Issue 278443003: Android: cleanup gtest_target_type conditions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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/events/events.gyp ('k') | ui/ui_unittests.gyp » ('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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 '../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java ', 542 '../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java ',
543 ], 543 ],
544 'variables': { 544 'variables': {
545 'jni_gen_package': 'ui/gfx', 545 'jni_gen_package': 'ui/gfx',
546 'jni_generator_ptr_type': 'long' 546 'jni_generator_ptr_type': 'long'
547 }, 547 },
548 'includes': [ '../../build/jni_generator.gypi' ], 548 'includes': [ '../../build/jni_generator.gypi' ],
549 }, 549 },
550 ], 550 ],
551 }], 551 }],
552 # Special target to wrap a gtest_target_type==shared_library 552 ['OS == "android"', {
553 # gfx_unittests into an android apk for execution.
554 # See base.gyp for TODO(jrg)s about this strategy.
555 ['OS == "android" and gtest_target_type == "shared_library"', {
556 'targets': [ 553 'targets': [
557 { 554 {
558 'target_name': 'gfx_unittests_apk', 555 'target_name': 'gfx_unittests_apk',
559 'type': 'none', 556 'type': 'none',
560 'dependencies': [ 557 'dependencies': [
561 'gfx_unittests', 558 'gfx_unittests',
562 ], 559 ],
563 'variables': { 560 'variables': {
564 'test_suite_name': 'gfx_unittests', 561 'test_suite_name': 'gfx_unittests',
565 }, 562 },
566 'includes': [ '../../build/apk_test.gypi' ], 563 'includes': [ '../../build/apk_test.gypi' ],
567 }, 564 },
568 ], 565 ],
569 }], 566 }],
570 ], 567 ],
571 } 568 }
OLDNEW
« no previous file with comments | « ui/events/events.gyp ('k') | ui/ui_unittests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698