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

Side by Side Diff: tools/gn/example/BUILD.gn

Issue 1386783003: [GN]: Support for loadable modules (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark comments Created 5 years, 2 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
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 executable("hello") { 5 executable("hello") {
6 sources = [ 6 sources = [
7 "hello.cc", 7 "hello.cc",
8 ] 8 ]
9 9
10 deps = [ 10 deps = [
11 ":hello_static", 11 ":hello_static",
12 ":hello_shared", 12 ":hello_shared",
13 ] 13 ]
14 } 14 }
15 15
16 shared_library("hello_shared") { 16 shared_library("hello_shared") {
17 sources = [ 17 sources = [
18 "hello_shared.cc", 18 "hello_shared.cc",
19 "hello_shared.h", 19 "hello_shared.h",
20 ] 20 ]
21 21
22 #darwin_bundle = true
23
22 defines = [ "HELLO_SHARED_IMPLEMENTATION" ] 24 defines = [ "HELLO_SHARED_IMPLEMENTATION" ]
23 } 25 }
24 26
25 static_library("hello_static") { 27 static_library("hello_static") {
26 sources = [ 28 sources = [
27 "hello_static.cc", 29 "hello_static.cc",
28 "hello_static.h", 30 "hello_static.h",
29 ] 31 ]
30 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698