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

Side by Side Diff: content/content.gyp

Issue 186883002: Move user_agent code from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm build directory Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « content/common/user_agent_ios.mm ('k') | content/content_common.gypi » ('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 'variables': { 6 'variables': {
7 'chromium_code': 1, # Use higher warning level. 7 'chromium_code': 1, # Use higher warning level.
8 'chromium_enable_vtune_jit_for_v8%': 0, # enable the vtune support for V8 e ngine. 8 'chromium_enable_vtune_jit_for_v8%': 0, # enable the vtune support for V8 e ngine.
9 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/ directxsdk)', 9 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/ directxsdk)',
10 }, 10 },
11 'target_defaults': { 11 'target_defaults': {
12 'defines': ['CONTENT_IMPLEMENTATION'], 12 'defines': ['CONTENT_IMPLEMENTATION'],
13 'conditions': [ 13 'conditions': [
14 # TODO(jschuh): Remove this after crbug.com/173851 gets fixed. 14 # TODO(jschuh): Remove this after crbug.com/173851 gets fixed.
15 ['OS=="win" and target_arch=="x64"', { 15 ['OS=="win" and target_arch=="x64"', {
16 'msvs_settings': { 16 'msvs_settings': {
17 'VCCLCompilerTool': { 17 'VCCLCompilerTool': {
18 'AdditionalOptions': ['/bigobj'], 18 'AdditionalOptions': ['/bigobj'],
19 }, 19 },
20 }, 20 },
21 }], 21 }],
22 ], 22 ],
23 }, 23 },
24 'conditions': [ 24 'conditions': [
25 ['OS != "ios"', { 25 ['OS != "ios"', {
26 'includes': [ 26 'includes': [
27 '../build/win_precompile.gypi', 27 '../build/win_precompile.gypi',
28 ], 28 ],
29 'targets': [
30 {
31 'target_name': 'webkit_version',
32 'type': 'none',
33 'actions': [
34 {
35 'action_name': 'generate_webkit_version',
36 'inputs': [
37 '<(script)',
38 '<(lastchange)',
39 '<(template)',
40 ],
41 'outputs': [
42 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h',
43 ],
44 'action': ['python',
45 '<(script)',
46 '-f', '<(lastchange)',
47 '<(template)',
48 '<@(_outputs)',
49 ],
50 'variables': {
51 'script': '<(DEPTH)/build/util/version.py',
52 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink',
53 'template': 'webkit_version.h.in',
54 },
55 },
56 ],
57 'direct_dependent_settings': {
58 'include_dirs': [
59 '<(SHARED_INTERMEDIATE_DIR)',
60 ],
61 },
62 # Dependents may rely on files generated by this target or one of
63 # its own hard dependencies.
64 'hard_dependency': 1,
65 },
66 ],
29 }], 67 }],
30 # In component mode, we build all of content as a single DLL. 68 # In component mode, we build all of content as a single DLL.
31 # However, in the static mode, we need to build content as multiple 69 # However, in the static mode, we need to build content as multiple
32 # targets in order to prevent dependencies from getting introduced 70 # targets in order to prevent dependencies from getting introduced
33 # upstream unnecessarily (e.g., content_renderer depends on allocator 71 # upstream unnecessarily (e.g., content_renderer depends on allocator
34 # and chrome_exe depends on content_common but we don't want 72 # and chrome_exe depends on content_common but we don't want
35 # chrome_exe to have to depend on allocator). 73 # chrome_exe to have to depend on allocator).
36 ['component=="static_library"', { 74 ['component=="static_library"', {
37 'target_defines': [ 75 'target_defines': [
38 'COMPILE_CONTENT_STATICALLY', 76 'COMPILE_CONTENT_STATICALLY',
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 ], 550 ],
513 }, 551 },
514 ], 552 ],
515 }], 553 }],
516 ], 554 ],
517 }, 555 },
518 ], 556 ],
519 }], # OS == "android" 557 }], # OS == "android"
520 ], 558 ],
521 } 559 }
OLDNEW
« no previous file with comments | « content/common/user_agent_ios.mm ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698