OLD | NEW |
---|---|
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 7 'conditions': [ |
8 ['inside_chromium_build==0', { | 8 ['inside_chromium_build==0', { |
9 'webkit_src_dir': '../../../../..', | 9 'webkit_src_dir': '../../../../..', |
10 },{ | 10 },{ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
51 'action_name': 'webkit_strings', | 51 'action_name': 'webkit_strings', |
52 'variables': { | 52 'variables': { |
53 'grit_grd_file': 'webkit_strings.grd', | 53 'grit_grd_file': 'webkit_strings.grd', |
54 }, | 54 }, |
55 'includes': [ '../../build/grit_action.gypi' ], | 55 'includes': [ '../../build/grit_action.gypi' ], |
56 }, | 56 }, |
57 ], | 57 ], |
58 'includes': [ '../../build/grit_target.gypi' ], | 58 'includes': [ '../../build/grit_target.gypi' ], |
59 }, | 59 }, |
60 { | 60 { |
61 'target_name': 'webkit_user_agent', | 61 'target_name': 'webkit_version', |
62 'type': 'static_library', | 62 'type': 'none', |
63 'dependencies': [ | |
64 '<(DEPTH)/base/base.gyp:base_i18n', | |
65 ], | |
66 'actions': [ | 63 'actions': [ |
67 { | 64 { |
68 'action_name': 'webkit_version', | 65 'action_name': 'webkit_version', |
69 'inputs': [ | 66 'inputs': [ |
70 '<(script)', | 67 '<(script)', |
71 '<(webkit_src_dir)<(version_file)', | 68 '<(webkit_src_dir)<(version_file)', |
72 '../../build/util/lastchange.py', # Used by the script. | 69 '../../build/util/lastchange.py', # Used by the script. |
73 ], | 70 ], |
74 'outputs': [ | 71 'outputs': [ |
75 '<(INTERMEDIATE_DIR)/webkit_version.h', | 72 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h', |
Ryan Sleevi
2011/11/03 07:55:18
here as well
| |
76 ], | 73 ], |
77 'action': ['python', '<(script)', '<(webkit_src_dir)', | 74 'action': ['python', '<(script)', '<(webkit_src_dir)', |
78 '<(version_file)', '<(INTERMEDIATE_DIR)'], | 75 '<(version_file)', '<(SHARED_INTERMEDIATE_DIR)'], |
79 'variables': { | 76 'variables': { |
80 'script': '../build/webkit_version.py', | 77 'script': '../build/webkit_version.py', |
81 # version_file is a relative path from |webkit_src_dir| to | 78 # version_file is a relative path from |webkit_src_dir| to |
82 # the version file. But gyp will eat the variable unless | 79 # the version file. But gyp will eat the variable unless |
83 # it looks like an absolute path, so write it like one and | 80 # it looks like an absolute path, so write it like one and |
84 # then use it carefully above. | 81 # then use it carefully above. |
85 'version_file': '/Source/WebCore/Configurations/Version.xcconfig', | 82 'version_file': '/Source/WebCore/Configurations/Version.xcconfig', |
86 }, | 83 }, |
87 }, | 84 }, |
88 ], | 85 ], |
89 'include_dirs': [ | 86 'direct_dependent_settings': { |
90 '<(INTERMEDIATE_DIR)', | 87 'include_dirs': [ |
88 '<(SHARED_INTERMEDIATE_DIR)', | |
89 ], | |
90 }, | |
91 # Dependents may rely on files generated by this target or one of its | |
92 # own hard dependencies. | |
93 'hard_dependency': 1, | |
94 }, | |
95 { | |
96 'target_name': 'webkit_user_agent', | |
97 'type': 'static_library', | |
98 'dependencies': [ | |
99 'webkit_version', | |
100 '<(DEPTH)/base/base.gyp:base_i18n', | |
91 ], | 101 ], |
92 'sources': [ | 102 'sources': [ |
93 'user_agent.cc', | 103 'user_agent.cc', |
94 'user_agent.h', | 104 'user_agent.h', |
95 ], | 105 ], |
96 # Dependents may rely on files generated by this target or one of its | |
97 # own hard dependencies. | |
98 'hard_dependency': 1, | |
99 'conditions': [ | |
100 ], | |
101 }, | 106 }, |
102 { | 107 { |
103 'target_name': 'glue', | 108 'target_name': 'glue', |
104 'type': 'static_library', | 109 'type': 'static_library', |
105 'dependencies': [ | 110 'dependencies': [ |
106 '<(DEPTH)/base/base.gyp:base_i18n', | 111 '<(DEPTH)/base/base.gyp:base_i18n', |
107 '<(DEPTH)/base/base.gyp:base_static', | 112 '<(DEPTH)/base/base.gyp:base_static', |
108 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 113 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
109 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', | 114 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', |
110 '<(DEPTH)/media/media.gyp:yuv_convert', | 115 '<(DEPTH)/media/media.gyp:yuv_convert', |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
550 }, | 555 }, |
551 'includes': [ '../../build/grit_action.gypi' ], | 556 'includes': [ '../../build/grit_action.gypi' ], |
552 }, | 557 }, |
553 ], | 558 ], |
554 'includes': [ '../../build/grit_target.gypi' ], | 559 'includes': [ '../../build/grit_target.gypi' ], |
555 }, | 560 }, |
556 ], | 561 ], |
557 }], | 562 }], |
558 ], | 563 ], |
559 } | 564 } |
OLD | NEW |