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

Unified Diff: build/config/mac/BUILD.gn

Issue 1250913002: patch from chinmaygarde@ to make progress on mac, ios. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks needed to get base_unittests to compile Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: build/config/mac/BUILD.gn
diff --git a/build/config/mac/BUILD.gn b/build/config/mac/BUILD.gn
index 9288add13952d3ba3ee0d4fac2019ae510761824..783d7e92a02eb543dc84874552900a8c9dcc044a 100644
--- a/build/config/mac/BUILD.gn
+++ b/build/config/mac/BUILD.gn
@@ -3,12 +3,16 @@
# found in the LICENSE file.
import("//build/config/sysroot.gni")
+import("//build/config/mac/mac_sdk.gni")
config("sdk") {
common_flags = [
"-isysroot",
sysroot,
- "-mmacosx-version-min=10.6",
+ "-mmacosx-version-min=$mac_sdk_min",
+
+ # TODO(dpranke): Figure out why chinmay had this set. Needed on ios?
+ #"-stdlib=libc++",
sdefresne 2015/07/25 19:15:30 This is probably not needed on Mac (but is on iOS)
]
cflags = common_flags

Powered by Google App Engine
This is Rietveld 408576698