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

Side by Side Diff: third_party/mesa/mesa.gyp

Issue 23868030: Make it possible to use OSMesa on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « gpu/command_buffer/service/async_pixel_transfer_manager_android.cc ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'generated_src_dir': 'src/chromium_gensrc', 7 'generated_src_dir': 'src/chromium_gensrc',
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'defines': [ 10 'defines': [
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 'sources': [ 804 'sources': [
805 'src/src/mesa/drivers/common/driverfuncs.c', 805 'src/src/mesa/drivers/common/driverfuncs.c',
806 'src/src/mesa/drivers/common/driverfuncs.h', 806 'src/src/mesa/drivers/common/driverfuncs.h',
807 'src/src/mesa/drivers/common/meta.c', 807 'src/src/mesa/drivers/common/meta.c',
808 'src/src/mesa/drivers/common/meta.h', 808 'src/src/mesa/drivers/common/meta.h',
809 'src/src/mesa/drivers/osmesa/osmesa.c', 809 'src/src/mesa/drivers/osmesa/osmesa.c',
810 'src/src/mesa/drivers/osmesa/osmesa.def', 810 'src/src/mesa/drivers/osmesa/osmesa.def',
811 ], 811 ],
812 }, 812 },
813 ], 813 ],
814 'conditions': [
815 ['OS=="android"', {
816 'targets': [
817 {
818 # Copies libosmesa.so to the out/$BUILDTYPE/lib/ directory so that
819 # the write_ordered_libraries.py script won't assume it to be a
820 # system library. This will cause the library to be stripped allowing
821 # targets to embed it in the to-be-generated APK.
822 'target_name': 'osmesa_in_lib_dir',
823 'type': 'none',
824 'dependencies': [
825 'osmesa',
826 ],
827 'actions': [
828 {
829 'action_name': 'copy_libosmesa',
830 'inputs': ['<(PRODUCT_DIR)/libosmesa.so'],
831 'outputs': ['<(SHARED_LIB_DIR)/libosmesa.so'],
832 'action': [
833 'cp',
834 '<(PRODUCT_DIR)/libosmesa.so',
835 '<(SHARED_LIB_DIR)/libosmesa.so',
836 ],
837 },
838 ],
839 },
840 ],
841 }],
842 ],
814 } 843 }
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/async_pixel_transfer_manager_android.cc ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698