| 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 '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 28 matching lines...) Expand all Loading... |
| 39 "GLX_INDIRECT_RENDERING", | 39 "GLX_INDIRECT_RENDERING", |
| 40 "GLX_DIRECT_RENDERING", | 40 "GLX_DIRECT_RENDERING", |
| 41 "USE_EXTERNAL_DXTN_LIB=1", | 41 "USE_EXTERNAL_DXTN_LIB=1", |
| 42 "IN_DRI_DRIVER", | 42 "IN_DRI_DRIVER", |
| 43 "HAVE_ALIAS", | 43 "HAVE_ALIAS", |
| 44 "HAVE_MINCORE", | 44 "HAVE_MINCORE", |
| 45 "HAVE_LIBUDEV", | 45 "HAVE_LIBUDEV", |
| 46 "_GLAPI_NO_EXPORTS", | 46 "_GLAPI_NO_EXPORTS", |
| 47 ], | 47 ], |
| 48 'conditions': [ | 48 'conditions': [ |
| 49 ['OS == "linux" or OS == "android"', { | 49 ['OS=="android"', { |
| 50 'defines': [ |
| 51 '__GLIBC__', |
| 52 '_GNU_SOURCE', |
| 53 ], |
| 54 }], |
| 55 ['OS=="linux"', { |
| 50 'defines': [ | 56 'defines': [ |
| 51 '_GNU_SOURCE', | 57 '_GNU_SOURCE', |
| 52 ], | 58 ], |
| 53 }], | 59 }], |
| 54 ['os_posix == 1', { | 60 ['os_posix == 1', { |
| 55 'defines': [ | 61 'defines': [ |
| 56 'HAVE_DLOPEN', | 62 'HAVE_DLOPEN', |
| 57 'HAVE_PTHREAD=1', | 63 'HAVE_PTHREAD=1', |
| 58 'HAVE_UNISTD_H=1', | 64 'HAVE_UNISTD_H=1', |
| 59 ], | 65 ], |
| (...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 '<(PRODUCT_DIR)/libosmesa.so', | 740 '<(PRODUCT_DIR)/libosmesa.so', |
| 735 '<(SHARED_LIB_DIR)/libosmesa.so', | 741 '<(SHARED_LIB_DIR)/libosmesa.so', |
| 736 ], | 742 ], |
| 737 }, | 743 }, |
| 738 ], | 744 ], |
| 739 }, | 745 }, |
| 740 ], | 746 ], |
| 741 }], | 747 }], |
| 742 ], | 748 ], |
| 743 } | 749 } |
| OLD | NEW |