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

Side by Side Diff: chrome/installer/gcapi_mac/BUILD.gn

Issue 2841603005: gcapi_mac: Add gn build file. (Closed)
Patch Set: leeeeeeeopard jenkins Created 3 years, 7 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 | « 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
(Empty)
1 # Copyright 2017 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("//build/config/sysroot.gni")
6
7 assert(is_mac)
8
9 config("gcapi_config") {
10 cflags = [
11 "-isysroot",
12 sysroot,
13 "-mmacosx-version-min=10.5",
14 ]
15 ldflags = [
16 "-isysroot",
17 sysroot,
18 "-mmacosx-version-min=10.5",
19 ]
20 }
21
22 static_library("gcapi_lib") {
23 complete_static_lib = true
24 sources = [
25 "gcapi.h",
26 "gcapi.mm",
27 ]
28
29 libs = [ "Cocoa.framework" ]
30
31 # Don't use runtime_library, to be able to pick a custom mmacosx-version-min.
32 configs -= [ "//build/config/compiler:runtime_library" ]
33 configs += [ ":gcapi_config" ]
34 }
35
36 executable("gcapi_example") {
37 sources = [
38 "gcapi_example_client.mm",
39 ]
40
41 deps = [
42 ":gcapi_lib",
43 ]
44
45 # Don't use runtime_library, to be able to pick a custom mmacosx-version-min.
46 configs -= [ "//build/config/compiler:runtime_library" ]
47 configs += [ ":gcapi_config" ]
48 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698