Index: build/android/native_app_dependencies.gypi |
diff --git a/build/android/native_app_dependencies.gypi b/build/android/native_app_dependencies.gypi |
index d9241cc30323e44bb48c817bb293bf274ecb677a..6032274dbbabf21f4228ea7b1a7d13f627504a8f 100644 |
--- a/build/android/native_app_dependencies.gypi |
+++ b/build/android/native_app_dependencies.gypi |
@@ -25,12 +25,9 @@ |
# |
{ |
- 'copies': [ |
- { |
- 'destination': '<(output_dir)', |
- 'files': [ '<(native_binary)' ], |
- } |
- ], |
+ 'variables': { |
+ 'include_main_binary%': 1, |
+ }, |
'conditions': [ |
['component == "shared_library"', { |
'dependencies': [ |
@@ -58,5 +55,13 @@ |
}, |
], |
}], |
+ ['include_main_binary==1', { |
+ 'copies': [ |
+ { |
+ 'destination': '<(output_dir)', |
+ 'files': [ '<(native_binary)' ], |
+ } |
+ ], |
+ }], |
], |
} |