MCPcopy Create free account
hub / github.com/nodejs/node / get_cc_file_name

Function get_cc_file_name

deps/v8/tools/generate-header-include-checks.py:118–124  ·  view source on GitHub ↗
(header)

Source from the content-addressed store, hash-verified

116
117
118def get_cc_file_name(header):
119 split = os.path.split(header)
120 header_dir = os.path.relpath(split[0], V8_DIR)
121 # Prefix with the directory name, to avoid collisions in the object files.
122 prefix = header_dir.replace(os.path.sep, '-')
123 cc_file_name = 'test-include-' + prefix + '-' + split[1][:-1] + 'cc'
124 return os.path.join(OUT_DIR, cc_file_name)
125
126
127def create_including_cc_files(header_files):

Callers 2

generate_gniFunction · 0.85

Calls 2

splitMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected