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', | 537 'action_name': 'copy_and_strip_so', |
538 'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'], | 538 'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'], |
539 'outputs': ['<(PRODUCT_DIR)/content_shell/libs/armeabi/libcontent_
shell_content_view.so'], | 539 'outputs': ['<(PRODUCT_DIR)/content_shell/libs/armeabi/libcontent_
shell_content_view.so'], |
540 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], | 540 'action': [ |
| 541 '<!(/bin/echo -n $STRIP)', |
| 542 '--strip-unneeded', # All symbols not needed for relocation. |
| 543 '<@(_inputs)', |
| 544 '-o', |
| 545 '<@(_outputs)' |
| 546 ], |
541 }, | 547 }, |
542 { | 548 { |
543 'action_name': 'content_shell_apk', | 549 'action_name': 'content_shell_apk', |
544 'inputs': [ | 550 'inputs': [ |
545 '<(DEPTH)/content/shell/android/content_shell_apk.xml', | 551 '<(DEPTH)/content/shell/android/content_shell_apk.xml', |
546 '<(DEPTH)/content/shell/android/AndroidManifest.xml', | 552 '<(DEPTH)/content/shell/android/AndroidManifest.xml', |
547 '<!@(find shell/android/java -name "*.java")', | 553 '<!@(find shell/android/java -name "*.java")', |
548 '<!@(find shell/android/res -name "*")', | 554 '<!@(find shell/android/res -name "*")', |
549 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.jar', | 555 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_base.jar', |
550 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_content.jar', | 556 '<(PRODUCT_DIR)/content_shell/java/libs/chromium_content.jar', |
(...skipping 12 matching lines...) Expand all Loading... |
563 '-buildfile', | 569 '-buildfile', |
564 '<(DEPTH)/content/shell/android/content_shell_apk.xml', | 570 '<(DEPTH)/content/shell/android/content_shell_apk.xml', |
565 ] | 571 ] |
566 } | 572 } |
567 ], | 573 ], |
568 }, | 574 }, |
569 ], | 575 ], |
570 }], # OS=="android" | 576 }], # OS=="android" |
571 ] | 577 ] |
572 } | 578 } |
OLD | NEW |