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

Side by Side Diff: content/content.gyp

Issue 14823005: Remove inside_chromium_build gyp variable (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 unified diff | Download patch | Annotate | Revision Log
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 ],
16 }, 9 },
17 'target_defaults': { 10 'target_defaults': {
18 'defines': ['CONTENT_IMPLEMENTATION'], 11 'defines': ['CONTENT_IMPLEMENTATION'],
19 'conditions': [ 12 'conditions': [
20 ['inside_chromium_build==0', {
21 'dependencies': [
22 '../webkit/support/setup_third_party.gyp:third_party_headers',
23 ],
24 }],
25 # TODO(jschuh): Remove this after crbug.com/173851 gets fixed. 13 # TODO(jschuh): Remove this after crbug.com/173851 gets fixed.
26 ['OS=="win" and target_arch=="x64"', { 14 ['OS=="win" and target_arch=="x64"', {
27 'msvs_settings': { 15 'msvs_settings': {
28 'VCCLCompilerTool': { 16 'VCCLCompilerTool': {
29 'AdditionalOptions': ['/bigobj'], 17 'AdditionalOptions': ['/bigobj'],
30 }, 18 },
31 }, 19 },
32 }], 20 }],
33 ], 21 ],
34 }, 22 },
35 'conditions': [ 23 'conditions': [
36 ['inside_chromium_build==1', {
37 'includes': [
38 'content_tests.gypi',
39 ],
40 }],
41 ['OS != "ios"', { 24 ['OS != "ios"', {
42 'includes': [ 25 'includes': [
43 '../build/win_precompile.gypi', 26 '../build/win_precompile.gypi',
44 'content_shell.gypi', 27 'content_shell.gypi',
28 'content_tests.gypi',
45 ], 29 ],
46 }], 30 }],
47 # In component mode, we build all of content as a single DLL. 31 # In component mode, we build all of content as a single DLL.
48 # However, in the static mode, we need to build content as multiple 32 # However, in the static mode, we need to build content as multiple
49 # targets in order to prevent dependencies from getting introduced 33 # targets in order to prevent dependencies from getting introduced
50 # upstream unnecessarily (e.g., content_renderer depends on allocator 34 # upstream unnecessarily (e.g., content_renderer depends on allocator
51 # and chrome_exe depends on content_common but we don't want 35 # and chrome_exe depends on content_common but we don't want
52 # chrome_exe to have to depend on allocator). 36 # chrome_exe to have to depend on allocator).
53 ['component=="static_library"', { 37 ['component=="static_library"', {
54 'target_defines': [ 38 'target_defines': [
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 'include_dirs': [ 375 'include_dirs': [
392 '<(SHARED_INTERMEDIATE_DIR)/content', 376 '<(SHARED_INTERMEDIATE_DIR)/content',
393 ], 377 ],
394 }, 378 },
395 'includes': [ 'content_jni.gypi' ], 379 'includes': [ 'content_jni.gypi' ],
396 }, 380 },
397 ], 381 ],
398 }], # OS == "android" 382 }], # OS == "android"
399 ], 383 ],
400 } 384 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698