Home | History | Annotate | Download | only in components
      1 # Copyright (c) 2013 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 {
      6   'variables': {
      7     # This turns on e.g. the filename-based detection of which
      8     # platforms to include source files on (e.g. files ending in
      9     # _mac.h or _mac.cc are only compiled on MacOSX).
     10     'chromium_code': 1,
     11   },
     12   'includes': [
     13     'auto_login_parser.gypi',
     14     'autofill.gypi',
     15     'bookmarks.gypi',
     16     'captive_portal.gypi',
     17     'cloud_devices.gypi',
     18     'component_updater.gypi',
     19     'content_settings.gypi',
     20     'crash.gypi',
     21     'cronet.gypi',
     22     'crx_file.gypi',
     23     'data_reduction_proxy.gypi',
     24     'dom_distiller.gypi',
     25     'domain_reliability.gypi',
     26     'enhanced_bookmarks.gypi',
     27     'favicon.gypi',
     28     'favicon_base.gypi',
     29     'google.gypi',
     30     'history.gypi',
     31     'infobars.gypi',
     32     'json_schema.gypi',
     33     'keyed_service.gypi',
     34     'language_usage_metrics.gypi',
     35     'leveldb_proto.gypi',
     36     'metrics.gypi',
     37     'navigation_metrics.gypi',
     38     'network_time.gypi',
     39     'omaha_query_params.gypi',
     40     'onc.gypi',
     41     'os_crypt.gypi',
     42     'ownership.gypi',
     43     'password_manager.gypi',
     44     'policy.gypi',
     45     'precache.gypi',
     46     'pref_registry.gypi',
     47     'query_parser.gypi',
     48     'rappor.gypi',
     49     'search.gypi',
     50     'search_provider_logos.gypi',
     51     'signin.gypi',
     52     'startup_metric_utils.gypi',
     53     'suggestions.gypi',
     54     'translate.gypi',
     55     'url_fixer.gypi',
     56     'url_matcher.gypi',
     57     'user_prefs.gypi',
     58     'variations.gypi',
     59     'webdata.gypi',
     60   ],
     61   'conditions': [
     62     ['OS != "ios"', {
     63       'includes': [
     64         'cdm.gypi',
     65         'navigation_interception.gypi',
     66         'plugins.gypi',
     67         'power.gypi',
     68         'sessions.gypi',
     69         'visitedlink.gypi',
     70         'web_cache.gypi',
     71         'web_contents_delegate_android.gypi',
     72         'web_modal.gypi',
     73       ],
     74     }],
     75     ['OS != "android"', {
     76       'includes': [
     77         'feedback.gypi',
     78       ]
     79     }],
     80     ['OS != "ios" and OS != "android"', {
     81       'includes': [
     82         'copresence.gypi',
     83         'proximity_auth.gypi',
     84         'storage_monitor.gypi',
     85       ]
     86     }],
     87     ['chromeos == 1', {
     88       'includes': [
     89         'pairing.gypi',
     90       ],
     91     }],
     92     ['OS == "win" or OS == "mac"', {
     93       'includes': [
     94         'wifi.gypi',
     95       ],
     96     }],
     97     ['use_ash==1', {
     98       'includes': [
     99         'session_manager.gypi',
    100         'user_manager.gypi',
    101       ],
    102     }],
    103     ['android_webview_build == 0', {
    104       # Android WebView fails to build if a dependency on these targets is
    105       # introduced.
    106       'includes': [
    107         'gcm_driver.gypi',
    108         'omnibox.gypi',
    109         'renderer_context_menu.gypi',
    110         'search_engines.gypi',
    111         'sync_driver.gypi',
    112         'invalidation.gypi',
    113       ],
    114     }],
    115     ['toolkit_views==1', {
    116       'includes': [
    117         'native_app_window.gypi',
    118       ],
    119     }],
    120     ['enable_plugins==1', {
    121       'includes': [
    122         'pdf.gypi',
    123       ],
    124     }],
    125   ],
    126 }
    127