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

Unified Diff: mojo/public/c/system/BUILD.gn

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/c/gles2/gles2_types.h ('k') | mojo/public/c/system/buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/system/BUILD.gn
diff --git a/mojo/public/c/system/BUILD.gn b/mojo/public/c/system/BUILD.gn
deleted file mode 100644
index 6a3827c054f5706ced624506d2e31e8e7a9de516..0000000000000000000000000000000000000000
--- a/mojo/public/c/system/BUILD.gn
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2014 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")
-
-# Depend on this target to use the types etc defined in the system without
-# linking against a specific implementation of the system. To link against a
-# particular implementation, use the :for_component or
-# :for_shared_library targets, depending on the type of target you are.
-mojo_sdk_source_set("system") {
- sources = [
- "buffer.h",
- "core.h",
- "data_pipe.h",
- "functions.h",
- "macros.h",
- "message_pipe.h",
- "system_export.h",
- "types.h",
- ]
-}
-
-# In an is_component_build build, everything can link against //mojo/edk/system
-# because it is built as a shared library. However, in a static build,
-# //mojo/edk/system is linked into an executable (e.g., mojo_shell), and must be
-# injected into other shared libraries (i.e., Mojo Apps) that need the mojo
-# system API.
-#
-# For component targets, add //mojo/public/c/system:for_component to your deps
-# section.
-#
-# For shared_library targets (e.g., a Mojo App), add
-# //mojo/public/c/system:for_shared_library to your deps
-
-# TODO(jamesr): Eliminate the need for these targets. crbug.com/438701
-group("for_shared_library") {
- public_deps = [
- ":system",
- ]
- deps = [
- "../../platform/native:system",
- ]
-}
-
-group("for_component") {
- public_deps = [
- ":system",
- ]
- if (is_component_build) {
- deps = [
- "../../../edk/system",
- ]
- }
-}
« no previous file with comments | « mojo/public/c/gles2/gles2_types.h ('k') | mojo/public/c/system/buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698