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 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/common.gypi', | 10 '../build/common.gypi', |
(...skipping 2006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2017 'postbuilds': [ | 2017 'postbuilds': [ |
2018 { | 2018 { |
2019 'postbuild_name': 'Dump Symbols', | 2019 'postbuild_name': 'Dump Symbols', |
2020 'action': ['<(DEPTH)/build/mac/dump_app_syms', | 2020 'action': ['<(DEPTH)/build/mac/dump_app_syms', |
2021 '<(branding)'], | 2021 '<(branding)'], |
2022 }, | 2022 }, |
2023 ], | 2023 ], |
2024 }], | 2024 }], |
2025 ], | 2025 ], |
2026 }], # mac_breakpad | 2026 }], # mac_breakpad |
| 2027 ['mac_keystone==1', { |
| 2028 'copies': [ |
| 2029 { |
| 2030 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Content
s/Frameworks/', |
| 2031 'files': ['../third_party/googlemac/Releases/Keystone/Keystone
Registration.framework'], |
| 2032 }, |
| 2033 ], |
| 2034 }], # mac_keystone |
2027 ], | 2035 ], |
2028 'product_name': '<(mac_product_name)', | 2036 'product_name': '<(mac_product_name)', |
2029 'xcode_settings': { | 2037 'xcode_settings': { |
2030 # chrome/app/app-Info.plist has: | 2038 # chrome/app/app-Info.plist has: |
2031 # CFBundleIdentifier of CHROMIUM_BUNDLE_ID | 2039 # CFBundleIdentifier of CHROMIUM_BUNDLE_ID |
2032 # CFBundleName of CHROMIUM_SHORT_NAME | 2040 # CFBundleName of CHROMIUM_SHORT_NAME |
2033 # Xcode then replaces these values with the branded values we set | 2041 # Xcode then replaces these values with the branded values we set |
2034 # as settings on the target. | 2042 # as settings on the target. |
2035 'CHROMIUM_BUNDLE_ID': '<(bundle_id)', | 2043 'CHROMIUM_BUNDLE_ID': '<(bundle_id)', |
2036 'CHROMIUM_SHORT_NAME': '<(branding)', | 2044 'CHROMIUM_SHORT_NAME': '<(branding)', |
(...skipping 20 matching lines...) Expand all Loading... |
2057 'actions': [ | 2065 'actions': [ |
2058 { | 2066 { |
2059 'action_name': 'tweak_app_infoplist', | 2067 'action_name': 'tweak_app_infoplist', |
2060 # We don't list any inputs or outputs because we always want | 2068 # We don't list any inputs or outputs because we always want |
2061 # the script to run. Why? Because it does thinks like record | 2069 # the script to run. Why? Because it does thinks like record |
2062 # the svn revision into the info.plist, so there is no file to | 2070 # the svn revision into the info.plist, so there is no file to |
2063 # depend on that will change when ever that changes. | 2071 # depend on that will change when ever that changes. |
2064 'inputs': [], | 2072 'inputs': [], |
2065 'outputs': [], | 2073 'outputs': [], |
2066 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist', | 2074 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist', |
2067 '-b', '<(mac_breakpad)', | 2075 '-b<(mac_breakpad)', |
| 2076 '-k<(mac_keystone)', |
2068 '<(branding)'], | 2077 '<(branding)'], |
2069 }, | 2078 }, |
2070 ], | 2079 ], |
2071 }], | 2080 }], |
2072 ['OS=="win"', { | 2081 ['OS=="win"', { |
2073 'include_dirs': [ | 2082 'include_dirs': [ |
2074 'third_party/wtl/include', | 2083 'third_party/wtl/include', |
2075 ], | 2084 ], |
2076 'dependencies': [ | 2085 'dependencies': [ |
2077 'views', | 2086 'views', |
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3019 }], | 3028 }], |
3020 ['OS!="win"', { | 3029 ['OS!="win"', { |
3021 'sources!': [ | 3030 'sources!': [ |
3022 'test/perf/mem_usage.cc', | 3031 'test/perf/mem_usage.cc', |
3023 ], | 3032 ], |
3024 }], | 3033 }], |
3025 ], | 3034 ], |
3026 }, | 3035 }, |
3027 ], | 3036 ], |
3028 'conditions': [ | 3037 'conditions': [ |
3029 # We set a feature variable so the different parts that need to check for | 3038 # We set feature variables so the different parts that need to check for |
3030 # the mac build use of breakpad, check that flag instead of coding it based | 3039 # the mac build use of breakpad/keystone, check that flag instead of coding |
3031 # on branding. | 3040 # it based on branding. |
3032 # We need the Mac app name on disk, so we stick this into a variable so | 3041 # We need the Mac app name on disk, so we stick this into a variable so |
3033 # the different places that need it can use the common variable. | 3042 # the different places that need it can use the common variable. |
3034 # NOTE: chrome/app/theme/chromium/BRANDING and | 3043 # NOTE: chrome/app/theme/chromium/BRANDING and |
3035 # chrome/app/theme/google_chrome/BRANDING have the short names, etc.; | 3044 # chrome/app/theme/google_chrome/BRANDING have the short names, etc.; |
3036 # but extracting from there still means xcodeproject are out of date until | 3045 # but extracting from there still means xcodeproject are out of date until |
3037 # the next project regeneration. | 3046 # the next project regeneration. |
3038 ['OS=="mac" and branding=="Chrome"', { | 3047 ['OS=="mac" and branding=="Chrome"', { |
3039 'variables': { | 3048 'variables': { |
3040 'mac_breakpad%': 1, | 3049 'mac_breakpad%': 1, |
| 3050 'mac_keystone%': 1, |
3041 'mac_product_name%': 'Google Chrome', | 3051 'mac_product_name%': 'Google Chrome', |
3042 } | 3052 } |
3043 }, { | 3053 }, { |
3044 'variables': { | 3054 'variables': { |
3045 'mac_breakpad%': 0, | 3055 'mac_breakpad%': 0, |
| 3056 'mac_keystone%': 0, |
3046 'mac_product_name%': 'Chromium', | 3057 'mac_product_name%': 'Chromium', |
3047 } | 3058 } |
3048 }], | 3059 }], |
3049 ['OS=="linux"', { | 3060 ['OS=="linux"', { |
3050 'targets': [ | 3061 'targets': [ |
3051 { | 3062 { |
3052 'target_name': 'convert_dict', | 3063 'target_name': 'convert_dict', |
3053 'type': 'executable', | 3064 'type': 'executable', |
3054 'dependencies': [ | 3065 'dependencies': [ |
3055 '../base/base.gyp:base', | 3066 '../base/base.gyp:base', |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3581 # Use outputs of this action as inputs for the main target build. | 3592 # Use outputs of this action as inputs for the main target build. |
3582 # Seems as a misnomer but makes this happy on Linux (scons). | 3593 # Seems as a misnomer but makes this happy on Linux (scons). |
3583 'process_outputs_as_sources': 1, | 3594 'process_outputs_as_sources': 1, |
3584 }, | 3595 }, |
3585 ], # 'actions' | 3596 ], # 'actions' |
3586 }, | 3597 }, |
3587 ] | 3598 ] |
3588 }], | 3599 }], |
3589 ], # 'conditions' | 3600 ], # 'conditions' |
3590 } | 3601 } |
OLD | NEW |