blob: bb39e249f6ccc4ab52e1abb40a568999783a2d11 [file] [log] [blame]
Anthony DiGirolamod1b0bbb2024-04-10 20:15:41 +00001# Copyright 2024 The Pigweed Authors
Chris Mumford4bae15c2023-01-11 14:36:38 +00002#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7# https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15import("//build_overrides/pigweed.gni")
16
17import("$dir_pw_build/target_types.gni")
Anthony DiGirolamod1b0bbb2024-04-10 20:15:41 +000018import("$dir_pw_docgen/docs.gni")
19import("$dir_pw_unit_test/test.gni")
Chris Mumford4bae15c2023-01-11 14:36:38 +000020
Anthony DiGirolamod1b0bbb2024-04-10 20:15:41 +000021config("public_include_path") {
Chris Mumford4bae15c2023-01-11 14:36:38 +000022 include_dirs = [ "public" ]
Anthony DiGirolamod1b0bbb2024-04-10 20:15:41 +000023 visibility = [ ":*" ]
24}
25
26pw_test_group("tests") {
Chris Mumford4bae15c2023-01-11 14:36:38 +000027}
28
29pw_source_set("pw_framebuffer_pool") {
Anthony DiGirolamod1b0bbb2024-04-10 20:15:41 +000030 public_configs = [ ":public_include_path" ]
Chris Mumford4bae15c2023-01-11 14:36:38 +000031 public = [ "public/pw_framebuffer_pool/framebuffer_pool.h" ]
Chris Mumford8db6cc12023-05-02 11:57:18 +000032 deps = [
33 "$dir_pw_assert",
Anthony DiGirolamo3b8b3482024-03-29 18:09:51 +000034 "$dir_pwexperimental_color",
Chris Mumford4bae15c2023-01-11 14:36:38 +000035 ]
Chris Mumford8db6cc12023-05-02 11:57:18 +000036 public_deps = [
Anthony DiGirolamoc16476c2023-09-01 16:11:30 +000037 "$dir_pw_containers",
Chris Mumford8db6cc12023-05-02 11:57:18 +000038 "$dir_pw_status",
39 "$dir_pw_sync:counting_semaphore",
Anthony DiGirolamo3b8b3482024-03-29 18:09:51 +000040 "$dir_pwexperimental_framebuffer",
Anthony DiGirolamod1b0bbb2024-04-10 20:15:41 +000041 "$dir_pwexperimental_geometry",
Chris Mumford8db6cc12023-05-02 11:57:18 +000042 ]
43 sources = [ "framebuffer_pool.cc" ]
Chris Mumford4bae15c2023-01-11 14:36:38 +000044}
Anthony DiGirolamod1b0bbb2024-04-10 20:15:41 +000045
46pw_doc_group("docs") {
47 sources = [ "docs.rst" ]
48}