| 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 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 # TODO(brucedawson) : remove when crbug.com/482671 is resolved by | 756 # TODO(brucedawson) : remove when crbug.com/482671 is resolved by |
| 757 # Microsoft. | 757 # Microsoft. |
| 758 configs -= [ "//build/config/win:default_incremental_linking" ] | 758 configs -= [ "//build/config/win:default_incremental_linking" ] |
| 759 configs += [ "//build/config/win:no_incremental_linking" ] | 759 configs += [ "//build/config/win:no_incremental_linking" ] |
| 760 } | 760 } |
| 761 | 761 |
| 762 deps = [ | 762 deps = [ |
| 763 ":mesa", | 763 ":mesa", |
| 764 ":mesa_headers", | 764 ":mesa_headers", |
| 765 ":mesa_libglslcommon", | 765 ":mesa_libglslcommon", |
| 766 "//build/config/sanitizers:deps", | 766 "//build/config:exe_and_shlib_deps", |
| 767 ] | 767 ] |
| 768 | 768 |
| 769 if (is_win) { | 769 if (is_win) { |
| 770 defines = [ | 770 defines = [ |
| 771 "BUILD_GL32", | 771 "BUILD_GL32", |
| 772 "KEYWORD1=GLAPI", | 772 "KEYWORD1=GLAPI", |
| 773 "KEYWORD2=GLAPIENTRY", | 773 "KEYWORD2=GLAPIENTRY", |
| 774 ] | 774 ] |
| 775 } | 775 } |
| 776 } | 776 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 790 deps = [ | 790 deps = [ |
| 791 "//third_party/wayland:wayland_util", | 791 "//third_party/wayland:wayland_util", |
| 792 ] | 792 ] |
| 793 | 793 |
| 794 configs -= [ "//build/config/compiler:chromium_code" ] | 794 configs -= [ "//build/config/compiler:chromium_code" ] |
| 795 configs += [ "//build/config/compiler:no_chromium_code" ] | 795 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 796 | 796 |
| 797 public_configs = [ ":wayland_drm_protocol_config" ] | 797 public_configs = [ ":wayland_drm_protocol_config" ] |
| 798 } | 798 } |
| 799 } | 799 } |
| OLD | NEW |