| 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 import("//third_party/mojo/src/mojo/public/mojo.gni") | 6 import("//third_party/mojo/src/mojo/public/mojo.gni") |
| 7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
| 8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
| 9 | 9 |
| 10 # Repack this here. | 10 # Repack this here. |
| 11 repack("unified_blink_resources") { | 11 repack("unified_blink_resources") { |
| 12 sources = [ | 12 sources = [ |
| 13 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak"
, | 13 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak"
, |
| 14 "$root_gen_dir/blink/public/resources/blink_resources.pak", | 14 "$root_gen_dir/blink/public/resources/blink_resources.pak", |
| 15 ] | 15 ] |
| 16 output = "$target_gen_dir/unified_blink_resources.pak" | 16 output = "$target_gen_dir/unified_blink_resources.pak" |
| 17 deps = [ | 17 deps = [ |
| 18 "//third_party/WebKit/public:image_resources", | 18 "//third_party/WebKit/public:image_resources", |
| 19 "//third_party/WebKit/public:resources", | 19 "//third_party/WebKit/public:resources", |
| 20 ] | 20 ] |
| 21 } | 21 } |
| 22 | 22 |
| 23 action("generate_blink_resource_map") { | 23 action("generate_blink_resource_map") { |
| 24 script = "//mojo/services/html_viewer/generate_blink_resource_map.py" | 24 script = "//components/html_viewer/generate_blink_resource_map.py" |
| 25 args = [ | 25 args = [ |
| 26 "--pak-file", | 26 "--pak-file", |
| 27 rebase_path("$target_gen_dir/unified_blink_resources.pak"), | 27 rebase_path("$target_gen_dir/unified_blink_resources.pak"), |
| 28 "--header", | 28 "--header", |
| 29 rebase_path("$target_gen_dir/blink_resource_map.h"), | 29 rebase_path("$target_gen_dir/blink_resource_map.h"), |
| 30 "--cpp", | 30 "--cpp", |
| 31 rebase_path("$target_gen_dir/blink_resource_map.cc"), | 31 rebase_path("$target_gen_dir/blink_resource_map.cc"), |
| 32 ] | 32 ] |
| 33 outputs = [ | 33 outputs = [ |
| 34 "$target_gen_dir/blink_resource_map.cc", | 34 "$target_gen_dir/blink_resource_map.cc", |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 ] | 233 ] |
| 234 | 234 |
| 235 deps = [ | 235 deps = [ |
| 236 ":lib", | 236 ":lib", |
| 237 ":html_viewer", | 237 ":html_viewer", |
| 238 "//mojo/application:test_support", | 238 "//mojo/application:test_support", |
| 239 "//net:test_support", | 239 "//net:test_support", |
| 240 "//testing/gtest", | 240 "//testing/gtest", |
| 241 ] | 241 ] |
| 242 } | 242 } |
| OLD | NEW |