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=="android"', { | 49 ['OS == "linux" or OS == "android"', { |
50 'defines': [ | |
51 '__GLIBC__', | |
52 '_GNU_SOURCE', | |
53 ], | |
54 }], | |
55 ['OS=="linux"', { | |
56 'defines': [ | 50 'defines': [ |
57 '_GNU_SOURCE', | 51 '_GNU_SOURCE', |
58 ], | 52 ], |
59 }], | 53 }], |
60 ['os_posix == 1', { | 54 ['os_posix == 1', { |
61 'defines': [ | 55 'defines': [ |
62 'HAVE_DLOPEN', | 56 'HAVE_DLOPEN', |
63 'HAVE_PTHREAD=1', | 57 'HAVE_PTHREAD=1', |
64 'HAVE_UNISTD_H=1', | 58 'HAVE_UNISTD_H=1', |
65 ], | 59 ], |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 '<(PRODUCT_DIR)/libosmesa.so', | 727 '<(PRODUCT_DIR)/libosmesa.so', |
734 '<(SHARED_LIB_DIR)/libosmesa.so', | 728 '<(SHARED_LIB_DIR)/libosmesa.so', |
735 ], | 729 ], |
736 }, | 730 }, |
737 ], | 731 ], |
738 }, | 732 }, |
739 ], | 733 ], |
740 }], | 734 }], |
741 ], | 735 ], |
742 } | 736 } |
OLD | NEW |