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 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 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 deps -= [ | 61 deps -= [ |
62 "//third_party/WebKit/Source/platform:heap_unittests", | 62 "//third_party/WebKit/Source/platform:heap_unittests", |
63 "//third_party/WebKit/Source/platform:platform_unittests", | 63 "//third_party/WebKit/Source/platform:platform_unittests", |
64 ] | 64 ] |
65 } | 65 } |
66 public_configs = [ | 66 public_configs = [ |
67 "//third_party/WebKit/Source:public_features", | 67 "//third_party/WebKit/Source:public_features", |
68 ] | 68 ] |
69 } | 69 } |
70 | 70 |
| 71 group("blink_tests") { |
| 72 testonly = true |
| 73 |
| 74 deps = [ |
| 75 "//third_party/WebKit/Source/platform:heap_unittests", |
| 76 "//third_party/WebKit/Source/platform:platform_unittests", |
| 77 "//third_party/WebKit/Source/wtf:wtf_unittests", |
| 78 ] |
| 79 |
| 80 if (is_mac) { |
| 81 # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac. |
| 82 deps -= [ |
| 83 "//third_party/WebKit/Source/platform:heap_unittests", |
| 84 "//third_party/WebKit/Source/platform:platform_unittests", |
| 85 ] |
| 86 } |
| 87 } |
| 88 |
71 config("blink_headers_config") { | 89 config("blink_headers_config") { |
72 include_dirs = [ ".." ] | 90 include_dirs = [ ".." ] |
73 } | 91 } |
74 | 92 |
75 config("debug_devtools") { | 93 config("debug_devtools") { |
76 if (debug_devtools) { | 94 if (debug_devtools) { |
77 defines = [ "DEBUG_DEVTOOLS=1" ] | 95 defines = [ "DEBUG_DEVTOOLS=1" ] |
78 } | 96 } |
79 } | 97 } |
80 | 98 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 grit("resources") { | 150 grit("resources") { |
133 output_dir = "$root_gen_dir/blink/public/resources" | 151 output_dir = "$root_gen_dir/blink/public/resources" |
134 use_qualified_include = true | 152 use_qualified_include = true |
135 source = "blink_resources.grd" | 153 source = "blink_resources.grd" |
136 outputs = [ | 154 outputs = [ |
137 "grit/blink_resources.h", | 155 "grit/blink_resources.h", |
138 "blink_resources.rc", | 156 "blink_resources.rc", |
139 "blink_resources.pak", | 157 "blink_resources.pak", |
140 ] | 158 ] |
141 } | 159 } |
OLD | NEW |