summaryrefslogtreecommitdiffstats
path: root/python/mozbuild/mozbuild/test/frontend/data/disable-compiler-warnings/moz.build
blob: 064fa0989332d7bd191e9ac3d4031389c2b4c692 (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 DisableCompilerWarnings():
    COMPILE_FLAGS["WARNINGS_CFLAGS"] = []


@template
def Library(name):
    """Template for libraries."""
    LIBRARY_NAME = name


Library("dummy")

UNIFIED_SOURCES += ["test1.c"]

DisableCompilerWarnings()