Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Side by Side Diff: ios/web/test/BUILD.gn

Issue 2006273005: [ios Mojo] Integration test for Mojo WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed GN Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//tools/grit/grit_rule.gni")
7 import("//tools/grit/repack.gni")
6 8
7 mojom("mojo_bindings") { 9 mojom("mojo_bindings") {
8 sources = [ 10 sources = [
9 "mojo_test.mojom", 11 "mojo_test.mojom",
10 ] 12 ]
11 } 13 }
14
15 repack_and_bundle("packed_resources") {
16 testonly = true
17 sources = [
18 "$root_gen_dir/ios/web/ios_web_resources.pak",
19 "$root_gen_dir/ios/web/test/test_resources.pak",
20 ]
21 deps = [
22 ":resources",
23 "//ios/web:resources",
24 ]
25 output = "$target_gen_dir/resources.pak"
26 bundle_output = "{{bundle_resources_dir}}/{{source_file_part}}"
27 }
28
29 grit("resources") {
30 source = "test_resources.grd"
31 use_qualified_include = true
32 inputs = [
33 "${root_gen_dir}/ios/web/test/mojo_test.mojom.js",
34 ]
35 deps = [
36 ":mojo_bindings",
37 ]
38 outputs = [
39 "grit/test_resources.h",
40 "test_resources.pak",
41 ]
42 grit_flags = [
43 "-E",
44 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
45 ]
46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698