Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: chrome/chrome.gyp

Issue 115187: - Set the bundle name based on the executable name (since they both are the b... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/app/app-Info.plist ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1906 matching lines...) Expand 10 before | Expand all | Expand 10 after
1917 }, 1917 },
1918 ] 1918 ]
1919 }, { # else: branding!="Chrome" 1919 }, { # else: branding!="Chrome"
1920 'mac_bundle_resources': ['app/theme/chromium/app.icns'], 1920 'mac_bundle_resources': ['app/theme/chromium/app.icns'],
1921 'variables': { 1921 'variables': {
1922 'bundle_id': 'org.chromium.Chromium', 1922 'bundle_id': 'org.chromium.Chromium',
1923 }, 1923 },
1924 }], 1924 }],
1925 ], 1925 ],
1926 'xcode_settings': { 1926 'xcode_settings': {
1927 # chrome/app/app-Info.plist has a CFBundleIdentifier of BUNDLE_ID, 1927 # chrome/app/app-Info.plist has a CFBundleIdentifier of
1928 # to be replaced by a properly branded bundle ID in Xcode with 1928 # CHROMIUM_BUNDLE_ID to be replaced by a branded bundle ID in Xcode
1929 # these settings. 1929 # with this settings.
1930 'INFOPLIST_PREPROCESS': 'YES', 1930 'CHROMIUM_BUNDLE_ID': '<(bundle_id)',
1931 'INFOPLIST_PREPROCESSOR_DEFINITIONS': [
1932 'BUNDLE_ID="<(bundle_id)"',
1933 'BUNDLE_NAME="<(branding)"'
1934 ],
1935 }, 1931 },
1936 }, { # else: OS != "mac" 1932 }, { # else: OS != "mac"
1937 'conditions': [ 1933 'conditions': [
1938 ['branding=="Chrome"', { 1934 ['branding=="Chrome"', {
1939 'product_name': 'chrome' 1935 'product_name': 'chrome'
1940 }, { # else: Branding!="Chrome" 1936 }, { # else: Branding!="Chrome"
1941 # TODO: change to: 1937 # TODO: change to:
1942 # 'product_name': 'chromium' 1938 # 'product_name': 'chromium'
1943 # whenever we convert the rest of the infrastructure 1939 # whenever we convert the rest of the infrastructure
1944 # (buildbots etc.) to use "gyp -Dbranding=Chrome". 1940 # (buildbots etc.) to use "gyp -Dbranding=Chrome".
1945 'product_name': 'chrome' 1941 'product_name': 'chrome'
1946 }], 1942 }],
1947 ], 1943 ],
1948 }], 1944 }],
1945 ['OS=="mac"', {
1946 # Mac addes an action to modify the Info.plist to meet our needs
1947 # (see the script for why this is done).
1948 'actions': [
1949 {
1950 'action_name': 'tweak_app_infoplist',
1951 # We don't list any inputs or outputs because we always want
1952 # the script to run. Why? Because it does thinks like record
1953 # the svn revision into the info.plist, so there is no file to
1954 # depend on that will change when ever that changes.
1955 'inputs': [],
1956 'outputs': [],
1957 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist',
1958 '<(branding)'],
1959 },
1960 ],
1961 }],
1949 ['OS=="win"', { 1962 ['OS=="win"', {
1950 'include_dirs': [ 1963 'include_dirs': [
1951 'third_party/wtl/include', 1964 'third_party/wtl/include',
1952 ], 1965 ],
1953 'dependencies': [ 1966 'dependencies': [
1954 'views', 1967 'views',
1955 '../build/temp_gyp/breakpad.gyp:breakpad_handler', 1968 '../build/temp_gyp/breakpad.gyp:breakpad_handler',
1956 '../build/temp_gyp/breakpad.gyp:breakpad_sender', 1969 '../build/temp_gyp/breakpad.gyp:breakpad_sender',
1957 '../sandbox/sandbox.gyp:sandbox', 1970 '../sandbox/sandbox.gyp:sandbox',
1958 'worker', 1971 'worker',
(...skipping 1444 matching lines...) Expand 10 before | Expand all | Expand 10 after
3403 # Use outputs of this action as inputs for the main target build. 3416 # Use outputs of this action as inputs for the main target build.
3404 # Seems as a misnomer but makes this happy on Linux (scons). 3417 # Seems as a misnomer but makes this happy on Linux (scons).
3405 'process_outputs_as_sources': 1, 3418 'process_outputs_as_sources': 1,
3406 }, 3419 },
3407 ], # 'actions' 3420 ], # 'actions'
3408 }, 3421 },
3409 ] 3422 ]
3410 }], 3423 }],
3411 ], # 'conditions' 3424 ], # 'conditions'
3412 } 3425 }
OLDNEW
« no previous file with comments | « chrome/app/app-Info.plist ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698