2012-01-21 04:45:40 +04:00
|
|
|
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
2011-09-27 01:40:38 +04:00
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
# This is all.gyp file for Android to prevent breakage in Android and other
|
|
|
|
# platform; It will be churning a lot in the short term and eventually be merged
|
|
|
|
# into all.gyp.
|
|
|
|
|
|
|
|
{
|
2012-09-05 00:22:27 +04:00
|
|
|
'variables': {
|
|
|
|
# A hook that can be overridden in other repositories to add additional
|
|
|
|
# compilation targets to 'All'
|
|
|
|
'android_app_targets%': [],
|
|
|
|
},
|
2011-09-27 01:40:38 +04:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'All',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
2013-10-20 02:13:17 +04:00
|
|
|
'../content/content_shell_and_tests.gyp:content_shell_apk',
|
2013-10-25 00:29:35 +04:00
|
|
|
'../mojo/mojo.gyp:mojo_shell_apk',
|
2012-09-05 00:22:27 +04:00
|
|
|
'<@(android_app_targets)',
|
2011-11-30 05:05:07 +04:00
|
|
|
'android_builder_tests',
|
2012-10-10 21:21:09 +04:00
|
|
|
'../android_webview/android_webview.gyp:android_webview_apk',
|
|
|
|
'../chrome/chrome.gyp:chromium_testshell',
|
2013-07-19 05:49:09 +04:00
|
|
|
'../remoting/remoting.gyp:remoting_apk',
|
2012-11-15 01:20:47 +04:00
|
|
|
# TODO(nyquist) This should instead by a target for sync when all of
|
|
|
|
# the sync-related code for Android has been upstreamed.
|
|
|
|
# See http://crbug.com/159203
|
|
|
|
'../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_javalib',
|
2011-09-27 01:40:38 +04:00
|
|
|
],
|
|
|
|
}, # target_name: All
|
2013-05-11 22:51:45 +04:00
|
|
|
{
|
2013-11-08 01:52:31 +04:00
|
|
|
'target_name': 'blink_tests',
|
2013-05-11 22:51:45 +04:00
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'../third_party/WebKit/public/all.gyp:all_blink',
|
2013-10-20 02:13:17 +04:00
|
|
|
'../content/content_shell_and_tests.gyp:content_shell_apk',
|
2013-10-31 11:07:39 +04:00
|
|
|
'../breakpad/breakpad.gyp:dump_syms#host',
|
|
|
|
'../breakpad/breakpad.gyp:minidump_stackwalk#host',
|
2013-05-11 22:51:45 +04:00
|
|
|
],
|
2013-11-08 01:52:31 +04:00
|
|
|
}, # target_name: blink_tests
|
|
|
|
{
|
|
|
|
# TODO(jochen): Eventually remove this target after everybody and the
|
|
|
|
# bots started to use blink_tests only.
|
|
|
|
'target_name': 'all_webkit',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'blink_tests',
|
|
|
|
],
|
2013-05-11 22:51:45 +04:00
|
|
|
}, # target_name: all_webkit
|
2011-09-27 01:40:38 +04:00
|
|
|
{
|
2011-11-28 23:19:20 +04:00
|
|
|
# The current list of tests for android. This is temporary
|
|
|
|
# until the full set supported. If adding a new test here,
|
2013-08-14 22:09:37 +04:00
|
|
|
# please also add it to build/android/pylib/gtest/gtest_config.py,
|
|
|
|
# else the test is not run.
|
2012-02-11 03:09:49 +04:00
|
|
|
#
|
|
|
|
# WARNING:
|
|
|
|
# Do not add targets here without communicating the implications
|
|
|
|
# on tryserver triggers and load. Discuss with jrg please.
|
2011-09-27 01:40:38 +04:00
|
|
|
'target_name': 'android_builder_tests',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
2012-11-05 15:49:39 +04:00
|
|
|
'../android_webview/android_webview.gyp:android_webview_unittests',
|
2012-09-05 00:22:27 +04:00
|
|
|
'../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
|
2011-09-27 01:40:38 +04:00
|
|
|
'../base/base.gyp:base_unittests',
|
2013-07-16 07:10:07 +04:00
|
|
|
'../breakpad/breakpad.gyp:breakpad_unittests',
|
|
|
|
# Also compile the tools needed to deal with minidumps, they are
|
|
|
|
# needed to run minidump tests upstream.
|
|
|
|
'../breakpad/breakpad.gyp:dump_syms#host',
|
|
|
|
'../breakpad/breakpad.gyp:symupload#host',
|
|
|
|
'../breakpad/breakpad.gyp:minidump_dump#host',
|
|
|
|
'../breakpad/breakpad.gyp:minidump_stackwalk#host',
|
2013-04-02 13:10:54 +04:00
|
|
|
'../build/android/tests/multiple_proguards/multiple_proguards.gyp:multiple_proguards_test_apk',
|
2012-12-10 16:49:56 +04:00
|
|
|
'../cc/cc_tests.gyp:cc_perftests_apk',
|
2012-10-16 02:07:14 +04:00
|
|
|
'../cc/cc_tests.gyp:cc_unittests',
|
2012-09-04 18:28:56 +04:00
|
|
|
'../chrome/chrome.gyp:unit_tests',
|
2013-10-22 18:19:36 +04:00
|
|
|
'../components/components_tests.gyp:components_unittests',
|
2013-10-20 02:13:17 +04:00
|
|
|
'../content/content_shell_and_tests.gyp:content_browsertests',
|
|
|
|
'../content/content_shell_and_tests.gyp:content_gl_tests',
|
|
|
|
'../content/content_shell_and_tests.gyp:content_shell_test_apk',
|
|
|
|
'../content/content_shell_and_tests.gyp:content_unittests',
|
2013-03-20 01:26:50 +04:00
|
|
|
'../gpu/gpu.gyp:gl_tests',
|
2012-04-17 23:58:12 +04:00
|
|
|
'../gpu/gpu.gyp:gpu_unittests',
|
2011-11-30 15:40:28 +04:00
|
|
|
'../ipc/ipc.gyp:ipc_tests',
|
2013-11-18 01:20:25 +04:00
|
|
|
'../media/media.gyp:media_perftests_apk',
|
2012-09-05 00:22:27 +04:00
|
|
|
'../media/media.gyp:media_unittests',
|
2011-11-30 15:40:28 +04:00
|
|
|
'../net/net.gyp:net_unittests',
|
2012-12-20 22:46:09 +04:00
|
|
|
'../sandbox/sandbox.gyp:sandbox_linux_unittests',
|
2012-09-04 18:28:56 +04:00
|
|
|
'../sql/sql.gyp:sql_unittests',
|
|
|
|
'../sync/sync.gyp:sync_unit_tests',
|
2013-05-11 22:51:45 +04:00
|
|
|
'../third_party/WebKit/public/all.gyp:*',
|
2012-12-18 18:15:28 +04:00
|
|
|
'../tools/android/android_tools.gyp:android_tools',
|
2013-10-13 22:33:37 +04:00
|
|
|
'../tools/android/android_tools.gyp:memconsumer',
|
2012-11-01 22:24:28 +04:00
|
|
|
'../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
|
2013-10-29 05:32:19 +04:00
|
|
|
'../ui/ui_unittests.gyp:ui_unittests',
|
2012-04-04 07:03:04 +04:00
|
|
|
# Required by ui_unittests.
|
|
|
|
# TODO(wangxianzhu): It'd better let ui_unittests depend on it, but
|
|
|
|
# this would cause circular gyp dependency which needs refactoring the
|
|
|
|
# gyps to resolve.
|
|
|
|
'../chrome/chrome_resources.gyp:packed_resources',
|
2011-09-27 01:40:38 +04:00
|
|
|
],
|
2012-04-20 01:02:09 +04:00
|
|
|
'conditions': [
|
|
|
|
['"<(gtest_target_type)"=="shared_library"', {
|
|
|
|
'dependencies': [
|
|
|
|
# Unit test bundles packaged as an apk.
|
2012-11-05 15:49:39 +04:00
|
|
|
'../android_webview/android_webview.gyp:android_webview_unittests_apk',
|
2012-04-20 01:02:09 +04:00
|
|
|
'../base/base.gyp:base_unittests_apk',
|
2012-10-16 02:07:14 +04:00
|
|
|
'../cc/cc_tests.gyp:cc_unittests_apk',
|
2012-07-19 20:30:31 +04:00
|
|
|
'../chrome/chrome.gyp:unit_tests_apk',
|
2013-10-22 18:19:36 +04:00
|
|
|
'../components/components_tests.gyp:components_unittests_apk',
|
2013-10-20 02:13:17 +04:00
|
|
|
'../content/content_shell_and_tests.gyp:content_browsertests_apk',
|
|
|
|
'../content/content_shell_and_tests.gyp:content_gl_tests_apk',
|
|
|
|
'../content/content_shell_and_tests.gyp:content_unittests_apk',
|
|
|
|
'../content/content_shell_and_tests.gyp:video_decode_accelerator_unittest_apk',
|
2013-03-20 01:26:50 +04:00
|
|
|
'../gpu/gpu.gyp:gl_tests_apk',
|
2012-05-31 22:40:15 +04:00
|
|
|
'../gpu/gpu.gyp:gpu_unittests_apk',
|
2012-04-20 01:02:09 +04:00
|
|
|
'../ipc/ipc.gyp:ipc_tests_apk',
|
2012-07-26 06:35:57 +04:00
|
|
|
'../media/media.gyp:media_unittests_apk',
|
2012-05-30 12:12:39 +04:00
|
|
|
'../net/net.gyp:net_unittests_apk',
|
2013-02-02 06:54:53 +04:00
|
|
|
'../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
|
2012-07-26 06:35:57 +04:00
|
|
|
'../sql/sql.gyp:sql_unittests_apk',
|
|
|
|
'../sync/sync.gyp:sync_unit_tests_apk',
|
2013-10-29 05:32:19 +04:00
|
|
|
'../ui/ui_unittests.gyp:ui_unittests_apk',
|
2012-09-20 13:18:02 +04:00
|
|
|
'../android_webview/android_webview.gyp:android_webview_test_apk',
|
2012-09-22 03:00:52 +04:00
|
|
|
'../chrome/chrome.gyp:chromium_testshell_test_apk',
|
2013-04-23 01:07:28 +04:00
|
|
|
'../chrome/chrome.gyp:chromium_testshell_uiautomator_tests',
|
2013-05-16 01:18:52 +04:00
|
|
|
'../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests_apk'
|
2012-09-20 13:18:02 +04:00
|
|
|
],
|
|
|
|
}],
|
2012-04-20 01:02:09 +04:00
|
|
|
],
|
2011-09-27 01:40:38 +04:00
|
|
|
},
|
2013-08-22 18:22:22 +04:00
|
|
|
{
|
|
|
|
# WebRTC Android APK tests.
|
|
|
|
'target_name': 'android_builder_webrtc',
|
|
|
|
'type': 'none',
|
|
|
|
'variables': {
|
2013-11-05 17:34:15 +04:00
|
|
|
# Set default value for include_tests to '0'. It is normally only
|
|
|
|
# used in WebRTC GYP files. It is set to '1' only when building
|
|
|
|
# WebRTC for Android, inside a Chromium checkout.
|
2013-08-22 18:22:22 +04:00
|
|
|
'include_tests%': 0,
|
|
|
|
},
|
|
|
|
'conditions': [
|
|
|
|
['"<(gtest_target_type)"=="shared_library" and include_tests==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'../third_party/webrtc/build/apk_tests.gyp:*',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}, # target_name: android_builder_webrtc
|
2013-11-05 17:34:15 +04:00
|
|
|
{
|
|
|
|
# WebRTC Chromium tests to run on Android.
|
|
|
|
'target_name': 'android_builder_chromium_webrtc',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'../content/content_shell_and_tests.gyp:content_browsertests',
|
|
|
|
'../tools/android/android_tools.gyp:android_tools',
|
|
|
|
'../tools/android/android_tools.gyp:memconsumer',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['"<(gtest_target_type)"=="shared_library"', {
|
|
|
|
'dependencies': [
|
|
|
|
# Unit test bundles packaged as an apk.
|
|
|
|
'../content/content_shell_and_tests.gyp:content_browsertests_apk',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}, # target_name: android_builder_chromium_webrtc
|
2012-08-16 03:10:32 +04:00
|
|
|
{
|
2012-01-27 05:57:10 +04:00
|
|
|
# Experimental / in-progress targets that are expected to fail
|
|
|
|
# but we still try to compile them on bots (turning the stage
|
|
|
|
# orange, not red).
|
2011-12-01 01:46:12 +04:00
|
|
|
'target_name': 'android_experimental',
|
|
|
|
'type': 'none',
|
2012-08-16 14:56:13 +04:00
|
|
|
'dependencies': [
|
|
|
|
],
|
2012-01-27 05:57:10 +04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
# In-progress targets that are expected to fail and are NOT run
|
|
|
|
# on any bot.
|
|
|
|
'target_name': 'android_in_progress',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
2011-12-01 01:46:12 +04:00
|
|
|
],
|
|
|
|
},
|
2011-09-27 01:40:38 +04:00
|
|
|
], # targets
|
|
|
|
}
|