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

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

Issue 1616793003: Reland (2) of: Allow base to depend on allocator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding base dependencies to missing targets Created 4 years, 11 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 | « media/cdm/ppapi/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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 } 716 }
717 717
718 deps = [ 718 deps = [
719 ":mesa", 719 ":mesa",
720 ":mesa_headers", 720 ":mesa_headers",
721 ":mesa_libglslcommon", 721 ":mesa_libglslcommon",
722 "//base", # Required for the allocator implementation.
722 "//build/config/sanitizers:deps", 723 "//build/config/sanitizers:deps",
723 ] 724 ]
724 725
725 if (is_win) { 726 if (is_win) {
726 defines = [ 727 defines = [
727 "BUILD_GL32", 728 "BUILD_GL32",
728 "KEYWORD1=GLAPI", 729 "KEYWORD1=GLAPI",
729 "KEYWORD2=GLAPIENTRY", 730 "KEYWORD2=GLAPIENTRY",
730 ] 731 ]
731 } 732 }
(...skipping 14 matching lines...) Expand all
746 deps = [ 747 deps = [
747 "//third_party/wayland:wayland_util", 748 "//third_party/wayland:wayland_util",
748 ] 749 ]
749 750
750 configs -= [ "//build/config/compiler:chromium_code" ] 751 configs -= [ "//build/config/compiler:chromium_code" ]
751 configs += [ "//build/config/compiler:no_chromium_code" ] 752 configs += [ "//build/config/compiler:no_chromium_code" ]
752 753
753 public_configs = [ ":wayland_drm_protocol_config" ] 754 public_configs = [ ":wayland_drm_protocol_config" ]
754 } 755 }
755 } 756 }
OLDNEW
« no previous file with comments | « media/cdm/ppapi/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698