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

Side by Side Diff: public/BUILD.gn

Issue 1351203002: Make deps of GN groups public. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « Source/platform/BUILD.gn ('k') | no next file » | 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("//third_party/WebKit/Source/config.gni") 5 import("//third_party/WebKit/Source/config.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 blink_headers_values = exec_script("//build/gypi_to_gn.py", 8 blink_headers_values = exec_script("//build/gypi_to_gn.py",
9 [ rebase_path("blink_headers.gypi") ], 9 [ rebase_path("blink_headers.gypi") ],
10 "scope", 10 "scope",
11 [ "blink_headers.gypi" ]) 11 [ "blink_headers.gypi" ])
12 12
13 13
14 if (is_android) { 14 if (is_android) {
15 import("//build/config/android/rules.gni") 15 import("//build/config/android/rules.gni")
16 } 16 }
17 17
18 # GYP version: WebKit/public/blink.gyp:blink 18 # GYP version: WebKit/public/blink.gyp:blink
19 group("blink") { 19 group("blink") {
20 deps = [ 20 public_deps = [
21 ":blink_headers", 21 ":blink_headers",
22 ":blink_minimal", 22 ":blink_minimal",
23 "//third_party/WebKit/Source/web", 23 "//third_party/WebKit/Source/web",
24 "//third_party/WebKit/Source/platform", 24 "//third_party/WebKit/Source/platform",
25 ] 25 ]
26 } 26 }
27 27
28 # This target provides a minimal set of Blink APIs such as WebString to use in 28 # This target provides a minimal set of Blink APIs such as WebString to use in
29 # places that cannot link against the full Blink library. FIXME: We really 29 # places that cannot link against the full Blink library. FIXME: We really
30 # shouldn't have this at all and should instead remove all uses of Blink's API 30 # shouldn't have this at all and should instead remove all uses of Blink's API
31 # types from places that can't link against Blink. crbug.com/248653 31 # types from places that can't link against Blink. crbug.com/248653
32 # 32 #
33 # GYP version: WebKit/public/blink.gyp:blink_minimal 33 # GYP version: WebKit/public/blink.gyp:blink_minimal
34 group("blink_minimal") { 34 group("blink_minimal") {
35 deps = [ 35 public_deps = [
36 "//third_party/WebKit/Source/platform:blink_common", 36 "//third_party/WebKit/Source/platform:blink_common",
37 ] 37 ]
38 } 38 }
39 39
40 # GYP version: WebKit/public/blink.gyp:blink_test_support 40 # GYP version: WebKit/public/blink.gyp:blink_test_support
41 group("test_support") { 41 group("test_support") {
42 deps = [ 42 public_deps = [
43 "//third_party/WebKit/Source/web:test_support", 43 "//third_party/WebKit/Source/web:test_support",
44 ] 44 ]
45 } 45 }
46 46
47 # GYP version: WebKit/public/all.gyp:all_blink 47 # GYP version: WebKit/public/all.gyp:all_blink
48 group("all_blink") { 48 group("all_blink") {
49 # This includes some test targets. Don't link into production! 49 # This includes some test targets. Don't link into production!
50 testonly = true 50 testonly = true
51 51
52 deps = [ 52 public_deps = [
53 "//third_party/WebKit/Source/core", 53 "//third_party/WebKit/Source/core",
54 "//third_party/WebKit/Source/modules", 54 "//third_party/WebKit/Source/modules",
55 "//third_party/WebKit/Source/platform:heap_unittests", 55 "//third_party/WebKit/Source/platform:heap_unittests",
56 "//third_party/WebKit/Source/platform:platform_unittests", 56 "//third_party/WebKit/Source/platform:platform_unittests",
57 "//third_party/WebKit/Source/web", 57 "//third_party/WebKit/Source/web",
58 "//third_party/WebKit/Source/web:webkit_unit_tests", 58 "//third_party/WebKit/Source/web:webkit_unit_tests",
59 "//third_party/WebKit/Source/wtf:wtf_unittests", 59 "//third_party/WebKit/Source/wtf:wtf_unittests",
60 ] 60 ]
61 61
62 if (is_mac) { 62 if (is_mac) {
63 # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac. 63 # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac.
64 deps -= [ 64 public_deps -= [
65 "//third_party/WebKit/Source/platform:heap_unittests", 65 "//third_party/WebKit/Source/platform:heap_unittests",
66 "//third_party/WebKit/Source/platform:platform_unittests", 66 "//third_party/WebKit/Source/platform:platform_unittests",
67 "//third_party/WebKit/Source/web:webkit_unit_tests", 67 "//third_party/WebKit/Source/web:webkit_unit_tests",
68 ] 68 ]
69 } 69 }
70 } 70 }
71 71
72 config("blink_headers_config") { 72 config("blink_headers_config") {
73 include_dirs = [ ".." ] 73 include_dirs = [ ".." ]
74 } 74 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 # Blink exposes icu headers in the public API. 112 # Blink exposes icu headers in the public API.
113 "//third_party/icu:icu_config", 113 "//third_party/icu:icu_config",
114 # Blink exposes NPAPI headers in the public API. 114 # Blink exposes NPAPI headers in the public API.
115 "//third_party/npapi:npapi_config", 115 "//third_party/npapi:npapi_config",
116 ] 116 ]
117 sources = blink_headers_values.blink_public_sources 117 sources = blink_headers_values.blink_public_sources
118 } 118 }
119 119
120 # GYP version: WebKit/public/blink_devtools.gyp:blink_devtools_frontend_resource s 120 # GYP version: WebKit/public/blink_devtools.gyp:blink_devtools_frontend_resource s
121 group("blink_devtools_frontend_resources") { 121 group("blink_devtools_frontend_resources") {
122 deps = [ 122 public_deps = [
123 "//third_party/WebKit/Source/devtools:devtools_frontend_resources", 123 "//third_party/WebKit/Source/devtools:devtools_frontend_resources",
124 ] 124 ]
125 } 125 }
126 126
127 # GYP version: WebKit/public/blink_devtools.gyp:blink_generate_devtools_grd 127 # GYP version: WebKit/public/blink_devtools.gyp:blink_generate_devtools_grd
128 group("blink_generate_devtools_grd") { 128 group("blink_generate_devtools_grd") {
129 deps = [ 129 public_deps = [
130 "//third_party/WebKit/Source/devtools:generate_devtools_grd", 130 "//third_party/WebKit/Source/devtools:generate_devtools_grd",
131 ] 131 ]
132 } 132 }
133 133
134 # GYP version: WebKit/public/blink_resources.gyp:blink_resources 134 # GYP version: WebKit/public/blink_resources.gyp:blink_resources
135 grit("resources") { 135 grit("resources") {
136 output_dir = "$root_gen_dir/blink/public/resources" 136 output_dir = "$root_gen_dir/blink/public/resources"
137 use_qualified_include = true 137 use_qualified_include = true
138 source = "blink_resources.grd" 138 source = "blink_resources.grd"
139 outputs = [ 139 outputs = [
(...skipping 12 matching lines...) Expand all
152 grit("image_resources") { 152 grit("image_resources") {
153 output_dir = "$root_gen_dir/blink/public/resources" 153 output_dir = "$root_gen_dir/blink/public/resources"
154 use_qualified_include = true 154 use_qualified_include = true
155 source = "blink_image_resources.grd" 155 source = "blink_image_resources.grd"
156 outputs = [ 156 outputs = [
157 "grit/blink_image_resources.h", 157 "grit/blink_image_resources.h",
158 "blink_image_resources_100_percent.pak", 158 "blink_image_resources_100_percent.pak",
159 "blink_image_resources_200_percent.pak", 159 "blink_image_resources_200_percent.pak",
160 ] 160 ]
161 } 161 }
OLDNEW
« no previous file with comments | « Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698