Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: mojo/public/c/BUILD.gn

Issue 2229573002: Change the canonical way to include the C macros.h to <mojo/macros.h>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/edk/util/string_printf.h ('k') | mojo/public/c/include/mojo/macros.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « mojo/edk/util/string_printf.h ('k') | mojo/public/c/include/mojo/macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698