| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 if (is_mac) { | 9 if (is_mac) { |
| 10 import("//build/config/mac/mac_sdk.gni") | 10 import("//build/config/mac/mac_sdk.gni") |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 deps = [ | 146 deps = [ |
| 147 "//base", | 147 "//base", |
| 148 "//build/util:webkit_version", | 148 "//build/util:webkit_version", |
| 149 "//components/tracing", | 149 "//components/tracing", |
| 150 "//components/tracing:startup_tracing", | 150 "//components/tracing:startup_tracing", |
| 151 "//gpu/command_buffer/client:gles2_interface", | 151 "//gpu/command_buffer/client:gles2_interface", |
| 152 "//gpu/command_buffer/common:gles2_utils", | 152 "//gpu/command_buffer/common:gles2_utils", |
| 153 "//net", | 153 "//net", |
| 154 "//skia", | 154 "//skia", |
| 155 "//third_party/icu", | 155 "//third_party/icu", |
| 156 "//third_party/libjingle", |
| 156 "//ui/accessibility", | 157 "//ui/accessibility", |
| 157 "//ui/base", | 158 "//ui/base", |
| 158 "//ui/base/ime", | 159 "//ui/base/ime", |
| 159 "//ui/events/ipc:events_ipc", | 160 "//ui/events/ipc:events_ipc", |
| 160 "//ui/gfx", | 161 "//ui/gfx", |
| 161 "//ui/gfx/geometry", | 162 "//ui/gfx/geometry", |
| 162 "//ui/gfx/ipc", | 163 "//ui/gfx/ipc", |
| 163 "//ui/shell_dialogs", | 164 "//ui/shell_dialogs", |
| 164 "//url", | 165 "//url", |
| 165 "//third_party/libjingle", | |
| 166 ] | 166 ] |
| 167 | 167 |
| 168 if (!is_ios) { | 168 if (!is_ios) { |
| 169 deps += [ | 169 deps += [ |
| 170 "//cc", | 170 "//cc", |
| 171 "//device/bluetooth", | 171 "//device/bluetooth", |
| 172 "//ipc", | 172 "//ipc", |
| 173 "//ipc/mojo", | 173 "//ipc/mojo", |
| 174 | 174 |
| 175 # TODO: the dependency on gl_in_process_context should be decoupled from | 175 # TODO: the dependency on gl_in_process_context should be decoupled from |
| 176 # content and moved to android_webview. See crbug.com/365797. | 176 # content and moved to android_webview. See crbug.com/365797. |
| 177 ":mojo_bindings", |
| 177 "//gpu/blink", | 178 "//gpu/blink", |
| 178 "//gpu/command_buffer/client:gl_in_process_context", | 179 "//gpu/command_buffer/client:gl_in_process_context", |
| 179 "//gpu/command_buffer/client:gles2_c_lib", | 180 "//gpu/command_buffer/client:gles2_c_lib", |
| 180 "//gpu/command_buffer/client:gles2_cmd_helper", | 181 "//gpu/command_buffer/client:gles2_cmd_helper", |
| 181 "//gpu/command_buffer/client:gles2_implementation", | 182 "//gpu/command_buffer/client:gles2_implementation", |
| 182 "//gpu/command_buffer/service", | 183 "//gpu/command_buffer/service", |
| 183 "//gpu/ipc", | 184 "//gpu/ipc", |
| 184 "//gpu/skia_bindings", | 185 "//gpu/skia_bindings", |
| 185 "//media", | 186 "//media", |
| 187 "//media:shared_memory_support", |
| 186 "//media/midi", | 188 "//media/midi", |
| 187 "//media:shared_memory_support", | |
| 188 "//mojo/application/public/interfaces", | 189 "//mojo/application/public/interfaces", |
| 189 "//mojo/common:common_base", | 190 "//mojo/common:common_base", |
| 190 "//mojo/environment:chromium", | 191 "//mojo/environment:chromium", |
| 191 "//sandbox", | 192 "//sandbox", |
| 192 "//storage/common", | 193 "//storage/common", |
| 193 "//third_party/WebKit/public:blink", | 194 "//third_party/WebKit/public:blink", |
| 194 "//third_party/mojo/src/mojo/edk/system", | 195 "//third_party/mojo/src/mojo/edk/system", |
| 195 "//ui/gl", | 196 "//ui/gl", |
| 196 ":mojo_bindings", | |
| 197 ] | 197 ] |
| 198 } | 198 } |
| 199 | 199 |
| 200 defines = [] | 200 defines = [] |
| 201 include_dirs = [] | 201 include_dirs = [] |
| 202 libs = [] | 202 libs = [] |
| 203 ldflags = [] | 203 ldflags = [] |
| 204 | 204 |
| 205 if (is_android && use_seccomp_bpf) { | 205 if (is_android && use_seccomp_bpf) { |
| 206 set_sources_assignment_filter([]) | 206 set_sources_assignment_filter([]) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 219 "gpu/gpu_memory_buffer_factory_io_surface.h", | 219 "gpu/gpu_memory_buffer_factory_io_surface.h", |
| 220 "gpu/media/vt.h", | 220 "gpu/media/vt.h", |
| 221 "gpu/media/vt_video_decode_accelerator.cc", | 221 "gpu/media/vt_video_decode_accelerator.cc", |
| 222 "gpu/media/vt_video_decode_accelerator.h", | 222 "gpu/media/vt_video_decode_accelerator.h", |
| 223 ] + get_target_outputs(":libvt_generate_stubs") | 223 ] + get_target_outputs(":libvt_generate_stubs") |
| 224 | 224 |
| 225 sources -= [ "plugin_list_posix.cc" ] | 225 sources -= [ "plugin_list_posix.cc" ] |
| 226 | 226 |
| 227 deps += [ | 227 deps += [ |
| 228 ":libvt_generate_stubs", | 228 ":libvt_generate_stubs", |
| 229 "//content:resources", |
| 229 "//content/app/resources", | 230 "//content/app/resources", |
| 230 "//content:resources", | |
| 231 "//third_party/WebKit/public:image_resources", | 231 "//third_party/WebKit/public:image_resources", |
| 232 "//third_party/WebKit/public:resources", | 232 "//third_party/WebKit/public:resources", |
| 233 "//ui/accelerated_widget_mac", | 233 "//ui/accelerated_widget_mac", |
| 234 ] | 234 ] |
| 235 lib_dirs = [ "$mac_sdk_path/usr/lib" ] | 235 lib_dirs = [ "$mac_sdk_path/usr/lib" ] |
| 236 libs += [ | 236 libs += [ |
| 237 "IOSurface.framework", | 237 "IOSurface.framework", |
| 238 "OpenGL.framework", | 238 "OpenGL.framework", |
| 239 "QuartzCore.framework", | 239 "QuartzCore.framework", |
| 240 "sandbox", | 240 "sandbox", |
| 241 ] | 241 ] |
| 242 } | 242 } |
| 243 | 243 |
| 244 if (is_android) { | 244 if (is_android) { |
| 245 sources += [ | 245 sources += [ |
| 246 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc", | 246 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc", |
| 247 "gpu/client/gpu_memory_buffer_impl_surface_texture.h", | 247 "gpu/client/gpu_memory_buffer_impl_surface_texture.h", |
| 248 "gpu/gpu_memory_buffer_factory_surface_texture.cc", | 248 "gpu/gpu_memory_buffer_factory_surface_texture.cc", |
| 249 "gpu/gpu_memory_buffer_factory_surface_texture.h", | 249 "gpu/gpu_memory_buffer_factory_surface_texture.h", |
| 250 ] | 250 ] |
| 251 | 251 |
| 252 deps += [ | 252 deps += [ |
| 253 "//content/public/android:common_aidl", |
| 253 "//content/public/android:jni", | 254 "//content/public/android:jni", |
| 254 "//content/public/android:common_aidl", | |
| 255 ] | 255 ] |
| 256 | 256 |
| 257 libs += [ "android" ] | 257 libs += [ "android" ] |
| 258 } | 258 } |
| 259 | 259 |
| 260 if (is_debug && !is_component_build) { | 260 if (is_debug && !is_component_build) { |
| 261 # Content depends on the PPAPI message logging stuff; if this isn't here, | 261 # Content depends on the PPAPI message logging stuff; if this isn't here, |
| 262 # some unit test binaries won't compile. This only worked in release mode | 262 # some unit test binaries won't compile. This only worked in release mode |
| 263 # because logging is disabled there. | 263 # because logging is disabled there. |
| 264 deps += [ "//ppapi/proxy:ipc_sources" ] | 264 deps += [ "//ppapi/proxy:ipc_sources" ] |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 | 526 |
| 527 import_dirs = [ "//mojo/services" ] | 527 import_dirs = [ "//mojo/services" ] |
| 528 | 528 |
| 529 deps = [ | 529 deps = [ |
| 530 "//content/public/common:mojo_bindings", | 530 "//content/public/common:mojo_bindings", |
| 531 "//mojo/application/public/interfaces", | 531 "//mojo/application/public/interfaces", |
| 532 "//skia/public/interfaces", | 532 "//skia/public/interfaces", |
| 533 "//ui/mojo/geometry:interfaces", | 533 "//ui/mojo/geometry:interfaces", |
| 534 ] | 534 ] |
| 535 } | 535 } |
| OLD | NEW |