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

Unified Diff: build/config/BUILDCONFIG.gn

Issue 315313002: Roll pdfium, add GN build for pdf and pdfium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « DEPS ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILDCONFIG.gn
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
index 22b9dca7bf5514dc5eb8c0632223a0193efcbc31..3df338da72ce1c816e0d595209a8a729648dbb96 100644
--- a/build/config/BUILDCONFIG.gn
+++ b/build/config/BUILDCONFIG.gn
@@ -329,7 +329,15 @@ if (is_win) {
"//build/config/win:sdk",
"//build/config/win:unicode",
]
-} else if (is_linux) {
+}
+if (is_posix) {
+ _native_compiler_configs += [
+ "//build/config/gcc:no_exceptions",
+ "//build/config/gcc:symbol_visibility_hidden",
+ ]
+}
+
+if (is_linux) {
_native_compiler_configs += [ "//build/config/linux:sdk", ]
} else if (is_mac) {
_native_compiler_configs += [ "//build/config/mac:sdk", ]
@@ -338,9 +346,7 @@ if (is_win) {
} else if (is_android) {
_native_compiler_configs += [ "//build/config/android:sdk", ]
}
-if (!is_win) {
- _native_compiler_configs += [ "//build/config/gcc:symbol_visibility_hidden" ]
-}
+
if (is_clang) {
_native_compiler_configs += [
"//build/config/clang:find_bad_constructs",
« no previous file with comments | « DEPS ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698