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

Side by Side Diff: gyp/common_variables.gypi

Issue 1738913002: Enable RAW codec for Windows (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Black RAW codec tests for Win32 bots Created 4 years, 9 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 | « no previous file | gyp/dng_sdk.gyp » ('j') | 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 'variables': { # level 4 46 'variables': { # level 4
47 # We use 'skia_os' instead of 'OS' throughout our gyp files, to allow 47 # We use 'skia_os' instead of 'OS' throughout our gyp files, to allow
48 # for cross-compilation (e.g. building for either MacOS or iOS on Mac) . 48 # for cross-compilation (e.g. building for either MacOS or iOS on Mac) .
49 # We set it automatically based on 'OS' (the host OS), but allow the 49 # We set it automatically based on 'OS' (the host OS), but allow the
50 # user to override it via GYP_DEFINES if they like. 50 # user to override it via GYP_DEFINES if they like.
51 'skia_os%': '<(OS)', 51 'skia_os%': '<(OS)',
52 }, 52 },
53 'skia_os%': '<(skia_os)', 53 'skia_os%': '<(skia_os)',
54 'vulkan_merged_into_skia': '1', 54 'vulkan_merged_into_skia': '1',
55 'skia_android_framework%': 0, 55 'skia_android_framework%': 0,
56 # RAW codec needs exceptions. Due to that, it is a separate target. Its usage can be
57 # controlled by skia_codec_decodes_raw.
58 'skia_codec_decodes_raw%': 1,
56 'conditions' : [ 59 'conditions' : [
57 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "mac"]', { 60 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "mac"]', {
58 'skia_arch_type%': 'x86_64', 61 'skia_arch_type%': 'x86_64',
59 }, { 62 }, {
60 'skia_arch_type%': 'x86', 63 'skia_arch_type%': 'x86',
61 }], 64 }],
62 # RAW codec needs exceptions. Due to that, it is a separate target. It s usage can be
63 # controlled by skia_codec_decodes_raw.
64 ['skia_os == "win"', {
65 'skia_codec_decodes_raw%' : 0,
66 }, {
67 'skia_codec_decodes_raw%' : 1,
68 }],
69 ], 65 ],
70 'arm_version%': 0, 66 'arm_version%': 0,
71 'arm_neon%': 0, 67 'arm_neon%': 0,
72 'skia_egl%': 0, 68 'skia_egl%': 0,
73 }, 69 },
74 70
75 # Re-define all variables defined within the level-3 'variables' dict, 71 # Re-define all variables defined within the level-3 'variables' dict,
76 # so that siblings of the level-2 'variables' dict can see them. 72 # so that siblings of the level-2 'variables' dict can see them.
77 # (skia_os will depend on skia_android_framework.) 73 # (skia_os will depend on skia_android_framework.)
78 'skia_android_framework%': '<(skia_android_framework)', 74 'skia_android_framework%': '<(skia_android_framework)',
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 #'-ffast-math', # Optimize float math even when it breaks IEEE compliance. 255 #'-ffast-math', # Optimize float math even when it breaks IEEE compliance.
260 #'-flto' # Enable link-time optimization. 256 #'-flto' # Enable link-time optimization.
261 ], 257 ],
262 258
263 # These are referenced by our .gypi files that list files (e.g. core.gypi) 259 # These are referenced by our .gypi files that list files (e.g. core.gypi)
264 # 260 #
265 'skia_src_path%': '../src', 261 'skia_src_path%': '../src',
266 'skia_include_path%': '../include', 262 'skia_include_path%': '../include',
267 }, 263 },
268 } 264 }
OLDNEW
« no previous file with comments | « no previous file | gyp/dng_sdk.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698