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("//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", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 public_deps -= [ | 63 public_deps -= [ |
64 "//third_party/WebKit/Source/platform:blink_heap_unittests", | 64 "//third_party/WebKit/Source/platform:blink_heap_unittests", |
65 "//third_party/WebKit/Source/platform:blink_platform_unittests", | 65 "//third_party/WebKit/Source/platform:blink_platform_unittests", |
66 "//third_party/WebKit/Source/web:webkit_unit_tests", | 66 "//third_party/WebKit/Source/web:webkit_unit_tests", |
67 ] | 67 ] |
68 } | 68 } |
69 } | 69 } |
70 | 70 |
71 config("blink_headers_config") { | 71 config("blink_headers_config") { |
72 include_dirs = [ ".." ] | 72 include_dirs = [ ".." ] |
| 73 |
| 74 # Allow :blink_headers to include v8.h without linking to it. |
| 75 configs = [ "//v8:external_config" ] |
73 } | 76 } |
74 | 77 |
75 config("debug_devtools") { | 78 config("debug_devtools") { |
76 if (debug_devtools) { | 79 if (debug_devtools) { |
77 defines = [ "DEBUG_DEVTOOLS=1" ] | 80 defines = [ "DEBUG_DEVTOOLS=1" ] |
78 } | 81 } |
79 } | 82 } |
80 | 83 |
81 if (is_android) { | 84 if (is_android) { |
82 # GYP version: WebKit/public/blink_headers.gyp:web_input_event_java | 85 # GYP version: WebKit/public/blink_headers.gyp:web_input_event_java |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 grit("image_resources") { | 148 grit("image_resources") { |
146 output_dir = "$root_gen_dir/blink/public/resources" | 149 output_dir = "$root_gen_dir/blink/public/resources" |
147 use_qualified_include = true | 150 use_qualified_include = true |
148 source = "blink_image_resources.grd" | 151 source = "blink_image_resources.grd" |
149 outputs = [ | 152 outputs = [ |
150 "grit/blink_image_resources.h", | 153 "grit/blink_image_resources.h", |
151 "blink_image_resources_100_percent.pak", | 154 "blink_image_resources_100_percent.pak", |
152 "blink_image_resources_200_percent.pak", | 155 "blink_image_resources_200_percent.pak", |
153 ] | 156 ] |
154 } | 157 } |
OLD | NEW |