| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'content_shell_product_name': 'Content Shell', | 7 'content_shell_product_name': 'Content Shell', |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 '<(android_strip)', | 624 '<(android_strip)', |
| 625 '--strip-unneeded', # All symbols not needed for relocation. | 625 '--strip-unneeded', # All symbols not needed for relocation. |
| 626 '<@(_inputs)', | 626 '<@(_inputs)', |
| 627 '-o', | 627 '-o', |
| 628 '<@(_outputs)', | 628 '<@(_outputs)', |
| 629 ], | 629 ], |
| 630 }, | 630 }, |
| 631 ], | 631 ], |
| 632 'includes': [ '../build/java_apk.gypi' ], | 632 'includes': [ '../build/java_apk.gypi' ], |
| 633 }, | 633 }, |
| 634 { |
| 635 # content_shell_apk creates a .jar as a side effect. Any java targets |
| 636 # that need that .jar in their classpath should depend on this target, |
| 637 # content_shell_java. |
| 638 'target_name': 'content_shell_java', |
| 639 'type': 'none', |
| 640 'outputs': [ |
| 641 '<(PRODUCT_DIR)/lib.java/chromium_content_shell.jar', |
| 642 ], |
| 643 'dependencies': [ |
| 644 'content_java', |
| 645 'content_shell_apk', |
| 646 '../base/base.gyp:base_java', |
| 647 '../media/media.gyp:media_java', |
| 648 '../net/net.gyp:net_java', |
| 649 '../ui/ui.gyp:ui_java', |
| 650 ], |
| 651 'export_dependent_settings': [ |
| 652 'content_java', |
| 653 '../base/base.gyp:base_java', |
| 654 '../media/media.gyp:media_java', |
| 655 '../net/net.gyp:net_java', |
| 656 '../ui/ui.gyp:ui_java', |
| 657 ], |
| 658 'direct_dependent_settings': { |
| 659 'variables': { |
| 660 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_content_she
ll.jar'], |
| 661 }, |
| 662 }, |
| 663 # Add an action with the appropriate output. This allows the generated |
| 664 # buildfiles to determine which target the output corresponds to. |
| 665 'actions': [ |
| 666 { |
| 667 'action_name': 'fake_generate_jar', |
| 668 'inputs': [], |
| 669 'outputs': ['<(PRODUCT_DIR)/lib.java/chromium_content_shell.jar'], |
| 670 'action': [], |
| 671 }, |
| 672 ], |
| 673 }, |
| 634 ], | 674 ], |
| 635 }], # OS=="android" | 675 }], # OS=="android" |
| 636 ] | 676 ] |
| 637 } | 677 } |
| OLD | NEW |