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

Side by Side Diff: chrome/common_constants.gyp

Issue 11418005: Get a minimal unit_tests target building and running for iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@chrome-gyp-ios-support
Patch Set: Better ifdefing in chrome_paths Created 8 years, 1 month 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
« no previous file with comments | « chrome/common/chrome_version_info_mac.mm ('k') | chrome/test/base/chrome_test_suite.cc » ('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, 7 'chromium_code': 1,
8 }, 8 },
9 9
10 'includes': [ 10 'includes': [
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 { 58 {
59 'target_name': 'common_constants', 59 'target_name': 'common_constants',
60 'type': 'static_library', 60 'type': 'static_library',
61 'include_dirs': [ 61 'include_dirs': [
62 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc. 62 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc.
63 ], 63 ],
64 'dependencies': [ 64 'dependencies': [
65 '../base/base.gyp:base', 65 '../base/base.gyp:base',
66 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', 66 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
67 ], 67 ],
68 'target_conditions': [
69 ['OS=="ios"', {
70 # iOS needs chrome_paths_mac, which is excluded by filename rules;
71 # re-add it in target_conditionals so it's after that exclusion.
72 'sources/': [
73 ['include', '^common/chrome_paths_mac\\.mm$'],
74 ],
75 }],
76 ],
68 'conditions': [ 77 'conditions': [
69 ['toolkit_uses_gtk == 1', { 78 ['toolkit_uses_gtk == 1', {
70 'dependencies': ['../build/linux/system.gyp:gtk'], 79 'dependencies': ['../build/linux/system.gyp:gtk'],
71 }], 80 }],
72 ], 81 ],
73 }, 82 },
74 ], 83 ],
75 'conditions': [ 84 'conditions': [
76 ['OS=="win"', { 85 ['OS=="win"', {
77 'targets': [ 86 'targets': [
(...skipping 14 matching lines...) Expand all
92 'configurations': { 101 'configurations': {
93 'Common_Base': { 102 'Common_Base': {
94 'msvs_target_platform': 'x64', 103 'msvs_target_platform': 'x64',
95 }, 104 },
96 }, 105 },
97 }, 106 },
98 ], 107 ],
99 }], 108 }],
100 ], 109 ],
101 } 110 }
OLDNEW
« no previous file with comments | « chrome/common/chrome_version_info_mac.mm ('k') | chrome/test/base/chrome_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698