blob: 0bf5b55ecb6efa55193a9cffd387f92856f9c177 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
@template
def AllowCompilerWarnings():
COMPILE_FLAGS["WARNINGS_AS_ERRORS"] = []
@template
def Library(name):
"""Template for libraries."""
LIBRARY_NAME = name
Library("dummy")
UNIFIED_SOURCES += ["test1.c"]
AllowCompilerWarnings()
|