| 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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 'outputs': ['<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.
jar'], | 527 'outputs': ['<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.
jar'], |
| 528 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], | 528 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], |
| 529 }, | 529 }, |
| 530 { | 530 { |
| 531 'action_name': 'copy_content_jar', | 531 'action_name': 'copy_content_jar', |
| 532 'inputs': ['<(PRODUCT_DIR)/chromium_content.jar'], | 532 'inputs': ['<(PRODUCT_DIR)/chromium_content.jar'], |
| 533 'outputs': ['<(PRODUCT_DIR)/content_shell/java/libs/chromium_conte
nt.jar'], | 533 'outputs': ['<(PRODUCT_DIR)/content_shell/java/libs/chromium_conte
nt.jar'], |
| 534 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], | 534 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], |
| 535 }, | 535 }, |
| 536 { | 536 { |
| 537 'action_name': 'copy_content_shell_content_view', |
| 538 'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'], |
| 539 'outputs': ['<(PRODUCT_DIR)/content_shell/libs/armeabi/libcontent_
shell_content_view.so'], |
| 540 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], |
| 541 }, |
| 542 { |
| 537 'action_name': 'content_shell_apk', | 543 'action_name': 'content_shell_apk', |
| 538 'inputs': [ | 544 'inputs': [ |
| 539 '<(DEPTH)/content/shell/android/content_shell_apk.xml', | 545 '<(DEPTH)/content/shell/android/content_shell_apk.xml', |
| 540 '<(DEPTH)/content/shell/android/AndroidManifest.xml', | 546 '<(DEPTH)/content/shell/android/AndroidManifest.xml', |
| 541 '<!@(find shell/android/java -name "*.java")', | 547 '<!@(find shell/android/java -name "*.java")', |
| 542 '<!@(find shell/android/res -name "*")', | 548 '<!@(find shell/android/res -name "*")', |
| 543 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.jar', | 549 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.jar', |
| 544 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_content.jar', | 550 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_content.jar', |
| 545 # TODO(tedchoc): Move the .so file so it can be consumed by the
apk. | 551 '<(PRODUCT_DIR)/content_shell/libs/armeabi/libcontent_shell_cont
ent_view.so', |
| 546 '<(SHARED_LIB_DIR)/libcontent_shell_content_view.so', | |
| 547 ], | 552 ], |
| 548 'outputs': [ | 553 'outputs': [ |
| 549 # Awkwardly, we build a Debug APK even when gyp is in | 554 # Awkwardly, we build a Debug APK even when gyp is in |
| 550 # Release mode. I don't think it matters (e.g. we're | 555 # Release mode. I don't think it matters (e.g. we're |
| 551 # probably happy to not codesign) but naming should be | 556 # probably happy to not codesign) but naming should be |
| 552 # fixed. | 557 # fixed. |
| 553 '<(PRODUCT_DIR)/ContentShell-debug.apk', | 558 '<(PRODUCT_DIR)/ContentShell-debug.apk', |
| 554 ], | 559 ], |
| 555 'action': [ | 560 'action': [ |
| 556 'ant', | 561 'ant', |
| 557 '-DPRODUCT_DIR=<(PRODUCT_DIR)', | 562 '-DPRODUCT_DIR=<(PRODUCT_DIR)', |
| 558 '-buildfile', | 563 '-buildfile', |
| 559 '<(DEPTH)/content/shell/android/content_shell_apk.xml', | 564 '<(DEPTH)/content/shell/android/content_shell_apk.xml', |
| 560 ] | 565 ] |
| 561 } | 566 } |
| 562 ], | 567 ], |
| 563 }, | 568 }, |
| 564 ], | 569 ], |
| 565 }], # OS=="android" | 570 }], # OS=="android" |
| 566 ] | 571 ] |
| 567 } | 572 } |
| OLD | NEW |