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

Unified Diff: webkit/common/user_agent/webkit_user_agent.gypi

Issue 15709006: Make webkit_user_agent a standalone gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: webkit/common/user_agent/webkit_user_agent.gypi
diff --git a/webkit/common/user_agent/webkit_user_agent.gypi b/webkit/common/user_agent/webkit_user_agent.gypi
deleted file mode 100644
index 61e88ea131222f8b4ac6f09d93faa9a9115f9fa9..0000000000000000000000000000000000000000
--- a/webkit/common/user_agent/webkit_user_agent.gypi
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 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.
-
-{
- 'targets': [
- {
- 'target_name': 'user_agent',
- 'type': '<(component)',
- 'defines': [
- 'WEBKIT_USER_AGENT_IMPLEMENTATION',
- ],
- 'dependencies': [
- '<(DEPTH)/base/base.gyp:base',
- '<(DEPTH)/base/base.gyp:base_i18n',
- ],
- 'sources': [
- 'user_agent.cc',
- 'user_agent.h',
- 'user_agent_util.cc',
- 'user_agent_util_ios.mm',
- 'user_agent_util.h',
- 'webkit_user_agent_export.h',
- ],
- 'conditions': [
- ['OS == "ios"', {
- # iOS has different user-agent construction utilities, since the
- # version strings is not derived from webkit_version, and follows
- # a different format.
- 'sources!': [
- 'user_agent_util.cc',
- ],
- }, { # OS != "ios"
- 'dependencies': [
- 'webkit_version',
- '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
- ],
- }],
- ],
- },
- ],
- 'conditions': [
- ['OS != "ios"', {
- 'targets': [
- {
- 'target_name': 'webkit_version',
- 'type': 'none',
- 'actions': [
- {
- 'action_name': 'webkit_version',
- 'inputs': [
- '<(script)',
- '../../../build/util/lastchange.py', # Used by the script.
- # This depends on the svn revision of third_party/WebKit but does
- # not list it as a dependency. Incremental builds will have
- # the wrong WEBKIT_SVN_REVISION.
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h',
- ],
- 'action': ['python', '<(script)', '../../../third_party/WebKit/Source',
- '<(SHARED_INTERMEDIATE_DIR)'],
- 'variables': {
- 'script': '../build/webkit_version.py',
- },
- },
- ],
- 'direct_dependent_settings': {
- 'include_dirs': [
- '<(SHARED_INTERMEDIATE_DIR)',
- ],
- },
- # Dependents may rely on files generated by this target or one of its
- # own hard dependencies.
- 'hard_dependency': 1,
- },
- ],
- }],
- ],
-}

Powered by Google App Engine
This is Rietveld 408576698