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 'variables': { |
| 11 # A hook that can be overridden in other repositories to add additional |
| 12 # compilation targets to 'All' |
| 13 'android_app_targets%': [], |
| 14 }, |
10 'targets': [ | 15 'targets': [ |
11 { | 16 { |
12 'target_name': 'All', | 17 'target_name': 'All', |
13 'type': 'none', | 18 'type': 'none', |
14 'dependencies': [ | 19 'dependencies': [ |
15 '../content/content.gyp:content_shell_apk', | 20 '../content/content.gyp:content_shell_apk', |
| 21 '<@(android_app_targets)', |
16 'android_builder_tests', | 22 'android_builder_tests', |
17 ], | 23 ], |
18 }, # target_name: All | 24 }, # target_name: All |
19 { | 25 { |
20 # The current list of tests for android. This is temporary | 26 # The current list of tests for android. This is temporary |
21 # until the full set supported. If adding a new test here, | 27 # until the full set supported. If adding a new test here, |
22 # please also add it to build/android/run_tests.py, else the | 28 # please also add it to build/android/run_tests.py, else the |
23 # test is not run. | 29 # test is not run. |
24 # | 30 # |
25 # WARNING: | 31 # WARNING: |
26 # Do not add targets here without communicating the implications | 32 # Do not add targets here without communicating the implications |
27 # on tryserver triggers and load. Discuss with jrg please. | 33 # on tryserver triggers and load. Discuss with jrg please. |
28 'target_name': 'android_builder_tests', | 34 'target_name': 'android_builder_tests', |
29 'type': 'none', | 35 'type': 'none', |
30 'dependencies': [ | 36 'dependencies': [ |
| 37 '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests', |
31 '../base/base.gyp:base_unittests', | 38 '../base/base.gyp:base_unittests', |
32 '../chrome/chrome.gyp:unit_tests', | 39 '../chrome/chrome.gyp:unit_tests', |
33 '../content/content.gyp:content_shell_test_apk', | 40 '../content/content.gyp:content_shell_test_apk', |
34 '../content/content.gyp:content_unittests', | 41 '../content/content.gyp:content_unittests', |
35 '../gpu/gpu.gyp:gpu_unittests', | 42 '../gpu/gpu.gyp:gpu_unittests', |
36 '../ipc/ipc.gyp:ipc_tests', | 43 '../ipc/ipc.gyp:ipc_tests', |
| 44 '../media/media.gyp:media_unittests', |
37 '../net/net.gyp:net_unittests', | 45 '../net/net.gyp:net_unittests', |
38 '../sql/sql.gyp:sql_unittests', | 46 '../sql/sql.gyp:sql_unittests', |
39 '../sync/sync.gyp:sync_unit_tests', | 47 '../sync/sync.gyp:sync_unit_tests', |
40 '../third_party/WebKit/Source/WebKit/chromium/All.gyp:*', | 48 '../third_party/WebKit/Source/WebKit/chromium/All.gyp:*', |
41 '../tools/android/device_stats_monitor/device_stats_monitor.gyp:device_s
tats_monitor', | 49 '../tools/android/device_stats_monitor/device_stats_monitor.gyp:device_s
tats_monitor', |
42 '../tools/android/fake_dns/fake_dns.gyp:fake_dns', | 50 '../tools/android/fake_dns/fake_dns.gyp:fake_dns', |
43 '../tools/android/forwarder/forwarder.gyp:forwarder', | 51 '../tools/android/forwarder/forwarder.gyp:forwarder', |
44 '../tools/android/md5sum/md5sum.gyp:md5sum', | 52 '../tools/android/md5sum/md5sum.gyp:md5sum', |
45 '../ui/ui.gyp:ui_unittests', | 53 '../ui/ui.gyp:ui_unittests', |
46 # From here down: not added to run_tests.py yet. | 54 # From here down: not added to run_tests.py yet. |
47 '../jingle/jingle.gyp:jingle_unittests', | 55 '../jingle/jingle.gyp:jingle_unittests', |
48 '../media/media.gyp:media_unittests', | |
49 # Required by ui_unittests. | 56 # Required by ui_unittests. |
50 # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but | 57 # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but |
51 # this would cause circular gyp dependency which needs refactoring the | 58 # this would cause circular gyp dependency which needs refactoring the |
52 # gyps to resolve. | 59 # gyps to resolve. |
53 '../chrome/chrome_resources.gyp:packed_resources', | 60 '../chrome/chrome_resources.gyp:packed_resources', |
54 ], | 61 ], |
55 'conditions': [ | 62 'conditions': [ |
| 63 ['linux_breakpad==1', { |
| 64 'dependencies': [ |
| 65 '../breakpad/breakpad.gyp:breakpad_unittests', |
| 66 ], |
| 67 }], |
56 ['"<(gtest_target_type)"=="shared_library"', { | 68 ['"<(gtest_target_type)"=="shared_library"', { |
57 'dependencies': [ | 69 'dependencies': [ |
58 # The first item is simply the template. We add as a dep | 70 # The first item is simply the template. We add as a dep |
59 # to make sure it builds in ungenerated form. TODO(jrg): | 71 # to make sure it builds in ungenerated form. TODO(jrg): |
60 # once stable, transition to a test-only (optional) | 72 # once stable, transition to a test-only (optional) |
61 # target. | 73 # target. |
62 '../testing/android/native_test.gyp:native_test_apk', | 74 '../testing/android/native_test.gyp:native_test_apk', |
63 # Unit test bundles packaged as an apk. | 75 # Unit test bundles packaged as an apk. |
64 '../base/base.gyp:base_unittests_apk', | 76 '../base/base.gyp:base_unittests_apk', |
| 77 '../chrome/chrome.gyp:unit_tests_apk', |
65 '../content/content.gyp:content_unittests_apk', | 78 '../content/content.gyp:content_unittests_apk', |
66 '../chrome/chrome.gyp:unit_tests_apk', | |
67 '../gpu/gpu.gyp:gpu_unittests_apk', | 79 '../gpu/gpu.gyp:gpu_unittests_apk', |
68 '../ipc/ipc.gyp:ipc_tests_apk', | 80 '../ipc/ipc.gyp:ipc_tests_apk', |
69 '../media/media.gyp:media_unittests_apk', | 81 '../media/media.gyp:media_unittests_apk', |
70 '../net/net.gyp:net_unittests_apk', | 82 '../net/net.gyp:net_unittests_apk', |
71 '../sql/sql.gyp:sql_unittests_apk', | 83 '../sql/sql.gyp:sql_unittests_apk', |
72 '../sync/sync.gyp:sync_unit_tests_apk', | 84 '../sync/sync.gyp:sync_unit_tests_apk', |
73 '../ui/ui.gyp:ui_unittests_apk', | 85 '../ui/ui.gyp:ui_unittests_apk', |
74 ], | 86 ], |
75 }] | 87 }] |
76 ], | 88 ], |
(...skipping 14 matching lines...) Expand all Loading... |
91 # In-progress targets that are expected to fail and are NOT run | 103 # In-progress targets that are expected to fail and are NOT run |
92 # on any bot. | 104 # on any bot. |
93 'target_name': 'android_in_progress', | 105 'target_name': 'android_in_progress', |
94 'type': 'none', | 106 'type': 'none', |
95 'dependencies': [ | 107 'dependencies': [ |
96 '../content/content.gyp:content_browsertests', | 108 '../content/content.gyp:content_browsertests', |
97 ], | 109 ], |
98 }, | 110 }, |
99 ], # targets | 111 ], # targets |
100 } | 112 } |
OLD | NEW |