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 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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 configs += [ "//build/config/win:no_incremental_linking" ] | 749 configs += [ "//build/config/win:no_incremental_linking" ] |
750 } | 750 } |
751 | 751 |
752 deps = [ | 752 deps = [ |
753 ":mesa", | 753 ":mesa", |
754 ":mesa_headers", | 754 ":mesa_headers", |
755 ":mesa_libglslcommon", | 755 ":mesa_libglslcommon", |
756 "//build/config/sanitizers:deps", | 756 "//build/config/sanitizers:deps", |
757 ] | 757 ] |
758 | 758 |
759 # Required for the allocator implementation, which is not used on Mac. | |
760 if (!is_mac) { | |
761 deps += [ "//base" ] | |
762 } | |
763 | |
764 if (is_win) { | 759 if (is_win) { |
765 defines = [ | 760 defines = [ |
766 "BUILD_GL32", | 761 "BUILD_GL32", |
767 "KEYWORD1=GLAPI", | 762 "KEYWORD1=GLAPI", |
768 "KEYWORD2=GLAPIENTRY", | 763 "KEYWORD2=GLAPIENTRY", |
769 ] | 764 ] |
770 } | 765 } |
771 } | 766 } |
772 | 767 |
773 if (is_linux) { | 768 if (is_linux) { |
(...skipping 11 matching lines...) Expand all Loading... |
785 deps = [ | 780 deps = [ |
786 "//third_party/wayland:wayland_util", | 781 "//third_party/wayland:wayland_util", |
787 ] | 782 ] |
788 | 783 |
789 configs -= [ "//build/config/compiler:chromium_code" ] | 784 configs -= [ "//build/config/compiler:chromium_code" ] |
790 configs += [ "//build/config/compiler:no_chromium_code" ] | 785 configs += [ "//build/config/compiler:no_chromium_code" ] |
791 | 786 |
792 public_configs = [ ":wayland_drm_protocol_config" ] | 787 public_configs = [ ":wayland_drm_protocol_config" ] |
793 } | 788 } |
794 } | 789 } |
OLD | NEW |