OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |