mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-03 02:36:09 +03:00
40 lines
947 B
Plaintext
40 lines
947 B
Plaintext
# Copyright 2018 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
component("platform") {
|
|
output_name = "mojo_cpp_platform"
|
|
|
|
public = [
|
|
"named_platform_channel.h",
|
|
"platform_channel.h",
|
|
"platform_channel_endpoint.h",
|
|
"platform_channel_server_endpoint.h",
|
|
"platform_handle.h",
|
|
]
|
|
|
|
sources = [
|
|
"named_platform_channel.cc",
|
|
"named_platform_channel_win.cc",
|
|
"platform_channel.cc",
|
|
"platform_channel_endpoint.cc",
|
|
"platform_channel_server_endpoint.cc",
|
|
"platform_handle.cc",
|
|
]
|
|
|
|
public_deps = [
|
|
"//base",
|
|
]
|
|
|
|
if (is_posix && (!is_nacl && !is_fuchsia)) {
|
|
sources += [ "named_platform_channel_posix.cc" ]
|
|
}
|
|
|
|
if (is_fuchsia) {
|
|
sources += [ "named_platform_channel_fuchsia.cc" ]
|
|
public_deps += [ "//third_party/fuchsia-sdk:fdio" ]
|
|
}
|
|
|
|
defines = [ "IS_MOJO_CPP_PLATFORM_IMPL" ]
|
|
}
|