| OLD | NEW |
| 1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 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 file is used to shared GN source lists between the standalone Skia | 6 # This file is used to shared GN source lists between the standalone Skia |
| 7 # and Chrome skia build. All paths produced by this header must be | 7 # and Chrome skia build. All paths produced by this header must be |
| 8 # source-absolute since it will be included in different contexts in each | 8 # source-absolute since it will be included in different contexts in each |
| 9 # checkout. | 9 # checkout. |
| 10 _path_to_include = get_path_info("../include", "abspath") | 10 _path_to_include = get_path_info("../include", "abspath") |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 _gpu_gypi = exec_script("gypi_to_gn.py", | 37 _gpu_gypi = exec_script("gypi_to_gn.py", |
| 38 [ | 38 [ |
| 39 rebase_path("../gyp/gpu.gypi"), | 39 rebase_path("../gyp/gpu.gypi"), |
| 40 "--replace=<(skia_include_path)=$_path_to_include", | 40 "--replace=<(skia_include_path)=$_path_to_include", |
| 41 "--replace=<(skia_src_path)=$_path_to_src", | 41 "--replace=<(skia_src_path)=$_path_to_src", |
| 42 ], | 42 ], |
| 43 "scope", | 43 "scope", |
| 44 [ "../gyp/gpu.gypi" ]) | 44 [ "../gyp/gpu.gypi" ]) |
| 45 skia_gpu_sources = _gpu_gypi.skgpu_sources | 45 skia_gpu_sources = _gpu_gypi.skgpu_sources |
| 46 skia_null_gpu_sources = _gpu_gypi.skgpu_null_gl_sources | 46 skia_null_gpu_sources = _gpu_gypi.skgpu_null_gl_sources |
| 47 skia_vk_sources = _gpu_gypi.skgpu_vk_sources |
| 47 | 48 |
| 48 # Opts. | 49 # Opts. |
| 49 # | 50 # |
| 50 # Unlike the other variables here, this is a "scope" consisting of many | 51 # Unlike the other variables here, this is a "scope" consisting of many |
| 51 # sub-lists. | 52 # sub-lists. |
| 52 skia_opts = exec_script("gypi_to_gn.py", | 53 skia_opts = exec_script("gypi_to_gn.py", |
| 53 [ | 54 [ |
| 54 rebase_path("../gyp/opts.gypi"), | 55 rebase_path("../gyp/opts.gypi"), |
| 55 "--replace=<(skia_include_path)=$_path_to_include", | 56 "--replace=<(skia_include_path)=$_path_to_include", |
| 56 "--replace=<(skia_src_path)=$_path_to_src", | 57 "--replace=<(skia_src_path)=$_path_to_src", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 74 rebase_path("../gyp/skia_sources.gypi"), | 75 rebase_path("../gyp/skia_sources.gypi"), |
| 75 ], | 76 ], |
| 76 "scope", | 77 "scope", |
| 77 [ "../gyp/skia_sources.gypi" ]) | 78 [ "../gyp/skia_sources.gypi" ]) |
| 78 skia_sksl_sources = get_path_info(_sources_gypi.sksl_sources, "abspath") | 79 skia_sksl_sources = get_path_info(_sources_gypi.sksl_sources, "abspath") |
| 79 skia_utils_sources = get_path_info(_sources_gypi.utils_sources, "abspath") | 80 skia_utils_sources = get_path_info(_sources_gypi.utils_sources, "abspath") |
| 80 | 81 |
| 81 # Skia Chromium defines. These flags will be defined in chromium If these | 82 # Skia Chromium defines. These flags will be defined in chromium If these |
| 82 # become 'permanent', they should be moved into Chrome's skia build file. | 83 # become 'permanent', they should be moved into Chrome's skia build file. |
| 83 skia_for_chromium_defines = [ "SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS" ] | 84 skia_for_chromium_defines = [ "SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS" ] |
| OLD | NEW |