naiveproxy/third_party/libovr/BUILD.gn

32 lines
856 B
Plaintext
Raw Normal View History

2018-12-10 05:59:24 +03:00
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
config("libovr-config") {
if (is_clang) {
cflags = [ "-Wno-unused-function" ]
}
}
static_library("libovr") {
include_dirs = [ "src/Include" ]
sources = [
"src/Include/Extras/OVR_CAPI_Util.h",
"src/Include/Extras/OVR_Math.h",
"src/Include/Extras/OVR_StereoProjection.h",
"src/Include/OVR_CAPI.h",
"src/Include/OVR_CAPI_D3D.h",
"src/Include/OVR_CAPI_GL.h",
"src/Include/OVR_CAPI_Keys.h",
"src/Include/OVR_CAPI_Vk.h",
"src/Include/OVR_ErrorCode.h",
"src/Include/OVR_Version.h",
"src/OVR_CAPIShim.c",
"src/OVR_CAPI_Prototypes.h",
"src/OVR_CAPI_Util.cpp",
"src/OVR_StereoProjection.cpp",
]
configs += [ ":libovr-config" ]
}