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

Side by Side Diff: gpu/ipc/service/BUILD.gn

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 if (is_mac) { 7 if (is_mac) {
8 import("//build/config/mac/mac_sdk.gni") 8 import("//build/config/mac/mac_sdk.gni")
9 } 9 }
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 if (is_mac) { 69 if (is_mac) {
70 sources += [ 70 sources += [
71 "gpu_memory_buffer_factory_io_surface.cc", 71 "gpu_memory_buffer_factory_io_surface.cc",
72 "gpu_memory_buffer_factory_io_surface.h", 72 "gpu_memory_buffer_factory_io_surface.h",
73 "image_transport_surface_mac.mm", 73 "image_transport_surface_mac.mm",
74 "image_transport_surface_overlay_mac.h", 74 "image_transport_surface_overlay_mac.h",
75 "image_transport_surface_overlay_mac.mm", 75 "image_transport_surface_overlay_mac.mm",
76 ] 76 ]
77 deps += [ "//ui/accelerated_widget_mac" ] 77 deps += [ "//ui/accelerated_widget_mac" ]
78 lib_dirs = [ "$mac_sdk_path/usr/lib" ] 78 lib_dirs = [ "$mac_sdk_path/usr/lib" ]
79 libs += [ "QuartzCore.framework" ] 79 libs += [
80 "QuartzCore.framework",
81 "CoreGraphics.framework",
82 ]
80 } 83 }
81 if (is_android) { 84 if (is_android) {
82 sources += [ 85 sources += [
83 "gpu_memory_buffer_factory_surface_texture.cc", 86 "gpu_memory_buffer_factory_surface_texture.cc",
84 "gpu_memory_buffer_factory_surface_texture.h", 87 "gpu_memory_buffer_factory_surface_texture.h",
85 "image_transport_surface_android.cc", 88 "image_transport_surface_android.cc",
86 "stream_texture_android.cc", 89 "stream_texture_android.cc",
87 "stream_texture_android.h", 90 "stream_texture_android.h",
88 ] 91 ]
89 libs += [ "android" ] 92 libs += [ "android" ]
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 deps += [ "//ui/android:ui_java" ] 157 deps += [ "//ui/android:ui_java" ]
155 } 158 }
156 if (is_mac) { 159 if (is_mac) {
157 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] 160 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ]
158 } 161 }
159 if (use_ozone) { 162 if (use_ozone) {
160 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ] 163 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ]
161 deps += [ "//ui/ozone" ] 164 deps += [ "//ui/ozone" ]
162 } 165 }
163 } 166 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698