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