blob: 63c7280f6dc0d0dcd9597a0479c68cdb46cab153 [file] [log] [blame]
# Copyright 2018 Google Inc. 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.
# The common "starboard_headers_only" target, like the common "starboard" target
# but without the starboard_platform implementation. If a non-executable target
# depends on Starboard, but is also used by Starboard ports, the target should
# depend on this common header target. This avoids file dependency cycles for
# targets simultaneously above and below starboard. In contrast, executable
# targets such as test targets, must in some way depend on the common
# "starboard" target.
{
'targets': [
{
'target_name': 'starboard_headers_only',
'type': 'none',
'sources': [
'atomic.h',
'audio_sink.h',
'blitter.h',
'byte_swap.h',
'character.h',
'condition_variable.h',
'configuration.h',
'decode_target.h',
'directory.h',
'double.h',
'drm.h',
'event.h',
'export.h',
'file.h',
'input.h',
'key.h',
'log.h',
'media.h',
'memory.h',
'microphone.h',
'mutex.h',
'once.h',
'player.h',
'queue.h',
'socket.h',
'socket_waiter.h',
'spin_lock.h',
'storage.h',
'string.h',
'system.h',
'thread.h',
'thread_types.h',
'time.h',
'time_zone.h',
'types.h',
'user.h',
'window.h',
'<(DEPTH)/starboard/shared/media_session/playback_state.h',
# Include private headers, if present.
'<!@(python "<(DEPTH)/starboard/tools/find_private_files.py" "<(DEPTH)" "*.h")',
],
},
],
}