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

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

Issue 1749053002: Move //remoting/remoting_host_win.gypi:* to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update for component build of Windows Created 4 years, 9 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
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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 include_dirs = [ "src/src/mesa/drivers" ] 706 include_dirs = [ "src/src/mesa/drivers" ]
707 707
708 if (is_clang) { 708 if (is_clang) {
709 # Mesa triggers some of these Clang warnings. 709 # Mesa triggers some of these Clang warnings.
710 configs -= [ "//build/config/clang:extra_warnings" ] 710 configs -= [ "//build/config/clang:extra_warnings" ]
711 } 711 }
712 712
713 if (is_win) { 713 if (is_win) {
714 ldflags = [ "/DEF:" + rebase_path("src/src/mesa/drivers/osmesa/osmesa.def", 714 ldflags = [ "/DEF:" + rebase_path("src/src/mesa/drivers/osmesa/osmesa.def",
715 root_build_dir) ] 715 root_build_dir) ]
716 if (is_component_build) {
717 # A known bug in VC linker http://shortn/_m9vLk6Ao0L
718 # TODO(zijiehe): Remove after a compiler and linker upgrade.
719 ldflags += [ "/guard:no" ]
720 }
716 } 721 }
717 722
718 deps = [ 723 deps = [
719 ":mesa", 724 ":mesa",
720 ":mesa_headers", 725 ":mesa_headers",
721 ":mesa_libglslcommon", 726 ":mesa_libglslcommon",
722 "//base", # Required for the allocator implementation. 727 "//base", # Required for the allocator implementation.
723 "//build/config/sanitizers:deps", 728 "//build/config/sanitizers:deps",
724 ] 729 ]
725 730
(...skipping 21 matching lines...) Expand all
747 deps = [ 752 deps = [
748 "//third_party/wayland:wayland_util", 753 "//third_party/wayland:wayland_util",
749 ] 754 ]
750 755
751 configs -= [ "//build/config/compiler:chromium_code" ] 756 configs -= [ "//build/config/compiler:chromium_code" ]
752 configs += [ "//build/config/compiler:no_chromium_code" ] 757 configs += [ "//build/config/compiler:no_chromium_code" ]
753 758
754 public_configs = [ ":wayland_drm_protocol_config" ] 759 public_configs = [ ":wayland_drm_protocol_config" ]
755 } 760 }
756 } 761 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698