| 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 2583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2594 'variables': { | 2594 'variables': { |
| 2595 'bundle_id': 'com.google.Chrome', | 2595 'bundle_id': 'com.google.Chrome', |
| 2596 }, | 2596 }, |
| 2597 }, { # else: 'branding!="Chrome" | 2597 }, { # else: 'branding!="Chrome" |
| 2598 'mac_bundle_resources': ['app/theme/chromium/app.icns'], | 2598 'mac_bundle_resources': ['app/theme/chromium/app.icns'], |
| 2599 'variables': { | 2599 'variables': { |
| 2600 'bundle_id': 'org.chromium.Chromium', | 2600 'bundle_id': 'org.chromium.Chromium', |
| 2601 }, | 2601 }, |
| 2602 }], | 2602 }], |
| 2603 ['mac_breakpad==1', { | 2603 ['mac_breakpad==1', { |
| 2604 # Only include breakpad in official builds. | |
| 2605 'variables': { | 2604 'variables': { |
| 2606 # A real .dSYM is needed for dump_syms to operate on. | 2605 # A real .dSYM is needed for dump_syms to operate on. |
| 2607 'mac_real_dsym': 1, | 2606 'mac_real_dsym': 1, |
| 2608 }, | 2607 }, |
| 2609 'dependencies': [ | 2608 'dependencies': [ |
| 2610 '../breakpad/breakpad.gyp:breakpad', | 2609 '../breakpad/breakpad.gyp:breakpad', |
| 2611 '../breakpad/breakpad.gyp:dump_syms', | 2610 '../breakpad/breakpad.gyp:dump_syms', |
| 2612 '../breakpad/breakpad.gyp:symupload', | 2611 '../breakpad/breakpad.gyp:symupload', |
| 2613 ], | 2612 ], |
| 2614 'copies': [ | 2613 'copies': [ |
| (...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3968 'Debug': { | 3967 'Debug': { |
| 3969 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', | 3968 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', |
| 3970 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', | 3969 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', |
| 3971 }, | 3970 }, |
| 3972 }, | 3971 }, |
| 3973 }], # OS="win" | 3972 }], # OS="win" |
| 3974 ], # conditions | 3973 ], # conditions |
| 3975 }, | 3974 }, |
| 3976 ], | 3975 ], |
| 3977 'conditions': [ | 3976 'conditions': [ |
| 3978 # We set feature variables so the different parts that need to check for | 3977 ['OS=="mac"', { |
| 3979 # the mac build use of breakpad/keystone, check that flag instead of coding | 3978 'conditions': [ |
| 3980 # it based on branding. | 3979 # We need the Mac app name on disk, so we stick this into a variable so |
| 3981 # We need the Mac app name on disk, so we stick this into a variable so | 3980 # the different places that need it can use the common variable. |
| 3982 # the different places that need it can use the common variable. | 3981 # NOTE: chrome/app/theme/chromium/BRANDING and |
| 3983 # NOTE: chrome/app/theme/chromium/BRANDING and | 3982 # chrome/app/theme/google_chrome/BRANDING have the short names, etc.; |
| 3984 # chrome/app/theme/google_chrome/BRANDING have the short names, etc.; | 3983 # but extracting from there still means xcodeproject are out of date unt
il |
| 3985 # but extracting from there still means xcodeproject are out of date until | 3984 # the next project regeneration. |
| 3986 # the next project regeneration. | 3985 ['branding=="Chrome"', { |
| 3987 ['OS=="mac" and branding=="Chrome"', { | 3986 'variables': { |
| 3988 'variables': { | 3987 'mac_product_name%': 'Google Chrome', |
| 3989 'mac_breakpad%': 1, | 3988 } |
| 3990 'mac_keystone%': 1, | 3989 }, { |
| 3991 'mac_product_name%': 'Google Chrome', | 3990 'variables': { |
| 3992 } | 3991 'mac_product_name%': 'Chromium', |
| 3993 }, { | 3992 } |
| 3994 'variables': { | 3993 }], |
| 3995 'mac_breakpad%': 0, | 3994 # We set feature variables so the different parts of the gyp file use |
| 3996 'mac_keystone%': 0, | 3995 # these vars in conditions instead of repeating the check of branding |
| 3997 'mac_product_name%': 'Chromium', | 3996 # and buildtype. |
| 3998 } | 3997 ['branding=="Chrome" and buildtype=="Official"', { |
| 3998 'variables': { |
| 3999 'mac_breakpad%': 1, |
| 4000 'mac_keystone%': 1, |
| 4001 } |
| 4002 }, { |
| 4003 'variables': { |
| 4004 'mac_breakpad%': 0, |
| 4005 'mac_keystone%': 0, |
| 4006 } |
| 4007 }], |
| 4008 ], |
| 3999 }], | 4009 }], |
| 4000 ['OS=="linux"', { | 4010 ['OS=="linux"', { |
| 4001 'conditions': [ | 4011 'conditions': [ |
| 4002 # Only Chrome builds get breakpad since crash processing is internal. | 4012 # Only Chrome builds get breakpad since crash processing is internal. |
| 4003 ['branding=="Chrome"', { | 4013 ['branding=="Chrome"', { |
| 4004 'variables': { | 4014 'variables': { |
| 4005 'linux_breakpad%': 1, | 4015 'linux_breakpad%': 1, |
| 4006 }, | 4016 }, |
| 4007 }, { | 4017 }, { |
| 4008 'variables': { | 4018 'variables': { |
| (...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4933 # Use outputs of this action as inputs for the main target build. | 4943 # Use outputs of this action as inputs for the main target build. |
| 4934 # Seems as a misnomer but makes this happy on Linux (scons). | 4944 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4935 'process_outputs_as_sources': 1, | 4945 'process_outputs_as_sources': 1, |
| 4936 }, | 4946 }, |
| 4937 ], # 'actions' | 4947 ], # 'actions' |
| 4938 }, | 4948 }, |
| 4939 ] | 4949 ] |
| 4940 }], | 4950 }], |
| 4941 ], # 'conditions' | 4951 ], # 'conditions' |
| 4942 } | 4952 } |
| OLD | NEW |