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

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

Issue 2152033002: Convert third_party source sets to static libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios Created 4 years, 5 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/libwebp/BUILD.gn ('k') | third_party/modp_b64/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 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 8
9 config("mesa_headers_config") { 9 config("mesa_headers_config") {
10 include_dirs = [ "src/include" ] 10 include_dirs = [ "src/include" ]
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 "KEYWORD2=GLAPIENTRY", 766 "KEYWORD2=GLAPIENTRY",
767 ] 767 ]
768 } 768 }
769 } 769 }
770 770
771 if (is_linux) { 771 if (is_linux) {
772 config("wayland_drm_protocol_config") { 772 config("wayland_drm_protocol_config") {
773 include_dirs = [ "$generated_src_dir/egl/wayland/wayland-drm" ] 773 include_dirs = [ "$generated_src_dir/egl/wayland/wayland-drm" ]
774 } 774 }
775 775
776 source_set("wayland_drm_protocol") { 776 static_library("wayland_drm_protocol") {
777 sources = [ 777 sources = [
778 "$generated_src_dir/egl/wayland/wayland-drm/wayland-drm-client-protocol.h" , 778 "$generated_src_dir/egl/wayland/wayland-drm/wayland-drm-client-protocol.h" ,
779 "$generated_src_dir/egl/wayland/wayland-drm/wayland-drm-protocol.c", 779 "$generated_src_dir/egl/wayland/wayland-drm/wayland-drm-protocol.c",
780 "$generated_src_dir/egl/wayland/wayland-drm/wayland-drm-server-protocol.h" , 780 "$generated_src_dir/egl/wayland/wayland-drm/wayland-drm-server-protocol.h" ,
781 ] 781 ]
782 782
783 deps = [ 783 deps = [
784 "//third_party/wayland:wayland_util", 784 "//third_party/wayland:wayland_util",
785 ] 785 ]
786 786
787 configs -= [ "//build/config/compiler:chromium_code" ] 787 configs -= [ "//build/config/compiler:chromium_code" ]
788 configs += [ "//build/config/compiler:no_chromium_code" ] 788 configs += [ "//build/config/compiler:no_chromium_code" ]
789 789
790 public_configs = [ ":wayland_drm_protocol_config" ] 790 public_configs = [ ":wayland_drm_protocol_config" ]
791 } 791 }
792 } 792 }
OLDNEW
« no previous file with comments | « third_party/libwebp/BUILD.gn ('k') | third_party/modp_b64/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698