Lines Matching full:path
26 self.my_dir = os.path.dirname(os.path.realpath(__file__))
27 self.testing_dir = os.path.dirname(self.my_dir)
28 if (os.path.basename(self.my_dir) != 'tools' or
29 os.path.basename(self.testing_dir) != 'testing'):
31 self.pdfium_dir = os.path.dirname(self.testing_dir)
32 # Find path to build directory. This depends on whether this is a
34 # standalone, we expect a path like .../pdfium/out/Debug, but for
35 # chromium, we expect a path like .../src/out/Debug two levels
36 # higher (to skip over the third_party/pdfium path component under
39 one_up_dir = os.path.dirname(self.base_dir)
40 two_up_dir = os.path.dirname(one_up_dir)
41 if (os.path.basename(two_up_dir) == 'src' and
42 os.path.basename(one_up_dir) == 'third_party'):
44 self.build_dir = os.path.join(self.base_dir, build_location)
48 '''Finds compiled binaries under the build path.'''
49 result = os.path.join(self.build_dir, name)
56 return os.path.join(self.my_dir, name)
60 result = os.path.join(self.build_dir, 'gen', 'pdfium')
62 result = os.path.join(result, other_components)
69 result = os.path.join(result, other_components)