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

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

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net Created 6 years 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 | « tools/gn/BUILD.gn ('k') | tools/gn/example/build/BUILDCONFIG.gn » ('j') | 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 executable("hello") { 5 executable("hello") {
6 sources = [ "hello.cc" ] 6 sources = [
7 "hello.cc",
8 ]
7 9
8 deps = [ 10 deps = [
9 ":hello_static", 11 ":hello_static",
10 ":hello_shared", 12 ":hello_shared",
11 ] 13 ]
12 } 14 }
13 15
14 shared_library("hello_shared") { 16 shared_library("hello_shared") {
15 sources = [ 17 sources = [
16 "hello_shared.cc", 18 "hello_shared.cc",
17 "hello_shared.h" 19 "hello_shared.h",
18 ] 20 ]
19 21
20 defines = [ "HELLO_SHARED_IMPLEMENTATION" ] 22 defines = [ "HELLO_SHARED_IMPLEMENTATION" ]
21 } 23 }
22 24
23 static_library("hello_static") { 25 static_library("hello_static") {
24 sources = [ 26 sources = [
25 "hello_static.cc", 27 "hello_static.cc",
26 "hello_static.h", 28 "hello_static.h",
27 ] 29 ]
28 } 30 }
OLDNEW
« no previous file with comments | « tools/gn/BUILD.gn ('k') | tools/gn/example/build/BUILDCONFIG.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698