Skip to content

Commit

Permalink
ARCore Android SDK v1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictornvictor committed Aug 5, 2019
1 parent 765ca36 commit 25ef363
Show file tree
Hide file tree
Showing 322 changed files with 57,350 additions and 2,696 deletions.
2,814 changes: 414 additions & 2,400 deletions LICENSE

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions libraries/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Description:
# The GLM (OpenGL Mathematics) library.

package(default_visibility = ["//visibility:public"])

licenses(["notice"]) # MIT

load("//third_party/glm:defs.bzl", "COMMON_COPTS")

# Headers that can be passed to cc_library.hdrs.
filegroup(
name = "glm_hdrs",
srcs = glob(
[
"glm/**/*.h",
"glm/**/*.hpp",
],
exclude = [
"glm/detail/*.hpp",
"glm/simd/*.h",
],
),
)

# All headers, including inlined files, that can be passed to
# cc_library.textual_hdrs.
filegroup(
name = "glm_all_hdrs",
srcs = glob([
"glm/**/*.h",
"glm/**/*.hpp",
"glm/**/*.inl",
]),
)

cc_library(
name = "glm_impl",
srcs = ["glm/detail/glm.cpp"],
copts = COMMON_COPTS + [
# GLM includes things in a few ways, and by doing this as a copt we
# avoid polluting the global header paths.
"-I.",
"-Ithird_party/glm/latest",
],
defines = ["GLM_ENABLE_EXPERIMENTAL"],
features = ["-use_header_modules"], # Incompatible with -std=c++11.
textual_hdrs = [":glm_all_hdrs"],
visibility = ["//third_party/glm:__pkg__"],
)

# This is not actually a test we care about but can be used to validate that
# GLM compiles successfully.
cc_test(
name = "core_func_matrix_test",
srcs = ["test/core/core_func_matrix.cpp"],
copts = ["-Wno-unused-variable"],
deps = ["//third_party/glm:glm_system"],
)
21 changes: 21 additions & 0 deletions libraries/glm/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License

Copyright (c) 2005 - 2013 G-Truc Creation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
534 changes: 534 additions & 0 deletions libraries/glm/common.hpp

Large diffs are not rendered by default.

Loading

0 comments on commit 25ef363

Please sign in to comment.