| 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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 }, | 541 }, |
| 542 { | 542 { |
| 543 'action_name': 'copy_content_jar', | 543 'action_name': 'copy_content_jar', |
| 544 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_content.jar'], | 544 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_content.jar'], |
| 545 'outputs': ['<(PRODUCT_DIR)/content_shell/java/libs/chromium_conte
nt.jar'], | 545 'outputs': ['<(PRODUCT_DIR)/content_shell/java/libs/chromium_conte
nt.jar'], |
| 546 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], | 546 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], |
| 547 }, | 547 }, |
| 548 { | 548 { |
| 549 'action_name': 'copy_and_strip_so', | 549 'action_name': 'copy_and_strip_so', |
| 550 'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'], | 550 'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'], |
| 551 'outputs': ['<(PRODUCT_DIR)/content_shell/libs/armeabi/libcontent_
shell_content_view.so'], | 551 'outputs': ['<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/
libcontent_shell_content_view.so'], |
| 552 'action': [ | 552 'action': [ |
| 553 '<!(/bin/echo -n $STRIP)', | 553 '<!(/bin/echo -n $STRIP)', |
| 554 '--strip-unneeded', # All symbols not needed for relocation. | 554 '--strip-unneeded', # All symbols not needed for relocation. |
| 555 '<@(_inputs)', | 555 '<@(_inputs)', |
| 556 '-o', | 556 '-o', |
| 557 '<@(_outputs)' | 557 '<@(_outputs)' |
| 558 ], | 558 ], |
| 559 }, | 559 }, |
| 560 { | 560 { |
| 561 'action_name': 'content_shell_apk', | 561 'action_name': 'content_shell_apk', |
| 562 'inputs': [ | 562 'inputs': [ |
| 563 '<(DEPTH)/content/shell/android/content_shell_apk.xml', | 563 '<(DEPTH)/content/shell/android/content_shell_apk.xml', |
| 564 '<(DEPTH)/content/shell/android/AndroidManifest.xml', | 564 '<(DEPTH)/content/shell/android/AndroidManifest.xml', |
| 565 '<!@(find shell/android/java -name "*.java")', | 565 '<!@(find shell/android/java -name "*.java")', |
| 566 '<!@(find shell/android/res -name "*")', | 566 '<!@(find shell/android/res -name "*")', |
| 567 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.jar', | 567 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.jar', |
| 568 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_net.jar', | 568 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_net.jar', |
| 569 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_media.jar', | 569 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_media.jar', |
| 570 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_content.jar', | 570 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_content.jar', |
| 571 '<(PRODUCT_DIR)/content_shell/libs/armeabi/libcontent_shell_cont
ent_view.so', | 571 '<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/libcontent
_shell_content_view.so', |
| 572 ], | 572 ], |
| 573 'outputs': [ | 573 'outputs': [ |
| 574 # Awkwardly, we build a Debug APK even when gyp is in | 574 # Awkwardly, we build a Debug APK even when gyp is in |
| 575 # Release mode. I don't think it matters (e.g. we're | 575 # Release mode. I don't think it matters (e.g. we're |
| 576 # probably happy to not codesign) but naming should be | 576 # probably happy to not codesign) but naming should be |
| 577 # fixed. | 577 # fixed. |
| 578 '<(PRODUCT_DIR)/ContentShell-debug.apk', | 578 '<(PRODUCT_DIR)/ContentShell-debug.apk', |
| 579 ], | 579 ], |
| 580 'action': [ | 580 'action': [ |
| 581 'ant', | 581 'ant', |
| 582 '-DPRODUCT_DIR=<(PRODUCT_DIR)', | 582 '-DPRODUCT_DIR=<(PRODUCT_DIR)', |
| 583 '-DAPP_ABI=<(android_app_abi)', |
| 583 '-buildfile', | 584 '-buildfile', |
| 584 '<(DEPTH)/content/shell/android/content_shell_apk.xml', | 585 '<(DEPTH)/content/shell/android/content_shell_apk.xml', |
| 585 ] | 586 ] |
| 586 } | 587 } |
| 587 ], | 588 ], |
| 588 }, | 589 }, |
| 589 ], | 590 ], |
| 590 }], # OS=="android" | 591 }], # OS=="android" |
| 591 ] | 592 ] |
| 592 } | 593 } |
| OLD | NEW |