| OLD | NEW | 
|---|
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 enable_printing = true  # TODO(brettw) pass this feature flag in somehow. | 5 enable_printing = true  # TODO(brettw) pass this feature flag in somehow. | 
| 6 skia_support_gpu = !is_ios | 6 skia_support_gpu = !is_ios | 
| 7 skia_support_pdf = !is_ios && enable_printing | 7 skia_support_pdf = !is_ios && enable_printing | 
| 8 | 8 | 
| 9 # External-facing config for dependent code. | 9 # External-facing config for dependent code. | 
| 10 config("skia_config") { | 10 config("skia_config") { | 
| (...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1333 | 1333 | 
| 1334   configs -= "//build/config/compiler:chromium_code" | 1334   configs -= "//build/config/compiler:chromium_code" | 
| 1335   configs += [ | 1335   configs += [ | 
| 1336     ":skia_config", | 1336     ":skia_config", | 
| 1337     "//build/config/compiler:no_chromium_code" | 1337     "//build/config/compiler:no_chromium_code" | 
| 1338   ] | 1338   ] | 
| 1339 | 1339 | 
| 1340   if (is_linux) { | 1340   if (is_linux) { | 
| 1341     cflags = [ "-msse3" ] | 1341     cflags = [ "-msse3" ] | 
| 1342   } else if (is_mac) { | 1342   } else if (is_mac) { | 
| 1343     assert(false, "TODO(brettw) write this") | 1343     cflags = [ "-mssse3" ] # Note the third 's'. | 
| 1344     # 'xcode_settings': { |  | 
| 1345     #        'GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS': 'YES', |  | 
| 1346     #      }, |  | 
| 1347   } | 1344   } | 
| 1348 } | 1345 } | 
| OLD | NEW | 
|---|