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

Side by Side Diff: public/BUILD.gn

Issue 864723003: Made blink gyps and gns to public oilpan configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
11 # GYP version: WebKit/public/blink.gyp:blink 11 # GYP version: WebKit/public/blink.gyp:blink
12 group("blink") { 12 group("blink") {
13 deps = [ 13 deps = [
14 ":blink_headers", 14 ":blink_headers",
15 ":blink_minimal", 15 ":blink_minimal",
16 "//third_party/WebKit/Source/web", 16 "//third_party/WebKit/Source/web",
17 "//third_party/WebKit/Source/platform", 17 "//third_party/WebKit/Source/platform",
18 ] 18 ]
19 public_configs = [
20 "//third_party/WebKit/Source:public_features",
21 ]
19 } 22 }
20 23
21 # This target provides a minimal set of Blink APIs such as WebString to use in 24 # This target provides a minimal set of Blink APIs such as WebString to use in
22 # places that cannot link against the full Blink library. FIXME: We really 25 # places that cannot link against the full Blink library. FIXME: We really
23 # shouldn't have this at all and should instead remove all uses of Blink's API 26 # shouldn't have this at all and should instead remove all uses of Blink's API
24 # types from places that can't link against Blink. crbug.com/248653 27 # types from places that can't link against Blink. crbug.com/248653
25 # 28 #
26 # GYP version: WebKit/public/blink.gyp:blink_minimal 29 # GYP version: WebKit/public/blink.gyp:blink_minimal
27 group("blink_minimal") { 30 group("blink_minimal") {
28 deps = [ 31 deps = [
29 "//third_party/WebKit/Source/platform:blink_common", 32 "//third_party/WebKit/Source/platform:blink_common",
30 ] 33 ]
34 public_configs = [
35 "//third_party/WebKit/Source:public_features",
36 ]
31 } 37 }
32 38
33 # GYP version: WebKit/public/blink.gyp:blink_test_support 39 # GYP version: WebKit/public/blink.gyp:blink_test_support
34 group("test_support") { 40 group("test_support") {
35 deps = [ 41 deps = [
36 "//third_party/WebKit/Source/web:test_support", 42 "//third_party/WebKit/Source/web:test_support",
37 ] 43 ]
38 } 44 }
39 45
40 # GYP version: WebKit/public/all.gyp:all_blink 46 # GYP version: WebKit/public/all.gyp:all_blink
41 group("all_blink") { 47 group("all_blink") {
brettw 2015/01/26 19:30:06 I think you want to add it to this one also.
tasak 2015/01/27 06:42:30 Done.
42 # This includes some test targets. Don't link into production! 48 # This includes some test targets. Don't link into production!
43 testonly = true 49 testonly = true
44 50
45 deps = [ 51 deps = [
46 "//third_party/WebKit/Source/core", 52 "//third_party/WebKit/Source/core",
47 "//third_party/WebKit/Source/modules", 53 "//third_party/WebKit/Source/modules",
48 "//third_party/WebKit/Source/platform:heap_unittests", 54 "//third_party/WebKit/Source/platform:heap_unittests",
49 "//third_party/WebKit/Source/platform:platform_unittests", 55 "//third_party/WebKit/Source/platform:platform_unittests",
50 "//third_party/WebKit/Source/web", 56 "//third_party/WebKit/Source/web",
51 "//third_party/WebKit/Source/wtf:wtf_unittests", 57 "//third_party/WebKit/Source/wtf:wtf_unittests",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 # GYP version: WebKit/public/blink_headers.gyp:blink_headers_java 93 # GYP version: WebKit/public/blink_headers.gyp:blink_headers_java
88 android_library("blink_headers_java") { 94 android_library("blink_headers_java") {
89 srcjar_deps = [ 95 srcjar_deps = [
90 ":blink_headers_java_enums_srcjar", 96 ":blink_headers_java_enums_srcjar",
91 ] 97 ]
92 } 98 }
93 } 99 }
94 100
95 # Depend on this target to use public blink API headers for things like enums 101 # Depend on this target to use public blink API headers for things like enums
96 # and public structures without actually linking against any Blink libraries. 102 # and public structures without actually linking against any Blink libraries.
97 source_set("blink_headers") { 103 source_set("blink_headers") {
brettw 2015/01/26 19:30:06 And this one since the blink headers will need thi
tasak 2015/01/27 06:42:30 Done.
98 public_configs = [ 104 public_configs = [
99 ":blink_headers_config", 105 ":blink_headers_config",
100 # Blink exposes icu headers in the public API. 106 # Blink exposes icu headers in the public API.
101 "//third_party/icu:icu_config", 107 "//third_party/icu:icu_config",
102 # Blink exposes NPAPI headers in the public API. 108 # Blink exposes NPAPI headers in the public API.
103 "//third_party/npapi:npapi_config", 109 "//third_party/npapi:npapi_config",
104 ] 110 ]
105 } 111 }
106 112
107 # GYP version: WebKit/public/blink_devtools.gyp:blink_devtools_frontend_resource s 113 # GYP version: WebKit/public/blink_devtools.gyp:blink_devtools_frontend_resource s
(...skipping 14 matching lines...) Expand all
122 grit("resources") { 128 grit("resources") {
123 output_dir = "$root_gen_dir/blink/public/resources" 129 output_dir = "$root_gen_dir/blink/public/resources"
124 use_qualified_include = true 130 use_qualified_include = true
125 source = "blink_resources.grd" 131 source = "blink_resources.grd"
126 outputs = [ 132 outputs = [
127 "grit/blink_resources.h", 133 "grit/blink_resources.h",
128 "blink_resources.rc", 134 "blink_resources.rc",
129 "blink_resources.pak", 135 "blink_resources.pak",
130 ] 136 ]
131 } 137 }
OLDNEW
« no previous file with comments | « Source/config.gni ('k') | public/all.gyp » ('j') | public/features.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698