naiveproxy/third_party/libovr/BUILD.gn

32 lines
856 B
Plaintext
Raw Permalink Normal View History

2018-08-15 01:19:20 +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" ]
}