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

Unified Diff: Source/bindings/dart/gyp/dartium.gyp

Issue 446733003: Tue Aug 5 16:08:45 PDT 2014 Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: Created 6 years, 4 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 | « Source/bindings/dart/dart.gypi ('k') | Source/bindings/dart/gyp/overrides.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/dart/gyp/dartium.gyp
diff --git a/Source/bindings/dart/gyp/dartium.gyp b/Source/bindings/dart/gyp/dartium.gyp
index 77314b2b4d11fddd0caa2a47815f277f64541b7c..59a8aa45836a3c145c146f58d03c0035b325edc0 100644
--- a/Source/bindings/dart/gyp/dartium.gyp
+++ b/Source/bindings/dart/gyp/dartium.gyp
@@ -159,5 +159,55 @@
},
],
},
+ {
+ 'target_name': 'dart_library',
+ 'type': 'shared_library',
+ 'dependencies': [
+ '<(dart_dir)/runtime/dart-runtime.gyp:libdart',
+ ],
+ 'sources': [
+ '../DartLibraryMain.cpp',
+ ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'cflags': [
+ '-fPIC',
+ ],
+ 'ldflags!': [
+ # Remove to allow Dart_ APIs to be exported.
+ '-Wl,--exclude-libs=ALL',
+ ],
+ }],
+ ['OS=="android"', {
+ 'cflags': [
+ '-fPIC',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '-landroid',
+ '-llog',
+ ],
+ },
+ 'ldflags!': [
+ # Remove to allow Dart_ APIs to be exported.
+ '-Wl,--exclude-libs=ALL',
+ ],
+ 'ldflags': [
+ '-rdynamic',
+ ],
+ 'all_dependent_settings': {
+ 'ldflags!': [
+ # See https://code.google.com/p/chromium/issues/detail?id=266155
+ # When compiling dependent shared libraries, Android's GCC linker
+ # reports a warning that this library is referencing isspace from
+ # libjingle.
+ # isspace should be inlined and is not reported as unresolved in
+ # this library.
+ '-Wl,--fatal-warnings',
+ ],
+ },
+ }],
+ ],
+ },
],
}
« no previous file with comments | « Source/bindings/dart/dart.gypi ('k') | Source/bindings/dart/gyp/overrides.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698