OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/module_args/mojo.gni") | |
6 import("$mojo_sdk_root/mojo/public/tools/bindings/mojom.gni") | |
7 | |
8 mojom("interfaces") { | |
9 sources = [ | |
10 "http_request.mojom", | |
11 "http_response.mojom", | |
12 "http_server.mojom", | |
13 "http_server_factory.mojom", | |
14 ] | |
15 | |
16 import_dirs = [ get_path_info("../../../", "abspath") ] | |
17 | |
18 if (defined(mojo_network_service_root)) { | |
19 import_dirs += [ mojo_network_service_root ] | |
20 } else { | |
21 mojo_network_service_root = "../../.." | |
22 } | |
23 | |
24 deps = [ | |
25 "$mojo_network_service_root/network/public/interfaces", | |
26 ] | |
27 } | |
OLD | NEW |