Home | History | Annotate | Download | only in build
      1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 # This is all.gyp file for Android to prevent breakage in Android and other
      6 # platform; It will be churning a lot in the short term and eventually be merged
      7 # into all.gyp.
      8 
      9 {
     10   'variables': {
     11     # A hook that can be overridden in other repositories to add additional
     12     # compilation targets to 'All'
     13     'android_app_targets%': [],
     14   },
     15   'targets': [
     16     {
     17       'target_name': 'All',
     18       'type': 'none',
     19       'dependencies': [
     20         '../content/content.gyp:content_shell_apk',
     21         '<@(android_app_targets)',
     22         'android_builder_tests',
     23         '../android_webview/android_webview.gyp:android_webview_apk',
     24         '../chrome/chrome.gyp:chromium_testshell',
     25         '../remoting/remoting.gyp:remoting_apk',
     26         # TODO(nyquist) This should instead by a target for sync when all of
     27         # the sync-related code for Android has been upstreamed.
     28         # See http://crbug.com/159203
     29         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_javalib',
     30       ],
     31     }, # target_name: All
     32     {
     33       'target_name': 'all_webkit',
     34       'type': 'none',
     35       'dependencies': [
     36         '../third_party/WebKit/public/all.gyp:all_blink',
     37         '../content/content.gyp:content_shell_apk',
     38       ],
     39     }, # target_name: all_webkit
     40     {
     41       # The current list of tests for android.  This is temporary
     42       # until the full set supported.  If adding a new test here,
     43       # please also add it to build/android/run_tests.py, else the
     44       # test is not run.
     45       #
     46       # WARNING:
     47       # Do not add targets here without communicating the implications
     48       # on tryserver triggers and load.  Discuss with jrg please.
     49       'target_name': 'android_builder_tests',
     50       'type': 'none',
     51       'dependencies': [
     52         '../android_webview/android_webview.gyp:android_webview_unittests',
     53         '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
     54         '../base/base.gyp:base_unittests',
     55         '../breakpad/breakpad.gyp:breakpad_unittests',
     56         # Also compile the tools needed to deal with minidumps, they are
     57         # needed to run minidump tests upstream.
     58         '../breakpad/breakpad.gyp:dump_syms#host',
     59         '../breakpad/breakpad.gyp:symupload#host',
     60         '../breakpad/breakpad.gyp:minidump_dump#host',
     61         '../breakpad/breakpad.gyp:minidump_stackwalk#host',
     62         '../build/android/tests/multiple_proguards/multiple_proguards.gyp:multiple_proguards_test_apk',
     63         '../cc/cc_tests.gyp:cc_perftests_apk',
     64         '../cc/cc_tests.gyp:cc_unittests',
     65         '../chrome/chrome.gyp:unit_tests',
     66         '../components/components.gyp:components_unittests',
     67         '../content/content.gyp:content_browsertests',
     68         '../content/content.gyp:content_shell_test_apk',
     69         '../content/content.gyp:content_unittests',
     70         '../gpu/gpu.gyp:gl_tests',
     71         '../gpu/gpu.gyp:gpu_unittests',
     72         '../ipc/ipc.gyp:ipc_tests',
     73         '../media/media.gyp:media_unittests',
     74         '../net/net.gyp:net_unittests',
     75         '../sandbox/sandbox.gyp:sandbox_linux_unittests',
     76         '../sql/sql.gyp:sql_unittests',
     77         '../sync/sync.gyp:sync_unit_tests',
     78         '../third_party/WebKit/public/all.gyp:*',
     79         '../tools/android/android_tools.gyp:android_tools',
     80         '../tools/android/device_stats_monitor/device_stats_monitor.gyp:device_stats_monitor',
     81         '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
     82         '../ui/ui.gyp:ui_unittests',
     83         # Required by ui_unittests.
     84         # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but
     85         # this would cause circular gyp dependency which needs refactoring the
     86         # gyps to resolve.
     87         '../chrome/chrome_resources.gyp:packed_resources',
     88       ],
     89       'conditions': [
     90         ['"<(gtest_target_type)"=="shared_library"', {
     91           'dependencies': [
     92             # Unit test bundles packaged as an apk.
     93             '../android_webview/android_webview.gyp:android_webview_unittests_apk',
     94             '../base/base.gyp:base_unittests_apk',
     95             '../cc/cc_tests.gyp:cc_unittests_apk',
     96             '../chrome/chrome.gyp:unit_tests_apk',
     97             '../components/components.gyp:components_unittests_apk',
     98             '../content/content.gyp:content_browsertests_apk',
     99             '../content/content.gyp:content_unittests_apk',
    100             '../content/content.gyp:video_decode_accelerator_unittest_apk',
    101             '../gpu/gpu.gyp:gl_tests_apk',
    102             '../gpu/gpu.gyp:gpu_unittests_apk',
    103             '../ipc/ipc.gyp:ipc_tests_apk',
    104             '../media/media.gyp:media_unittests_apk',
    105             '../net/net.gyp:net_unittests_apk',
    106             '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
    107             '../sql/sql.gyp:sql_unittests_apk',
    108             '../sync/sync.gyp:sync_unit_tests_apk',
    109             '../ui/ui.gyp:ui_unittests_apk',
    110             '../android_webview/android_webview.gyp:android_webview_test_apk',
    111             '../chrome/chrome.gyp:chromium_testshell_test_apk',
    112             '../chrome/chrome.gyp:chromium_testshell_uiautomator_tests',
    113             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests_apk'
    114           ],
    115         }],
    116       ],
    117     },
    118     {
    119       # Experimental / in-progress targets that are expected to fail
    120       # but we still try to compile them on bots (turning the stage
    121       # orange, not red).
    122       'target_name': 'android_experimental',
    123       'type': 'none',
    124       'dependencies': [
    125       ],
    126     },
    127     {
    128       # In-progress targets that are expected to fail and are NOT run
    129       # on any bot.
    130       'target_name': 'android_in_progress',
    131       'type': 'none',
    132       'dependencies': [
    133       ],
    134     },
    135   ],  # targets
    136 }
    137