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

Side by Side Diff: mojo/system.gni

Issue 485523004: GN: Mojo wget, sample_app, surfaces app and component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « mojo/shell/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # The following mojo_system-prefixed variables are used to express a dependency 5 # The following mojo_system-prefixed variables are used to express a dependency
6 # on the mojo system APIs. 6 # on the mojo system APIs.
7 # 7 #
8 # In an is_component_build build, everything can link against 8 # In an is_component_build build, everything can link against
9 # mojo_system_impl because it is built as a shared library. However, in a static 9 # mojo_system_impl because it is built as a shared library. However, in a static
10 # build, mojo_system_impl is linked into an executable (e.g., 10 # build, mojo_system_impl is linked into an executable (e.g.,
11 # mojo_shell), and must be injected into other shared libraries (i.e., Mojo 11 # mojo_shell), and must be injected into other shared libraries (i.e., Mojo
12 # Apps) that need the mojo system API. 12 # Apps) that need the mojo system API.
13 # 13 #
14 # For component targets, add mojo_system_for_component to your deps section. 14 # For component targets, add mojo_system_for_component to your deps section.
15 # For shared_library targets (e.g., a Mojo App), add 15 # For shared_library targets (e.g., a Mojo App), add
16 # mojo_system_for_shared_library to your deps 16 # mojo_system_for_shared_library to your deps
17 17
18 if (is_component_build) { 18 if (is_component_build) {
19 mojo_system_for_component = [ "//mojo/system" ] 19 mojo_system_for_component = [ "//mojo/system" ]
20 mojo_system_for_shared_library = [ "//mojo/system" ] 20 mojo_system_for_shared_library = [ "//mojo/system" ]
21 mojo_gles2_for_component = [ "//mojo/gles2" ]
22 mojo_gles2_for_shared_library = [ "//mojo/gles2" ]
21 } else { 23 } else {
22 mojo_system_for_component = [] # nothing to link against here 24 mojo_system_for_component = [] # nothing to link against here
23 mojo_system_for_shared_library = [ "//mojo/public/c/system" ] 25 mojo_system_for_shared_library = [ "//mojo/public/c/system" ]
26 mojo_gles2_for_component = []
27 mojo_gles2_for_shared_library = [ "//mojo/public/gles2" ]
24 } 28 }
OLDNEW
« no previous file with comments | « mojo/shell/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698