OLD | NEW |
1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', | 553 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', |
554 | 554 |
555 # content_extractor is a standalone content extraction tool built as | 555 # content_extractor is a standalone content extraction tool built as |
556 # a MANUAL component_browsertest. | 556 # a MANUAL component_browsertest. |
557 'dom_distiller/standalone/content_extractor.cc', | 557 'dom_distiller/standalone/content_extractor.cc', |
558 ], | 558 ], |
559 'actions': [ | 559 'actions': [ |
560 { | 560 { |
561 'action_name': 'repack_components_pack', | 561 'action_name': 'repack_components_pack', |
562 'variables': { | 562 'variables': { |
563 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', | |
564 'pak_inputs': [ | 563 'pak_inputs': [ |
565 '<(SHARED_INTERMEDIATE_DIR)/components/component_resources.pak
', | 564 '<(SHARED_INTERMEDIATE_DIR)/components/component_resources.pak
', |
566 '<(SHARED_INTERMEDIATE_DIR)/components/strings/component_strin
gs_en-US.pak', | 565 '<(SHARED_INTERMEDIATE_DIR)/components/strings/component_strin
gs_en-US.pak', |
567 ], | 566 ], |
| 567 'pak_output': '<(PRODUCT_DIR)/components_resources.pak', |
568 }, | 568 }, |
569 'inputs': [ | 569 'includes': [ '../build/repack_action.gypi' ], |
570 '<(repack_path)', | |
571 '<@(pak_inputs)', | |
572 ], | |
573 'outputs': [ | |
574 '<(PRODUCT_DIR)/components_resources.pak', | |
575 ], | |
576 'action': ['python', '<(repack_path)', '<@(_outputs)', | |
577 '<@(pak_inputs)'], | |
578 }, | 570 }, |
579 ], | 571 ], |
580 'conditions': [ | 572 'conditions': [ |
581 ['OS=="win"', { | 573 ['OS=="win"', { |
582 'resource_include_dirs': [ | 574 'resource_include_dirs': [ |
583 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 575 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
584 ], | 576 ], |
585 'sources': [ | 577 'sources': [ |
586 '../content/shell/app/resource.h', | 578 '../content/shell/app/resource.h', |
587 '../content/shell/app/shell.rc', | 579 '../content/shell/app/shell.rc', |
(...skipping 29 matching lines...) Expand all Loading... |
617 'dependencies': [ | 609 'dependencies': [ |
618 '../base/allocator/allocator.gyp:allocator', | 610 '../base/allocator/allocator.gyp:allocator', |
619 ], | 611 ], |
620 }], | 612 }], |
621 ], | 613 ], |
622 }, | 614 }, |
623 ], | 615 ], |
624 }], | 616 }], |
625 ], | 617 ], |
626 } | 618 } |
OLD | NEW |