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

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

Issue 314473002: Add targets for mesa to the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment out osmesa (still needs work) Created 6 years, 6 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 | « third_party/mesa/BUILD.gn ('k') | no next file » | 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 ['os_posix == 1 and OS != "android"', { 67 ['os_posix == 1 and OS != "android"', {
68 'defines': [ 68 'defines': [
69 'HAVE_POSIX_MEMALIGN', 69 'HAVE_POSIX_MEMALIGN',
70 ], 70 ],
71 }], 71 }],
72 ['os_posix == 1 and OS != "mac" and OS != "android"', { 72 ['os_posix == 1 and OS != "mac" and OS != "android"', {
73 'cflags': [ 73 'cflags': [
74 '-fPIC', 74 '-fPIC',
75 ], 75 ],
76 }], 76 }],
77 ['OS=="win"', {
78 # Pick up emulation headers not supported by Visual Studio.
79 'include_dirs': [
80 'src/include/c99',
81 ],
82 }],
83 ], 77 ],
84 }, 78 },
85 'targets': [ 79 'targets': [
86 { 80 {
87 'target_name': 'mesa_headers', 81 'target_name': 'mesa_headers',
88 'type': 'none', 82 'type': 'none',
89 'direct_dependent_settings': { 83 'direct_dependent_settings': {
90 'include_dirs': [ 84 'include_dirs': [
91 'src/include', 85 'src/include',
92 ], 86 ],
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 '<(PRODUCT_DIR)/libosmesa.so', 822 '<(PRODUCT_DIR)/libosmesa.so',
829 '<(SHARED_LIB_DIR)/libosmesa.so', 823 '<(SHARED_LIB_DIR)/libosmesa.so',
830 ], 824 ],
831 }, 825 },
832 ], 826 ],
833 }, 827 },
834 ], 828 ],
835 }], 829 }],
836 ], 830 ],
837 } 831 }
OLDNEW
« no previous file with comments | « third_party/mesa/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698