| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 "//components/tracing", | 157 "//components/tracing", |
| 158 "//components/tracing:startup_tracing", | 158 "//components/tracing:startup_tracing", |
| 159 "//gpu/command_buffer/client:gles2_interface", | 159 "//gpu/command_buffer/client:gles2_interface", |
| 160 "//gpu/command_buffer/common:gles2_utils", | 160 "//gpu/command_buffer/common:gles2_utils", |
| 161 "//mojo/application/public/cpp", | 161 "//mojo/application/public/cpp", |
| 162 "//mojo/converters/network", | 162 "//mojo/converters/network", |
| 163 "//mojo/runner/child:lib", | 163 "//mojo/runner/child:lib", |
| 164 "//net", | 164 "//net", |
| 165 "//skia", | 165 "//skia", |
| 166 "//third_party/icu", | 166 "//third_party/icu", |
| 167 "//third_party/libjingle", |
| 167 "//ui/accessibility", | 168 "//ui/accessibility", |
| 168 "//ui/base", | 169 "//ui/base", |
| 169 "//ui/base/ime", | 170 "//ui/base/ime", |
| 170 "//ui/events/ipc:events_ipc", | 171 "//ui/events/ipc:events_ipc", |
| 171 "//ui/gfx", | 172 "//ui/gfx", |
| 172 "//ui/gfx/geometry", | 173 "//ui/gfx/geometry", |
| 173 "//ui/gfx/ipc", | 174 "//ui/gfx/ipc", |
| 174 "//ui/shell_dialogs", | 175 "//ui/shell_dialogs", |
| 175 "//url", | 176 "//url", |
| 176 "//third_party/libjingle", | |
| 177 ] | 177 ] |
| 178 | 178 |
| 179 if (!is_ios) { | 179 if (!is_ios) { |
| 180 deps += [ | 180 deps += [ |
| 181 "//cc", | 181 "//cc", |
| 182 "//device/bluetooth", | 182 "//device/bluetooth", |
| 183 "//ipc", | 183 "//ipc", |
| 184 "//ipc/mojo", | 184 "//ipc/mojo", |
| 185 | 185 |
| 186 # TODO: the dependency on gl_in_process_context should be decoupled from | 186 # TODO: the dependency on gl_in_process_context should be decoupled from |
| 187 # content and moved to android_webview. See crbug.com/365797. | 187 # content and moved to android_webview. See crbug.com/365797. |
| 188 ":mojo_bindings", |
| 188 "//gpu/blink", | 189 "//gpu/blink", |
| 189 "//gpu/command_buffer/client:gl_in_process_context", | 190 "//gpu/command_buffer/client:gl_in_process_context", |
| 190 "//gpu/command_buffer/client:gles2_c_lib", | 191 "//gpu/command_buffer/client:gles2_c_lib", |
| 191 "//gpu/command_buffer/client:gles2_cmd_helper", | 192 "//gpu/command_buffer/client:gles2_cmd_helper", |
| 192 "//gpu/command_buffer/client:gles2_implementation", | 193 "//gpu/command_buffer/client:gles2_implementation", |
| 193 "//gpu/command_buffer/service", | 194 "//gpu/command_buffer/service", |
| 194 "//gpu/ipc", | 195 "//gpu/ipc", |
| 195 "//gpu/skia_bindings", | 196 "//gpu/skia_bindings", |
| 196 "//media", | 197 "//media", |
| 198 "//media:shared_memory_support", |
| 197 "//media/midi", | 199 "//media/midi", |
| 198 "//media:shared_memory_support", | |
| 199 "//mojo/application/public/interfaces", | 200 "//mojo/application/public/interfaces", |
| 200 "//mojo/common:common_base", | 201 "//mojo/common:common_base", |
| 201 "//mojo/environment:chromium", | 202 "//mojo/environment:chromium", |
| 202 "//sandbox", | 203 "//sandbox", |
| 203 "//storage/common", | 204 "//storage/common", |
| 204 "//third_party/WebKit/public:blink", | 205 "//third_party/WebKit/public:blink", |
| 205 "//third_party/mojo/src/mojo/edk/system", | 206 "//third_party/mojo/src/mojo/edk/system", |
| 206 "//ui/gl", | 207 "//ui/gl", |
| 207 ":mojo_bindings", | |
| 208 ] | 208 ] |
| 209 } | 209 } |
| 210 | 210 |
| 211 defines = [ "MOJO_SHELL_CLIENT" ] | 211 defines = [ "MOJO_SHELL_CLIENT" ] |
| 212 include_dirs = [] | 212 include_dirs = [] |
| 213 libs = [] | 213 libs = [] |
| 214 ldflags = [] | 214 ldflags = [] |
| 215 | 215 |
| 216 if (is_android && use_seccomp_bpf) { | 216 if (is_android && use_seccomp_bpf) { |
| 217 set_sources_assignment_filter([]) | 217 set_sources_assignment_filter([]) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 230 "gpu/gpu_memory_buffer_factory_io_surface.h", | 230 "gpu/gpu_memory_buffer_factory_io_surface.h", |
| 231 "gpu/media/vt.h", | 231 "gpu/media/vt.h", |
| 232 "gpu/media/vt_video_decode_accelerator.cc", | 232 "gpu/media/vt_video_decode_accelerator.cc", |
| 233 "gpu/media/vt_video_decode_accelerator.h", | 233 "gpu/media/vt_video_decode_accelerator.h", |
| 234 ] + get_target_outputs(":libvt_generate_stubs") | 234 ] + get_target_outputs(":libvt_generate_stubs") |
| 235 | 235 |
| 236 sources -= [ "plugin_list_posix.cc" ] | 236 sources -= [ "plugin_list_posix.cc" ] |
| 237 | 237 |
| 238 deps += [ | 238 deps += [ |
| 239 ":libvt_generate_stubs", | 239 ":libvt_generate_stubs", |
| 240 "//content:resources", |
| 240 "//content/app/resources", | 241 "//content/app/resources", |
| 241 "//content:resources", | |
| 242 "//third_party/WebKit/public:image_resources", | 242 "//third_party/WebKit/public:image_resources", |
| 243 "//third_party/WebKit/public:resources", | 243 "//third_party/WebKit/public:resources", |
| 244 "//ui/accelerated_widget_mac", | 244 "//ui/accelerated_widget_mac", |
| 245 ] | 245 ] |
| 246 lib_dirs = [ "$mac_sdk_path/usr/lib" ] | 246 lib_dirs = [ "$mac_sdk_path/usr/lib" ] |
| 247 libs += [ | 247 libs += [ |
| 248 "IOSurface.framework", | 248 "IOSurface.framework", |
| 249 "OpenGL.framework", | 249 "OpenGL.framework", |
| 250 "QuartzCore.framework", | 250 "QuartzCore.framework", |
| 251 "sandbox", | 251 "sandbox", |
| 252 ] | 252 ] |
| 253 } | 253 } |
| 254 | 254 |
| 255 if (is_android) { | 255 if (is_android) { |
| 256 sources += [ | 256 sources += [ |
| 257 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc", | 257 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc", |
| 258 "gpu/client/gpu_memory_buffer_impl_surface_texture.h", | 258 "gpu/client/gpu_memory_buffer_impl_surface_texture.h", |
| 259 "gpu/gpu_memory_buffer_factory_surface_texture.cc", | 259 "gpu/gpu_memory_buffer_factory_surface_texture.cc", |
| 260 "gpu/gpu_memory_buffer_factory_surface_texture.h", | 260 "gpu/gpu_memory_buffer_factory_surface_texture.h", |
| 261 ] | 261 ] |
| 262 | 262 |
| 263 deps += [ | 263 deps += [ |
| 264 "//content/public/android:common_aidl", |
| 264 "//content/public/android:jni", | 265 "//content/public/android:jni", |
| 265 "//content/public/android:common_aidl", | |
| 266 ] | 266 ] |
| 267 | 267 |
| 268 libs += [ "android" ] | 268 libs += [ "android" ] |
| 269 } | 269 } |
| 270 | 270 |
| 271 if (is_debug && !is_component_build) { | 271 if (is_debug && !is_component_build) { |
| 272 # Content depends on the PPAPI message logging stuff; if this isn't here, | 272 # Content depends on the PPAPI message logging stuff; if this isn't here, |
| 273 # some unit test binaries won't compile. This only worked in release mode | 273 # some unit test binaries won't compile. This only worked in release mode |
| 274 # because logging is disabled there. | 274 # because logging is disabled there. |
| 275 deps += [ "//ppapi/proxy:ipc_sources" ] | 275 deps += [ "//ppapi/proxy:ipc_sources" ] |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 | 537 |
| 538 import_dirs = [ "//mojo/services" ] | 538 import_dirs = [ "//mojo/services" ] |
| 539 | 539 |
| 540 deps = [ | 540 deps = [ |
| 541 "//content/public/common:mojo_bindings", | 541 "//content/public/common:mojo_bindings", |
| 542 "//mojo/application/public/interfaces", | 542 "//mojo/application/public/interfaces", |
| 543 "//skia/public/interfaces", | 543 "//skia/public/interfaces", |
| 544 "//ui/mojo/geometry:interfaces", | 544 "//ui/mojo/geometry:interfaces", |
| 545 ] | 545 ] |
| 546 } | 546 } |
| OLD | NEW |