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

Side by Side Diff: third_party/mesa/BUILD.gn

Issue 419913003: Make content_shell link in the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Android spelling Created 6 years, 4 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 | « media/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 config("mesa_headers_config") { 7 config("mesa_headers_config") {
8 include_dirs = [ "src/include" ] 8 include_dirs = [ "src/include" ]
9 if (use_x11) { 9 if (use_x11) {
10 defines = [ "MESA_EGL_NO_X11_HEADERS" ] 10 defines = [ "MESA_EGL_NO_X11_HEADERS" ]
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 ] 227 ]
228 228
229 configs -= [ 229 configs -= [
230 "//build/config/compiler:chromium_code", 230 "//build/config/compiler:chromium_code",
231 ] 231 ]
232 configs += [ 232 configs += [
233 ":mesa_internal_config", 233 ":mesa_internal_config",
234 "//build/config/compiler:no_chromium_code", 234 "//build/config/compiler:no_chromium_code",
235 ] 235 ]
236 236
237 if (is_clang) {
238 # Mesa triggers some of these Clang warnings.
239 configs -= [ "//build/config/clang:extra_warnings" ]
240 }
241
237 deps = [ 242 deps = [
238 ":mesa_headers", 243 ":mesa_headers",
239 ] 244 ]
240 } 245 }
241 246
242 static_library("mesa") { 247 static_library("mesa") {
243 sources = [ 248 sources = [
244 "$generated_src_dir/mesa/builtin_function.cpp", 249 "$generated_src_dir/mesa/builtin_function.cpp",
245 "$generated_src_dir/mesa/glapi_mapi_tmp_shared.h", 250 "$generated_src_dir/mesa/glapi_mapi_tmp_shared.h",
246 "src/src/mapi/mapi/entry.c", 251 "src/src/mapi/mapi/entry.c",
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 deps = [ 677 deps = [
673 ":mesa_headers", 678 ":mesa_headers",
674 ":mesa", 679 ":mesa",
675 ":mesa_libglslcommon", 680 ":mesa_libglslcommon",
676 ] 681 ]
677 } 682 }
678 683
679 } # !is_android 684 } # !is_android
680 685
681 # TODO(GYP) Android osmesa_in_lib_dir target. 686 # TODO(GYP) Android osmesa_in_lib_dir target.
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698