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 'autocomplete.gypi', 15 'autofill.gypi', 16 'bookmarks.gypi', 17 'breakpad.gypi', 18 'captive_portal.gypi', 19 'cloud_devices.gypi', 20 'cronet.gypi', 21 'data_reduction_proxy.gypi', 22 'dom_distiller.gypi', 23 'domain_reliability.gypi', 24 'enhanced_bookmarks.gypi', 25 'favicon.gypi', 26 'favicon_base.gypi', 27 'google.gypi', 28 'history.gypi', 29 'infobars.gypi', 30 'json_schema.gypi', 31 'keyed_service.gypi', 32 'language_usage_metrics.gypi', 33 'leveldb_proto.gypi', 34 'metrics.gypi', 35 'navigation_metrics.gypi', 36 'network_time.gypi', 37 'onc.gypi', 38 'os_crypt.gypi', 39 'password_manager.gypi', 40 'policy.gypi', 41 'precache.gypi', 42 'pref_registry.gypi', 43 'query_parser.gypi', 44 'rappor.gypi', 45 'search_engines.gypi', 46 'search_provider_logos.gypi', 47 'signin.gypi', 48 'startup_metric_utils.gypi', 49 'translate.gypi', 50 'url_fixer.gypi', 51 'url_matcher.gypi', 52 'user_prefs.gypi', 53 'variations.gypi', 54 'webdata.gypi', 55 ], 56 'conditions': [ 57 ['OS != "ios"', { 58 'includes': [ 59 'cdm.gypi', 60 'navigation_interception.gypi', 61 'plugins.gypi', 62 'sessions.gypi', 63 'visitedlink.gypi', 64 'web_contents_delegate_android.gypi', 65 'web_modal.gypi', 66 ], 67 }], 68 ['OS != "android"', { 69 'includes': [ 70 'feedback.gypi', 71 ] 72 }], 73 ['OS != "ios" and OS != "android"', { 74 'includes': [ 75 'storage_monitor.gypi', 76 'usb_service.gypi', 77 ] 78 }], 79 ['OS == "win" or OS == "mac"', { 80 'includes': [ 81 'wifi.gypi', 82 ], 83 }], 84 ['android_webview_build == 0', { 85 # Android WebView fails to build if a dependency on these targets is 86 # introduced. 87 'includes': [ 88 'gcm_driver.gypi', 89 'sync_driver.gypi', 90 'invalidation.gypi', 91 ], 92 }], 93 ], 94 } 95