| OLD | NEW |
| 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 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 ] | 681 ] |
| 682 | 682 |
| 683 if (is_win) { | 683 if (is_win) { |
| 684 defines = [ | 684 defines = [ |
| 685 "BUILD_GL32", | 685 "BUILD_GL32", |
| 686 "KEYWORD1=GLAPI", | 686 "KEYWORD1=GLAPI", |
| 687 "KEYWORD2=GLAPIENTRY", | 687 "KEYWORD2=GLAPIENTRY", |
| 688 ] | 688 ] |
| 689 } | 689 } |
| 690 } | 690 } |
| 691 } else { |
| 692 # Placeholder to allow targets to unconditionally depend on this. |
| 693 group("osmesa") { |
| 694 } |
| 691 } # !is_android | 695 } # !is_android |
| 692 # TODO(GYP) Android osmesa_in_lib_dir target. | 696 # TODO(GYP) Android osmesa_in_lib_dir target. |
| OLD | NEW |