| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # Define the common dependencies that contain all the actual | 8 # Define the common dependencies that contain all the actual |
| 9 # Chromium functionality. This list gets pulled in below by | 9 # Chromium functionality. This list gets pulled in below by |
| 10 # the link of the actual chrome (or chromium) executable on | 10 # the link of the actual chrome (or chromium) executable on |
| (...skipping 3387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3398 'dependencies': [ | 3398 'dependencies': [ |
| 3399 '../base/base.gyp:base', | 3399 '../base/base.gyp:base', |
| 3400 ], | 3400 ], |
| 3401 'sources': [ | 3401 'sources': [ |
| 3402 'tools/perf/flush_cache/flush_cache.cc', | 3402 'tools/perf/flush_cache/flush_cache.cc', |
| 3403 ], | 3403 ], |
| 3404 }, | 3404 }, |
| 3405 ], | 3405 ], |
| 3406 }], | 3406 }], |
| 3407 ['OS=="mac"', | 3407 ['OS=="mac"', |
| 3408 # On Mac only, add a project target called "package_app" that only | |
| 3409 # runs a shell script (package_chrome.sh). | |
| 3410 # On Mac only, add a project target called "build_app_dmg" that only | 3408 # On Mac only, add a project target called "build_app_dmg" that only |
| 3411 # builds a DMG out of the App (eventually will completely replace | 3409 # builds a DMG out of the App (eventually will completely replace |
| 3412 # "package_app"). | 3410 # "package_app"). |
| 3413 { 'targets': [ | 3411 { 'targets': [ |
| 3414 { | 3412 { |
| 3415 'target_name': 'package_app', | |
| 3416 # do NOT place this in the 'all' list; most won't want it. | |
| 3417 # In gyp, booleans are 0/1 not True/False. | |
| 3418 'suppress_wildcard': 1, | |
| 3419 'type': 'none', | |
| 3420 'dependencies': [ | |
| 3421 'app', | |
| 3422 '../breakpad/breakpad.gyp:dump_syms', | |
| 3423 '../breakpad/breakpad.gyp:symupload', | |
| 3424 ], | |
| 3425 'actions': [ | |
| 3426 { | |
| 3427 'inputs': [], | |
| 3428 'outputs': [], | |
| 3429 'action_name': 'package_chrome', | |
| 3430 'action': ['tools/mac/package_chrome.sh' ], | |
| 3431 }, | |
| 3432 ], # 'actions' | |
| 3433 }, | |
| 3434 { | |
| 3435 'target_name': 'build_app_dmg', | 3413 'target_name': 'build_app_dmg', |
| 3436 # do NOT place this in the 'all' list; most won't want it. | 3414 # do NOT place this in the 'all' list; most won't want it. |
| 3437 # In gyp, booleans are 0/1 not True/False. | 3415 # In gyp, booleans are 0/1 not True/False. |
| 3438 'suppress_wildcard': 1, | 3416 'suppress_wildcard': 1, |
| 3439 'type': 'none', | 3417 'type': 'none', |
| 3440 'dependencies': [ | 3418 'dependencies': [ |
| 3441 'app', | 3419 'app', |
| 3442 ], | 3420 ], |
| 3443 'variables': { | 3421 'variables': { |
| 3444 'build_app_dmg_script_path': '<(DEPTH)/build/mac/build_app_dmg', | 3422 'build_app_dmg_script_path': '<(DEPTH)/build/mac/build_app_dmg', |
| (...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4182 # Use outputs of this action as inputs for the main target build. | 4160 # Use outputs of this action as inputs for the main target build. |
| 4183 # Seems as a misnomer but makes this happy on Linux (scons). | 4161 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4184 'process_outputs_as_sources': 1, | 4162 'process_outputs_as_sources': 1, |
| 4185 }, | 4163 }, |
| 4186 ], # 'actions' | 4164 ], # 'actions' |
| 4187 }, | 4165 }, |
| 4188 ] | 4166 ] |
| 4189 }], | 4167 }], |
| 4190 ], # 'conditions' | 4168 ], # 'conditions' |
| 4191 } | 4169 } |
| OLD | NEW |