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

Side by Side Diff: chrome/chrome.gyp

Issue 132038: Add a gyp "buildtype" variable to differentiate official release builds. (Closed)
Patch Set: Fix logic again Created 11 years, 6 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
« no previous file with comments | « build/common.gypi ('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 # 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 2399 matching lines...) Expand 10 before | Expand all | Expand 10 after
2410 # listed here. 2410 # listed here.
2411 'mac_bundle_resources!': [ 2411 'mac_bundle_resources!': [
2412 'app/app-Info.plist', 2412 'app/app-Info.plist',
2413 ], 2413 ],
2414 'xcode_settings': { 2414 'xcode_settings': {
2415 'INFOPLIST_FILE': 'app/app-Info.plist', 2415 'INFOPLIST_FILE': 'app/app-Info.plist',
2416 }, 2416 },
2417 'conditions': [ 2417 'conditions': [
2418 ['OS=="linux"', { 2418 ['OS=="linux"', {
2419 'conditions': [ 2419 'conditions': [
2420 ['branding=="Chrome"', { 2420 # All Chrome builds have breakpad symbols, but only process the
2421 # symbols from official builds.
2422 ['branding=="Chrome" and buildtype=="Official"', {
2421 'actions': [ 2423 'actions': [
2422 { 2424 {
2423 'action_name': 'dump_symbols', 2425 'action_name': 'dump_symbols',
2424 'inputs': [ 2426 'inputs': [
2425 '<(DEPTH)/build/linux/dump_app_syms', 2427 '<(DEPTH)/build/linux/dump_app_syms',
2426 '<(DEPTH)/build/linux/dump_signature.py', 2428 '<(DEPTH)/build/linux/dump_signature.py',
2427 '<(PRODUCT_DIR)/dump_syms', 2429 '<(PRODUCT_DIR)/dump_syms',
2428 '<(PRODUCT_DIR)/chrome', 2430 '<(PRODUCT_DIR)/chrome',
2429 ], 2431 ],
2430 'outputs': [ 2432 'outputs': [
(...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after
3885 } 3887 }
3886 }, { 3888 }, {
3887 'variables': { 3889 'variables': {
3888 'mac_breakpad%': 0, 3890 'mac_breakpad%': 0,
3889 'mac_keystone%': 0, 3891 'mac_keystone%': 0,
3890 'mac_product_name%': 'Chromium', 3892 'mac_product_name%': 'Chromium',
3891 } 3893 }
3892 }], 3894 }],
3893 ['OS=="linux"', { 3895 ['OS=="linux"', {
3894 'conditions': [ 3896 'conditions': [
3897 # Only Chrome builds get breakpad since crash processing is internal.
3895 ['branding=="Chrome"', { 3898 ['branding=="Chrome"', {
3896 'variables': { 3899 'variables': {
3897 'linux_breakpad%': 1, 3900 'linux_breakpad%': 1,
3898 }, 3901 },
3899 }, { 3902 }, {
3900 'variables': { 3903 'variables': {
3901 'linux_breakpad%': 0, 3904 'linux_breakpad%': 0,
3902 }, 3905 },
3903 }], 3906 }],
3904 ], 3907 ],
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
4802 # Use outputs of this action as inputs for the main target build. 4805 # Use outputs of this action as inputs for the main target build.
4803 # Seems as a misnomer but makes this happy on Linux (scons). 4806 # Seems as a misnomer but makes this happy on Linux (scons).
4804 'process_outputs_as_sources': 1, 4807 'process_outputs_as_sources': 1,
4805 }, 4808 },
4806 ], # 'actions' 4809 ], # 'actions'
4807 }, 4810 },
4808 ] 4811 ]
4809 }], 4812 }],
4810 ], # 'conditions' 4813 ], # 'conditions'
4811 } 4814 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698