| 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 | 9 |
| 10 source_set("common") { | 10 source_set("common") { |
| 11 # Only targets in the content tree can depend directly on this target. | 11 # Only targets in the content tree can depend directly on this target. |
| 12 visibility = [ "//content/*" ] | 12 visibility = [ "//content/*" ] |
| 13 | 13 |
| 14 sources = rebase_path(content_common_gypi_values.private_common_sources, | 14 sources = rebase_path(content_common_gypi_values.private_common_sources, |
| 15 ".", "//content") | 15 ".", "//content") |
| 16 | 16 |
| 17 forward_dependent_configs_from = [ | 17 forward_dependent_configs_from = [ |
| 18 # TODO(GYP) convert these dependencies. | 18 "//gpu/command_buffer/common", |
| 19 #"//third_party/WebKit/public:blink_headers", | 19 "//third_party/WebKit/public:blink_headers", |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 configs += [ | 22 configs += [ |
| 23 "//content:blink_headers_stub_config", | |
| 24 "//content:content_implementation", | 23 "//content:content_implementation", |
| 25 "//content:libjingle_stub_config", | 24 "//content:libjingle_stub_config", |
| 26 ] | 25 ] |
| 27 | 26 |
| 28 deps = [ | 27 deps = [ |
| 29 "//base", | 28 "//base", |
| 30 "//build/util:webkit_version", | 29 "//build/util:webkit_version", |
| 31 "//components/tracing", | 30 "//components/tracing", |
| 32 "//gpu/command_buffer/common", | 31 "//gpu/command_buffer/common", |
| 33 "//net", | 32 "//net", |
| 34 "//skia", | 33 "//skia", |
| 35 "//third_party/icu", | 34 "//third_party/icu", |
| 36 "//ui/accessibility", | 35 "//ui/accessibility", |
| 37 "//ui/base:ui_base", | 36 "//ui/base:ui_base", |
| 38 "//ui/gfx", | 37 "//ui/gfx", |
| 39 "//ui/gfx/geometry", | 38 "//ui/gfx/geometry", |
| 40 "//url", | 39 "//url", |
| 40 "//third_party/WebKit/public:blink_headers", |
| 41 # TODO(GYP) convert these dependencies. | 41 # TODO(GYP) convert these dependencies. |
| 42 #"//third_party/WebKit/public:blink_headers", | |
| 43 #'../third_party/libjingle/libjingle.gyp:libjingle', | 42 #'../third_party/libjingle/libjingle.gyp:libjingle', |
| 44 #'../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', | 43 #'../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', |
| 45 ] | 44 ] |
| 46 | 45 |
| 47 if (!is_ios) { | 46 if (!is_ios) { |
| 48 deps += [ | 47 deps += [ |
| 49 "//ipc", | 48 "//ipc", |
| 50 "//gpu/command_buffer/client:gles2_c_lib", | 49 "//gpu/command_buffer/client:gles2_c_lib", |
| 51 "//gpu/command_buffer/client:gles2_implementation", | 50 "//gpu/command_buffer/client:gles2_implementation", |
| 52 "//ui/gl", | 51 "//ui/gl", |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 ] | 260 ] |
| 262 } | 261 } |
| 263 } | 262 } |
| 264 } | 263 } |
| 265 | 264 |
| 266 mojom("mojo_bindings") { | 265 mojom("mojo_bindings") { |
| 267 sources = [ | 266 sources = [ |
| 268 "web_ui_setup.mojom", | 267 "web_ui_setup.mojom", |
| 269 ] | 268 ] |
| 270 } | 269 } |
| OLD | NEW |