| 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 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1347 # 'branding' is a variable defined in common.gypi | 1347 # 'branding' is a variable defined in common.gypi |
| 1348 # (e.g. "Chromium", "Chrome") | 1348 # (e.g. "Chromium", "Chrome") |
| 1349 'product_name': '<(branding)', | 1349 'product_name': '<(branding)', |
| 1350 'conditions': [ | 1350 'conditions': [ |
| 1351 ['branding=="Chrome"', { | 1351 ['branding=="Chrome"', { |
| 1352 'mac_bundle_resources': ['app/theme/google_chrome/chrome.icns'], | 1352 'mac_bundle_resources': ['app/theme/google_chrome/chrome.icns'], |
| 1353 }, { # else: branding!="Chrome" | 1353 }, { # else: branding!="Chrome" |
| 1354 'mac_bundle_resources': ['app/theme/chromium/chromium.icns'], | 1354 'mac_bundle_resources': ['app/theme/chromium/chromium.icns'], |
| 1355 }], | 1355 }], |
| 1356 ], | 1356 ], |
| 1357 }, { # else: OS != "mac" |
| 1358 'conditions': [ |
| 1359 ['branding=="Chrome"', { |
| 1360 'product_name': 'chrome' |
| 1361 }, { # else: Branding!="Chrome" |
| 1362 # TODO: change to: |
| 1363 # 'product_name': 'chromium' |
| 1364 # whenever we convert the rest of the infrastructure |
| 1365 # (buildbots etc.) to use "gyp -Dbranding=Chrome". |
| 1366 'product_name': 'chrome' |
| 1367 }], |
| 1368 ], |
| 1357 }], | 1369 }], |
| 1358 ['OS!="win"', { | 1370 ['OS!="win"', { |
| 1359 'variables': { | 1371 'variables': { |
| 1360 'repack_path': '../tools/data_pack/repack.py', | 1372 'repack_path': '../tools/data_pack/repack.py', |
| 1361 }, | 1373 }, |
| 1362 'actions': [ | 1374 'actions': [ |
| 1363 { | 1375 { |
| 1364 'action_name': 'repack_chrome', | 1376 'action_name': 'repack_chrome', |
| 1365 'variables': { | 1377 'variables': { |
| 1366 'pak_inputs': [ | 1378 'pak_inputs': [ |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1767 'outputs': [], | 1779 'outputs': [], |
| 1768 'action_name': 'package_chrome', | 1780 'action_name': 'package_chrome', |
| 1769 'action': ['tools/mac/package_chrome.sh' ], | 1781 'action': ['tools/mac/package_chrome.sh' ], |
| 1770 }, | 1782 }, |
| 1771 ], # 'actions' | 1783 ], # 'actions' |
| 1772 }, | 1784 }, |
| 1773 ]}, # 'targets' | 1785 ]}, # 'targets' |
| 1774 ], # OS=="mac" | 1786 ], # OS=="mac" |
| 1775 ], # 'conditions' | 1787 ], # 'conditions' |
| 1776 } | 1788 } |
| OLD | NEW |