| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 "-D", | 155 "-D", |
| 156 "use_concatenated_impulse_responses", | 156 "use_concatenated_impulse_responses", |
| 157 ] | 157 ] |
| 158 } | 158 } |
| 159 } | 159 } |
| 160 | 160 |
| 161 # GYP version: WebKit/public/blink_resources.gyp:blink_image_resources | 161 # GYP version: WebKit/public/blink_resources.gyp:blink_image_resources |
| 162 grit("image_resources") { | 162 grit("image_resources") { |
| 163 output_dir = "$root_gen_dir/blink/public/resources" | 163 output_dir = "$root_gen_dir/blink/public/resources" |
| 164 use_qualified_include = true | 164 use_qualified_include = true |
| 165 if (is_android) { |
| 166 platform_type = "mobile" |
| 167 } else { |
| 168 platform_type = "desktop" |
| 169 } |
| 165 source = "blink_image_resources.grd" | 170 source = "blink_image_resources.grd" |
| 166 outputs = [ | 171 outputs = [ |
| 167 "grit/blink_image_resources.h", | 172 "grit/blink_image_resources.h", |
| 168 "blink_image_resources_100_percent.pak", | 173 "blink_image_resources_100_percent.pak", |
| 169 "blink_image_resources_200_percent.pak", | 174 "blink_image_resources_200_percent.pak", |
| 170 ] | 175 ] |
| 176 grit_flags = [ |
| 177 "-E", |
| 178 "platform_type=" + platform_type, |
| 179 ] |
| 171 } | 180 } |
| OLD | NEW |