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 2292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2303 # be necessary to list app-Info.plist once, not the three times it is | 2303 # be necessary to list app-Info.plist once, not the three times it is |
2304 # listed here. | 2304 # listed here. |
2305 'mac_bundle_resources!': [ | 2305 'mac_bundle_resources!': [ |
2306 'app/app-Info.plist', | 2306 'app/app-Info.plist', |
2307 ], | 2307 ], |
2308 'xcode_settings': { | 2308 'xcode_settings': { |
2309 'INFOPLIST_FILE': 'app/app-Info.plist', | 2309 'INFOPLIST_FILE': 'app/app-Info.plist', |
2310 }, | 2310 }, |
2311 'conditions': [ | 2311 'conditions': [ |
2312 ['OS=="linux"', { | 2312 ['OS=="linux"', { |
| 2313 'conditions': [ |
| 2314 ['branding=="Chrome"', { |
| 2315 'actions': [ |
| 2316 { |
| 2317 'action_name': 'dump_symbols', |
| 2318 'inputs': [ |
| 2319 '<(PRODUCT_DIR)/dump_syms', |
| 2320 '<(PRODUCT_DIR)/chrome', |
| 2321 ], |
| 2322 'outputs': [ |
| 2323 '<(PRODUCT_DIR)/chrome.breakpad', |
| 2324 ], |
| 2325 'action': ['<(DEPTH)/build/linux/dump_app_syms', |
| 2326 '<(PRODUCT_DIR)/dump_syms', |
| 2327 '<(PRODUCT_DIR)/chrome', '<@(_outputs)'], |
| 2328 }, |
| 2329 ], |
| 2330 }], |
| 2331 ], |
2313 'dependencies': [ | 2332 'dependencies': [ |
2314 # Needed for chrome_dll_main.cc #include of gtk/gtk.h | 2333 # Needed for chrome_dll_main.cc #include of gtk/gtk.h |
2315 '../build/linux/system.gyp:gtk', | 2334 '../build/linux/system.gyp:gtk', |
2316 # Needed for chrome_dll_main.cc use of g_thread_init | 2335 # Needed for chrome_dll_main.cc use of g_thread_init |
2317 '../build/linux/system.gyp:gthread', | 2336 '../build/linux/system.gyp:gthread', |
2318 ], | 2337 ], |
2319 'copies': [ | 2338 'copies': [ |
2320 { | 2339 { |
2321 'destination': '<(PRODUCT_DIR)', | 2340 'destination': '<(PRODUCT_DIR)', |
2322 'files': ['<(INTERMEDIATE_DIR)/repack/chrome.pak'], | 2341 'files': ['<(INTERMEDIATE_DIR)/repack/chrome.pak'], |
(...skipping 2213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4536 # Use outputs of this action as inputs for the main target build. | 4555 # Use outputs of this action as inputs for the main target build. |
4537 # Seems as a misnomer but makes this happy on Linux (scons). | 4556 # Seems as a misnomer but makes this happy on Linux (scons). |
4538 'process_outputs_as_sources': 1, | 4557 'process_outputs_as_sources': 1, |
4539 }, | 4558 }, |
4540 ], # 'actions' | 4559 ], # 'actions' |
4541 }, | 4560 }, |
4542 ] | 4561 ] |
4543 }], | 4562 }], |
4544 ], # 'conditions' | 4563 ], # 'conditions' |
4545 } | 4564 } |
OLD | NEW |