Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: ui/gl/BUILD.gn

Issue 1327033004: Allow building mojo_shell and non-graphical apps/services on a Mac (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: review feedback Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/events/BUILD.gn ('k') | ui/gl/gl_surface_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « ui/events/BUILD.gn ('k') | ui/gl/gl_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698