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 import("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 # GYP version: WebKit/public/blink.gyp:blink | 7 # GYP version: WebKit/public/blink.gyp:blink |
8 group("blink") { | 8 group("blink") { |
9 deps = [ | 9 deps = [ |
10 ":blink_headers", | 10 ":blink_headers", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 "//third_party/WebKit/Source/platform:platform_unittests", | 45 "//third_party/WebKit/Source/platform:platform_unittests", |
46 "//third_party/WebKit/Source/web", | 46 "//third_party/WebKit/Source/web", |
47 "//third_party/WebKit/Source/wtf:wtf_unittests", | 47 "//third_party/WebKit/Source/wtf:wtf_unittests", |
48 ] | 48 ] |
49 } | 49 } |
50 | 50 |
51 config("blink_headers_config") { | 51 config("blink_headers_config") { |
52 include_dirs = [ ".." ] | 52 include_dirs = [ ".." ] |
53 } | 53 } |
54 | 54 |
| 55 config("debug_devtools") { |
| 56 if (debug_devtools) { |
| 57 defines = [ "DEBUG_DEVTOOLS=1" ] |
| 58 } |
| 59 } |
| 60 |
55 # Depend on this target to use public blink API headers for things like enums | 61 # Depend on this target to use public blink API headers for things like enums |
56 # and public structures without actually linking against any Blink libraries. | 62 # and public structures without actually linking against any Blink libraries. |
57 source_set("blink_headers") { | 63 source_set("blink_headers") { |
58 public_configs = [ | 64 public_configs = [ |
59 ":blink_headers_config", | 65 ":blink_headers_config", |
60 # Blink exposes icu headers in the public API. | 66 # Blink exposes icu headers in the public API. |
61 "//third_party/icu:icu_config", | 67 "//third_party/icu:icu_config", |
62 # Blink exposes NPAPI headers in the public API. | 68 # Blink exposes NPAPI headers in the public API. |
63 "//third_party/npapi:npapi_config", | 69 "//third_party/npapi:npapi_config", |
64 ] | 70 ] |
(...skipping 17 matching lines...) Expand all Loading... |
82 grit("resources") { | 88 grit("resources") { |
83 output_dir = "$root_gen_dir/blink/public/resources" | 89 output_dir = "$root_gen_dir/blink/public/resources" |
84 use_qualified_include = true | 90 use_qualified_include = true |
85 source = "blink_resources.grd" | 91 source = "blink_resources.grd" |
86 outputs = [ | 92 outputs = [ |
87 "grit/blink_resources.h", | 93 "grit/blink_resources.h", |
88 "blink_resources.rc", | 94 "blink_resources.rc", |
89 "blink_resources.pak", | 95 "blink_resources.pak", |
90 ] | 96 ] |
91 } | 97 } |
OLD | NEW |