| 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 }, | 571 }, |
| 572 { | 572 { |
| 573 'action_name': 'copy_and_strip_so', | 573 'action_name': 'copy_and_strip_so', |
| 574 'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'], | 574 'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'], |
| 575 'outputs': ['<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/
libcontent_shell_content_view.so'], | 575 'outputs': ['<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/
libcontent_shell_content_view.so'], |
| 576 'action': [ | 576 'action': [ |
| 577 '<!(/bin/echo -n $STRIP)', | 577 '<!(/bin/echo -n $STRIP)', |
| 578 '--strip-unneeded', # All symbols not needed for relocation. | 578 '--strip-unneeded', # All symbols not needed for relocation. |
| 579 '<@(_inputs)', | 579 '<@(_inputs)', |
| 580 '-o', | 580 '-o', |
| 581 '<@(_outputs)' | 581 '<@(_outputs)', |
| 582 ], | 582 ], |
| 583 }, | 583 }, |
| 584 { | 584 { |
| 585 'action_name': 'content_shell_apk', | 585 'action_name': 'content_shell_apk', |
| 586 'inputs': [ | 586 'inputs': [ |
| 587 '<(DEPTH)/content/shell/android/java/content_shell_apk.xml', | 587 '<(DEPTH)/content/shell/android/java/content_shell_apk.xml', |
| 588 '<(DEPTH)/content/shell/android/AndroidManifest.xml', | 588 '<(DEPTH)/content/shell/android/AndroidManifest.xml', |
| 589 '<!@(find shell/android/java -name "*.java")', | 589 '<!@(find shell/android/java -name "*.java")', |
| 590 '<!@(find shell/android/res -name "*")', | 590 '<!@(find shell/android/res -name "*")', |
| 591 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.jar', | 591 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.jar', |
| 592 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_net.jar', | 592 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_net.jar', |
| 593 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_media.jar', | 593 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_media.jar', |
| 594 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_content.jar', | 594 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_content.jar', |
| 595 '<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/libcontent
_shell_content_view.so', | 595 '<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/libcontent
_shell_content_view.so', |
| 596 ], | 596 ], |
| 597 'outputs': [ | 597 'outputs': [ |
| 598 # Awkwardly, we build a Debug APK even when gyp is in | 598 # Awkwardly, we build a Debug APK even when gyp is in |
| 599 # Release mode. I don't think it matters (e.g. we're | 599 # Release mode. I don't think it matters (e.g. we're |
| 600 # probably happy to not codesign) but naming should be | 600 # probably happy to not codesign) but naming should be |
| 601 # fixed. | 601 # fixed. |
| 602 '<(PRODUCT_DIR)/ContentShell-debug.apk', | 602 '<(PRODUCT_DIR)/content_shell/ContentShell-debug.apk', |
| 603 ], | 603 ], |
| 604 'action': [ | 604 'action': [ |
| 605 'ant', | 605 'ant', |
| 606 '-DPRODUCT_DIR=<(ant_build_out)', | 606 '-DPRODUCT_DIR=<(ant_build_out)', |
| 607 '-DAPP_ABI=<(android_app_abi)', | 607 '-DAPP_ABI=<(android_app_abi)', |
| 608 '-buildfile', | 608 '-buildfile', |
| 609 '<(DEPTH)/content/shell/android/java/content_shell_apk.xml', | 609 '<(DEPTH)/content/shell/android/java/content_shell_apk.xml', |
| 610 ] | 610 ] |
| 611 } | 611 } |
| 612 ], | 612 ], |
| 613 }, | 613 }, |
| 614 { |
| 615 'target_name': 'content_shell_test_apk', |
| 616 'type': 'none', |
| 617 'dependencies': [ |
| 618 'content_shell_apk', |
| 619 ], |
| 620 'actions': [ |
| 621 { |
| 622 'action_name': 'content_shell_test_generate_apk', |
| 623 'inputs': [ |
| 624 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
| 625 '<(DEPTH)/content/shell/android/javatests/AndroidManifest.xml', |
| 626 ], |
| 627 'outputs': [ |
| 628 '<(PRODUCT_DIR)/content_shell_test/ContentShellTest-debug.apk', |
| 629 ], |
| 630 'action': [ |
| 631 'ant', |
| 632 '-DPRODUCT_DIR=<(ant_build_out)', |
| 633 '-DAPP_ABI=<(android_app_abi)', |
| 634 '-buildfile', |
| 635 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
| 636 ] |
| 637 } |
| 638 ], |
| 639 }, |
| 614 ], | 640 ], |
| 615 }], # OS=="android" | 641 }], # OS=="android" |
| 616 ] | 642 ] |
| 617 } | 643 } |
| OLD | NEW |