Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: content/common/BUILD.gn

Issue 554393009: Make chrome GN build work in component mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo gyp changes Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/child/BUILD.gn ('k') | content/gpu/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 the public target should depend on this. All other targets (even
12 visibility = [ "//content/*" ] 12 # internal content ones) should depend on the public one.
13 visibility = [ "//content/public/common:common_sources" ]
13 14
14 sources = rebase_path(content_common_gypi_values.private_common_sources, 15 sources = rebase_path(content_common_gypi_values.private_common_sources,
15 ".", "//content") 16 ".", "//content")
16 17
17 forward_dependent_configs_from = [ 18 forward_dependent_configs_from = [
18 "//gpu/command_buffer/common", 19 "//gpu/command_buffer/common",
19 "//third_party/WebKit/public:blink_headers", 20 "//third_party/WebKit/public:blink_headers",
20 ] 21 ]
21 22
22 configs += [ 23 configs += [
(...skipping 21 matching lines...) Expand all
44 45
45 if (!is_ios) { 46 if (!is_ios) {
46 deps += [ 47 deps += [
47 "//cc", 48 "//cc",
48 "//ipc", 49 "//ipc",
49 "//ipc/mojo", 50 "//ipc/mojo",
50 # TODO: the dependency on gl_in_process_context should be decoupled from 51 # TODO: the dependency on gl_in_process_context should be decoupled from
51 # content and moved to android_webview. See crbug.com/365797. 52 # content and moved to android_webview. See crbug.com/365797.
52 "//gpu/command_buffer/client:gl_in_process_context", 53 "//gpu/command_buffer/client:gl_in_process_context",
53 "//gpu/command_buffer/client:gles2_c_lib", 54 "//gpu/command_buffer/client:gles2_c_lib",
55 "//gpu/command_buffer/client:gles2_cmd_helper",
54 "//gpu/command_buffer/client:gles2_implementation", 56 "//gpu/command_buffer/client:gles2_implementation",
55 "//gpu/command_buffer/service", 57 "//gpu/command_buffer/service",
56 "//gpu/ipc", 58 "//gpu/ipc",
57 "//gpu/skia_bindings", 59 "//gpu/skia_bindings",
58 "//media", 60 "//media",
59 "//media:shared_memory_support", 61 "//media:shared_memory_support",
60 "//mojo/environment:chromium", 62 "//mojo/environment:chromium",
61 "//mojo/public/interfaces/application", 63 "//mojo/public/interfaces/application",
62 "//mojo/system", 64 "//mojo/system",
63 "//sandbox", 65 "//sandbox",
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 282
281 mojom("mojo_bindings") { 283 mojom("mojo_bindings") {
282 sources = [ 284 sources = [
283 "render_frame_setup.mojom", 285 "render_frame_setup.mojom",
284 ] 286 ]
285 287
286 deps = [ 288 deps = [
287 "//mojo/public/interfaces/application:application", 289 "//mojo/public/interfaces/application:application",
288 ] 290 ]
289 } 291 }
OLDNEW
« no previous file with comments | « content/child/BUILD.gn ('k') | content/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698