OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//mojo/go/rules.gni") |
| 6 |
| 7 if (defined(go_build_tool) && go_build_tool != "") { |
| 8 go_mojo_application("principal_service") { |
| 9 sources = [ |
| 10 "principal_service.go", |
| 11 ] |
| 12 deps = [ |
| 13 "//mojo/services/vanadium/security/public/interfaces", |
| 14 ] |
| 15 } |
| 16 } else { |
| 17 import("//mojo/public/mojo_application.gni") |
| 18 |
| 19 mojo_native_application("principal_service") { |
| 20 sources = [ |
| 21 "principal_service.cc", |
| 22 ] |
| 23 deps = [ |
| 24 "//base", |
| 25 "//mojo/common", |
| 26 "//mojo/public/cpp/application:standalone", |
| 27 "//mojo/public/cpp/bindings", |
| 28 "//mojo/services/vanadium/security/public/interfaces", |
| 29 ] |
| 30 } |
| 31 } |
OLD | NEW |