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