OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 7 'conditions': [ |
8 ['inside_chromium_build==0', { | 8 ['inside_chromium_build==0', { |
9 'webkit_src_dir': '../../../../..', | 9 'webkit_src_dir': '../../../../..', |
10 },{ | 10 },{ |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 ], | 563 ], |
564 }], | 564 }], |
565 ['inside_chromium_build==0', { | 565 ['inside_chromium_build==0', { |
566 'dependencies': [ | 566 'dependencies': [ |
567 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | 567 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', |
568 ], | 568 ], |
569 }], | 569 }], |
570 ], | 570 ], |
571 }, | 571 }, |
572 ], | 572 ], |
| 573 'conditions': [ |
| 574 ['use_third_party_translations==1', { |
| 575 'targets': [ |
| 576 { |
| 577 'target_name': 'inspector_strings', |
| 578 'type': 'none', |
| 579 'variables': { |
| 580 'grit_out_dir': '<(PRODUCT_DIR)/resources/inspector/l10n', |
| 581 }, |
| 582 'actions': [ |
| 583 { |
| 584 'action_name': 'inspector_strings', |
| 585 'variables': { |
| 586 'input_path': './inspector_strings.grd', |
| 587 }, |
| 588 'inputs': [ |
| 589 '<!@(<(grit_info_cmd) --inputs <(input_path))', |
| 590 ], |
| 591 'outputs': [ |
| 592 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(input_path
))', |
| 593 ], |
| 594 'action': ['<@(grit_cmd)', |
| 595 '-i', '<(input_path)', 'build', |
| 596 '-o', '<(grit_out_dir)', |
| 597 '<@(grit_defines)'], |
| 598 'message': 'Generating resources from <(input_path)', |
| 599 }, |
| 600 ], |
| 601 'conditions': [ |
| 602 ['OS=="win"', { |
| 603 'dependencies': ['<(DEPTH)/build/win/system.gyp:cygwin'], |
| 604 }], |
| 605 ], |
| 606 }, |
| 607 ], |
| 608 }], |
| 609 ], |
573 } | 610 } |
OLD | NEW |