Searched refs:target_platform (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/tools/grit/grit/
H A Dxtb_reader.py22 def __init__(self, callback, defs=None, debug=False, target_platform=None):
42 if target_platform:
43 self.target_platform = target_platform
45 self.target_platform = sys.platform
76 self.if_expr, self.defines, self.target_platform)
109 target_platform=None):
123 target_platform: None, or a sys.platform-like identifier of the build
137 debug=debug, target_platform=target_platform)
[all...]
H A Dgrd_reader.py28 target_platform):
43 self.target_platform = target_platform
67 if self.target_platform:
68 self.root.SetTargetPlatform(self.target_platform)
142 debug=False, defines=None, tags_to_ignore=None, target_platform=None):
159 If 'target_platform' is set, this is used to determine the target
169 target_platform: None or the value that would be returned by sys.platform
184 target_platform=target_platform)
[all...]
H A Dxtb_reader_unittest.py95 target_platform='darwin')
H A Dgrd_reader_unittest.py310 target_platform='android')
/external/chromium_org/third_party/mesa/src/
H A Dcommon.py24 target_platform = SCons.Script.ARGUMENTS['platform'] variable
26 target_platform = host_platform variable
56 if target_platform == 'windows' and host_platform != 'windows':
67 if target_platform != 'windows' and \
/external/mesa3d/
H A Dcommon.py24 target_platform = SCons.Script.ARGUMENTS['platform'] variable
26 target_platform = host_platform variable
56 if target_platform == 'windows' and host_platform != 'windows':
67 if target_platform != 'windows' and \
/external/chromium_org/tools/grit/grit/node/
H A Dio.py43 target_platform = getattr(root, 'target_platform', '')
51 target_platform=target_platform)
H A Dbase.py445 def EvaluateExpression(cls, expr, defs, target_platform, extra_variables={}):
461 value = target_platform
466 value = target_platform.startswith('linux')
468 value = target_platform == 'darwin'
470 value = target_platform in ('cygwin', 'win32')
472 value = target_platform == 'android'
474 value = target_platform == 'ios'
476 value = 'bsd' in target_platform
478 value = (target_platform in ('darwin', 'linux2', 'linux3', 'sunos5',
480 or 'bsd' in target_platform)
[all...]
H A Dmisc.py174 self.target_platform = sys.platform
399 def SetTargetPlatform(self, target_platform):
400 self.target_platform = target_platform
H A Dbase_unittest.py196 def AssertExpr(expected_value, expr, defs, target_platform,
199 expr, defs, target_platform, extra_variables))
H A Dmisc_unittest.py117 self.failUnless(grd.target_platform == sys.platform)
/external/chromium_org/tools/grit/
H A Dgrit_info.py21 def Outputs(filename, defines, ids_file, target_platform=None):
24 first_ids_file=ids_file, target_platform=target_platform)
65 def Inputs(filename, defines, ids_file, target_platform=None):
68 first_ids_file=ids_file, target_platform=target_platform)
117 parser.add_option("-t", dest="target_platform", default=None)
138 options.target_platform)
159 options.ids_file, options.target_platform)]
/external/libsepol/src/
H A Dprivate.h54 unsigned int target_platform; member in struct:policydb_compat_info
59 unsigned int target_platform);
H A Dpolicydb.c67 .target_platform = SEPOL_TARGET_XEN,
74 .target_platform = SEPOL_TARGET_SELINUX,
81 .target_platform = SEPOL_TARGET_SELINUX,
88 .target_platform = SEPOL_TARGET_SELINUX,
95 .target_platform = SEPOL_TARGET_SELINUX,
102 .target_platform = SEPOL_TARGET_SELINUX,
109 .target_platform = SEPOL_TARGET_SELINUX,
116 .target_platform = SEPOL_TARGET_SELINUX,
123 .target_platform = SEPOL_TARGET_SELINUX,
130 .target_platform
394 policydb_lookup_compat(unsigned int version, unsigned int type, unsigned int target_platform) argument
[all...]
H A Dwrite.c1375 switch (p->target_platform) {
1912 len = strlen(policydb_target_strings[p->target_platform]);
1913 policydb_str = policydb_target_strings[p->target_platform];
1930 p->target_platform);
H A Dexpand.c2983 out->target_platform = base->target_platform;
3148 if (ocontext_copy(&state, out->target_platform))
/external/chromium_org/tools/auto_bisect/
H A Dbuilder.py67 if opts.target_platform == 'cros':
69 elif opts.target_platform == 'android':
71 elif opts.target_platform == 'android-chrome':
344 if 'android' in opts.target_platform:
347 elif opts.target_platform == 'cros':
H A Dbisect_perf_regression_test.py190 self, expected_command, original_command, revision, target_platform):
208 bisect_instance.opts.target_platform = target_platform
H A Dbisect_perf_regression.py305 def GetRemoteBuildPath(build_revision, target_platform='chromium',
308 def GetGSRootFolderName(target_platform):
315 if target_platform == 'android':
324 builder_folder = GetGSRootFolderName(target_platform)
1186 revision, self.opts.target_platform, target_arch, patch_sha)
1194 commit_position, self.opts.target_platform, target_arch, patch_sha)
1288 def GetBuilderNameAndBuildTime(target_platform, target_arch='ia32'):
1297 if target_platform == 'android':
1307 self.opts.target_platform, self.opts.target_arch)
1340 if (self.opts.target_platform i
[all...]
H A Dbisect_utils.py280 if 'android' in opts.target_platform:
/external/chromium_org/tools/grit/grit/tool/
H A Dbuild.py122 target_platform = None
150 target_platform = val
180 target_platform=target_platform)
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dmsvs_emulation.py226 target_platform = 'Win32' if self.GetArch(config) == 'x86' else 'x64'
238 '$(PlatformName)': target_platform,
802 target_platform = 'win32' if self.GetArch(config) == 'x86' else 'x64'
803 flags = ['/char', 'signed', '/env', target_platform, '/Oicf']
/external/checkpolicy/
H A Dpolicy_define.c3823 if (policydbp->target_platform != SEPOL_TARGET_SELINUX) {
3885 if (policydbp->target_platform != SEPOL_TARGET_XEN) {
3939 if (policydbp->target_platform != SEPOL_TARGET_XEN) {
4003 if (policydbp->target_platform != SEPOL_TARGET_XEN) {
4067 if (policydbp->target_platform != SEPOL_TARGET_XEN) {
4123 if (policydbp->target_platform != SEPOL_TARGET_SELINUX) {
4210 if (policydbp->target_platform != SEPOL_TARGET_SELINUX) {
4271 if (policydbp->target_platform != SEPOL_TARGET_SELINUX) {
4357 if (policydbp->target_platform != SEPOL_TARGET_SELINUX) {
4448 if (policydbp->target_platform !
[all...]
/external/libsepol/include/sepol/policydb/
H A Dpolicydb.h470 int target_platform; member in struct:policydb

Completed in 519 milliseconds