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("//mojo/public/tools/bindings/mojom.gni") 6 7 # GYP version: mojo/mojo_services.gypi:mojo_test_service_bindings 8 mojom("bindings") { 9 sources = [ 10 "test_request_tracker.mojom", 11 "test_service.mojom", 12 ] 13 } 14 15 # GYP version: mojo/mojo_services.gypi:mojo_test_app 16 shared_library("mojo_test_app") { 17 deps = [ 18 ":bindings", 19 "//base", 20 "//base:i18n", 21 "//mojo/public/c/system:for_shared_library", 22 "//mojo/public/cpp/application", 23 "//mojo/public/cpp/application:standalone", 24 "//mojo/public/cpp/utility", 25 ] 26 27 sources = [ 28 "test_request_tracker_client_impl.cc", 29 "test_request_tracker_client_impl.h", 30 "test_service_application.cc", 31 "test_service_application.h", 32 "test_service_impl.cc", 33 "test_service_impl.h", 34 "test_time_service_impl.cc", 35 "test_time_service_impl.h", 36 ] 37 } 38 39 # GYP version: //mojo/mojo_services.gypi:mojo_test_request_tracker_app 40 shared_library("mojo_test_request_tracker_app") { 41 deps = [ 42 ":bindings", 43 "//base", 44 "//base:i18n", 45 "//mojo/public/c/system:for_shared_library", 46 "//mojo/public/cpp/application", 47 "//mojo/public/cpp/application:standalone", 48 "//mojo/public/cpp/utility", 49 ] 50 51 sources = [ 52 "test_request_tracker_client_impl.cc", 53 "test_request_tracker_client_impl.h", 54 "test_request_tracker_application.cc", 55 "test_request_tracker_application.h", 56 "test_time_service_impl.cc", 57 "test_time_service_impl.h", 58 "test_request_tracker_impl.cc", 59 "test_request_tracker_impl.h", 60 ] 61 } 62