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

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

Issue 2841603005: gcapi_mac: Add gn build file. (Closed)
Patch Set: Created 3 years, 8 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 static_library("gcapi_lib") {
10 sources = [
11 "gcapi.h",
12 "gcapi.mm",
13 ]
14
15 libs = [ "Cocoa.framework" ]
16
17 # Don't use runtime_library, to be able to pick a custom mmacosx-version-min.
18 configs -= [ "//build/config/compiler:runtime_library" ]
19 cflags = [
20 "-isysroot",
21 sysroot,
22 "-mmacosx-version-min=10.8",
Mark Mentovai 2017/04/25 20:08:55 Was this at 10.8 when we deleted the GYP files?
Nico 2017/04/25 20:13:49 I don't know, I just made up some number. https:/
23 ]
24 ldflags = [
25 "-isysroot",
26 sysroot,
27 "-mmacosx-version-min=10.8",
28 ]
29
30 complete_static_lib = true
31 }
32
33 executable("gcapi_example") {
34 sources = [
35 "gcapi_example_client.mm",
Mark Mentovai 2017/04/25 20:08:55 You should pick up the cflags and ldflags (and I g
Nico 2017/04/25 20:13:49 In the gyp files, we didn't do that, but sure, don
36 ]
37
38 deps = [
39 ":gcapi_lib",
40 ]
41 }
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