forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfx_definition.cpp
More file actions
43 lines (37 loc) · 1.02 KB
/
fx_definition.cpp
File metadata and controls
43 lines (37 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#include "deps_format.h"
#include "fx_definition.h"
#include "fx_ver.h"
#include "pal.h"
#include "runtime_config.h"
fx_definition_t::fx_definition_t()
{
}
fx_definition_t::fx_definition_t(
const pal::string_t& name,
const pal::string_t& dir,
const pal::string_t& requested_version,
const pal::string_t& found_version)
: m_name(name)
, m_dir(dir)
, m_requested_version(requested_version)
, m_found_version(found_version)
{
}
void fx_definition_t::parse_runtime_config(
const pal::string_t& path,
const pal::string_t& dev_path,
const runtime_config_t::settings_t& override_settings
)
{
m_runtime_config.parse(path, dev_path, override_settings);
}
void fx_definition_t::parse_deps()
{
m_deps.parse(false, m_deps_file);
}
void fx_definition_t::parse_deps(const deps_json_t::rid_fallback_graph_t& graph)
{
m_deps.parse(true, m_deps_file, graph);
}