Index: samples/sample_extension/sample_extension.gyp |
diff --git a/samples/sample_extension/sample_extension.gyp b/samples/sample_extension/sample_extension.gyp |
index 6a5642d6c8e39b4ff25a1a541ee1fecfc974e779..f4fafbecf284ee392c3d18df2d4e828a7eb8ad95 100644 |
--- a/samples/sample_extension/sample_extension.gyp |
+++ b/samples/sample_extension/sample_extension.gyp |
@@ -7,9 +7,6 @@ |
{ |
'target_name': 'sample_extension', |
'type': 'shared_library', |
- 'dependencies': [ |
- '../../runtime/dart-runtime.gyp:dart', |
- ], |
'include_dirs': [ |
'../../runtime/include', |
], |
@@ -21,6 +18,19 @@ |
'DART_SHARED_LIB', |
], |
'conditions': [ |
+ ['OS=="android"', |
+ { |
+ 'dependencies': [ |
+ '../../runtime/dart-runtime.gyp:dart_so', |
+ ], |
+ }, |
+ # else OS != "android" |
+ { |
+ 'dependencies': [ |
+ '../../runtime/dart-runtime.gyp:dart', |
+ ], |
+ } |
+ ], |
['OS=="win"', { |
'msvs_settings': { |
'VCLinkerTool': { |