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

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

Issue 311733002: Redo escaping in GN (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments 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
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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 709
710 if (is_android && !is_clang) { 710 if (is_android && !is_clang) {
711 # Disable sincos() optimization to avoid a linker error 711 # Disable sincos() optimization to avoid a linker error
712 # since Android's math library doesn't have sincos(). 712 # since Android's math library doesn't have sincos().
713 # Either -fno-builtin-sin or -fno-builtin-cos works. 713 # Either -fno-builtin-sin or -fno-builtin-cos works.
714 cflags += [ "-fno-builtin-sin" ] 714 cflags += [ "-fno-builtin-sin" ]
715 } 715 }
716 716
717 if (is_win) { 717 if (is_win) {
718 # Because we're building as a static library 718 # Because we're building as a static library
719 defines += [ "_GLAPI_NO_EXPORTS" ] 719 defines = [ "_GLAPI_NO_EXPORTS" ]
720 } 720 }
721 721
722 deps = [ 722 deps = [
723 ":mesa_headers", 723 ":mesa_headers",
724 ":mesa_libglslcommon", 724 ":mesa_libglslcommon",
725 ] 725 ]
726 } 726 }
727 727
728 728
729 # Building this target will hide the native OpenGL shared library and 729 # Building this target will hide the native OpenGL shared library and
(...skipping 20 matching lines...) Expand all
750 # 750 #
751 # include_dirs = [ "src/src/mesa/drivers" ] 751 # include_dirs = [ "src/src/mesa/drivers" ]
752 # 752 #
753 # deps = [ 753 # deps = [
754 # ":mesa_headers", 754 # ":mesa_headers",
755 # ":mesa", 755 # ":mesa",
756 # ] 756 # ]
757 #} 757 #}
758 758
759 # TODO(GYP) Android osmesa_in_lib_dir target. 759 # TODO(GYP) Android osmesa_in_lib_dir target.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698