Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
|
qsr
2015/01/07 15:14:45
This is now wrong. (2014 -> 2015)
etiennej
2015/01/08 11:23:12
Done.
| |
| 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("//mojo/public/mojo_application.gni") | |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | |
| 7 import("//mojo/public/python/rules.gni") | |
| 8 | |
| 9 group("python") { | |
| 10 testonly = true | |
| 11 deps = [ | |
| 12 ":python_apptests", | |
| 13 ":py_service", | |
| 14 ] | |
| 15 } | |
| 16 | |
| 17 mojo_native_application("python_apptests") { | |
| 18 testonly = true | |
| 19 deps = [ | |
|
qsr
2015/01/07 15:14:45
order seems wrong. Does gn format solve this? Othe
etiennej
2015/01/08 11:23:12
Done. gn format does not fix that.
| |
| 20 ":bindings", | |
| 21 "//base", | |
| 22 "//mojo/application", | |
| 23 "//mojo/application:test_support", | |
| 24 "//mojo/public/cpp/bindings", | |
| 25 "//mojo/public/cpp/utility", | |
| 26 "//testing/gtest", | |
| 27 ] | |
| 28 | |
| 29 sources = [ | |
| 30 "python_apptest.cc", | |
| 31 ] | |
| 32 | |
| 33 datadeps = [ | |
| 34 ":py_service", | |
| 35 ] | |
| 36 } | |
| 37 | |
| 38 python_packaged_application("py_service") { | |
| 39 sources = [ | |
| 40 "__mojo__.py", | |
| 41 ] | |
| 42 mojom_deps = [ | |
| 43 ":bindings", | |
| 44 "//mojo/public/interfaces/application", | |
| 45 ] | |
| 46 deps = [ | |
| 47 "//mojo/public/python:packaged_bindings", | |
| 48 ] | |
| 49 datadeps = [ | |
| 50 "//mojo/python/content_handler", | |
| 51 ] | |
| 52 } | |
| 53 | |
| 54 mojom("bindings") { | |
| 55 sources = [ | |
| 56 "echo_service.mojom", | |
| 57 ] | |
| 58 } | |
| OLD | NEW |