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

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

Issue 1318343003: Annotate GN executables and shared_libraries with sanitizer deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « third_party/iaccessible2/BUILD.gn ('k') | third_party/opus/BUILD.gn » ('j') | 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 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 if (is_win) { 716 if (is_win) {
717 ldflags = 717 ldflags =
718 [ "/DEF:" + rebase_path("src/src/mesa/drivers/osmesa/osmesa.def", 718 [ "/DEF:" + rebase_path("src/src/mesa/drivers/osmesa/osmesa.def",
719 root_build_dir) ] 719 root_build_dir) ]
720 } 720 }
721 721
722 deps = [ 722 deps = [
723 ":mesa_headers", 723 ":mesa_headers",
724 ":mesa", 724 ":mesa",
725 ":mesa_libglslcommon", 725 ":mesa_libglslcommon",
726 "//build/config/sanitizers:deps",
726 ] 727 ]
727 728
728 if (is_win) { 729 if (is_win) {
729 defines = [ 730 defines = [
730 "BUILD_GL32", 731 "BUILD_GL32",
731 "KEYWORD1=GLAPI", 732 "KEYWORD1=GLAPI",
732 "KEYWORD2=GLAPIENTRY", 733 "KEYWORD2=GLAPIENTRY",
733 ] 734 ]
734 } 735 }
735 } 736 }
736 } else { 737 } else {
737 # Placeholder to allow targets to unconditionally depend on this. 738 # Placeholder to allow targets to unconditionally depend on this.
738 group("osmesa") { 739 group("osmesa") {
739 } 740 }
740 } # !is_android 741 } # !is_android
741 # TODO(GYP) Android osmesa_in_lib_dir target. 742 # TODO(GYP) Android osmesa_in_lib_dir target.
OLDNEW
« no previous file with comments | « third_party/iaccessible2/BUILD.gn ('k') | third_party/opus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698