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

Side by Side Diff: content/content.gyp

Issue 10388218: Allow for building content_shell from within WebKit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/debugger/devtools_resources.gyp ('k') | content/content_browser.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 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/ directxsdk)', 8 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/ directxsdk)',
9 'conditions': [
10 ['inside_chromium_build==0', {
11 'webkit_src_dir': '../../../..',
12 },{
13 'webkit_src_dir': '../third_party/WebKit',
14 }],
15 ],
9 }, 16 },
10 'includes': [ 17 'includes': [
11 '../build/win_precompile.gypi', 18 '../build/win_precompile.gypi',
12 'content_shell.gypi', 19 'content_shell.gypi',
13 'content_tests.gypi',
14 ], 20 ],
15 'target_defaults': { 21 'target_defaults': {
16 'defines': ['CONTENT_IMPLEMENTATION'], 22 'defines': ['CONTENT_IMPLEMENTATION'],
23 'conditions': [
24 ['inside_chromium_build==0', {
25 'dependencies': [
26 '../webkit/support/setup_third_party.gyp:third_party_headers',
27 ],
28 }],
29 ],
17 }, 30 },
18 'conditions': [ 31 'conditions': [
32 ['inside_chromium_build==1', {
33 'includes': [
34 'content_tests.gypi',
35 ]
36 }],
19 # In component mode, we build all of content as a single DLL. 37 # In component mode, we build all of content as a single DLL.
20 # However, in the static mode, we need to build content as multiple 38 # However, in the static mode, we need to build content as multiple
21 # targets in order to prevent dependencies from getting introduced 39 # targets in order to prevent dependencies from getting introduced
22 # upstream unnecessarily (e.g., content_renderer depends on allocator 40 # upstream unnecessarily (e.g., content_renderer depends on allocator
23 # and chrome_exe depends on content_common but we don't want 41 # and chrome_exe depends on content_common but we don't want
24 # chrome_exe to have to depend on allocator). 42 # chrome_exe to have to depend on allocator).
25 ['component=="static_library"', { 43 ['component=="static_library"', {
26 'target_defines': [ 44 'target_defines': [
27 'COMPILE_CONTENT_STATICALLY', 45 'COMPILE_CONTENT_STATICALLY',
28 ], 46 ],
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 }, 229 },
212 { 230 {
213 'target_name': 'content_jni_headers', 231 'target_name': 'content_jni_headers',
214 'type': 'none', 232 'type': 'none',
215 'includes': [ 'content_jni.gypi' ], 233 'includes': [ 'content_jni.gypi' ],
216 }, 234 },
217 ], 235 ],
218 }], # OS == "android" 236 }], # OS == "android"
219 ], 237 ],
220 } 238 }
OLDNEW
« no previous file with comments | « content/browser/debugger/devtools_resources.gyp ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698