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