Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: content/content_shell.gypi

Issue 23868030: Make it possible to use OSMesa on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 'target_name': 'content_shell_apk', 720 'target_name': 'content_shell_apk',
721 'type': 'none', 721 'type': 'none',
722 'dependencies': [ 722 'dependencies': [
723 'content_java', 723 'content_java',
724 'content_java_test_support', 724 'content_java_test_support',
725 'content_shell_java', 725 'content_shell_java',
726 'libcontent_shell_content_view', 726 'libcontent_shell_content_view',
727 '../base/base.gyp:base_java', 727 '../base/base.gyp:base_java',
728 '../media/media.gyp:media_java', 728 '../media/media.gyp:media_java',
729 '../net/net.gyp:net_java', 729 '../net/net.gyp:net_java',
730 '../third_party/mesa/mesa.gyp:osmesa',
730 '../tools/android/forwarder/forwarder.gyp:forwarder', 731 '../tools/android/forwarder/forwarder.gyp:forwarder',
731 '../tools/android/md5sum/md5sum.gyp:md5sum', 732 '../tools/android/md5sum/md5sum.gyp:md5sum',
732 '../ui/ui.gyp:ui_java', 733 '../ui/ui.gyp:ui_java',
733 ], 734 ],
734 'variables': { 735 'variables': {
735 'apk_name': 'ContentShell', 736 'apk_name': 'ContentShell',
736 'manifest_package_name': 'org.chromium.content_shell_apk', 737 'manifest_package_name': 'org.chromium.content_shell_apk',
737 'java_in_dir': 'shell/android/shell_apk', 738 'java_in_dir': 'shell/android/shell_apk',
738 'resource_dir': 'shell/android/shell_apk/res', 739 'resource_dir': 'shell/android/shell_apk/res',
739 'native_lib_target': 'libcontent_shell_content_view', 740 'native_lib_target': 'libcontent_shell_content_view',
740 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 741 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
741 'asset_location': '<(ant_build_out)/content_shell/assets', 742 'asset_location': '<(ant_build_out)/content_shell/assets',
743 'extra_native_libs': ['<(SHARED_LIB_DIR)/libosmesa.so'],
742 }, 744 },
745 'actions': [
746 {
747 # Copy libosmesa.so to the out/$BUILDTYPE/lib/ directory. The
748 # write_ordered_libraries.py script requires it to be in that
749 # directory, because otherwise it will be seen as a system lib
750 # which causes it to not be stripped.
751 'action_name': 'copy_libosmesa',
752 'inputs': ['<(PRODUCT_DIR)/libosmesa.so'],
753 'outputs': ['<(SHARED_LIB_DIR)/libosmesa.so'],
754 'action': [
755 'cp',
756 '<(PRODUCT_DIR)/libosmesa.so',
757 '<(SHARED_LIB_DIR)/libosmesa.so',
758 ],
759 },
760 ],
743 'conditions': [ 761 'conditions': [
744 ['android_webview_build==0', { 762 ['android_webview_build==0', {
745 'dependencies': [ 763 'dependencies': [
746 '../tools/imagediff/image_diff.gyp:image_diff#host', 764 '../tools/imagediff/image_diff.gyp:image_diff#host',
747 ], 765 ],
748 }], 766 }],
749 ], 767 ],
750 'includes': [ '../build/java_apk.gypi' ], 768 'includes': [ '../build/java_apk.gypi' ],
751 }, 769 },
752 ], 770 ],
753 }], # OS=="android" 771 }], # OS=="android"
754 ] 772 ]
755 } 773 }
OLDNEW
« no previous file with comments | « no previous file | content/shell/app/shell_main_delegate.cc » ('j') | ui/gl/gl_implementation_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698