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

Side by Side Diff: gyp/common_variables.gypi

Issue 164793002: Small fixes for auto generating Android.mk (Closed) Base URL: https://skia.googlesource.com/skia.git@skia_android_framework
Patch Set: Remove Android.mk Created 6 years, 10 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
« no previous file with comments | « gyp/common_conditions.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Android Open Source Project 1 # Copyright 2012 The Android Open Source Project
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 { 6 {
7 # Get ready for the ugly... 7 # Get ready for the ugly...
8 # 8 #
9 # - We have to nest our variables dictionaries multiple levels deep, so that 9 # - We have to nest our variables dictionaries multiple levels deep, so that
10 # this and other gyp files can rely on previously-set variable values in 10 # this and other gyp files can rely on previously-set variable values in
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 }, 50 },
51 51
52 # Re-define all variables defined within the level-3 'variables' dict, 52 # Re-define all variables defined within the level-3 'variables' dict,
53 # so that siblings of the level-2 'variables' dict can see them. 53 # so that siblings of the level-2 'variables' dict can see them.
54 # (skia_os will depend on skia_android_framework.) 54 # (skia_os will depend on skia_android_framework.)
55 'skia_android_framework%': '<(skia_android_framework)', 55 'skia_android_framework%': '<(skia_android_framework)',
56 56
57 'conditions': [ 57 'conditions': [
58 [ 'skia_android_framework == 1', { 58 [ 'skia_android_framework == 1', {
59 'skia_os%': 'android', 59 'skia_os%': 'android',
60 'skia_chrome_utils%': 0,
60 }, { 61 }, {
61 'skia_os%': '<(skia_os)', 62 'skia_os%': '<(skia_os)',
63 'skia_chrome_utils%': 1,
62 }], 64 }],
63 [ 'skia_os == "win"', { 65 [ 'skia_os == "win"', {
64 'os_posix%': 0, 66 'os_posix%': 0,
65 }, { 67 }, {
66 'os_posix%': 1, 68 'os_posix%': 1,
67 }], 69 }],
68 [ 'skia_os in ["linux", "win"]', { 70 [ 'skia_os in ["linux", "win"]', {
69 'skia_poppler_enabled%': 1, 71 'skia_poppler_enabled%': 1,
70 }, { 72 }, {
71 'skia_poppler_enabled%': 0, 73 'skia_poppler_enabled%': 0,
(...skipping 20 matching lines...) Expand all
92 ], 94 ],
93 95
94 'skia_sanitizer%': '', 96 'skia_sanitizer%': '',
95 'skia_scalar%': 'float', 97 'skia_scalar%': 'float',
96 'skia_mesa%': 0, 98 'skia_mesa%': 0,
97 'skia_stroke_path_rendering%': 0, 99 'skia_stroke_path_rendering%': 0,
98 'skia_android_path_rendering%': 0, 100 'skia_android_path_rendering%': 0,
99 'skia_resource_cache_mb_limit%': 0, 101 'skia_resource_cache_mb_limit%': 0,
100 'skia_resource_cache_count_limit%': 0, 102 'skia_resource_cache_count_limit%': 0,
101 'skia_angle%': 0, 103 'skia_angle%': 0,
102 'skia_chrome_utils%': 1,
103 'skia_directwrite%': 0, 104 'skia_directwrite%': 0,
104 'skia_gpu%': 1, 105 'skia_gpu%': 1,
105 'skia_osx_deployment_target%': '', 106 'skia_osx_deployment_target%': '',
106 'skia_profile_enabled%': 0, 107 'skia_profile_enabled%': 0,
107 'skia_win_debuggers_path%': '', 108 'skia_win_debuggers_path%': '',
108 'skia_shared_lib%': 0, 109 'skia_shared_lib%': 0,
109 'skia_opencl%': 0, 110 'skia_opencl%': 0,
110 'skia_distancefield_fonts%': 0, 111 'skia_distancefield_fonts%': 0,
111 112
112 # These variables determine the default optimization level for different 113 # These variables determine the default optimization level for different
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', 177 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)',
177 'skia_run_pdfviewer_in_gm%': 0, 178 'skia_run_pdfviewer_in_gm%': 0,
178 'skia_disable_inlining%': 0, 179 'skia_disable_inlining%': 0,
179 180
180 # These are referenced by our .gypi files that list files (e.g. core.gypi) 181 # These are referenced by our .gypi files that list files (e.g. core.gypi)
181 # 182 #
182 'skia_src_path%': '../src', 183 'skia_src_path%': '../src',
183 'skia_include_path%': '../include', 184 'skia_include_path%': '../include',
184 }, 185 },
185 } 186 }
OLDNEW
« no previous file with comments | « gyp/common_conditions.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698