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

Side by Side Diff: platform_tools/android/gyp/dependencies.gypi

Issue 1215023017: Update Android Apps to use gradle (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: onlyIf Created 5 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This GYP file stores the dependencies necessary to build Skia on the Android 6 # This GYP file stores the dependencies necessary to build Skia on the Android
7 # platform. The OS doesn't provide many stable libraries as part of the 7 # platform. The OS doesn't provide many stable libraries as part of the
8 # distribution so we have to build a few of them ourselves. 8 # distribution so we have to build a few of them ourselves.
9 # 9 #
10 # NOTE: We tried adding the gyp file to the android/ directory at the root of 10 # NOTE: We tried adding the gyp file to the android/ directory at the root of
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 # *after* all other definitions and conditionals are evaluated, so 280 # *after* all other definitions and conditionals are evaluated, so
281 # we're guaranteed that '_type' will be defined when we get here. 281 # we're guaranteed that '_type' will be defined when we get here.
282 # For more info, see: 282 # For more info, see:
283 # - http://code.google.com/p/gyp/wiki/InputFormatReference#Variables 283 # - http://code.google.com/p/gyp/wiki/InputFormatReference#Variables
284 # - http://codereview.appspot.com/6353065/ 284 # - http://codereview.appspot.com/6353065/
285 ['_type == "executable"', { 285 ['_type == "executable"', {
286 'type': 'shared_library', 286 'type': 'shared_library',
287 }], 287 }],
288 ], 288 ],
289 'sources': [ 289 'sources': [
290 '../app/jni/com_skia_SkiaSampleRenderer.cpp', 290 '../apps/sample_app/src/main/jni/com_skia_SkiaSampleRenderer.cpp',
291 ], 291 ],
292 }, 292 },
293 }, 293 },
294 { 294 {
295 # This target is a dependency for VisualBench application which runs on 295 # This target is a dependency for VisualBench application which runs on
296 # Android. Since Android requires us to load native code in shared 296 # Android. Since Android requires us to load native code in shared
297 # libraries, we need a common entry point to wrap around main(). Here 297 # libraries, we need a common entry point to wrap around main(). Here
298 # we also change the type of all would-be executables to be shared 298 # we also change the type of all would-be executables to be shared
299 # libraries. The alternative would be to introduce a condition in every 299 # libraries. The alternative would be to introduce a condition in every
300 # executable target which changes to a shared library if the target OS is 300 # executable target which changes to a shared library if the target OS is
(...skipping 12 matching lines...) Expand all
313 # - http://codereview.appspot.com/6353065/ 313 # - http://codereview.appspot.com/6353065/
314 ['_type == "executable"', { 314 ['_type == "executable"', {
315 'type': 'shared_library', 315 'type': 'shared_library',
316 }], 316 }],
317 ], 317 ],
318 'include_dirs': [ 318 'include_dirs': [
319 '../../../tools/timer/', 319 '../../../tools/timer/',
320 '../../../tools/VisualBench/', 320 '../../../tools/VisualBench/',
321 ], 321 ],
322 'sources': [ 322 'sources': [
323 '../visualbench/jni/SkOSWindow_AndroidNative.cpp', 323 '../apps/visualbench/src/main/jni/SkOSWindow_AndroidNative.cpp',
324 '../visualbench/jni/main.cpp', 324 '../apps/visualbench/src/main/jni/main.cpp',
325 ], 325 ],
326 }, 326 },
327 }, 327 },
328 ] 328 ]
329 } 329 }
OLDNEW
« no previous file with comments | « platform_tools/android/bin/android_setup.sh ('k') | platform_tools/android/gyp/skia_android.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698