blob: e443ad290a0f1c6d6166f2e512b8de05ab5a5f50 [file] [log] [blame]
# Copyright 2022 The Cobalt Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This is a sample sandbox application for experimenting with the Cobalt
# render tree/renderer interface.
# Contains code to build a demonstration scene used within benchmarking
# code along with the sandbox application code. Is useful in general
# wherever an interesting demo render_tree is required.
static_library("scenes") {
sources = [
"all_scenes_combined_scene.cc",
"all_scenes_combined_scene.h",
"growing_rect_scene.cc",
"growing_rect_scene.h",
"image_wrap_scene.cc",
"image_wrap_scene.h",
"marquee_scene.cc",
"marquee_scene.h",
"scaling_text_scene.cc",
"scaling_text_scene.h",
"scene_helpers.cc",
"scene_helpers.h",
"spinning_sprites_scene.cc",
"spinning_sprites_scene.h",
]
deps = [
":scenes_copy_test_data",
"//cobalt/base",
"//cobalt/math",
"//cobalt/render_tree",
"//cobalt/render_tree:animations",
"//cobalt/renderer/test/png_utils",
"//cobalt/trace_event",
]
}
copy("scenes_copy_test_data") {
sources = [ "demo_image.png" ]
outputs =
[ "$sb_static_contents_output_data_dir/test/test/scenes/demo_image.png" ]
}