OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'browser_ui', | 9 'target_name': 'browser_ui', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 2435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2446 '../third_party/GTM/DebugUtils', | 2446 '../third_party/GTM/DebugUtils', |
2447 '../third_party/GTM/Foundation', | 2447 '../third_party/GTM/Foundation', |
2448 ], | 2448 ], |
2449 'actions': [ | 2449 'actions': [ |
2450 { | 2450 { |
2451 # This action is used to extract the localization data from xib | 2451 # This action is used to extract the localization data from xib |
2452 # files and generate table for the ui localizer from it. | 2452 # files and generate table for the ui localizer from it. |
2453 'variables': { | 2453 'variables': { |
2454 'xib_localizer_tool_path': | 2454 'xib_localizer_tool_path': |
2455 'tools/build/mac/generate_localizer', | 2455 'tools/build/mac/generate_localizer', |
2456 'xib_files_to_scan': [ | |
2457 # The xibs that need localization | |
2458 'app/nibs/AvatarMenuItem.xib', | |
2459 'app/nibs/BookmarkAllTabs.xib', | |
2460 'app/nibs/BookmarkBar.xib', | |
2461 'app/nibs/BookmarkBubble.xib', | |
2462 'app/nibs/BookmarkEditor.xib', | |
2463 'app/nibs/BookmarkNameFolder.xib', | |
2464 'app/nibs/BrowserWindow.xib', | |
2465 'app/nibs/ChromeToMobileBubble.xib', | |
2466 'app/nibs/CollectedCookies.xib', | |
2467 'app/nibs/ContentBlockedCookies.xib', | |
2468 'app/nibs/ContentBlockedImages.xib', | |
2469 'app/nibs/ContentBlockedJavaScript.xib', | |
2470 'app/nibs/ContentBlockedMixedScript.xib', | |
2471 'app/nibs/ContentBlockedPlugins.xib', | |
2472 'app/nibs/ContentBlockedPopups.xib', | |
2473 'app/nibs/ContentBlockedGeolocation.xib', | |
2474 'app/nibs/ContentProtocolHandlers.xib', | |
2475 'app/nibs/CookieDetailsView.xib', | |
2476 'app/nibs/DownloadItem.xib', | |
2477 'app/nibs/DownloadShelf.xib', | |
2478 'app/nibs/EditSearchEngine.xib', | |
2479 'app/nibs/ExtensionInstallPrompt.xib', | |
2480 'app/nibs/ExtensionInstallPromptBundle.xib', | |
2481 'app/nibs/ExtensionInstallPromptInline.xib', | |
2482 'app/nibs/ExtensionInstallPromptNoWarnings.xib', | |
2483 'app/nibs/ExtensionInstalledBubble.xib', | |
2484 'app/nibs/FirstRunBubble.xib', | |
2485 'app/nibs/FirstRunDialog.xib', | |
2486 'app/nibs/FullscreenExitBubble.xib', | |
2487 'app/nibs/HttpAuthLoginSheet.xib', | |
2488 'app/nibs/HungRendererDialog.xib', | |
2489 'app/nibs/ImportProgressDialog.xib', | |
2490 'app/nibs/MainMenu.xib', | |
2491 'app/nibs/OneClickSigninBubble.xib', | |
2492 'app/nibs/SadTab.xib', | |
2493 'app/nibs/SaveAccessoryView.xib', | |
2494 'app/nibs/SpeechRecognitionBubble.xib', | |
2495 'app/nibs/TaskManager.xib', | |
2496 'app/nibs/Toolbar.xib', | |
2497 'app/nibs/WrenchMenu.xib', | |
2498 ], | |
2499 }, | 2456 }, |
| 2457 'includes': [ |
| 2458 'chrome_nibs.gypi', |
| 2459 ], |
2500 'action_name': 'Process xibs for localization', | 2460 'action_name': 'Process xibs for localization', |
2501 'inputs': [ | 2461 'inputs': [ |
2502 '<(xib_localizer_tool_path)', | 2462 '<(xib_localizer_tool_path)', |
2503 '<@(xib_files_to_scan)', | 2463 '<@(mac_translated_xibs)', |
2504 ], | 2464 ], |
2505 'outputs': [ | 2465 'outputs': [ |
2506 '<(INTERMEDIATE_DIR)/ui_localizer_table.h', | 2466 '<(INTERMEDIATE_DIR)/ui_localizer_table.h', |
2507 ], | 2467 ], |
2508 'action': ['<(xib_localizer_tool_path)', | 2468 'action': ['<(xib_localizer_tool_path)', |
2509 '<@(_outputs)', | 2469 '<@(_outputs)', |
2510 '<@(xib_files_to_scan)'], | 2470 '<@(mac_translated_xibs)'], |
2511 }, | 2471 }, |
2512 ], | 2472 ], |
2513 }], | 2473 }], |
2514 ['OS=="win"', { | 2474 ['OS=="win"', { |
2515 'include_dirs': [ | 2475 'include_dirs': [ |
2516 '<(DEPTH)/third_party/wtl/include', | 2476 '<(DEPTH)/third_party/wtl/include', |
2517 ], | 2477 ], |
2518 'dependencies': [ | 2478 'dependencies': [ |
2519 'installer_util_strings', | 2479 'installer_util_strings', |
2520 '../google_update/google_update.gyp:google_update', | 2480 '../google_update/google_update.gyp:google_update', |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2642 ['exclude', '^browser/ui/views/select_file_dialog_extension.cc'], | 2602 ['exclude', '^browser/ui/views/select_file_dialog_extension.cc'], |
2643 ['exclude', '^browser/ui/views/select_file_dialog_extension.h'], | 2603 ['exclude', '^browser/ui/views/select_file_dialog_extension.h'], |
2644 ['exclude', '^browser/ui/views/select_file_dialog_extension_factory.
cc'], | 2604 ['exclude', '^browser/ui/views/select_file_dialog_extension_factory.
cc'], |
2645 ['exclude', '^browser/ui/views/select_file_dialog_extension_factory.
h'], | 2605 ['exclude', '^browser/ui/views/select_file_dialog_extension_factory.
h'], |
2646 ]} | 2606 ]} |
2647 ], | 2607 ], |
2648 ], | 2608 ], |
2649 }, | 2609 }, |
2650 ], | 2610 ], |
2651 } | 2611 } |
OLD | NEW |