| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 5 'variables': { |
| 6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', | 6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
| 7 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], | 7 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 }, | 212 }, |
| 213 { | 213 { |
| 214 'action_name': 'theme_resources_standard', | 214 'action_name': 'theme_resources_standard', |
| 215 'variables': { | 215 'variables': { |
| 216 'grit_grd_file': 'app/theme/theme_resources_standard.grd', | 216 'grit_grd_file': 'app/theme/theme_resources_standard.grd', |
| 217 }, | 217 }, |
| 218 'includes': [ '../build/grit_action.gypi' ], | 218 'includes': [ '../build/grit_action.gypi' ], |
| 219 }, | 219 }, |
| 220 ], | 220 ], |
| 221 'includes': [ '../build/grit_target.gypi' ], | 221 'includes': [ '../build/grit_target.gypi' ], |
| 222 'conditions': [ | |
| 223 ['OS != "mac"', { | |
| 224 # Copy pak files to the product directory. These files will be picked | |
| 225 # up by the following installer scripts: | |
| 226 # - Windows: chrome/installer/mini_installer/chrome.release | |
| 227 # - Linux: chrome/installer/linux/internal/common/installer.include | |
| 228 # Ensure that the above scripts are updated when adding or removing | |
| 229 # pak files. | |
| 230 # Coping files to the product directory is not needed on the Mac | |
| 231 # since the framework build phase will copy them into the framework | |
| 232 # bundle directly. | |
| 233 'copies': [ | |
| 234 { | |
| 235 'destination': '<(PRODUCT_DIR)', | |
| 236 'files': [ | |
| 237 '<(grit_out_dir)/theme_resources_standard.pak', | |
| 238 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resource
s_standard.pak', | |
| 239 ], | |
| 240 }, | |
| 241 ], | |
| 242 }], | |
| 243 ['OS != "mac" and enable_hidpi == 1', { | |
| 244 'copies': [ | |
| 245 { | |
| 246 'destination': '<(PRODUCT_DIR)', | |
| 247 'files': [ | |
| 248 '<(grit_out_dir)/theme_resources_2x.pak', | |
| 249 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_2x/ui_resources_2x.p
ak', | |
| 250 ], | |
| 251 }, | |
| 252 ], | |
| 253 }], | |
| 254 ], | |
| 255 }, | 222 }, |
| 256 { | 223 { |
| 257 'target_name': 'packed_extra_resources', | 224 'target_name': 'packed_extra_resources', |
| 258 'type': 'none', | 225 'type': 'none', |
| 259 'variables': { | 226 'variables': { |
| 260 'repack_path': '../tools/grit/grit/format/repack.py', | 227 'repack_path': '../tools/grit/grit/format/repack.py', |
| 261 }, | 228 }, |
| 262 'dependencies': [ | 229 'dependencies': [ |
| 263 'chrome_extra_resources', | 230 'chrome_extra_resources', |
| 264 ], | 231 ], |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 'files': ['<@(default_apps_list)'] | 322 'files': ['<@(default_apps_list)'] |
| 356 }, | 323 }, |
| 357 ], | 324 ], |
| 358 }], | 325 }], |
| 359 ], # conditions | 326 ], # conditions |
| 360 }], # end OS != "mac" | 327 }], # end OS != "mac" |
| 361 ], # conditions | 328 ], # conditions |
| 362 }, | 329 }, |
| 363 ], # targets | 330 ], # targets |
| 364 } | 331 } |
| OLD | NEW |