| Index: mojo/public/c/BUILD.gn
|
| diff --git a/mojo/public/c/BUILD.gn b/mojo/public/c/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..36935b85eefe34fec5a097bf143e070892705b11
|
| --- /dev/null
|
| +++ b/mojo/public/c/BUILD.gn
|
| @@ -0,0 +1,41 @@
|
| +# Copyright 2016 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.
|
| +
|
| +import("../mojo_sdk.gni")
|
| +
|
| +config("c_config") {
|
| + include_dirs = [ "include" ]
|
| +}
|
| +
|
| +# Catch-all for all public C headers/libraries, except for the implementation
|
| +# libraries that are meant to be replaceable ("pluggable"), like ...
|
| +# (TODO(vtl)).
|
| +group("c") {
|
| + public_deps = [
|
| + ":common",
|
| + ":system",
|
| + ]
|
| +}
|
| +
|
| +# Headers in include/mojo (to be include as <mojo/HEADER.h>).
|
| +mojo_sdk_source_set("common") {
|
| + public_configs = [ ":c_config" ]
|
| +
|
| + sources = [
|
| + "include/mojo/macros.h",
|
| + ]
|
| +}
|
| +
|
| +# Headers in include/mojo/system (to be include as <mojo/system/HEADER.h>).
|
| +mojo_sdk_source_set("system") {
|
| + public_configs = [ ":c_config" ]
|
| +
|
| + sources = [
|
| + # Nothing here yet.
|
| + ]
|
| +
|
| + public_deps = [
|
| + ":common",
|
| + ]
|
| +}
|
|
|