diff options
author | Mike Klein <mtklein@chromium.org> | 2017-02-06 12:26:51 -0500 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2017-02-06 17:55:35 +0000 |
commit | 160907f8defef112c358cdd5cb9e5e093ca93b09 (patch) | |
tree | 370fd63868b81fbc488b2cc7a672a0b015db92b4 /infra | |
parent | 199fb875c5e63c13233209e89b943c7ac7ab6665 (diff) |
Clean up more references to GYP.
Delete files only used by GYP, and files that used GYP. Neither can
possibly be actively used. Beyond that, just a couple doc tweaks.
Change-Id: I0220d7226e7bb9ed7c54a7d8f2906a718313c521
Reviewed-on: https://skia-review.googlesource.com/8062
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Hal Canary <halcanary@google.com>
Diffstat (limited to 'infra')
4 files changed, 0 insertions, 27 deletions
diff --git a/infra/bots/recipe_modules/compile/api.py b/infra/bots/recipe_modules/compile/api.py index 5f332c55b5..a74131fd63 100644 --- a/infra/bots/recipe_modules/compile/api.py +++ b/infra/bots/recipe_modules/compile/api.py @@ -30,29 +30,11 @@ def get_extra_env_vars(builder_dict): return env -def get_gyp_defines(builder_dict): - gyp_defs = {} - - if (builder_dict.get('os') == 'iOS' or - builder_dict.get('extra_config') == 'iOS'): - gyp_defs['skia_arch_type'] = 'arm' - gyp_defs['skia_clang_build'] = '1' - gyp_defs['skia_os'] = 'ios' - gyp_defs['skia_warnings_as_errors'] = 1 - - return gyp_defs - - class CompileApi(recipe_api.RecipeApi): def run(self): self.m.core.setup() env = get_extra_env_vars(self.m.vars.builder_cfg) - gyp_defs = get_gyp_defines(self.m.vars.builder_cfg) - gyp_defs_list = ['%s=%s' % (k, v) for k, v in gyp_defs.iteritems()] - gyp_defs_list.sort() - env['GYP_DEFINES'] = ' '.join(gyp_defs_list) - build_targets = build_targets_from_builder_dict(self.m.vars.builder_cfg) try: diff --git a/infra/bots/recipe_modules/compile/example.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.json b/infra/bots/recipe_modules/compile/example.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.json index 4a7f8252e9..fc2ef63a6a 100644 --- a/infra/bots/recipe_modules/compile/example.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.json +++ b/infra/bots/recipe_modules/compile/example.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.json @@ -96,7 +96,6 @@ "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", - "GYP_DEFINES": "", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium" }, @@ -129,7 +128,6 @@ "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", - "GYP_DEFINES": "", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium" }, @@ -147,7 +145,6 @@ "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", - "GYP_DEFINES": "", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium" }, diff --git a/infra/bots/recipe_modules/compile/example.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium_SkiaPaths.json b/infra/bots/recipe_modules/compile/example.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium_SkiaPaths.json index fd798987a5..b2ef534eba 100644 --- a/infra/bots/recipe_modules/compile/example.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium_SkiaPaths.json +++ b/infra/bots/recipe_modules/compile/example.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium_SkiaPaths.json @@ -96,7 +96,6 @@ "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", - "GYP_DEFINES": "", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium_SkiaPaths" }, @@ -129,7 +128,6 @@ "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", - "GYP_DEFINES": "", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium_SkiaPaths" }, @@ -147,7 +145,6 @@ "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", - "GYP_DEFINES": "", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium_SkiaPaths" }, diff --git a/infra/bots/recipe_modules/compile/example.expected/pdfium_trybot.json b/infra/bots/recipe_modules/compile/example.expected/pdfium_trybot.json index 5a33bc59f6..421be2749f 100644 --- a/infra/bots/recipe_modules/compile/example.expected/pdfium_trybot.json +++ b/infra/bots/recipe_modules/compile/example.expected/pdfium_trybot.json @@ -100,7 +100,6 @@ "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", - "GYP_DEFINES": "", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium" }, @@ -133,7 +132,6 @@ "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", - "GYP_DEFINES": "", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium" }, @@ -151,7 +149,6 @@ "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", - "GYP_DEFINES": "", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium" }, |