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

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

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/lzma_sdk/BUILD.gn ('k') | third_party/npapi/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" ]
11 } 11 }
12 } 12 }
13 13
14 # This directory contains checked-in files generated from the Mesa build. 14 # This directory contains checked-in files generated from the Mesa build.
15 generated_src_dir = "src/chromium_gensrc" 15 generated_src_dir = "src/chromium_gensrc"
16 16
17 source_set("mesa_headers") { 17 source_set("mesa_headers") {
18 direct_dependent_configs = [ ":mesa_headers_config" ] 18 public_configs = [ ":mesa_headers_config" ]
19 } 19 }
20 20
21 # This config must generally be prepended to the configs list so that the Mesa 21 # This config must generally be prepended to the configs list so that the Mesa
22 # dirs appear before the system ones on Windows. This is necessary so that 22 # dirs appear before the system ones on Windows. This is necessary so that
23 # #include "GL/gl.h" means to include Mesa's, not the system's. 23 # #include "GL/gl.h" means to include Mesa's, not the system's.
24 config("mesa_internal_config") { 24 config("mesa_internal_config") {
25 cflags = [] 25 cflags = []
26 defines = [ 26 defines = [
27 "MAPI_ABI_HEADER=\"glapi_mapi_tmp_shared.h\"", 27 "MAPI_ABI_HEADER=\"glapi_mapi_tmp_shared.h\"",
28 "PACKAGE_NAME=\"Mesa\"", 28 "PACKAGE_NAME=\"Mesa\"",
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 "BUILD_GL32", 694 "BUILD_GL32",
695 "KEYWORD1=GLAPI", 695 "KEYWORD1=GLAPI",
696 "KEYWORD2=GLAPIENTRY", 696 "KEYWORD2=GLAPIENTRY",
697 ] 697 ]
698 } 698 }
699 } 699 }
700 700
701 } # !is_android 701 } # !is_android
702 702
703 # TODO(GYP) Android osmesa_in_lib_dir target. 703 # TODO(GYP) Android osmesa_in_lib_dir target.
OLDNEW
« no previous file with comments | « third_party/lzma_sdk/BUILD.gn ('k') | third_party/npapi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698