| 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 import("//third_party/WebKit/Source/bindings/core/core.gni") |
| 6 import("//third_party/WebKit/Source/config.gni") | 7 import("//third_party/WebKit/Source/config.gni") |
| 7 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
| 8 | 9 |
| 9 blink_headers_values = exec_script("//build/gypi_to_gn.py", | 10 blink_headers_values = exec_script("//build/gypi_to_gn.py", |
| 10 [ rebase_path("blink_headers.gypi") ], | 11 [ rebase_path("blink_headers.gypi") ], |
| 11 "scope", | 12 "scope", |
| 12 [ "blink_headers.gypi" ]) | 13 [ "blink_headers.gypi" ]) |
| 13 | 14 |
| 14 if (is_android) { | 15 if (is_android) { |
| 15 import("//build/config/android/rules.gni") | 16 import("//build/config/android/rules.gni") |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 outputs = [ | 136 outputs = [ |
| 136 "grit/blink_resources.h", | 137 "grit/blink_resources.h", |
| 137 "blink_resources.pak", | 138 "blink_resources.pak", |
| 138 ] | 139 ] |
| 139 if (use_concatenated_impulse_responses) { | 140 if (use_concatenated_impulse_responses) { |
| 140 grit_flags = [ | 141 grit_flags = [ |
| 141 "-D", | 142 "-D", |
| 142 "use_concatenated_impulse_responses", | 143 "use_concatenated_impulse_responses", |
| 143 ] | 144 ] |
| 144 } | 145 } |
| 146 html_min_css = "$blink_core_output_dir/html.css" |
| 147 grit_flags += [ |
| 148 "-E", |
| 149 "html_min_css=" + rebase_path(html_min_css), |
| 150 ] |
| 151 deps = [ |
| 152 "//third_party/WebKit/Source/core:make_minimized_css", |
| 153 ] |
| 145 } | 154 } |
| 146 | 155 |
| 147 # GYP version: WebKit/public/blink_resources.gyp:blink_image_resources | 156 # GYP version: WebKit/public/blink_resources.gyp:blink_image_resources |
| 148 grit("image_resources") { | 157 grit("image_resources") { |
| 149 output_dir = "$root_gen_dir/blink/public/resources" | 158 output_dir = "$root_gen_dir/blink/public/resources" |
| 150 use_qualified_include = true | 159 use_qualified_include = true |
| 151 source = "blink_image_resources.grd" | 160 source = "blink_image_resources.grd" |
| 152 outputs = [ | 161 outputs = [ |
| 153 "grit/blink_image_resources.h", | 162 "grit/blink_image_resources.h", |
| 154 "blink_image_resources_100_percent.pak", | 163 "blink_image_resources_100_percent.pak", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 "platform/modules/payments/payment_request.mojom", | 195 "platform/modules/payments/payment_request.mojom", |
| 187 ] | 196 ] |
| 188 } | 197 } |
| 189 | 198 |
| 190 group("generate_mojo_bindings") { | 199 group("generate_mojo_bindings") { |
| 191 deps = [ | 200 deps = [ |
| 192 ":mojo_bindings__generator", | 201 ":mojo_bindings__generator", |
| 193 ":mojo_bindings_blink__generator", | 202 ":mojo_bindings_blink__generator", |
| 194 ] | 203 ] |
| 195 } | 204 } |
| OLD | NEW |