| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 { | 230 { |
| 231 'target_name': 'theme_resources', | 231 'target_name': 'theme_resources', |
| 232 'type': 'none', | 232 'type': 'none', |
| 233 'dependencies': [ | 233 'dependencies': [ |
| 234 'theme_resources_gen', | 234 'theme_resources_gen', |
| 235 '<(DEPTH)/ui/ui.gyp:ui_resources_2x', | 235 '<(DEPTH)/ui/ui.gyp:ui_resources_2x', |
| 236 '<(DEPTH)/ui/ui.gyp:ui_resources_standard', | 236 '<(DEPTH)/ui/ui.gyp:ui_resources_standard', |
| 237 '<(DEPTH)/ui/ui.gyp:ui_resources_touch', | 237 '<(DEPTH)/ui/ui.gyp:ui_resources_touch', |
| 238 ], | 238 ], |
| 239 'conditions': [ | 239 'conditions': [ |
| 240 ['chromeos==1', { | |
| 241 'copies': [ | |
| 242 { | |
| 243 'destination': '<(PRODUCT_DIR)', | |
| 244 'files': [ | |
| 245 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_touch/ui_resources_t
ouch.pak', | |
| 246 ], | |
| 247 }, | |
| 248 ], | |
| 249 }], | |
| 250 ['OS != "mac"', { | 240 ['OS != "mac"', { |
| 251 # Copy pak files to the product directory. These files will be picked | 241 # Copy pak files to the product directory. These files will be picked |
| 252 # up by the following installer scripts: | 242 # up by the following installer scripts: |
| 253 # - Windows: chrome/installer/mini_installer/chrome.release | 243 # - Windows: chrome/installer/mini_installer/chrome.release |
| 254 # - Linux: chrome/installer/linux/internal/common/installer.include | 244 # - Linux: chrome/installer/linux/internal/common/installer.include |
| 255 # Ensure that the above scripts are updated when adding or removing | 245 # Ensure that the above scripts are updated when adding or removing |
| 256 # pak files. | 246 # pak files. |
| 257 # Coping files to the product directory is not needed on the Mac | 247 # Copying files to the product directory is not needed on the Mac |
| 258 # since the framework build phase will copy them into the framework | 248 # since the framework build phase will copy them into the framework |
| 259 # bundle directly. | 249 # bundle directly. |
| 260 'copies': [ | 250 'copies': [ |
| 261 { | 251 { |
| 262 'destination': '<(PRODUCT_DIR)', | 252 'destination': '<(PRODUCT_DIR)', |
| 263 'files': [ | 253 'files': [ |
| 264 '<(grit_out_dir)/theme_resources_standard.pak', | 254 '<(grit_out_dir)/theme_resources_standard.pak', |
| 265 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resource
s_standard.pak', | 255 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resource
s_standard.pak', |
| 266 ], | 256 ], |
| 267 }, | 257 }, |
| 268 ], | 258 ], |
| 269 }], | 259 }], |
| 270 ['OS != "mac" and enable_hidpi == 1', { | 260 ['OS != "mac" and enable_hidpi == 1', { |
| 271 'copies': [ | 261 'copies': [ |
| 272 { | 262 { |
| 273 'destination': '<(PRODUCT_DIR)', | 263 'destination': '<(PRODUCT_DIR)', |
| 274 'files': [ | 264 'files': [ |
| 275 '<(grit_out_dir)/theme_resources_2x.pak', | 265 '<(grit_out_dir)/theme_resources_2x.pak', |
| 276 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_2x/ui_resources_2x.p
ak', | 266 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_2x/ui_resources_2x.p
ak', |
| 277 ], | 267 ], |
| 278 }, | 268 }, |
| 279 ], | 269 ], |
| 280 }], | 270 }], |
| 281 ['enable_metro == 1', { | 271 ['enable_touch_ui==1', { |
| 282 'copies': [ | 272 'copies': [ |
| 283 { | 273 { |
| 284 'destination': '<(PRODUCT_DIR)', | 274 'destination': '<(PRODUCT_DIR)', |
| 285 'files': [ | 275 'files': [ |
| 286 '<(grit_out_dir)/theme_resources_touch_1x.pak', | 276 '<(grit_out_dir)/theme_resources_touch_1x.pak', |
| 277 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_touch/ui_resources_t
ouch.pak', |
| 287 ], | 278 ], |
| 288 }, | 279 }, |
| 289 ], | 280 ], |
| 290 }], | 281 }], |
| 291 ], | 282 ], |
| 292 }, | 283 }, |
| 293 { | 284 { |
| 294 'target_name': 'packed_extra_resources', | 285 'target_name': 'packed_extra_resources', |
| 295 'type': 'none', | 286 'type': 'none', |
| 296 'variables': { | 287 'variables': { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 'files': ['<@(default_apps_list)'] | 381 'files': ['<@(default_apps_list)'] |
| 391 }, | 382 }, |
| 392 ], | 383 ], |
| 393 }], | 384 }], |
| 394 ], # conditions | 385 ], # conditions |
| 395 }], # end OS != "mac" | 386 }], # end OS != "mac" |
| 396 ], # conditions | 387 ], # conditions |
| 397 }, | 388 }, |
| 398 ], # targets | 389 ], # targets |
| 399 } | 390 } |
| OLD | NEW |