OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # This is all.gyp file for Android to prevent breakage in Android and other | 5 # This is all.gyp file for Android to prevent breakage in Android and other |
6 # platform; It will be churning a lot in the short term and eventually be merged | 6 # platform; It will be churning a lot in the short term and eventually be merged |
7 # into all.gyp. | 7 # into all.gyp. |
8 | 8 |
9 { | 9 { |
10 'targets': [ | 10 'targets': [ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 '../jingle/jingle.gyp:jingle_unittests', | 42 '../jingle/jingle.gyp:jingle_unittests', |
43 '../tools/android/fake_dns/fake_dns.gyp:fake_dns', | 43 '../tools/android/fake_dns/fake_dns.gyp:fake_dns', |
44 '../tools/android/forwarder/forwarder.gyp:forwarder', | 44 '../tools/android/forwarder/forwarder.gyp:forwarder', |
45 '../media/media.gyp:media_unittests', | 45 '../media/media.gyp:media_unittests', |
46 # Required by ui_unittests. | 46 # Required by ui_unittests. |
47 # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but | 47 # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but |
48 # this would cause circular gyp dependency which needs refactoring the | 48 # this would cause circular gyp dependency which needs refactoring the |
49 # gyps to resolve. | 49 # gyps to resolve. |
50 '../chrome/chrome_resources.gyp:packed_resources', | 50 '../chrome/chrome_resources.gyp:packed_resources', |
51 ], | 51 ], |
| 52 'conditions': [ |
| 53 ['"<(gtest_target_type)"=="shared_library"', { |
| 54 'dependencies': [ |
| 55 # The first item is simply the template. We add as a dep |
| 56 # to make sure it builds in ungenerated form. TODO(jrg): |
| 57 # once stable, transition to a test-only (optional) |
| 58 # target. |
| 59 '../testing/android/native_test.gyp:native_test_apk', |
| 60 # Unit test bundles packaged as an apk. |
| 61 '../base/base.gyp:base_unittests_apk', |
| 62 '../ipc/ipc.gyp:ipc_tests_apk', |
| 63 ], |
| 64 }] |
| 65 ], |
52 }, | 66 }, |
53 { | 67 { |
54 # Experimental / in-progress targets that are expected to fail | 68 # Experimental / in-progress targets that are expected to fail |
55 # but we still try to compile them on bots (turning the stage | 69 # but we still try to compile them on bots (turning the stage |
56 # orange, not red). | 70 # orange, not red). |
57 'target_name': 'android_experimental', | 71 'target_name': 'android_experimental', |
58 'type': 'none', | 72 'type': 'none', |
59 'dependencies': [ | 73 'dependencies': [ |
60 '../chrome/chrome.gyp:unit_tests', | 74 '../chrome/chrome.gyp:unit_tests', |
61 ], | 75 ], |
62 }, | 76 }, |
63 { | 77 { |
64 # In-progress targets that are expected to fail and are NOT run | 78 # In-progress targets that are expected to fail and are NOT run |
65 # on any bot. | 79 # on any bot. |
66 'target_name': 'android_in_progress', | 80 'target_name': 'android_in_progress', |
67 'type': 'none', | 81 'type': 'none', |
68 'dependencies': [ | 82 'dependencies': [ |
69 '../content/content.gyp:content_browsertests', | 83 '../content/content.gyp:content_browsertests', |
70 '../ui/ui.gyp:gfx_unittests', | 84 '../ui/ui.gyp:gfx_unittests', |
71 ], | 85 ], |
72 }, | 86 }, |
73 ], # targets | 87 ], # targets |
74 } | 88 } |
OLD | NEW |