OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
6 import("//mojo/public/mojo_application_manifest.gni") | 6 import("//mojo/public/mojo_application_manifest.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 16 matching lines...) Expand all Loading... |
27 "android/android_hooks.cc", | 27 "android/android_hooks.cc", |
28 "main.cc", | 28 "main.cc", |
29 ] | 29 ] |
30 | 30 |
31 deps = [ | 31 deps = [ |
32 ":jni_headers", | 32 ":jni_headers", |
33 ":lib", | 33 ":lib", |
34 "//base", | 34 "//base", |
35 "//build/config/sanitizers:deps", | 35 "//build/config/sanitizers:deps", |
36 "//components/resource_provider/public/interfaces", | 36 "//components/resource_provider/public/interfaces", |
37 "//mojo/environment:chromium", | |
38 "//mojo/platform_handle:for_shared_library", | 37 "//mojo/platform_handle:for_shared_library", |
39 "//mojo/public/c/system:for_shared_library", | 38 "//mojo/public/c/system:for_shared_library", |
40 "//mojo/shell/public/cpp", | 39 "//mojo/shell/public/cpp", |
41 "//url", | 40 "//url", |
42 ] | 41 ] |
43 } | 42 } |
44 | 43 |
45 generate_jni("jni_headers") { | 44 generate_jni("jni_headers") { |
46 sources = [ | 45 sources = [ |
47 "android/java/org/chromium/resource_provider/Main.java", | 46 "android/java/org/chromium/resource_provider/Main.java", |
(...skipping 20 matching lines...) Expand all Loading... |
68 mojo_native_application("resource_provider") { | 67 mojo_native_application("resource_provider") { |
69 sources = [ | 68 sources = [ |
70 "main.cc", | 69 "main.cc", |
71 ] | 70 ] |
72 | 71 |
73 deps = [ | 72 deps = [ |
74 ":lib", | 73 ":lib", |
75 ":manifest", | 74 ":manifest", |
76 "//base", | 75 "//base", |
77 "//components/resource_provider/public/interfaces", | 76 "//components/resource_provider/public/interfaces", |
78 "//mojo/environment:chromium", | |
79 "//mojo/shell/public/cpp", | 77 "//mojo/shell/public/cpp", |
80 "//url", | 78 "//url", |
81 ] | 79 ] |
82 } | 80 } |
83 | 81 |
84 mojo_application_manifest("manifest") { | 82 mojo_application_manifest("manifest") { |
85 application_name = "resource_provider" | 83 application_name = "resource_provider" |
86 source = "manifest.json" | 84 source = "manifest.json" |
87 } | 85 } |
88 } | 86 } |
(...skipping 23 matching lines...) Expand all Loading... |
112 sources = [ | 110 sources = [ |
113 "file_utils_unittest.cc", | 111 "file_utils_unittest.cc", |
114 ] | 112 ] |
115 | 113 |
116 deps = [ | 114 deps = [ |
117 ":lib", | 115 ":lib", |
118 "//base", | 116 "//base", |
119 "//base/test:test_config", | 117 "//base/test:test_config", |
120 "//components/resource_provider/public/interfaces", | 118 "//components/resource_provider/public/interfaces", |
121 "//mojo/edk/test:run_all_unittests", | 119 "//mojo/edk/test:run_all_unittests", |
122 "//mojo/environment:chromium", | |
123 "//mojo/platform_handle:for_shared_library", | 120 "//mojo/platform_handle:for_shared_library", |
124 "//testing/gtest", | 121 "//testing/gtest", |
125 "//url", | 122 "//url", |
126 ] | 123 ] |
127 } | 124 } |
128 | 125 |
129 mojo_native_application("apptests") { | 126 mojo_native_application("apptests") { |
130 output_name = "resource_provider_apptests" | 127 output_name = "resource_provider_apptests" |
131 testonly = true | 128 testonly = true |
132 | 129 |
(...skipping 18 matching lines...) Expand all Loading... |
151 | 148 |
152 data_deps = [ | 149 data_deps = [ |
153 ":resource_provider", | 150 ":resource_provider", |
154 ] | 151 ] |
155 } | 152 } |
156 | 153 |
157 mojo_application_manifest("apptest_manifest") { | 154 mojo_application_manifest("apptest_manifest") { |
158 application_name = "resource_provider_apptests" | 155 application_name = "resource_provider_apptests" |
159 source = "apptest_manifest.json" | 156 source = "apptest_manifest.json" |
160 } | 157 } |
OLD | NEW |