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': [
|
2012-03-30 15:44:06 +04:00
|
|
|
'../content/content.gyp:content_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',
|
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
|
|
|
|
{
|
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,
|
2012-01-27 05:57:10 +04:00
|
|
|
# please also add it to build/android/run_tests.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',
|
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-01-11 09:35:09 +04:00
|
|
|
'../components/components.gyp:components_unittests',
|
2013-01-16 13:42:28 +04:00
|
|
|
'../content/content.gyp:content_browsertests',
|
2012-07-31 19:21:28 +04:00
|
|
|
'../content/content.gyp:content_shell_test_apk',
|
2012-03-16 03:09:34 +04:00
|
|
|
'../content/content.gyp:content_unittests',
|
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',
|
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',
|
2012-03-19 17:53:28 +04:00
|
|
|
'../third_party/WebKit/Source/WebKit/chromium/All.gyp:*',
|
2012-12-18 18:15:28 +04:00
|
|
|
'../tools/android/android_tools.gyp:android_tools',
|
2012-07-17 20:48:03 +04:00
|
|
|
'../tools/android/device_stats_monitor/device_stats_monitor.gyp:device_stats_monitor',
|
2012-11-01 22:24:28 +04:00
|
|
|
'../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
|
2012-09-04 18:28:56 +04:00
|
|
|
'../ui/ui.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': [
|
2012-09-05 00:22:27 +04:00
|
|
|
['linux_breakpad==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'../breakpad/breakpad.gyp:breakpad_unittests',
|
2012-11-07 14:18:55 +04:00
|
|
|
# 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'
|
2012-09-05 00:22:27 +04:00
|
|
|
],
|
|
|
|
}],
|
2012-04-20 01:02:09 +04:00
|
|
|
['"<(gtest_target_type)"=="shared_library"', {
|
|
|
|
'dependencies': [
|
|
|
|
# The first item is simply the template. We add as a dep
|
|
|
|
# to make sure it builds in ungenerated form. TODO(jrg):
|
|
|
|
# once stable, transition to a test-only (optional)
|
|
|
|
# target.
|
|
|
|
'../testing/android/native_test.gyp:native_test_apk',
|
|
|
|
# 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-01-25 03:44:30 +04:00
|
|
|
'../components/components.gyp:components_unittests_apk',
|
2012-09-05 00:22:27 +04:00
|
|
|
'../content/content.gyp:content_unittests_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',
|
2012-12-20 22:46:09 +04:00
|
|
|
'../sandbox/sandbox.gyp:sandbox_linux_unittests_apk',
|
2012-07-26 06:35:57 +04:00
|
|
|
'../sql/sql.gyp:sql_unittests_apk',
|
|
|
|
'../sync/sync.gyp:sync_unit_tests_apk',
|
2012-05-05 07:11:38 +04:00
|
|
|
'../ui/ui.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',
|
2012-10-25 08:58:59 +04:00
|
|
|
'../webkit/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
|
|
|
},
|
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': [
|
|
|
|
'../content/content.gyp:content_browsertests',
|
2011-12-01 01:46:12 +04:00
|
|
|
],
|
|
|
|
},
|
2011-09-27 01:40:38 +04:00
|
|
|
], # targets
|
|
|
|
}
|