1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/webrtc/trunk/build/all_android.gyp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,115 @@ 1.4 +# Copyright (c) 2012 The Chromium Authors. All rights reserved. 1.5 +# Use of this source code is governed by a BSD-style license that can be 1.6 +# found in the LICENSE file. 1.7 + 1.8 +# This is all.gyp file for Android to prevent breakage in Android and other 1.9 +# platform; It will be churning a lot in the short term and eventually be merged 1.10 +# into all.gyp. 1.11 + 1.12 +{ 1.13 + 'variables': { 1.14 + # A hook that can be overridden in other repositories to add additional 1.15 + # compilation targets to 'All' 1.16 + 'android_app_targets%': [], 1.17 + }, 1.18 + 'targets': [ 1.19 + { 1.20 + 'target_name': 'All', 1.21 + 'type': 'none', 1.22 + 'dependencies': [ 1.23 + '../content/content.gyp:content_shell_apk', 1.24 + '<@(android_app_targets)', 1.25 + 'android_builder_tests', 1.26 + '../android_webview/android_webview.gyp:android_webview_apk', 1.27 + '../chrome/chrome.gyp:chromium_testshell', 1.28 + ], 1.29 + }, # target_name: All 1.30 + { 1.31 + # The current list of tests for android. This is temporary 1.32 + # until the full set supported. If adding a new test here, 1.33 + # please also add it to build/android/run_tests.py, else the 1.34 + # test is not run. 1.35 + # 1.36 + # WARNING: 1.37 + # Do not add targets here without communicating the implications 1.38 + # on tryserver triggers and load. Discuss with jrg please. 1.39 + 'target_name': 'android_builder_tests', 1.40 + 'type': 'none', 1.41 + 'dependencies': [ 1.42 + '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests', 1.43 + '../base/base.gyp:base_unittests', 1.44 + '../cc/cc_tests.gyp:cc_unittests', 1.45 + '../chrome/chrome.gyp:unit_tests', 1.46 + '../content/content.gyp:content_shell_test_apk', 1.47 + '../content/content.gyp:content_unittests', 1.48 + '../gpu/gpu.gyp:gpu_unittests', 1.49 + '../ipc/ipc.gyp:ipc_tests', 1.50 + '../media/media.gyp:media_unittests', 1.51 + '../net/net.gyp:net_unittests', 1.52 + '../sql/sql.gyp:sql_unittests', 1.53 + '../sync/sync.gyp:sync_unit_tests', 1.54 + '../third_party/WebKit/Source/WebKit/chromium/All.gyp:*', 1.55 + '../tools/android/device_stats_monitor/device_stats_monitor.gyp:device_stats_monitor', 1.56 + '../tools/android/fake_dns/fake_dns.gyp:fake_dns', 1.57 + '../tools/android/forwarder2/forwarder.gyp:forwarder2', 1.58 + '../tools/android/md5sum/md5sum.gyp:md5sum', 1.59 + '../ui/ui.gyp:ui_unittests', 1.60 + # From here down: not added to run_tests.py yet. 1.61 + '../jingle/jingle.gyp:jingle_unittests', 1.62 + # Required by ui_unittests. 1.63 + # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but 1.64 + # this would cause circular gyp dependency which needs refactoring the 1.65 + # gyps to resolve. 1.66 + '../chrome/chrome_resources.gyp:packed_resources', 1.67 + ], 1.68 + 'conditions': [ 1.69 + ['linux_breakpad==1', { 1.70 + 'dependencies': [ 1.71 + '../breakpad/breakpad.gyp:breakpad_unittests', 1.72 + ], 1.73 + }], 1.74 + ['"<(gtest_target_type)"=="shared_library"', { 1.75 + 'dependencies': [ 1.76 + # The first item is simply the template. We add as a dep 1.77 + # to make sure it builds in ungenerated form. TODO(jrg): 1.78 + # once stable, transition to a test-only (optional) 1.79 + # target. 1.80 + '../testing/android/native_test.gyp:native_test_apk', 1.81 + # Unit test bundles packaged as an apk. 1.82 + '../base/base.gyp:base_unittests_apk', 1.83 + '../cc/cc_tests.gyp:cc_unittests_apk', 1.84 + '../chrome/chrome.gyp:unit_tests_apk', 1.85 + '../content/content.gyp:content_unittests_apk', 1.86 + '../gpu/gpu.gyp:gpu_unittests_apk', 1.87 + '../ipc/ipc.gyp:ipc_tests_apk', 1.88 + '../media/media.gyp:media_unittests_apk', 1.89 + '../net/net.gyp:net_unittests_apk', 1.90 + '../sql/sql.gyp:sql_unittests_apk', 1.91 + '../sync/sync.gyp:sync_unit_tests_apk', 1.92 + '../ui/ui.gyp:ui_unittests_apk', 1.93 + '../android_webview/android_webview.gyp:android_webview_test_apk', 1.94 + '../chrome/chrome.gyp:chromium_testshell_test_apk', 1.95 + ], 1.96 + }], 1.97 + ], 1.98 + }, 1.99 + { 1.100 + # Experimental / in-progress targets that are expected to fail 1.101 + # but we still try to compile them on bots (turning the stage 1.102 + # orange, not red). 1.103 + 'target_name': 'android_experimental', 1.104 + 'type': 'none', 1.105 + 'dependencies': [ 1.106 + ], 1.107 + }, 1.108 + { 1.109 + # In-progress targets that are expected to fail and are NOT run 1.110 + # on any bot. 1.111 + 'target_name': 'android_in_progress', 1.112 + 'type': 'none', 1.113 + 'dependencies': [ 1.114 + '../content/content.gyp:content_browsertests', 1.115 + ], 1.116 + }, 1.117 + ], # targets 1.118 +}