Index: components/test_runner/BUILD.gn |
diff --git a/components/test_runner/BUILD.gn b/components/test_runner/BUILD.gn |
index 6973f1edb5517b1dffd7dcd54de3e9e439a12209..7cd8530ba193fe5f497be056f81494f8f1806194 100644 |
--- a/components/test_runner/BUILD.gn |
+++ b/components/test_runner/BUILD.gn |
@@ -158,20 +158,24 @@ if (is_android) { |
] |
} |
} |
+if (is_mac) { |
+ bundle_data("test_runner_bundle_data") { |
+ sources = [ |
+ "resources/fonts/AHEM____.TTF", |
+ "resources/fonts/ChromiumAATTest.ttf", |
+ ] |
+ |
+ outputs = [ |
+ "{{bundle_resources_dir}}/{{source_file_part}}", |
+ ] |
+ } |
+} |
group("resources") { |
deps = [] |
if (is_mac) { |
- # TODO(GYP) Mac bundle resources. |
- #'all_dependent_settings': { |
- # 'mac_bundle_resources': [ |
- # 'resources/fonts/AHEM____.TTF', |
- # 'resources/fonts/ChromiumAATTest.ttf', |
- # '<(SHARED_INTERMEDIATE_DIR)/webkit/missingImage.png', |
- # '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png', |
- # ], |
- #}, |
+ deps += [ ":test_runner_bundle_data" ] |
} else { |
deps += [ ":copy_ahem" ] |
} |