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 # GYP version: mojo.gyp:mojo_environment_chromium 6 static_library("chromium") { 7 output_name = "mojo_environment_chromium" 8 9 sources = [ 10 "environment.cc", 11 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) 12 "../public/cpp/environment/logging.h", 13 "../public/cpp/environment/lib/logging.cc", 14 ] 15 16 deps = [ 17 ":chromium_impl", 18 "//mojo/common", 19 ] 20 21 forward_dependent_configs_from = [ 22 ":chromium_impl", 23 ] 24 } 25 26 # GYP version: mojo.gyp:mojo_environment_chromium_impl 27 component("chromium_impl") { 28 output_name = "mojo_environment_impl" 29 visibility = "//mojo/*" 30 31 sources = [ 32 "default_async_waiter_impl.cc", 33 "default_async_waiter_impl.h", 34 "default_logger_impl.cc", 35 "default_logger_impl.h", 36 ] 37 38 defines = [ 39 "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION", 40 ] 41 42 deps = [ 43 "//base", 44 "//base/third_party/dynamic_annotations", 45 "//mojo/common", 46 ] 47 } 48