Chromium Code Reviews| 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 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', | 7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', |
| 8 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt', | 8 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt', |
| 9 'omnibox_mojom_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/ui/webui/om nibox/omnibox.mojom.js', | 9 'omnibox_mojom_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/ui/webui/om nibox/omnibox.mojom.js', |
| 10 }, | 10 }, |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 551 'action_name': 'generate_chrome_unscaled_resources', | 551 'action_name': 'generate_chrome_unscaled_resources', |
| 552 'variables': { | 552 'variables': { |
| 553 'grit_grd_file': 'app/theme/chrome_unscaled_resources.grd', | 553 'grit_grd_file': 'app/theme/chrome_unscaled_resources.grd', |
| 554 }, | 554 }, |
| 555 'includes': [ '../build/grit_action.gypi' ], | 555 'includes': [ '../build/grit_action.gypi' ], |
| 556 }, | 556 }, |
| 557 ], | 557 ], |
| 558 'includes': [ '../build/grit_target.gypi' ], | 558 'includes': [ '../build/grit_target.gypi' ], |
| 559 }, | 559 }, |
| 560 { | 560 { |
| 561 # GN version: //chrome:options_test_resources | |
| 562 'target_name': 'options_test_resources', | |
| 563 'type': 'none', | |
| 564 'actions': [ | |
| 565 { | |
| 566 'action_name': 'generate_options_test_resources', | |
| 567 'variables': { | |
| 568 'grit_grd_file': 'browser/resources/options_test_resources.grd', | |
| 569 }, | |
| 570 'includes': [ '../build/grit_action.gypi' ], | |
| 571 }, | |
| 572 ], | |
| 573 'includes': [ '../build/grit_target.gypi' ], | |
| 574 }, | |
| 575 { | |
| 576 # Create pak file for browser_tests. | |
|
Dan Beam
2014/11/07 19:43:59
unless this is follow a convention, don't see a re
bondd
2014/11/07 20:13:25
Done.
| |
| 577 # | |
| 578 # GN version: //chrome:browser_tests_pak | |
| 579 'target_name': 'browser_tests_pak', | |
| 580 'type': 'none', | |
| 581 'dependencies': [ | |
| 582 'options_test_resources', | |
| 583 ], | |
| 584 'actions': [ | |
| 585 { | |
| 586 'action_name': 'repack_browser_tests_pak', | |
| 587 'variables': { | |
| 588 'pak_inputs': [ | |
| 589 '<(SHARED_INTERMEDIATE_DIR)/chrome/options_test_resources.pak', | |
| 590 ], | |
| 591 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', | |
| 592 }, | |
| 593 'includes': [ '../build/repack_action.gypi' ], | |
| 594 }, | |
| 595 ], | |
| 596 }, | |
| 597 { | |
| 561 # GN version: //chrome/browser:about_credits | 598 # GN version: //chrome/browser:about_credits |
| 562 'target_name': 'about_credits', | 599 'target_name': 'about_credits', |
| 563 'type': 'none', | 600 'type': 'none', |
| 564 'actions': [ | 601 'actions': [ |
| 565 { | 602 { |
| 566 'variables': { | 603 'variables': { |
| 567 'generator_path': '../tools/licenses.py', | 604 'generator_path': '../tools/licenses.py', |
| 568 }, | 605 }, |
| 569 'action_name': 'generate_about_credits', | 606 'action_name': 'generate_about_credits', |
| 570 'inputs': [ | 607 'inputs': [ |
| 571 # TODO(phajdan.jr): make licenses.py print inputs too. | 608 # TODO(phajdan.jr): make licenses.py print inputs too. |
| 572 '<(generator_path)', | 609 '<(generator_path)', |
| 573 ], | 610 ], |
| 574 'outputs': [ | 611 'outputs': [ |
| 575 '<(about_credits_file)', | 612 '<(about_credits_file)', |
| 576 ], | 613 ], |
| 577 'hard_dependency': 1, | 614 'hard_dependency': 1, |
| 578 'action': ['python', | 615 'action': ['python', |
| 579 '<(generator_path)', | 616 '<(generator_path)', |
| 580 'credits', | 617 'credits', |
| 581 '<(about_credits_file)', | 618 '<(about_credits_file)', |
| 582 ], | 619 ], |
| 583 'message': 'Generating about:credits', | 620 'message': 'Generating about:credits', |
| 584 }, | 621 }, |
| 585 ], | 622 ], |
| 586 }, | 623 }, |
| 587 ], # targets | 624 ], # targets |
| 588 } | 625 } |
| OLD | NEW |