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 1330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 # listed here. | 1341 # listed here. |
1342 'mac_bundle_resources!': [ | 1342 'mac_bundle_resources!': [ |
1343 'app/app-Info.plist', | 1343 'app/app-Info.plist', |
1344 ], | 1344 ], |
1345 'xcode_settings': { | 1345 'xcode_settings': { |
1346 'INFOPLIST_FILE': 'app/app-Info.plist', | 1346 'INFOPLIST_FILE': 'app/app-Info.plist', |
1347 }, | 1347 }, |
1348 'conditions': [ | 1348 'conditions': [ |
1349 ['OS=="mac"', {'product_name': 'Chromium'}], | 1349 ['OS=="mac"', {'product_name': 'Chromium'}], |
1350 ['OS!="win"', { | 1350 ['OS!="win"', { |
| 1351 'variables': { |
| 1352 'repack_path': '../tools/data_pack/repack.py', |
| 1353 }, |
| 1354 'actions': [ |
| 1355 { |
| 1356 'action_name': 'repack_chrome', |
| 1357 'variables': { |
| 1358 'pak_inputs': [ |
| 1359 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.pak', |
| 1360 '<(SHARED_INTERMEDIATE_DIR)/chrome/debugger_resources.pak', |
| 1361 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.pak', |
| 1362 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.pak', |
| 1363 ], |
| 1364 }, |
| 1365 'inputs': [ |
| 1366 '<(repack_path)', |
| 1367 '<@(pak_inputs)', |
| 1368 ], |
| 1369 'outputs': [ |
| 1370 '<(INTERMEDIATE_DIR)/repack/chrome.pak', |
| 1371 ], |
| 1372 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp
uts)'], |
| 1373 'process_outputs_as_mac_bundle_resources': 1, |
| 1374 }, |
| 1375 { |
| 1376 'action_name': 'repack_theme', |
| 1377 'variables': { |
| 1378 'pak_inputs': [ |
| 1379 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.pak', |
| 1380 ], |
| 1381 }, |
| 1382 'inputs': [ |
| 1383 '<(repack_path)', |
| 1384 '<@(pak_inputs)', |
| 1385 ], |
| 1386 'outputs': [ |
| 1387 '<(INTERMEDIATE_DIR)/repack/theme.pak', |
| 1388 ], |
| 1389 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp
uts)'], |
| 1390 'process_outputs_as_mac_bundle_resources': 1, |
| 1391 }, |
| 1392 { |
| 1393 # TODO(mark): Make this work with more languages than the |
| 1394 # hardcoded en-US. |
| 1395 'action_name': 'repack_locale', |
| 1396 'variables': { |
| 1397 'pak_inputs': [ |
| 1398 '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_en-US.p
ak', |
| 1399 '<(SHARED_INTERMEDIATE_DIR)/chrome/chromium_strings_en-US.pak'
, |
| 1400 '<(SHARED_INTERMEDIATE_DIR)/chrome/locale_settings_en-US.pak', |
| 1401 ], |
| 1402 }, |
| 1403 'inputs': [ |
| 1404 '<(repack_path)', |
| 1405 '<@(pak_inputs)', |
| 1406 ], |
| 1407 'conditions': [ |
| 1408 ['OS=="mac"', { |
| 1409 'outputs': [ |
| 1410 '<(INTERMEDIATE_DIR)/repack/English.lproj/locale.pak', |
| 1411 ], |
| 1412 }, { # else: OS!="mac" |
| 1413 'outputs': [ |
| 1414 '<(INTERMEDIATE_DIR)/repack/locale_en-US.pak', |
| 1415 ], |
| 1416 }], |
| 1417 ], |
| 1418 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp
uts)'], |
| 1419 'process_outputs_as_mac_bundle_resources': 1, |
| 1420 }, |
| 1421 ], |
1351 'sources!': [ | 1422 'sources!': [ |
1352 'app/breakpad.cc', | 1423 'app/breakpad.cc', |
1353 'app/chrome_exe_main.cc', | 1424 'app/chrome_exe_main.cc', |
1354 'app/client_util.cc', | 1425 'app/client_util.cc', |
1355 'app/google_update_client.cc', | 1426 'app/google_update_client.cc', |
1356 ] | 1427 ] |
1357 }], | 1428 }], |
1358 ], | 1429 ], |
1359 }, | 1430 }, |
1360 { | 1431 { |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1660 'common/pref_service_unittest.cc', | 1731 'common/pref_service_unittest.cc', |
1661 'common/time_format_unittest.cc', | 1732 'common/time_format_unittest.cc', |
1662 'renderer/render_view_unittest.cc', | 1733 'renderer/render_view_unittest.cc', |
1663 'renderer/render_widget_unittest.cc', | 1734 'renderer/render_widget_unittest.cc', |
1664 ], | 1735 ], |
1665 }], | 1736 }], |
1666 ], | 1737 ], |
1667 }, | 1738 }, |
1668 ], | 1739 ], |
1669 } | 1740 } |
OLD | NEW |