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

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

Issue 2096683002: Remove Android SampleApp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: gyp Created 4 years, 6 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 # we're guaranteed that '_type' will be defined when we get here. 82 # we're guaranteed that '_type' will be defined when we get here.
83 # For more info, see: 83 # For more info, see:
84 # - http://code.google.com/p/gyp/wiki/InputFormatReference#Variables 84 # - http://code.google.com/p/gyp/wiki/InputFormatReference#Variables
85 # - http://codereview.appspot.com/6353065/ 85 # - http://codereview.appspot.com/6353065/
86 ['_type == "executable"', { 86 ['_type == "executable"', {
87 'type': 'shared_library', 87 'type': 'shared_library',
88 }], 88 }],
89 ], 89 ],
90 }, 90 },
91 }, 91 },
92 {
93 # This target is a dependency for Skia Sample application which runs on
94 # Android. Since Android requires us to load native code in shared
95 # libraries, we need a common entry point to wrap around main(). Here
96 # we also change the type of all would-be executables to be shared
97 # libraries. The alternative would be to introduce a condition in every
98 # executable target which changes to a shared library if the target OS is
99 # Android. This is nicer because the switch is in one place.
100 'target_name': 'Android_SampleApp',
101 'type': 'static_library',
102 'direct_dependent_settings': {
103 'target_conditions': [
104 # '_type' is an 'automatic variable' which is defined for any
105 # target which defines a key-value pair with 'type' as the key (so,
106 # all of them). Conditionals inside 'target_conditions' are evaluated
107 # *after* all other definitions and conditionals are evaluated, so
108 # we're guaranteed that '_type' will be defined when we get here.
109 # For more info, see:
110 # - http://code.google.com/p/gyp/wiki/InputFormatReference#Variables
111 # - http://codereview.appspot.com/6353065/
112 ['_type == "executable"', {
113 'type': 'shared_library',
114 }],
115 ],
116 'cflags': [
117 '-Wno-unused-private-field',
118 ],
119 'sources': [
120 '../apps/sample_app/src/main/jni/com_skia_SkiaSampleRenderer.cpp',
121 ],
122 },
123 },
124 ] 92 ]
125 } 93 }
OLDNEW
« no previous file with comments | « platform_tools/android/apps/settings.gradle ('k') | platform_tools/android/gyp/skia_android.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698