| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//build/config/mac/rules.gni") | 5 import("//build/config/mac/rules.gni") |
| 6 | 6 |
| 7 assert(is_mac) | 7 assert(is_mac) |
| 8 | 8 |
| 9 translated_xibs = [ | 9 translated_xibs = [ |
| 10 "AppMenu.xib", | 10 "AppMenu.xib", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 "MainMenu.xib", | 41 "MainMenu.xib", |
| 42 "OneClickSigninBubble.xib", | 42 "OneClickSigninBubble.xib", |
| 43 "OneClickSigninDialog.xib", | 43 "OneClickSigninDialog.xib", |
| 44 "SaveAccessoryView.xib", | 44 "SaveAccessoryView.xib", |
| 45 "TaskManager.xib", | 45 "TaskManager.xib", |
| 46 "Toolbar.xib", | 46 "Toolbar.xib", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 untranslated_xibs = [ | 49 untranslated_xibs = [ |
| 50 "BookmarkBarFolderWindow.xib", | 50 "BookmarkBarFolderWindow.xib", |
| 51 "DevicePermissionsPrompt.xib", | |
| 52 "FindBar.xib", | 51 "FindBar.xib", |
| 53 "GlobalErrorBubble.xib", | 52 "GlobalErrorBubble.xib", |
| 54 "InfoBar.xib", | 53 "InfoBar.xib", |
| 55 "Panel.xib", | 54 "Panel.xib", |
| 56 ] | 55 ] |
| 57 | 56 |
| 58 mac_xib_bundle_data("chrome_xibs") { | 57 mac_xib_bundle_data("chrome_xibs") { |
| 59 sources = translated_xibs + untranslated_xibs | 58 sources = translated_xibs + untranslated_xibs |
| 60 } | 59 } |
| 61 | 60 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 72 rebase_path(table_path, root_build_dir), | 71 rebase_path(table_path, root_build_dir), |
| 73 ] | 72 ] |
| 74 if (!use_system_xcode) { | 73 if (!use_system_xcode) { |
| 75 args += [ | 74 args += [ |
| 76 "--developer_dir", | 75 "--developer_dir", |
| 77 hermetic_xcode_path, | 76 hermetic_xcode_path, |
| 78 ] | 77 ] |
| 79 } | 78 } |
| 80 args += rebase_path(translated_xibs, root_build_dir) | 79 args += rebase_path(translated_xibs, root_build_dir) |
| 81 } | 80 } |
| OLD | NEW |