# Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'conditions': [ ['OS!="win"', { 'all_gyps%': 1, },{ # else OS=="win" 'all_gyps%': 0, }], ], }, 'includes': [ 'common.gypi', ], 'targets': [ { 'target_name': 'All', 'type': 'none', 'xcode_create_dependents_test_runner': 1, 'dependencies': [ '../base/base.gyp:*', '../media/media.gyp:*', '../net/net.gyp:*', '../printing/printing.gyp:*', '../sdch/sdch.gyp:*', '../skia/skia.gyp:*', '../testing/gtest.gyp:*', '../third_party/bzip2/bzip2.gyp:*', '../third_party/codesighs/codesighs.gyp:*', '../third_party/ffmpeg/ffmpeg.gyp:*', '../third_party/icu38/icu38.gyp:*', '../third_party/libjpeg/libjpeg.gyp:*', '../third_party/libpng/libpng.gyp:*', '../third_party/libxml/libxml.gyp:*', '../third_party/libxslt/libxslt.gyp:*', '../third_party/modp_b64/modp_b64.gyp:*', '../third_party/npapi/npapi.gyp:*', '../third_party/sqlite/sqlite.gyp:*', '../third_party/zlib/zlib.gyp:*', '../webkit/tools/test_shell/test_shell.gyp:*', '../webkit/webkit.gyp:*', 'temp_gyp/googleurl.gyp:*', ], 'conditions': [ ['javascript_engine=="v8"', { 'dependencies': [ '../v8/tools/gyp/v8.gyp:*', ], }], ['OS=="linux"', { 'dependencies': [ '../third_party/harfbuzz/harfbuzz.gyp:*', '../tools/gtk_clipboard_dump/gtk_clipboard_dump.gyp:*', ], }], ['OS=="win"', { 'dependencies': [ '../sandbox/sandbox.gyp:*', '../third_party/courgette/courgette.gyp:*', '../webkit/activex_shim/activex_shim.gyp:*', '../webkit/activex_shim_dll/activex_shim_dll.gyp:*', 'temp_gyp/breakpad.gyp:*', ], }, { 'dependencies': [ '../third_party/libevent/libevent.gyp:*', ], }], ['all_gyps', { 'dependencies': [ '../chrome/chrome.gyp:*', ], }], ], }, ], 'conditions': [ ['OS=="mac"', { 'targets': [ { # Target to build everything needed for layout tests to cut down # on what the layout test bots have to build. 'target_name': 'build_for_layout_tests', 'type': 'none', 'dependencies': [ '../chrome/chrome.gyp:image_diff', '../webkit/tools/test_shell/test_shell.gyp:test_shell', '../webkit/tools/test_shell/test_shell.gyp:test_shell_tests', ], }, { # Target to build everything plus the dmg. We don't put the dmg # in the All target because developer really don't need it. 'target_name': 'all_and_dmg', 'type': 'none', 'dependencies': [ 'All', '../chrome/chrome.gyp:build_app_dmg', ], }, ], }], ], }