OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 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_sdk.gni") |
| 6 |
| 7 config("c_config") { |
| 8 include_dirs = [ "include" ] |
| 9 } |
| 10 |
| 11 # Catch-all for all public C headers/libraries, except for the implementation |
| 12 # libraries that are meant to be replaceable ("pluggable"), like ... |
| 13 # (TODO(vtl)). |
| 14 group("c") { |
| 15 public_deps = [ |
| 16 ":common", |
| 17 ":system", |
| 18 ] |
| 19 } |
| 20 |
| 21 # Headers in include/mojo (to be include as <mojo/HEADER.h>). |
| 22 mojo_sdk_source_set("common") { |
| 23 public_configs = [ ":c_config" ] |
| 24 |
| 25 sources = [ |
| 26 "include/mojo/macros.h", |
| 27 ] |
| 28 } |
| 29 |
| 30 # Headers in include/mojo/system (to be include as <mojo/system/HEADER.h>). |
| 31 mojo_sdk_source_set("system") { |
| 32 public_configs = [ ":c_config" ] |
| 33 |
| 34 sources = [ |
| 35 # Nothing here yet. |
| 36 ] |
| 37 |
| 38 public_deps = [ |
| 39 ":common", |
| 40 ] |
| 41 } |
OLD | NEW |