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 # TODO(brettw) this file is a work in progress, it is not currently hooked up | |
6 # to the build, but currently represents the state of content/common's deps. | |
7 | |
8 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
10 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") |
11 | 9 |
12 source_set("common") { | 10 source_set("common") { |
13 # 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. |
14 visibility = [ "//content/*" ] | 12 visibility = [ "//content/*" ] |
15 | 13 |
16 sources = rebase_path(content_common_gypi_values.private_common_sources, | 14 sources = rebase_path(content_common_gypi_values.private_common_sources, |
17 ".", "//content") | 15 ".", "//content") |
18 | 16 |
19 forward_dependent_configs_from = [ | 17 forward_dependent_configs_from = [ |
20 # TODO(GYP) convert these dependencies. | 18 # TODO(GYP) convert these dependencies. |
21 #"//third_party/WebKit/public:blink_headers", | 19 #"//third_party/WebKit/public:blink_headers", |
22 ] | 20 ] |
23 | 21 |
24 configs += [ | 22 configs += [ |
25 "//content:blink_headers_stub_config", | 23 "//content:blink_headers_stub_config", |
| 24 "//content:content_implementation", |
26 "//content:libjingle_stub_config", | 25 "//content:libjingle_stub_config", |
27 ] | 26 ] |
28 | 27 |
29 deps = [ | 28 deps = [ |
30 "//base", | 29 "//base", |
31 "//build/util:webkit_version", | 30 "//build/util:webkit_version", |
32 "//components/tracing", | 31 "//components/tracing", |
33 "//gpu/command_buffer/common", | 32 "//gpu/command_buffer/common", |
34 "//net", | 33 "//net", |
35 "//skia", | 34 "//skia", |
(...skipping 27 matching lines...) Expand all Loading... |
63 #'../mojo/mojo.gyp:mojo_environment_chromium', | 62 #'../mojo/mojo.gyp:mojo_environment_chromium', |
64 #'../mojo/mojo.gyp:mojo_system_impl', | 63 #'../mojo/mojo.gyp:mojo_system_impl', |
65 #'../third_party/WebKit/public/blink.gyp:blink', | 64 #'../third_party/WebKit/public/blink.gyp:blink', |
66 #'../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', | 65 #'../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
67 #'../webkit/common/webkit_common.gyp:webkit_common', | 66 #'../webkit/common/webkit_common.gyp:webkit_common', |
68 #'../webkit/storage_browser.gyp:webkit_storage_browser', | 67 #'../webkit/storage_browser.gyp:webkit_storage_browser', |
69 #'../webkit/storage_common.gyp:webkit_storage_common', | 68 #'../webkit/storage_common.gyp:webkit_storage_common', |
70 ] | 69 ] |
71 } | 70 } |
72 | 71 |
| 72 defines = [] |
73 include_dirs = [] | 73 include_dirs = [] |
74 defines = [ "CONTENT_IMPLEMENTATION" ] | |
75 libs = [] | 74 libs = [] |
76 ldflags = [] | 75 ldflags = [] |
77 | 76 |
78 if (is_android && use_seccomp_bpf) { | 77 if (is_android && use_seccomp_bpf) { |
79 set_sources_assignment_filter([]) | 78 set_sources_assignment_filter([]) |
80 sources += [ | 79 sources += [ |
81 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", | 80 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", |
82 "sandbox_linux/sandbox_bpf_base_policy_linux.h", | 81 "sandbox_linux/sandbox_bpf_base_policy_linux.h", |
83 ] | 82 ] |
84 set_sources_assignment_filter(sources_assignment_filter) | 83 set_sources_assignment_filter(sources_assignment_filter) |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 } | 256 } |
258 if (is_android) { | 257 if (is_android) { |
259 sources -= [ | 258 sources -= [ |
260 "sandbox_linux/android/sandbox_bpf_base_policy_android.cc", | 259 "sandbox_linux/android/sandbox_bpf_base_policy_android.cc", |
261 "sandbox_linux/android/sandbox_bpf_base_policy_android.h", | 260 "sandbox_linux/android/sandbox_bpf_base_policy_android.h", |
262 ] | 261 ] |
263 } | 262 } |
264 } | 263 } |
265 } | 264 } |
266 | 265 |
| 266 mojom("mojo_bindings") { |
| 267 sources = [ |
| 268 "web_ui_setup.mojom", |
| 269 ] |
| 270 } |
OLD | NEW |