summaryrefslogtreecommitdiff
path: root/skia/skia.gyp
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2016-09-06 11:39:46 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-06 11:39:47 -0700
commit784548a551dca9b07723cb10323934b7e078d93a (patch)
tree82e428c5dae5b800d50500374ccf26dfe98f41f4 /skia/skia.gyp
parent8e783a6b2c165b5d3dcdf9e4d4c2526ac18c77c8 (diff)
downloadpdfium-784548a551dca9b07723cb10323934b7e078d93a.tar.xz
Use new Skia .gni file for sources, remove .gypis.
This incorporates the changes from the following Chrome Skia build modifications: https://codereview.chromium.org/2301233002/ This file is provided by the Skia repo so the GN Chrome build doesn't have to make assumptions about the location and layout of Skia's GYP files. https://codereview.chromium.org/2299033006 Remove Skia GYP files from Chromium tree. Inlines the contents into the GN build. Review-Url: https://codereview.chromium.org/2316653003
Diffstat (limited to 'skia/skia.gyp')
-rw-r--r--skia/skia.gyp71
1 files changed, 0 insertions, 71 deletions
diff --git a/skia/skia.gyp b/skia/skia.gyp
deleted file mode 100644
index 29f5464938..0000000000
--- a/skia/skia.gyp
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'conditions': [
- # In component mode (shared_lib), we build all of skia as a single DLL.
- # However, in the static mode, we need to build skia as multiple targets
- # in order to support the use case where a platform (e.g. Android) may
- # already have a copy of skia as a system library.
- ['component=="static_library"', {
- 'targets': [
- {
- 'target_name': 'skia_library',
- 'type': 'static_library',
- # The optimize: 'max' scattered throughout are particularly
- # important when compiled by MSVC 2013, which seems
- # to mis-link-time-compile code that's built with
- # different optimization levels. http://crbug.com/543583
- 'variables': {
- 'optimize': 'max',
- },
- 'includes': [
- 'skia_common.gypi',
- 'skia_library.gypi',
- ],
- },
- ],
- }],
- ['component=="static_library"', {
- 'targets': [
- {
- 'target_name': 'skia',
- # The optimize: 'max' scattered throughout are particularly
- # important when compiled by MSVC 2013, which seems
- # to mis-link-time-compile code that's built with
- # different optimization levels. http://crbug.com/543583
- 'variables': {
- 'optimize': 'max',
- },
- 'type': 'none',
- 'dependencies': [
- 'skia_library',
- 'skia_pdfium',
- ],
- 'export_dependent_settings': [
- 'skia_library',
- 'skia_pdfium',
- ],
- 'direct_dependent_settings': {
- 'conditions': [
- [ 'OS == "win"', {
- 'defines': [
- 'GR_GL_FUNCTION_TYPE=__stdcall',
- ],
- }],
- ],
- },
- },
- {
- 'target_name': 'skia_pdfium',
- 'type': 'static_library',
- 'includes': [
- 'skia_pdfium.gypi',
- 'skia_common.gypi',
- ],
- },
- ],
- }],
- ],
-}