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

Side by Side Diff: gyp/libjpeg-turbo.gyp

Issue 2180333002: Fix yasm for Android build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up Created 4 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
« no previous file with comments | « no previous file | third_party/yasm/android/yasm » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'xcode_settings': { 6 'xcode_settings': {
7 'SYMROOT': '<(DEPTH)/xcodebuild', 7 'SYMROOT': '<(DEPTH)/xcodebuild',
8 }, 8 },
9 'variables': { 9 'variables': {
10 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/externals/li bjpeg-turbo', 10 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/externals/li bjpeg-turbo',
(...skipping 11 matching lines...) Expand all
22 'type': 'executable', 22 'type': 'executable',
23 'sources': [ 23 'sources': [
24 '../third_party/externals/yasm/binaries/win/yasm.exe', 24 '../third_party/externals/yasm/binaries/win/yasm.exe',
25 ], 25 ],
26 'copies' : [{ 26 'copies' : [{
27 'destination': '<(PRODUCT_DIR)', 27 'destination': '<(PRODUCT_DIR)',
28 'files': [ '../third_party/externals/yasm/binaries/win/yasm.exe' ], 28 'files': [ '../third_party/externals/yasm/binaries/win/yasm.exe' ],
29 }], 29 }],
30 }, 30 },
31 { 31 {
32 'target_name': 'yasm-android',
33 'type': 'executable',
34 'sources': [
35 '../third_party/yasm/android/yasm',
36 ],
37 'copies' : [{
38 'destination': '<(PRODUCT_DIR)',
39 'files': [ '../third_party/yasm/android/yasm' ],
40 }],
41 },
42 {
32 'target_name': 'libjpeg-turbo', 43 'target_name': 'libjpeg-turbo',
33 'type': 'static_library', 44 'type': 'static_library',
34 'include_dirs': [ 45 'include_dirs': [
35 '../third_party/externals/libjpeg-turbo/', 46 '../third_party/externals/libjpeg-turbo/',
36 ], 47 ],
37 'defines': [ 48 'defines': [
38 'WITH_SIMD', 49 'WITH_SIMD',
39 'MOTION_JPEG_SUPPORTED', 50 'MOTION_JPEG_SUPPORTED',
40 'NO_GETENV', 51 'NO_GETENV',
41 ], 52 ],
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 '-DWIN64', 253 '-DWIN64',
243 '-DMSVC', 254 '-DMSVC',
244 ], 255 ],
245 }], 256 }],
246 ], 257 ],
247 }, 258 },
248 }], 259 }],
249 [ 'skia_os == "android" and host_os == "linux" and \ 260 [ 'skia_os == "android" and host_os == "linux" and \
250 (skia_arch_type == "x86" or skia_arch_type == "x86_64")', { 261 (skia_arch_type == "x86" or skia_arch_type == "x86_64")', {
251 'dependencies': [ 262 'dependencies': [
252 'yasm.gyp:yasm#host', 263 'yasm-android',
253 ], 264 ],
254 'variables': { 265 'variables': {
255 'yasm_path': '<(PRODUCT_DIR)/yasm', 266 'yasm_path': '<(PRODUCT_DIR)/yasm',
256 'conditions': [ 267 'conditions': [
257 [ 'skia_arch_type == "x86"', { 268 [ 'skia_arch_type == "x86"', {
258 'yasm_format': '-felf', 269 'yasm_format': '-felf',
259 'yasm_flags': [ 270 'yasm_flags': [
260 '-D__x86__', 271 '-D__x86__',
261 '-DELF', 272 '-DELF',
262 '-DPIC', 273 '-DPIC',
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 ], 355 ],
345 'process_outputs_as_sources': 1, 356 'process_outputs_as_sources': 1,
346 'message': 'Building <(RULE_INPUT_ROOT).<(object_suffix)', 357 'message': 'Building <(RULE_INPUT_ROOT).<(object_suffix)',
347 }], 358 }],
348 ] 359 ]
349 }, 360 },
350 ], 361 ],
351 }, 362 },
352 ], 363 ],
353 } 364 }
OLDNEW
« no previous file with comments | « no previous file | third_party/yasm/android/yasm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698