| 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 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1303 ], | 1303 ], |
| 1304 }, | 1304 }, |
| 1305 { | 1305 { |
| 1306 'target_name': 'app', | 1306 'target_name': 'app', |
| 1307 'type': 'application', | 1307 'type': 'application', |
| 1308 'dependencies': [ | 1308 'dependencies': [ |
| 1309 'common', | 1309 'common', |
| 1310 'browser', | 1310 'browser', |
| 1311 'renderer', | 1311 'renderer', |
| 1312 ], | 1312 ], |
| 1313 'variables': { | |
| 1314 'conditions': [ | |
| 1315 ['OS=="mac"', { | |
| 1316 'mac_xib_files': [ | |
| 1317 # Use .xib files only, because .nibs are bundles and these files | |
| 1318 # need to be used as an input to rules. Rule dependency checking | |
| 1319 # only works on files, not directories as .nib bundles are. | |
| 1320 'app/nibs/English.lproj/BrowserWindow.xib', | |
| 1321 'app/nibs/English.lproj/MainMenu.xib', | |
| 1322 'app/nibs/English.lproj/TabContents.xib', | |
| 1323 ], | |
| 1324 }, { # else: OS!="mac" | |
| 1325 'mac_xib_files': [], | |
| 1326 }], | |
| 1327 ], | |
| 1328 }, | |
| 1329 'sources': [ | 1313 'sources': [ |
| 1330 '<@(mac_xib_files)', | |
| 1331 | |
| 1332 # All .cc, .h, and .mm files under app except for tests. | 1314 # All .cc, .h, and .mm files under app except for tests. |
| 1333 'app/breakpad.cc', | 1315 'app/breakpad.cc', |
| 1334 'app/breakpad.h', | 1316 'app/breakpad.h', |
| 1335 'app/chrome_dll_main.cc', | 1317 'app/chrome_dll_main.cc', |
| 1336 'app/chrome_dll_resource.h', | 1318 'app/chrome_dll_resource.h', |
| 1337 'app/chrome_exe_main.cc', | 1319 'app/chrome_exe_main.cc', |
| 1338 'app/chrome_exe_main.mm', | 1320 'app/chrome_exe_main.mm', |
| 1339 'app/chrome_exe_main_gtk.cc', | 1321 'app/chrome_exe_main_gtk.cc', |
| 1340 'app/chrome_exe_resource.h', | 1322 'app/chrome_exe_resource.h', |
| 1341 'app/client_util.cc', | 1323 'app/client_util.cc', |
| 1342 'app/client_util.h', | 1324 'app/client_util.h', |
| 1343 'app/google_update_client.cc', | 1325 'app/google_update_client.cc', |
| 1344 'app/google_update_client.h', | 1326 'app/google_update_client.h', |
| 1345 'app/result_codes.h', | 1327 'app/result_codes.h', |
| 1346 'app/scoped_ole_initializer.h', | 1328 'app/scoped_ole_initializer.h', |
| 1347 ], | 1329 ], |
| 1348 'mac_bundle_resources': [ | 1330 'mac_bundle_resources': [ |
| 1349 '<@(mac_xib_files)', | 1331 'app/nibs/English.lproj/BrowserWindow.xib', |
| 1332 'app/nibs/English.lproj/MainMenu.xib', |
| 1333 'app/nibs/English.lproj/TabContents.xib', |
| 1350 'app/theme/chromium/chromium.icns', | 1334 'app/theme/chromium/chromium.icns', |
| 1351 'app/theme/back.pdf', | 1335 'app/theme/back.pdf', |
| 1352 'app/theme/forward.pdf', | 1336 'app/theme/forward.pdf', |
| 1353 'app/theme/go.pdf', | 1337 'app/theme/go.pdf', |
| 1354 'app/theme/grow_box.png', | 1338 'app/theme/grow_box.png', |
| 1355 'app/theme/newtab.pdf', | 1339 'app/theme/newtab.pdf', |
| 1356 'app/theme/reload.pdf', | 1340 'app/theme/reload.pdf', |
| 1357 'app/theme/sadtab.png', | 1341 'app/theme/sadtab.png', |
| 1358 'app/theme/star.pdf', | 1342 'app/theme/star.pdf', |
| 1359 'app/theme/starred.pdf', | 1343 'app/theme/starred.pdf', |
| 1360 'app/theme/stop.pdf', | 1344 'app/theme/stop.pdf', |
| 1361 'app/app-Info.plist', | 1345 'app/app-Info.plist', |
| 1362 ], | 1346 ], |
| 1363 # TODO(mark): Come up with a fancier way to do this. It should only | 1347 # TODO(mark): Come up with a fancier way to do this. It should only |
| 1364 # be necessary to list app-Info.plist once, not the three times it is | 1348 # be necessary to list app-Info.plist once, not the three times it is |
| 1365 # listed here. | 1349 # listed here. |
| 1366 'mac_bundle_resources!': [ | 1350 'mac_bundle_resources!': [ |
| 1367 'app/app-Info.plist', | 1351 'app/app-Info.plist', |
| 1368 ], | 1352 ], |
| 1369 'xcode_settings': { | 1353 'xcode_settings': { |
| 1370 'INFOPLIST_FILE': 'app/app-Info.plist', | 1354 'INFOPLIST_FILE': 'app/app-Info.plist', |
| 1371 }, | 1355 }, |
| 1372 'conditions': [ | 1356 'conditions': [ |
| 1373 ['OS=="mac"', { | 1357 ['OS=="mac"', { |
| 1374 'product_name': 'Chromium', | 1358 'product_name': 'Chromium', |
| 1375 'rules': [ | |
| 1376 { | |
| 1377 'rule_name': 'ib_classes', | |
| 1378 'extension': 'xib', | |
| 1379 'outputs': [ | |
| 1380 '<(INTERMEDIATE_DIR)/ib_classes/<(RULE_INPUT_ROOT)IBClasses.mm', | |
| 1381 ], | |
| 1382 'inputs': [ | |
| 1383 '../build/mac/make_ib_classes.py', | |
| 1384 ], | |
| 1385 'action': ['python', '<@(_inputs)', '<@(_outputs)', '<(RULE_INPUT_
PATH)'], | |
| 1386 'process_outputs_as_sources': 1, | |
| 1387 }, | |
| 1388 ], | |
| 1389 }], | 1359 }], |
| 1390 ['OS!="win"', { | 1360 ['OS!="win"', { |
| 1391 'variables': { | 1361 'variables': { |
| 1392 'repack_path': '../tools/data_pack/repack.py', | 1362 'repack_path': '../tools/data_pack/repack.py', |
| 1393 }, | 1363 }, |
| 1394 'actions': [ | 1364 'actions': [ |
| 1395 { | 1365 { |
| 1396 'action_name': 'repack_chrome', | 1366 'action_name': 'repack_chrome', |
| 1397 'variables': { | 1367 'variables': { |
| 1398 'pak_inputs': [ | 1368 'pak_inputs': [ |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1771 'common/pref_service_unittest.cc', | 1741 'common/pref_service_unittest.cc', |
| 1772 'common/time_format_unittest.cc', | 1742 'common/time_format_unittest.cc', |
| 1773 'renderer/render_view_unittest.cc', | 1743 'renderer/render_view_unittest.cc', |
| 1774 'renderer/render_widget_unittest.cc', | 1744 'renderer/render_widget_unittest.cc', |
| 1775 ], | 1745 ], |
| 1776 }], | 1746 }], |
| 1777 ], | 1747 ], |
| 1778 }, | 1748 }, |
| 1779 ], | 1749 ], |
| 1780 } | 1750 } |
| OLD | NEW |