Anthony DiGirolamo | d1b0bbb | 2024-04-10 20:15:41 +0000 | [diff] [blame] | 1 | # Copyright 2024 The Pigweed Authors |
Chris Mumford | 4bae15c | 2023-01-11 14:36:38 +0000 | [diff] [blame] | 2 | # |
| 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 | |
| 15 | import("//build_overrides/pigweed.gni") |
| 16 | |
| 17 | import("$dir_pw_build/target_types.gni") |
Anthony DiGirolamo | d1b0bbb | 2024-04-10 20:15:41 +0000 | [diff] [blame] | 18 | import("$dir_pw_docgen/docs.gni") |
| 19 | import("$dir_pw_unit_test/test.gni") |
Chris Mumford | 4bae15c | 2023-01-11 14:36:38 +0000 | [diff] [blame] | 20 | |
Anthony DiGirolamo | d1b0bbb | 2024-04-10 20:15:41 +0000 | [diff] [blame] | 21 | config("public_include_path") { |
Chris Mumford | 4bae15c | 2023-01-11 14:36:38 +0000 | [diff] [blame] | 22 | include_dirs = [ "public" ] |
Anthony DiGirolamo | d1b0bbb | 2024-04-10 20:15:41 +0000 | [diff] [blame] | 23 | visibility = [ ":*" ] |
| 24 | } |
| 25 | |
| 26 | pw_test_group("tests") { |
Chris Mumford | 4bae15c | 2023-01-11 14:36:38 +0000 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | pw_source_set("pw_framebuffer_pool") { |
Anthony DiGirolamo | d1b0bbb | 2024-04-10 20:15:41 +0000 | [diff] [blame] | 30 | public_configs = [ ":public_include_path" ] |
Chris Mumford | 4bae15c | 2023-01-11 14:36:38 +0000 | [diff] [blame] | 31 | public = [ "public/pw_framebuffer_pool/framebuffer_pool.h" ] |
Chris Mumford | 8db6cc1 | 2023-05-02 11:57:18 +0000 | [diff] [blame] | 32 | deps = [ |
| 33 | "$dir_pw_assert", |
Anthony DiGirolamo | 3b8b348 | 2024-03-29 18:09:51 +0000 | [diff] [blame] | 34 | "$dir_pwexperimental_color", |
Chris Mumford | 4bae15c | 2023-01-11 14:36:38 +0000 | [diff] [blame] | 35 | ] |
Chris Mumford | 8db6cc1 | 2023-05-02 11:57:18 +0000 | [diff] [blame] | 36 | public_deps = [ |
Anthony DiGirolamo | c16476c | 2023-09-01 16:11:30 +0000 | [diff] [blame] | 37 | "$dir_pw_containers", |
Chris Mumford | 8db6cc1 | 2023-05-02 11:57:18 +0000 | [diff] [blame] | 38 | "$dir_pw_status", |
| 39 | "$dir_pw_sync:counting_semaphore", |
Anthony DiGirolamo | 3b8b348 | 2024-03-29 18:09:51 +0000 | [diff] [blame] | 40 | "$dir_pwexperimental_framebuffer", |
Anthony DiGirolamo | d1b0bbb | 2024-04-10 20:15:41 +0000 | [diff] [blame] | 41 | "$dir_pwexperimental_geometry", |
Chris Mumford | 8db6cc1 | 2023-05-02 11:57:18 +0000 | [diff] [blame] | 42 | ] |
| 43 | sources = [ "framebuffer_pool.cc" ] |
Chris Mumford | 4bae15c | 2023-01-11 14:36:38 +0000 | [diff] [blame] | 44 | } |
Anthony DiGirolamo | d1b0bbb | 2024-04-10 20:15:41 +0000 | [diff] [blame] | 45 | |
| 46 | pw_doc_group("docs") { |
| 47 | sources = [ "docs.rst" ] |
| 48 | } |