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 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |