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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 'dependencies': [ | 643 'dependencies': [ |
644 'content_java', | 644 'content_java', |
645 '../base/base.gyp:base_java', | 645 '../base/base.gyp:base_java', |
646 '../media/media.gyp:media_java', | 646 '../media/media.gyp:media_java', |
647 '../net/net.gyp:net_java', | 647 '../net/net.gyp:net_java', |
648 '../ui/ui.gyp:ui_java', | 648 '../ui/ui.gyp:ui_java', |
649 ], | 649 ], |
650 'variables': { | 650 'variables': { |
651 'package_name': 'content_shell', | 651 'package_name': 'content_shell', |
652 'apk_name': 'ContentShell', | 652 'apk_name': 'ContentShell', |
| 653 'manifest_package_name': 'org.chromium.content_shell', |
653 'java_in_dir': 'shell/android/java', | 654 'java_in_dir': 'shell/android/java', |
654 # TODO(cjhopman): The resource directory of all apks should be in | 655 # TODO(cjhopman): The resource directory of all apks should be in |
655 # <java_in_dir>/res. | 656 # <java_in_dir>/res. |
656 'resource_dir': '../res', | 657 'resource_dir': '../res', |
657 'native_libs_paths': ['<(PRODUCT_DIR)/content_shell/libs/<(android_a
pp_abi)/libcontent_shell_content_view.so'], | 658 'native_libs_paths': ['<(SHARED_LIB_DIR)/libcontent_shell_content_vi
ew.so'], |
658 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont
ent_shell.pak'], | 659 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont
ent_shell.pak'], |
659 }, | 660 }, |
660 'actions': [ | |
661 { | |
662 'action_name': 'copy_and_strip_so', | |
663 'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'], | |
664 'outputs': ['<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/
libcontent_shell_content_view.so'], | |
665 'action': [ | |
666 '<(android_strip)', | |
667 '--strip-unneeded', # All symbols not needed for relocation. | |
668 '<@(_inputs)', | |
669 '-o', | |
670 '<@(_outputs)', | |
671 ], | |
672 }, | |
673 ], | |
674 'includes': [ '../build/java_apk.gypi' ], | 661 'includes': [ '../build/java_apk.gypi' ], |
675 }, | 662 }, |
676 ], | 663 ], |
677 }], # OS=="android" | 664 }], # OS=="android" |
678 ] | 665 ] |
679 } | 666 } |
OLD | NEW |