| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 outputs = [ | 134 outputs = [ |
| 134 "grit/blink_resources.h", | 135 "grit/blink_resources.h", |
| 135 "blink_resources.pak", | 136 "blink_resources.pak", |
| 136 ] | 137 ] |
| 137 if (use_concatenated_impulse_responses) { | 138 if (use_concatenated_impulse_responses) { |
| 138 grit_flags = [ | 139 grit_flags = [ |
| 139 "-D", | 140 "-D", |
| 140 "use_concatenated_impulse_responses", | 141 "use_concatenated_impulse_responses", |
| 141 ] | 142 ] |
| 142 } | 143 } |
| 144 html_min_css = "$blink_core_output_dir/html.css" |
| 145 grit_flags += [ |
| 146 "-E", |
| 147 "html_min_css=" + rebase_path(html_min_css), |
| 148 ] |
| 149 deps = [ |
| 150 "//third_party/WebKit/Source/core:make_minimized_css", |
| 151 ] |
| 143 } | 152 } |
| 144 | 153 |
| 145 # GYP version: WebKit/public/blink_resources.gyp:blink_image_resources | 154 # GYP version: WebKit/public/blink_resources.gyp:blink_image_resources |
| 146 grit("image_resources") { | 155 grit("image_resources") { |
| 147 output_dir = "$root_gen_dir/blink/public/resources" | 156 output_dir = "$root_gen_dir/blink/public/resources" |
| 148 use_qualified_include = true | 157 use_qualified_include = true |
| 149 source = "blink_image_resources.grd" | 158 source = "blink_image_resources.grd" |
| 150 outputs = [ | 159 outputs = [ |
| 151 "grit/blink_image_resources.h", | 160 "grit/blink_image_resources.h", |
| 152 "blink_image_resources_100_percent.pak", | 161 "blink_image_resources_100_percent.pak", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 "platform/modules/payments/payment_request.mojom", | 193 "platform/modules/payments/payment_request.mojom", |
| 185 ] | 194 ] |
| 186 } | 195 } |
| 187 | 196 |
| 188 group("generate_mojo_bindings") { | 197 group("generate_mojo_bindings") { |
| 189 deps = [ | 198 deps = [ |
| 190 ":mojo_bindings__generator", | 199 ":mojo_bindings__generator", |
| 191 ":mojo_bindings_blink__generator", | 200 ":mojo_bindings_blink__generator", |
| 192 ] | 201 ] |
| 193 } | 202 } |
| OLD | NEW |