blob: 183669b8c51ea560788e93e2f8a36b912260d911 [file] [log] [blame]
# 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.
group("all") {
testonly = true
deps = [
":display",
]
}
group("all_test") {
testonly = true
deps = []
}
source_set("display") {
sources = [
"eagl_view.h",
"eagl_view.mm",
"gl_demo_screen.h",
"gl_demo_screen.mm",
"gl_display_handler.h",
"gl_display_handler.mm",
]
public_deps = [
"//remoting/client",
"//third_party/protobuf:protobuf_lite",
"//third_party/webrtc/rtc_base:rtc_base_approved",
]
deps = [
"//base",
"//remoting/client/display",
]
include_dirs = [ "//third_party/protobuf/src" ]
libs = [
"CoreGraphics.framework",
"GLKit.framework",
"OpenGLES.framework",
]
# TODO(crbug.com/875022) fix for OpenGLES deprecation.
defines = [ "GLES_SILENCE_DEPRECATION" ]
configs += [ "//build/config/compiler:enable_arc" ]
}