$49 GRAYBYTE WORDPRESS FILE MANAGER $69

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/

HOME
Current File : /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator//gypsh.py
# Copyright (c) 2011 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

"""gypsh output module

gypsh is a GYP shell.  It's not really a generator per se.  All it does is
fire up an interactive Python session with a few local variables set to the
variables passed to the generator.  Like gypd, it's intended as a debugging
aid, to facilitate the exploration of .gyp structures after being processed
by the input module.

The expected usage is "gyp -f gypsh -D OS=desired_os".
"""


import code
import sys


# All of this stuff about generator variables was lovingly ripped from gypd.py.
# That module has a much better description of what's going on and why.
_generator_identity_variables = [
  'EXECUTABLE_PREFIX',
  'EXECUTABLE_SUFFIX',
  'INTERMEDIATE_DIR',
  'PRODUCT_DIR',
  'RULE_INPUT_ROOT',
  'RULE_INPUT_DIRNAME',
  'RULE_INPUT_EXT',
  'RULE_INPUT_NAME',
  'RULE_INPUT_PATH',
  'SHARED_INTERMEDIATE_DIR',
]

generator_default_variables = {
}

for v in _generator_identity_variables:
  generator_default_variables[v] = '<(%s)' % v


def GenerateOutput(target_list, target_dicts, data, params):
  locals = {
        'target_list':  target_list,
        'target_dicts': target_dicts,
        'data':         data,
      }

  # Use a banner that looks like the stock Python one and like what
  # code.interact uses by default, but tack on something to indicate what
  # locals are available, and identify gypsh.
  banner='Python %s on %s\nlocals.keys() = %s\ngypsh' % \
         (sys.version, sys.platform, repr(sorted(locals.keys())))

  code.interact(banner, local=locals)


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.36 PM
root / root
0755
__init__.py
0 KB
10 Mar 2021 2.36 PM
root / root
0644
analyzer.py
29.909 KB
10 Mar 2021 2.36 PM
root / root
0644
android.py
44.305 KB
10 Mar 2021 2.36 PM
root / root
0644
cmake.py
43.693 KB
10 Mar 2021 2.36 PM
root / root
0644
compile_commands_json.py
4.173 KB
10 Mar 2021 2.36 PM
root / root
0644
dump_dependency_json.py
3.384 KB
10 Mar 2021 2.36 PM
root / root
0644
eclipse.py
16.725 KB
10 Mar 2021 2.36 PM
root / root
0644
gypd.py
3.389 KB
10 Mar 2021 2.36 PM
root / root
0644
gypsh.py
1.626 KB
10 Mar 2021 2.36 PM
root / root
0644
make.py
90.864 KB
10 Mar 2021 2.36 PM
root / root
0644
msvs.py
130.435 KB
10 Mar 2021 2.36 PM
root / root
0644
msvs_test.py
1.05 KB
10 Mar 2021 2.36 PM
root / root
0644
ninja.py
98.424 KB
10 Mar 2021 2.36 PM
root / root
0644
ninja_test.py
1.709 KB
10 Mar 2021 2.36 PM
root / root
0644
xcode.py
56.99 KB
10 Mar 2021 2.36 PM
root / root
0644
xcode_test.py
0.628 KB
10 Mar 2021 2.36 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF