Delete ChromeOS code

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1926163002

Review-Url: https://codereview.chromium.org/1926163002
diff --git a/gyp/SampleApp.gyp b/gyp/SampleApp.gyp
index 52061f2..ea7ab98 100644
--- a/gyp/SampleApp.gyp
+++ b/gyp/SampleApp.gyp
@@ -254,14 +254,6 @@
             'android_deps.gyp:Android_SampleApp',
           ],
         }],
-        [ 'skia_os == "chromeos"', {
-          'sources!': [
-            '../samplecode/SampleLighting.cpp',  #doesn't compile due to gpu dependencies
-          ],
-          'include_dirs' : [
-            '../include/gpu',
-          ],
-        }],
         [ 'skia_gpu == 1', {
           'dependencies': [
             'gputest.gyp:skgputest',
diff --git a/gyp/codec.gyp b/gyp/codec.gyp
index a31c1cc..bea740b 100644
--- a/gyp/codec.gyp
+++ b/gyp/codec.gyp
@@ -135,11 +135,6 @@
             'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'],
           },
         }],
-        ['skia_os == "chromeos"', {
-          'link_settings': {
-            'libraries': ['-lrt', ],
-          },
-        }],
       ],
     },
   ],
diff --git a/gyp/common.gypi b/gyp/common.gypi
index 9ca2895..757d9c2 100644
--- a/gyp/common.gypi
+++ b/gyp/common.gypi
@@ -26,8 +26,7 @@
     # situations, like building for iOS on a Mac.
     'variables': {
       'conditions': [
-        [ 'skia_os != OS and not ((skia_os == "ios" and OS == "mac") or \
-                                  (skia_os == "chromeos" and OS == "linux"))', {
+        [ 'skia_os != OS and not (skia_os == "ios" and OS == "mac")', {
           'error': '<!(Cannot build with skia_os=<(skia_os) on OS=<(OS))',
         }],
         [ 'skia_mesa and skia_os not in ["mac", "linux"]', {
@@ -36,9 +35,6 @@
         [ 'skia_angle and not (skia_os == "win" or skia_os == "linux" or skia_os == "mac")', {
           'error': '<!(skia_angle=1 only supported with skia_os="win" or skia_os="linux" or skia_os="mac".)',
         }],
-        [ 'skia_os == "chromeos" and OS != "linux"', {
-          'error': '<!(Skia ChromeOS build is only supported on Linux.)',
-        }],
       ],
     },
     'includes': [
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index aee65da..0f8fa51 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -218,7 +218,7 @@
     ],
 
     # The following section is common to linux + derivatives and android
-    [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "android"]',
+    [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"]',
       {
         'cflags': [
           '-g',
@@ -242,24 +242,20 @@
         'ldflags': [ '-rdynamic' ],
         'conditions': [
           [ 'skia_fast', { 'cflags': [ '<@(skia_fast_flags)' ] }],
-          [ 'skia_os != "chromeos"', {
-            'conditions': [
-              [ 'skia_arch_type == "x86_64" and not skia_android_framework', {
-                'cflags': [
-                  '-m64',
-                ],
-                'ldflags': [
-                  '-m64',
-                ],
-              }],
-              [ 'skia_arch_type == "x86" and not skia_android_framework', {
-                'cflags': [
-                  '-m32',
-                ],
-                'ldflags': [
-                  '-m32',
-                ],
-              }],
+          [ 'skia_arch_type == "x86_64" and not skia_android_framework', {
+            'cflags': [
+              '-m64',
+            ],
+            'ldflags': [
+              '-m64',
+            ],
+          }],
+          [ 'skia_arch_type == "x86" and not skia_android_framework', {
+            'cflags': [
+              '-m32',
+            ],
+            'ldflags': [
+              '-m32',
             ],
           }],
           [ 'skia_warnings_as_errors', {
@@ -298,7 +294,7 @@
                   'SK_ARM_HAS_OPTIONAL_NEON',
                 ],
               }],
-              [ 'skia_os != "chromeos" and skia_os != "linux"', {
+              [ 'skia_os != "linux"', {
                 'cflags': [
                   '-mfloat-abi=softfp',
                 ],
@@ -409,7 +405,7 @@
         'defines': [ 'SK_DUMP_STATS'],
     }],
 
-    [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]',
+    [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]',
       {
         'defines': [
           'SK_SAMPLES_FOR_X',
diff --git a/gyp/core.gyp b/gyp/core.gyp
index b0cbbf9..e6f7e8c 100644
--- a/gyp/core.gyp
+++ b/gyp/core.gyp
@@ -36,7 +36,7 @@
       ],
       'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800],
       'conditions': [
-        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
+        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
           'link_settings': {
             'libraries': [
               '-lpthread',
diff --git a/gyp/debugger.gyp b/gyp/debugger.gyp
index f6e1988..8ad5702 100644
--- a/gyp/debugger.gyp
+++ b/gyp/debugger.gyp
@@ -6,7 +6,7 @@
   'variables': {
     'skia_warnings_as_errors': 0,
     'conditions': [
-      [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
+      [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
         # Use the systemwide Qt libs by default
         'variables': {
           'qt_sdk%': '/usr',
diff --git a/gyp/everything.gyp b/gyp/everything.gyp
index 47db978..299aad5 100644
--- a/gyp/everything.gyp
+++ b/gyp/everything.gyp
@@ -21,7 +21,7 @@
         'skiaserve.gyp:skiaserve',
       ],
       'conditions': [
-        ['skia_os in ("ios", "android", "chromeos")', {
+        ['skia_os in ("ios", "android")', {
           # debugger is not supported on this platform
         }, {
           'dependencies': [
diff --git a/gyp/freetype.gyp b/gyp/freetype.gyp
index d68d33a..6ebd168 100644
--- a/gyp/freetype.gyp
+++ b/gyp/freetype.gyp
@@ -33,7 +33,7 @@
           }, { # (not skia_freetype_static)
             # dynamic linking depends on the OS:
             'conditions': [
-              [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]',
+              [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]',
                 {
                   'direct_dependent_settings': {
                     'include_dirs' : [
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp
index 2fedbed..f09bcd0 100644
--- a/gyp/gpu.gyp
+++ b/gyp/gpu.gyp
@@ -14,7 +14,7 @@
         'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'],
         ],
       }],
-      ['skia_os != "linux" and skia_os != "chromeos"', {
+      ['skia_os != "linux"', {
         'sources/': [ ['exclude', '_glx.(h|cpp)$'],
         ],
       }],
@@ -123,13 +123,13 @@
             'GR_CHROME_UTILS=1',
           ],
         }],
-        [ 'skia_os == "linux" or skia_os == "chromeos"', {
+        [ 'skia_os == "linux"', {
           'sources!': [
             '../src/gpu/gl/GrGLDefaultInterface_none.cpp',
             '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp',
           ],
         }],
-        [ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 1', {
+        [ 'skia_os == "linux" and skia_egl == 1', {
           'link_settings': {
             'libraries': [
               '-lEGL',
@@ -137,7 +137,7 @@
             ],
           },
         }],
-        [ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 0', {
+        [ 'skia_os == "linux" and skia_egl == 0', {
           'link_settings': {
             'libraries': [
               '-lGL',
diff --git a/gyp/gputest.gyp b/gyp/gputest.gyp
index d1067e5..746fea1 100644
--- a/gyp/gputest.gyp
+++ b/gyp/gputest.gyp
@@ -41,7 +41,7 @@
             'angle.gyp:*',
           ],
         }],
-        [ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 1', {
+        [ 'skia_os == "linux" and skia_egl == 1', {
           'link_settings': {
             'libraries': [
               '-lEGL',
@@ -49,7 +49,7 @@
             ],
           },
         }],
-        [ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 0', {
+        [ 'skia_os == "linux" and skia_egl == 0', {
           'link_settings': {
             'libraries': [
               '-lGL',
@@ -69,7 +69,7 @@
             ],
           },
         }],
-        ['skia_os in ["linux", "win", "mac", "chromeos", "android", "ios"]', {
+        ['skia_os in ["linux", "win", "mac", "android", "ios"]', {
           'sources/': [ ['exclude', '_none\.(h|cpp)$'],],
         }],
         ['skia_os != "win"', {
@@ -78,7 +78,7 @@
         ['skia_os != "mac"', {
           'sources/': [ ['exclude', '_mac\.(h|cpp|m|mm)$'],],
         }],
-        ['skia_os != "linux" and skia_os != "chromeos"', {
+        ['skia_os != "linux"', {
           'sources/': [ ['exclude', '_glx\.(h|cpp)$'],],
         }],
         ['skia_os != "ios"', {
diff --git a/gyp/icu.gyp b/gyp/icu.gyp
index 5142b77..4a98503 100644
--- a/gyp/icu.gyp
+++ b/gyp/icu.gyp
@@ -112,7 +112,7 @@
           }
         ],
         [
-          'skia_os in ["linux", "chromeos"]', {
+          'skia_os == "linux"', {
             'sources': [ '<(icu_directory)/linux/icudtl_dat.S', ],
           }
         ],
diff --git a/gyp/images.gyp b/gyp/images.gyp
index 2701b50..8920f6a 100644
--- a/gyp/images.gyp
+++ b/gyp/images.gyp
@@ -107,11 +107,6 @@
             }],
           ],
         }],
-        [ 'skia_os == "chromeos"', {
-          'dependencies': [
-            'libpng.gyp:libpng',
-          ],
-        }],
         [ 'skia_os == "ios"', {
            'include_dirs': [
              '../include/utils/mac',
diff --git a/gyp/libjpeg-turbo.gyp b/gyp/libjpeg-turbo.gyp
index 407fcca..801b21e 100644
--- a/gyp/libjpeg-turbo.gyp
+++ b/gyp/libjpeg-turbo.gyp
@@ -293,7 +293,7 @@
           },
         }],
         [ '(skia_os == "linux" or skia_os == "freebsd" or skia_os == "openbsd" or \
-            skia_os == "solaris" or skia_os == "chromeos")', {
+            skia_os == "solaris")', {
           'dependencies': [
             'yasm.gyp:yasm#host',
           ],
diff --git a/gyp/pdf.gyp b/gyp/pdf.gyp
index a640833..bc240b1 100644
--- a/gyp/pdf.gyp
+++ b/gyp/pdf.gyp
@@ -39,7 +39,7 @@
       ],
       'conditions': [
         [ 'skia_pdf_use_sfntly and not skia_android_framework and \
-           skia_os in ["win", "android", "linux", "chromeos", "mac"]',
+           skia_os in ["win", "android", "linux", "mac"]',
           { 'dependencies': [ 'sfntly.gyp:sfntly' ] }
         ],
         [ 'skia_pdf_less_compression',
diff --git a/gyp/ports.gyp b/gyp/ports.gyp
index 25db385..fa3db46 100644
--- a/gyp/ports.gyp
+++ b/gyp/ports.gyp
@@ -74,7 +74,7 @@
         ['exclude', 'SkFontMgr_.+_factory\\.cpp$'],
       ],
       'conditions': [
-        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "android"]', {
+        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"]', {
           'sources': [
             '../src/ports/SkFontHost_FreeType.cpp',
             '../src/ports/SkFontHost_FreeType_common.cpp',
diff --git a/gyp/sfntly.gyp b/gyp/sfntly.gyp
index 4e3ca5f..b23a7db 100644
--- a/gyp/sfntly.gyp
+++ b/gyp/sfntly.gyp
@@ -44,7 +44,7 @@
             },
           }
         ],
-        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]',
+        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]',
           { 'link_settings': { 'libraries': [ '-lpthread', ], }, },
         ],
       ],
diff --git a/gyp/tests.gypi b/gyp/tests.gypi
index dfce3c0..f8e4095 100644
--- a/gyp/tests.gypi
+++ b/gyp/tests.gypi
@@ -29,7 +29,7 @@
     'zlib.gyp:zlib',
   ],
   'conditions': [
-    [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "android"]', {
+    [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]', {
         'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ],
     }],
     [ 'not skia_pdf', {
diff --git a/gyp/utils.gyp b/gyp/utils.gyp
index 2384307..4cd71a7 100644
--- a/gyp/utils.gyp
+++ b/gyp/utils.gyp
@@ -59,8 +59,8 @@
             '../src/utils/mac/SkCreateCGImageRef.cpp',
           ],
         }],
-        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
-        },{ #else if 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]'
+        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
+        },{ #else if 'skia_os not in ["linux", "freebsd", "openbsd", "solaris"]'
           'include_dirs!': [
             '../include/utils/unix',
           ],
diff --git a/gyp/views.gyp b/gyp/views.gyp
index 7b5eb78..4ba6174 100644
--- a/gyp/views.gyp
+++ b/gyp/views.gyp
@@ -98,7 +98,7 @@
           '../src/views/mac/skia_mac.mm',
           ],
         }],
-        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"] and skia_use_sdl == 0', {
+        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"] and skia_use_sdl == 0', {
           'link_settings': {
             'libraries': [
               '-lGL',