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

Unified Diff: Source/bindings/core/dart/dart-native-extensions.gypi

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 years 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/core/dart/dart-native-extensions.gyp ('k') | Source/bindings/core/dart/generated.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/dart/dart-native-extensions.gypi
diff --git a/Source/bindings/core/dart/dart-native-extensions.gypi b/Source/bindings/core/dart/dart-native-extensions.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..c8f009e8a0ec1d563f232b53910f9cb8368083a5
--- /dev/null
+++ b/Source/bindings/core/dart/dart-native-extensions.gypi
@@ -0,0 +1,25 @@
+{
+ 'variables': {
+ # We have to nest variables inside variables so that they can be overridden
+ # through GYP_DEFINES.
+ 'variables': {
+ 'enable_dart_native_extensions%': 0,
+ },
+
+ 'dart_dir': '../../../../../../dart',
+
+ 'conditions': [
+ ['enable_dart_native_extensions==1', {
+ 'additional_target_deps': [
+ # Reference Dart from a shared library which can be used outside of Dartium
+ '../bindings/core/dart/dart-native-extensions.gyp:dart_library',
+ ],
+ }, {
+ 'additional_target_deps': [
+ # Link in Dart directly
+ '<(dart_dir)/runtime/dart-runtime.gyp:libdart',
+ ],
+ }],
+ ],
+ },
+}
« no previous file with comments | « Source/bindings/core/dart/dart-native-extensions.gyp ('k') | Source/bindings/core/dart/generated.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698