| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN version: //ui/resources | 8 # GN version: //ui/resources |
| 9 'target_name': 'ui_resources', | 9 'target_name': 'ui_resources', |
| 10 'type': 'none', | 10 'type': 'none', |
| 11 'variables': { | 11 'variables': { |
| 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/resources', | 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources', |
| 13 }, | 13 }, |
| 14 'actions': [ | 14 'actions': [ |
| 15 { | 15 { |
| 16 'action_name': 'ui_resources', | 16 'action_name': 'ui_resources', |
| 17 'variables': { | 17 'variables': { |
| 18 'grit_grd_file': 'ui_resources.grd', | 18 'grit_grd_file': 'ui_resources.grd', |
| 19 }, | 19 }, |
| 20 'includes': [ '../../build/grit_action.gypi' ], | 20 'includes': [ '../../build/grit_action.gypi' ], |
| 21 }, | 21 }, |
| 22 { | 22 { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 46 'dependencies': [ | 46 'dependencies': [ |
| 47 '../strings/ui_strings.gyp:ui_strings', | 47 '../strings/ui_strings.gyp:ui_strings', |
| 48 'ui_resources', | 48 'ui_resources', |
| 49 ], | 49 ], |
| 50 'actions': [ | 50 'actions': [ |
| 51 { | 51 { |
| 52 'action_name': 'repack_ui_test_pack', | 52 'action_name': 'repack_ui_test_pack', |
| 53 'variables': { | 53 'variables': { |
| 54 'pak_inputs': [ | 54 'pak_inputs': [ |
| 55 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_sett
ings_en-US.pak', | 55 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_sett
ings_en-US.pak', |
| 56 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', | 56 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_perce
nt.pak', |
| 57 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', | 57 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/webui_resources.pak', |
| 58 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', | 58 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak', |
| 59 ], | 59 ], |
| 60 'pak_output': '<(PRODUCT_DIR)/ui_test.pak', | 60 'pak_output': '<(PRODUCT_DIR)/ui_test.pak', |
| 61 }, | 61 }, |
| 62 'includes': [ '../../build/repack_action.gypi' ], | 62 'includes': [ '../../build/repack_action.gypi' ], |
| 63 }, | 63 }, |
| 64 ], | 64 ], |
| 65 'conditions': [ | 65 'conditions': [ |
| 66 ['OS != "mac"', { | 66 ['OS != "mac"', { |
| 67 'copies': [ | 67 'copies': [ |
| 68 { | 68 { |
| 69 # GN version //ui/resources:copy_ui_resources_100_percent | 69 # GN version //ui/resources:copy_ui_resources_100_percent |
| 70 'destination': '<(PRODUCT_DIR)/ui', | 70 'destination': '<(PRODUCT_DIR)/ui', |
| 71 'files': [ | 71 'files': [ |
| 72 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percen
t.pak', | 72 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_per
cent.pak', |
| 73 ], | 73 ], |
| 74 }, | 74 }, |
| 75 ], | 75 ], |
| 76 }], | 76 }], |
| 77 ['OS == "ios"', { | 77 ['OS == "ios"', { |
| 78 'actions': [ | 78 'actions': [ |
| 79 { | 79 { |
| 80 # GN version: //ui/resources:copy_ui_test_pak | 80 # GN version: //ui/resources:copy_ui_test_pak |
| 81 'action_name': 'copy_ui_test_pak', | 81 'action_name': 'copy_ui_test_pak', |
| 82 'message': 'Copying ui_test.pak into locale.pak', | 82 'message': 'Copying ui_test.pak into locale.pak', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 112 '<@(_inputs)', | 112 '<@(_inputs)', |
| 113 '<@(_outputs)' | 113 '<@(_outputs)' |
| 114 ], | 114 ], |
| 115 }, | 115 }, |
| 116 ], | 116 ], |
| 117 }], | 117 }], |
| 118 ], | 118 ], |
| 119 }, | 119 }, |
| 120 ], | 120 ], |
| 121 } | 121 } |
| OLD | NEW |