OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 if (is_android) { | 6 if (is_android) { |
7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 ] | 256 ] |
257 } | 257 } |
258 | 258 |
259 if (is_mac) { | 259 if (is_mac) { |
260 sources += [ | 260 sources += [ |
261 "gl_context_cgl.cc", | 261 "gl_context_cgl.cc", |
262 "gl_context_cgl.h", | 262 "gl_context_cgl.h", |
263 "gpu_switching_manager.cc", | 263 "gpu_switching_manager.cc", |
264 "gpu_switching_manager.h", | 264 "gpu_switching_manager.h", |
265 ] | 265 ] |
| 266 |
| 267 cflags = [ "-Wno-deprecated-declarations" ] |
266 } | 268 } |
267 } | 269 } |
268 | 270 |
269 source_set("gl_unittest_utils") { | 271 source_set("gl_unittest_utils") { |
270 testonly = true | 272 testonly = true |
271 sources = [ | 273 sources = [ |
272 "gl_bindings_autogen_mock.cc", | 274 "gl_bindings_autogen_mock.cc", |
273 "gl_bindings_autogen_mock.h", | 275 "gl_bindings_autogen_mock.h", |
274 "gl_mock.cc", | 276 "gl_mock.cc", |
275 "gl_mock.h", | 277 "gl_mock.h", |
(...skipping 18 matching lines...) Expand all Loading... |
294 deps = [ | 296 deps = [ |
295 ":surface_jni_headers", | 297 ":surface_jni_headers", |
296 ] | 298 ] |
297 sources = [ | 299 sources = [ |
298 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 300 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
299 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 301 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
300 ] | 302 ] |
301 jni_package = "ui/gl" | 303 jni_package = "ui/gl" |
302 } | 304 } |
303 } | 305 } |
OLD | NEW |