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

Unified Diff: content/common/BUILD.gn

Issue 1263513004: Get content_unittests to link on the mac GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enable_mac_net_unittests
Patch Set: merge to #341417 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
« no previous file with comments | « BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/BUILD.gn
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index 199f909e92d2e526d0ef50e8efc135cffe2a63a3..9187f51dd24e517edeb3d5d98f0e39ae4cec0848 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -6,6 +6,9 @@ import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//content/common/common.gni")
import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
+if (is_mac) {
+ import("//build/config/mac/mac_sdk.gni")
+}
if (is_chromeos && current_cpu != "arm") {
action("libva_generate_stubs") {
@@ -228,10 +231,12 @@ source_set("common") {
"//third_party/WebKit/public:resources",
"//ui/accelerated_widget_mac",
]
+ lib_dirs = [ "$mac_sdk_path/usr/lib" ]
libs += [
"IOSurface.framework",
"OpenGL.framework",
"QuartzCore.framework",
+ "sandbox",
]
}
« no previous file with comments | « BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698