michael@0: # Copyright (c) 2012 The Chromium Authors. All rights reserved. michael@0: # Use of this source code is governed by a BSD-style license that can be michael@0: # found in the LICENSE file. michael@0: michael@0: # This is all.gyp file for Android to prevent breakage in Android and other michael@0: # platform; It will be churning a lot in the short term and eventually be merged michael@0: # into all.gyp. michael@0: michael@0: { michael@0: 'variables': { michael@0: # A hook that can be overridden in other repositories to add additional michael@0: # compilation targets to 'All' michael@0: 'android_app_targets%': [], michael@0: }, michael@0: 'targets': [ michael@0: { michael@0: 'target_name': 'All', michael@0: 'type': 'none', michael@0: 'dependencies': [ michael@0: '../content/content.gyp:content_shell_apk', michael@0: '<@(android_app_targets)', michael@0: 'android_builder_tests', michael@0: '../android_webview/android_webview.gyp:android_webview_apk', michael@0: '../chrome/chrome.gyp:chromium_testshell', michael@0: ], michael@0: }, # target_name: All michael@0: { michael@0: # The current list of tests for android. This is temporary michael@0: # until the full set supported. If adding a new test here, michael@0: # please also add it to build/android/run_tests.py, else the michael@0: # test is not run. michael@0: # michael@0: # WARNING: michael@0: # Do not add targets here without communicating the implications michael@0: # on tryserver triggers and load. Discuss with jrg please. michael@0: 'target_name': 'android_builder_tests', michael@0: 'type': 'none', michael@0: 'dependencies': [ michael@0: '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests', michael@0: '../base/base.gyp:base_unittests', michael@0: '../cc/cc_tests.gyp:cc_unittests', michael@0: '../chrome/chrome.gyp:unit_tests', michael@0: '../content/content.gyp:content_shell_test_apk', michael@0: '../content/content.gyp:content_unittests', michael@0: '../gpu/gpu.gyp:gpu_unittests', michael@0: '../ipc/ipc.gyp:ipc_tests', michael@0: '../media/media.gyp:media_unittests', michael@0: '../net/net.gyp:net_unittests', michael@0: '../sql/sql.gyp:sql_unittests', michael@0: '../sync/sync.gyp:sync_unit_tests', michael@0: '../third_party/WebKit/Source/WebKit/chromium/All.gyp:*', michael@0: '../tools/android/device_stats_monitor/device_stats_monitor.gyp:device_stats_monitor', michael@0: '../tools/android/fake_dns/fake_dns.gyp:fake_dns', michael@0: '../tools/android/forwarder2/forwarder.gyp:forwarder2', michael@0: '../tools/android/md5sum/md5sum.gyp:md5sum', michael@0: '../ui/ui.gyp:ui_unittests', michael@0: # From here down: not added to run_tests.py yet. michael@0: '../jingle/jingle.gyp:jingle_unittests', michael@0: # Required by ui_unittests. michael@0: # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but michael@0: # this would cause circular gyp dependency which needs refactoring the michael@0: # gyps to resolve. michael@0: '../chrome/chrome_resources.gyp:packed_resources', michael@0: ], michael@0: 'conditions': [ michael@0: ['linux_breakpad==1', { michael@0: 'dependencies': [ michael@0: '../breakpad/breakpad.gyp:breakpad_unittests', michael@0: ], michael@0: }], michael@0: ['"<(gtest_target_type)"=="shared_library"', { michael@0: 'dependencies': [ michael@0: # The first item is simply the template. We add as a dep michael@0: # to make sure it builds in ungenerated form. TODO(jrg): michael@0: # once stable, transition to a test-only (optional) michael@0: # target. michael@0: '../testing/android/native_test.gyp:native_test_apk', michael@0: # Unit test bundles packaged as an apk. michael@0: '../base/base.gyp:base_unittests_apk', michael@0: '../cc/cc_tests.gyp:cc_unittests_apk', michael@0: '../chrome/chrome.gyp:unit_tests_apk', michael@0: '../content/content.gyp:content_unittests_apk', michael@0: '../gpu/gpu.gyp:gpu_unittests_apk', michael@0: '../ipc/ipc.gyp:ipc_tests_apk', michael@0: '../media/media.gyp:media_unittests_apk', michael@0: '../net/net.gyp:net_unittests_apk', michael@0: '../sql/sql.gyp:sql_unittests_apk', michael@0: '../sync/sync.gyp:sync_unit_tests_apk', michael@0: '../ui/ui.gyp:ui_unittests_apk', michael@0: '../android_webview/android_webview.gyp:android_webview_test_apk', michael@0: '../chrome/chrome.gyp:chromium_testshell_test_apk', michael@0: ], michael@0: }], michael@0: ], michael@0: }, michael@0: { michael@0: # Experimental / in-progress targets that are expected to fail michael@0: # but we still try to compile them on bots (turning the stage michael@0: # orange, not red). michael@0: 'target_name': 'android_experimental', michael@0: 'type': 'none', michael@0: 'dependencies': [ michael@0: ], michael@0: }, michael@0: { michael@0: # In-progress targets that are expected to fail and are NOT run michael@0: # on any bot. michael@0: 'target_name': 'android_in_progress', michael@0: 'type': 'none', michael@0: 'dependencies': [ michael@0: '../content/content.gyp:content_browsertests', michael@0: ], michael@0: }, michael@0: ], # targets michael@0: }