From b2293bc15d192473dbe76e48e9861c860c739549 Mon Sep 17 00:00:00 2001 From: Bel <644574+tehbelinda@users.noreply.github.com> Date: Wed, 11 Mar 2020 14:39:58 -0700 Subject: [PATCH] Build and lint fixes for the OpenGL render engine (#12850) --- geometry/render/gl_renderer/BUILD.bazel | 12 ++++++++++-- geometry/render/gl_renderer/render_engine_gl.cc | 1 - 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/geometry/render/gl_renderer/BUILD.bazel b/geometry/render/gl_renderer/BUILD.bazel index ddd3a7b2971a..8bc59bd268ba 100644 --- a/geometry/render/gl_renderer/BUILD.bazel +++ b/geometry/render/gl_renderer/BUILD.bazel @@ -13,7 +13,7 @@ load( "drake_cc_package_library_gl_per_os", ) -package(default_visibility = ["//visibility:public"]) +package(default_visibility = ["//visibility:private"]) drake_cc_package_library_gl_per_os( name = "gl_renderer", @@ -86,4 +86,12 @@ drake_cc_googletest( ], ) -add_lint_tests() +add_lint_tests( + cpplint_extra_srcs = [ + "no_render_engine_gl_factory.cc", + "render_engine_gl.cc", + "render_engine_gl.h", + "render_engine_gl_factory.cc", + "render_engine_gl_factory.h", + ], +) diff --git a/geometry/render/gl_renderer/render_engine_gl.cc b/geometry/render/gl_renderer/render_engine_gl.cc index 120e688c750f..1b27d2a22adf 100644 --- a/geometry/render/gl_renderer/render_engine_gl.cc +++ b/geometry/render/gl_renderer/render_engine_gl.cc @@ -1,4 +1,3 @@ - #include "drake/geometry/render/gl_renderer/render_engine_gl.h" namespace drake {