Chromium Code Reviews| 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 # The "19" is so that sites that sniff for version think that this is | 8 # The "19" is so that sites that sniff for version think that this is |
| 9 # something reasonably current; the "77.34.5" is a hint that this isn't a | 9 # something reasonably current; the "77.34.5" is a hint that this isn't a |
| 10 # standard Chrome. | 10 # standard Chrome. |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 834 'target_name': 'content_shell_apk', | 834 'target_name': 'content_shell_apk', |
| 835 'type': 'none', | 835 'type': 'none', |
| 836 'dependencies': [ | 836 'dependencies': [ |
| 837 'content.gyp:content_java', | 837 'content.gyp:content_java', |
| 838 'content_java_test_support', | 838 'content_java_test_support', |
| 839 'content_shell_java', | 839 'content_shell_java', |
| 840 'libcontent_shell_content_view', | 840 'libcontent_shell_content_view', |
| 841 '../base/base.gyp:base_java', | 841 '../base/base.gyp:base_java', |
| 842 '../media/media.gyp:media_java', | 842 '../media/media.gyp:media_java', |
| 843 '../net/net.gyp:net_java', | 843 '../net/net.gyp:net_java', |
| 844 '../third_party/mesa/mesa.gyp:osmesa', | |
| 844 '../tools/android/forwarder/forwarder.gyp:forwarder', | 845 '../tools/android/forwarder/forwarder.gyp:forwarder', |
| 845 '../ui/ui.gyp:ui_java', | 846 '../ui/ui.gyp:ui_java', |
| 846 ], | 847 ], |
| 847 'variables': { | 848 'variables': { |
| 848 'apk_name': 'ContentShell', | 849 'apk_name': 'ContentShell', |
| 849 'manifest_package_name': 'org.chromium.content_shell_apk', | 850 'manifest_package_name': 'org.chromium.content_shell_apk', |
| 850 'java_in_dir': 'shell/android/shell_apk', | 851 'java_in_dir': 'shell/android/shell_apk', |
| 851 'resource_dir': 'shell/android/shell_apk/res', | 852 'resource_dir': 'shell/android/shell_apk/res', |
| 852 'native_lib_target': 'libcontent_shell_content_view', | 853 'native_lib_target': 'libcontent_shell_content_view', |
| 853 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], | 854 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], |
| 854 'asset_location': '<(ant_build_out)/content_shell/assets', | 855 'asset_location': '<(ant_build_out)/content_shell/assets', |
| 856 'extra_native_libs': ['<(SHARED_LIB_DIR)/libosmesa.so'], | |
| 855 }, | 857 }, |
| 858 'actions': [ | |
| 859 { | |
|
no sievers
2013/11/11 20:20:05
Can this somehow move to the libosmesa target itse
| |
| 860 # Copy libosmesa.so to the out/$BUILDTYPE/lib/ directory. The | |
| 861 # write_ordered_libraries.py script requires it to be in that | |
| 862 # directory, because otherwise it will be seen as a system lib | |
| 863 # which causes it to not be stripped. | |
| 864 'action_name': 'copy_libosmesa', | |
| 865 'inputs': ['<(PRODUCT_DIR)/libosmesa.so'], | |
| 866 'outputs': ['<(SHARED_LIB_DIR)/libosmesa.so'], | |
| 867 'action': [ | |
| 868 'cp', | |
| 869 '<(PRODUCT_DIR)/libosmesa.so', | |
| 870 '<(SHARED_LIB_DIR)/libosmesa.so', | |
| 871 ], | |
| 872 }, | |
| 873 ], | |
| 856 'conditions': [ | 874 'conditions': [ |
| 857 ['android_webview_build==0', { | 875 ['android_webview_build==0', { |
| 858 'dependencies': [ | 876 'dependencies': [ |
| 859 '../tools/imagediff/image_diff.gyp:image_diff#host', | 877 '../tools/imagediff/image_diff.gyp:image_diff#host', |
| 860 ], | 878 ], |
| 861 }], | 879 }], |
| 862 ], | 880 ], |
| 863 'includes': [ '../build/java_apk.gypi' ], | 881 'includes': [ '../build/java_apk.gypi' ], |
| 864 }, | 882 }, |
| 865 ], | 883 ], |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 893 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', | 911 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
| 894 '--destination_dir', '<(dest_dir)', | 912 '--destination_dir', '<(dest_dir)', |
| 895 ], | 913 ], |
| 896 }, | 914 }, |
| 897 ], | 915 ], |
| 898 }, | 916 }, |
| 899 ], | 917 ], |
| 900 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" | 918 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
| 901 ] | 919 ] |
| 902 } | 920 } |
| OLD | NEW |