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("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
6 | 7 |
7 if (is_android) { | 8 if (is_android) { |
8 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
9 } | 10 } |
10 | 11 |
11 # GYP version: WebKit/public/blink.gyp:blink | 12 # GYP version: WebKit/public/blink.gyp:blink |
12 group("blink") { | 13 group("blink") { |
13 deps = [ | 14 deps = [ |
14 ":blink_headers", | 15 ":blink_headers", |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 | 638 |
638 # GYP version: WebKit/public/blink_resources.gyp:blink_resources | 639 # GYP version: WebKit/public/blink_resources.gyp:blink_resources |
639 grit("resources") { | 640 grit("resources") { |
640 output_dir = "$root_gen_dir/blink/public/resources" | 641 output_dir = "$root_gen_dir/blink/public/resources" |
641 use_qualified_include = true | 642 use_qualified_include = true |
642 source = "blink_resources.grd" | 643 source = "blink_resources.grd" |
643 outputs = [ | 644 outputs = [ |
644 "grit/blink_resources.h", | 645 "grit/blink_resources.h", |
645 "blink_resources.pak", | 646 "blink_resources.pak", |
646 ] | 647 ] |
| 648 if (use_concatenated_impulse_responses) { |
| 649 grit_flags = [ |
| 650 "-D", |
| 651 "use_concatenated_impulse_responses", |
| 652 ] |
| 653 } |
647 } | 654 } |
648 | 655 |
649 # GYP version: WebKit/public/blink_resources.gyp:blink_image_resources | 656 # GYP version: WebKit/public/blink_resources.gyp:blink_image_resources |
650 grit("image_resources") { | 657 grit("image_resources") { |
651 output_dir = "$root_gen_dir/blink/public/resources" | 658 output_dir = "$root_gen_dir/blink/public/resources" |
652 use_qualified_include = true | 659 use_qualified_include = true |
653 source = "blink_image_resources.grd" | 660 source = "blink_image_resources.grd" |
654 outputs = [ | 661 outputs = [ |
655 "grit/blink_image_resources.h", | 662 "grit/blink_image_resources.h", |
656 "blink_image_resources_100_percent.pak", | 663 "blink_image_resources_100_percent.pak", |
657 "blink_image_resources_200_percent.pak", | 664 "blink_image_resources_200_percent.pak", |
658 ] | 665 ] |
659 } | 666 } |
OLD | NEW |