Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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
3 # found in the LICENSE file.
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
7 # into all.gyp.
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 },
15 'targets': [
16 {
17 'target_name': 'All',
18 'type': 'none',
19 'dependencies': [
20 '../content/content.gyp:content_shell_apk',
21 '<@(android_app_targets)',
22 'android_builder_tests',
23 '../android_webview/android_webview.gyp:android_webview_apk',
24 '../chrome/chrome.gyp:chromium_testshell',
25 ],
26 }, # target_name: All
27 {
28 # The current list of tests for android. This is temporary
29 # until the full set supported. If adding a new test here,
30 # please also add it to build/android/run_tests.py, else the
31 # test is not run.
32 #
33 # WARNING:
34 # Do not add targets here without communicating the implications
35 # on tryserver triggers and load. Discuss with jrg please.
36 'target_name': 'android_builder_tests',
37 'type': 'none',
38 'dependencies': [
39 '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
40 '../base/base.gyp:base_unittests',
41 '../cc/cc_tests.gyp:cc_unittests',
42 '../chrome/chrome.gyp:unit_tests',
43 '../content/content.gyp:content_shell_test_apk',
44 '../content/content.gyp:content_unittests',
45 '../gpu/gpu.gyp:gpu_unittests',
46 '../ipc/ipc.gyp:ipc_tests',
47 '../media/media.gyp:media_unittests',
48 '../net/net.gyp:net_unittests',
49 '../sql/sql.gyp:sql_unittests',
50 '../sync/sync.gyp:sync_unit_tests',
51 '../third_party/WebKit/Source/WebKit/chromium/All.gyp:*',
52 '../tools/android/device_stats_monitor/device_stats_monitor.gyp:device_stats_monitor',
53 '../tools/android/fake_dns/fake_dns.gyp:fake_dns',
54 '../tools/android/forwarder2/forwarder.gyp:forwarder2',
55 '../tools/android/md5sum/md5sum.gyp:md5sum',
56 '../ui/ui.gyp:ui_unittests',
57 # From here down: not added to run_tests.py yet.
58 '../jingle/jingle.gyp:jingle_unittests',
59 # Required by ui_unittests.
60 # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but
61 # this would cause circular gyp dependency which needs refactoring the
62 # gyps to resolve.
63 '../chrome/chrome_resources.gyp:packed_resources',
64 ],
65 'conditions': [
66 ['linux_breakpad==1', {
67 'dependencies': [
68 '../breakpad/breakpad.gyp:breakpad_unittests',
69 ],
70 }],
71 ['"<(gtest_target_type)"=="shared_library"', {
72 'dependencies': [
73 # The first item is simply the template. We add as a dep
74 # to make sure it builds in ungenerated form. TODO(jrg):
75 # once stable, transition to a test-only (optional)
76 # target.
77 '../testing/android/native_test.gyp:native_test_apk',
78 # Unit test bundles packaged as an apk.
79 '../base/base.gyp:base_unittests_apk',
80 '../cc/cc_tests.gyp:cc_unittests_apk',
81 '../chrome/chrome.gyp:unit_tests_apk',
82 '../content/content.gyp:content_unittests_apk',
83 '../gpu/gpu.gyp:gpu_unittests_apk',
84 '../ipc/ipc.gyp:ipc_tests_apk',
85 '../media/media.gyp:media_unittests_apk',
86 '../net/net.gyp:net_unittests_apk',
87 '../sql/sql.gyp:sql_unittests_apk',
88 '../sync/sync.gyp:sync_unit_tests_apk',
89 '../ui/ui.gyp:ui_unittests_apk',
90 '../android_webview/android_webview.gyp:android_webview_test_apk',
91 '../chrome/chrome.gyp:chromium_testshell_test_apk',
92 ],
93 }],
94 ],
95 },
96 {
97 # Experimental / in-progress targets that are expected to fail
98 # but we still try to compile them on bots (turning the stage
99 # orange, not red).
100 'target_name': 'android_experimental',
101 'type': 'none',
102 'dependencies': [
103 ],
104 },
105 {
106 # In-progress targets that are expected to fail and are NOT run
107 # on any bot.
108 'target_name': 'android_in_progress',
109 'type': 'none',
110 'dependencies': [
111 '../content/content.gyp:content_browsertests',
112 ],
113 },
114 ], # targets
115 }