| OLD | NEW |
| 1 { | 1 { |
| 2 'includes': [ | 2 'includes': [ |
| 3 '../../../build/features.gypi', | 3 '../../../build/features.gypi', |
| 4 '../../../core/core.gypi', | 4 '../../../core/core.gypi', |
| 5 '../../../modules/modules.gypi', | 5 '../../../modules/modules.gypi', |
| 6 '../../core/dart/generated.gypi', | 6 '../../core/dart/generated.gypi', |
| 7 '../../modules/dart/generated.gypi', | 7 '../../modules/dart/generated.gypi', |
| 8 '../scripts/templates/templates.gypi', | 8 '../scripts/templates/templates.gypi', |
| 9 'overrides.gypi', | 9 'overrides.gypi', |
| 10 ], | 10 ], |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 'scripts/build_dart_snapshot.py', | 152 'scripts/build_dart_snapshot.py', |
| 153 '<(dart_dir)', | 153 '<(dart_dir)', |
| 154 '<(resources_dir)/DartSnapshot.bytes.template', | 154 '<(resources_dir)/DartSnapshot.bytes.template', |
| 155 '<(output_path)', | 155 '<(output_path)', |
| 156 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', | 156 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', |
| 157 '<@(pure_libs)', | 157 '<@(pure_libs)', |
| 158 ], | 158 ], |
| 159 }, | 159 }, |
| 160 ], | 160 ], |
| 161 }, | 161 }, |
| 162 { |
| 163 'target_name': 'dart_library', |
| 164 'type': 'shared_library', |
| 165 'dependencies': [ |
| 166 '<(dart_dir)/runtime/dart-runtime.gyp:libdart', |
| 167 ], |
| 168 'sources': [ |
| 169 '../DartLibraryMain.cpp', |
| 170 ], |
| 171 'conditions': [ |
| 172 ['OS=="linux"', { |
| 173 'cflags': [ |
| 174 '-fPIC', |
| 175 ], |
| 176 'ldflags!': [ |
| 177 # Remove to allow Dart_ APIs to be exported. |
| 178 '-Wl,--exclude-libs=ALL', |
| 179 ], |
| 180 }], |
| 181 ['OS=="android"', { |
| 182 'cflags': [ |
| 183 '-fPIC', |
| 184 ], |
| 185 'link_settings': { |
| 186 'libraries': [ |
| 187 '-landroid', |
| 188 '-llog', |
| 189 ], |
| 190 }, |
| 191 'ldflags!': [ |
| 192 # Remove to allow Dart_ APIs to be exported. |
| 193 '-Wl,--exclude-libs=ALL', |
| 194 ], |
| 195 'ldflags': [ |
| 196 '-rdynamic', |
| 197 ], |
| 198 'all_dependent_settings': { |
| 199 'ldflags!': [ |
| 200 # See https://code.google.com/p/chromium/issues/detail?id=266155 |
| 201 # When compiling dependent shared libraries, Android's GCC linker |
| 202 # reports a warning that this library is referencing isspace from |
| 203 # libjingle. |
| 204 # isspace should be inlined and is not reported as unresolved in |
| 205 # this library. |
| 206 '-Wl,--fatal-warnings', |
| 207 ], |
| 208 }, |
| 209 }], |
| 210 ], |
| 211 }, |
| 162 ], | 212 ], |
| 163 } | 213 } |
| OLD | NEW |